2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.57 for wxWindows 2.5.0.
6 # Report bugs to <wx-dev@lists.wxwindows.org>.
8 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
9 # Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be Bourne compatible
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
27 # Support unset when possible.
28 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
47 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C
; export $as_var
54 # Required to use basename.
55 if expr a
: '\(a\)' >/dev
/null
2>&1; then
61 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
68 # Name of the executable.
69 as_me
=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits
='0123456789'
87 as_cr_alnum
=$as_cr_Letters$as_cr_digits
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
94 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
105 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
111 *[\\/]* ) as_myself
=$0 ;;
112 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
116 test -z "$as_dir" && as_dir
=.
117 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x
; then
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
131 case $CONFIG_SHELL in
133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
134 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
137 test -z "$as_dir" && as_dir
=.
138 for as_base
in sh bash ksh sh5
; do
141 if ("$as_dir/$as_base" -c '
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
147 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
148 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
149 CONFIG_SHELL
=$as_dir/$as_base
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
175 s,^['$as_cr_digits']*\n,,
177 chmod +x
$as_me.lineno
||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
185 # Exit status is that of the last command.
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c
*,-n*) ECHO_N
= ECHO_C
='
193 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
194 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
197 if expr a
: '\(a\)' >/dev
/null
2>&1; then
203 rm -f conf$$ conf$$.exe conf$$.
file
205 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe
; then
209 # Don't use ln at all; we don't have any links
214 elif ln conf$$.
file conf$$
2>/dev
/null
; then
219 rm -f conf$$ conf$$.exe conf$$.
file
221 if mkdir -p .
2>/dev
/null
; then
227 as_executable_p
="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
237 # We need space, tab and new line, in precisely that order.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
256 ac_default_prefix
=/usr
/local
257 ac_config_libobj_dir
=.
262 SHELL
=${CONFIG_SHELL-/bin/sh}
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
269 # Identity of this package.
270 PACKAGE_NAME
='wxWindows'
271 PACKAGE_TARNAME
='wxwindows'
272 PACKAGE_VERSION
='2.5.0'
273 PACKAGE_STRING
='wxWindows 2.5.0'
274 PACKAGE_BUGREPORT
='wx-dev@lists.wxwindows.org'
276 ac_unique_file
="wx-config.in"
277 # Factoring default headers for most tests.
278 ac_includes_default
="\
281 # include <sys/types.h>
284 # include <sys/stat.h>
295 # if !STDC_HEADERS && HAVE_MEMORY_H
301 # include <strings.h>
304 # include <inttypes.h>
314 ac_subdirs_all
="$ac_subdirs_all src/expat"
315 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG PANGOFT2_CFLAGS PANGOFT2_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WXUNIV MONOLITHIC EXTRALIBS EXTRALIBS_XML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL UNICODE BUILD DEBUG_INFO DEBUG_FLAG SHARED TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX SET_MAKE MAKE_SET INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOSX SO_SUFFIX SO_SUFFIX_MODULE DLLPREFIX DLLPREFIX_MODULE AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MAC_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_OS2 COND_TOOLKIT_OS2_USE_GUI_1 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN PATH_IFS WX_MAJOR_VERSION_NUMBER WX_MINOR_VERSION_NUMBER WX_RELEASE_NUMBER WX_LIBRARY_NAME_STATIC WX_LIBRARY_NAME_SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WX_LIBRARY_IMPORTLIB WX_TARGET_LIBRARY WX_LIBRARY_LINK1 WX_LIBRARY_LINK2 PROGRAM_EXT WX_LIBRARY_NAME_STATIC_GL WX_LIBRARY_NAME_SHARED_GL WX_TARGET_LIBRARY_GL WX_LIBRARY_LINK1_GL WX_LIBRARY_LINK2_GL WX_ALL WX_ALL_INSTALLED SHARED_LD WX_TARGET_LIBRARY_TYPE STATIC_FLAG WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLKIT_VPATH TOOLCHAIN_NAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS top_builddir_wxconfig cross_compiling WXCONFIG_EXTRALIBS WXCONFIG_LIBS WXCONFIG_LIBS_GL WXCONFIG_LIBS_STATIC WXCONFIG_LIBS_STATIC_GL WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX ALL_OBJECTS ALL_HEADERS ALL_SOURCES GUIDIST PORT_FILES DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL LDFLAGS_VERSIONING LDFLAGS_EXE OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA MACOSX_BUNDLE LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL AS NM LD MAKEINFO INSTALL_LIBRARY LIBOBJS LTLIBOBJS'
318 # Initialize some variables set by options.
320 ac_init_version
=false
321 # The variables have the same names as the options, with
322 # dashes changed to underlines.
330 program_transform_name
=s
,x
,x
,
338 # Installation directory options.
339 # These are left unexpanded so users can "make install exec_prefix=/foo"
340 # and all the variables that are supposed to be based on exec_prefix
341 # by default will actually change.
342 # Use braces instead of parens because sh, perl, etc. also accept them.
343 bindir
='${exec_prefix}/bin'
344 sbindir
='${exec_prefix}/sbin'
345 libexecdir
='${exec_prefix}/libexec'
346 datadir
='${prefix}/share'
347 sysconfdir
='${prefix}/etc'
348 sharedstatedir
='${prefix}/com'
349 localstatedir
='${prefix}/var'
350 libdir
='${exec_prefix}/lib'
351 includedir
='${prefix}/include'
352 oldincludedir
='/usr/include'
353 infodir
='${prefix}/info'
354 mandir
='${prefix}/man'
359 # If the previous option needs an argument, assign it.
360 if test -n "$ac_prev"; then
361 eval "$ac_prev=\$ac_option"
366 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
368 # Accept the important Cygnus configure options, so we can diagnose typos.
372 -bindir | --bindir | --bindi | --bind | --bin | --bi)
374 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
377 -build | --build | --buil | --bui | --bu)
378 ac_prev
=build_alias
;;
379 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
380 build_alias
=$ac_optarg ;;
382 -cache-file | --cache-file | --cache-fil | --cache-fi \
383 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
384 ac_prev
=cache_file
;;
385 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
386 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
387 cache_file
=$ac_optarg ;;
390 cache_file
=config.cache
;;
392 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
394 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
396 datadir
=$ac_optarg ;;
398 -disable-* | --disable-*)
399 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
400 # Reject names that are not valid shell variable names.
401 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
402 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
403 { (exit 1); exit 1; }; }
404 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
405 eval "enable_$ac_feature=no" ;;
407 -enable-* | --enable-*)
408 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
409 # Reject names that are not valid shell variable names.
410 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
411 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
412 { (exit 1); exit 1; }; }
413 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
415 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
418 eval "enable_$ac_feature='$ac_optarg'" ;;
420 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
421 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
422 | --exec | --exe | --ex)
423 ac_prev
=exec_prefix
;;
424 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
425 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
426 | --exec=* | --exe=* | --ex=*)
427 exec_prefix
=$ac_optarg ;;
429 -gas | --gas | --ga | --g)
430 # Obsolete; use --with-gas.
433 -help | --help | --hel | --he | -h)
435 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
436 ac_init_help
=recursive
;;
437 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
438 ac_init_help
=short
;;
440 -host | --host | --hos | --ho)
441 ac_prev
=host_alias
;;
442 -host=* | --host=* | --hos=* | --ho=*)
443 host_alias
=$ac_optarg ;;
445 -includedir | --includedir | --includedi | --included | --include \
446 | --includ | --inclu | --incl | --inc)
447 ac_prev
=includedir
;;
448 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
449 | --includ=* | --inclu=* | --incl=* | --inc=*)
450 includedir
=$ac_optarg ;;
452 -infodir | --infodir | --infodi | --infod | --info | --inf)
454 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
455 infodir
=$ac_optarg ;;
457 -libdir | --libdir | --libdi | --libd)
459 -libdir=* | --libdir=* | --libdi=* | --libd=*)
462 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
463 | --libexe | --libex | --libe)
464 ac_prev
=libexecdir
;;
465 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
466 | --libexe=* | --libex=* | --libe=*)
467 libexecdir
=$ac_optarg ;;
469 -localstatedir | --localstatedir | --localstatedi | --localstated \
470 | --localstate | --localstat | --localsta | --localst \
471 | --locals | --local | --loca | --loc | --lo)
472 ac_prev
=localstatedir
;;
473 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
474 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
475 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
476 localstatedir
=$ac_optarg ;;
478 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
480 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
484 # Obsolete; use --without-fp.
487 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
488 | --no-cr | --no-c | -n)
491 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
492 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
495 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
496 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
497 | --oldin | --oldi | --old | --ol | --o)
498 ac_prev
=oldincludedir
;;
499 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
500 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
501 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
502 oldincludedir
=$ac_optarg ;;
504 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
506 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
509 -program-prefix | --program-prefix | --program-prefi | --program-pref \
510 | --program-pre | --program-pr | --program-p)
511 ac_prev
=program_prefix
;;
512 -program-prefix=* | --program-prefix=* | --program-prefi=* \
513 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
514 program_prefix
=$ac_optarg ;;
516 -program-suffix | --program-suffix | --program-suffi | --program-suff \
517 | --program-suf | --program-su | --program-s)
518 ac_prev
=program_suffix
;;
519 -program-suffix=* | --program-suffix=* | --program-suffi=* \
520 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
521 program_suffix
=$ac_optarg ;;
523 -program-transform-name | --program-transform-name \
524 | --program-transform-nam | --program-transform-na \
525 | --program-transform-n | --program-transform- \
526 | --program-transform | --program-transfor \
527 | --program-transfo | --program-transf \
528 | --program-trans | --program-tran \
529 | --progr-tra | --program-tr | --program-t)
530 ac_prev
=program_transform_name
;;
531 -program-transform-name=* | --program-transform-name=* \
532 | --program-transform-nam=* | --program-transform-na=* \
533 | --program-transform-n=* | --program-transform-=* \
534 | --program-transform=* | --program-transfor=* \
535 | --program-transfo=* | --program-transf=* \
536 | --program-trans=* | --program-tran=* \
537 | --progr-tra=* | --program-tr=* | --program-t=*)
538 program_transform_name
=$ac_optarg ;;
540 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
541 | -silent | --silent | --silen | --sile | --sil)
544 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
546 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
548 sbindir
=$ac_optarg ;;
550 -sharedstatedir | --sharedstatedir | --sharedstatedi \
551 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
552 | --sharedst | --shareds | --shared | --share | --shar \
554 ac_prev
=sharedstatedir
;;
555 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
556 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
557 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
559 sharedstatedir
=$ac_optarg ;;
561 -site | --site | --sit)
563 -site=* | --site=* | --sit=*)
566 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
568 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
571 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
572 | --syscon | --sysco | --sysc | --sys | --sy)
573 ac_prev
=sysconfdir
;;
574 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
575 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
576 sysconfdir
=$ac_optarg ;;
578 -target | --target | --targe | --targ | --tar | --ta | --t)
579 ac_prev
=target_alias
;;
580 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
581 target_alias
=$ac_optarg ;;
583 -v | -verbose | --verbose | --verbos | --verbo | --verb)
586 -version | --version | --versio | --versi | --vers | -V)
590 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
591 # Reject names that are not valid shell variable names.
592 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
593 { echo "$as_me: error: invalid package name: $ac_package" >&2
594 { (exit 1); exit 1; }; }
595 ac_package
=`echo $ac_package| sed 's/-/_/g'`
597 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
600 eval "with_$ac_package='$ac_optarg'" ;;
602 -without-* | --without-*)
603 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
604 # Reject names that are not valid shell variable names.
605 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
606 { echo "$as_me: error: invalid package name: $ac_package" >&2
607 { (exit 1); exit 1; }; }
608 ac_package
=`echo $ac_package | sed 's/-/_/g'`
609 eval "with_$ac_package=no" ;;
612 # Obsolete; use --with-x.
615 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
616 | --x-incl | --x-inc | --x-in | --x-i)
617 ac_prev
=x_includes
;;
618 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
619 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
620 x_includes
=$ac_optarg ;;
622 -x-libraries | --x-libraries | --x-librarie | --x-librari \
623 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
624 ac_prev
=x_libraries
;;
625 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
626 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
627 x_libraries
=$ac_optarg ;;
629 -*) { echo "$as_me: error: unrecognized option: $ac_option
630 Try \`$0 --help' for more information." >&2
631 { (exit 1); exit 1; }; }
635 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
636 # Reject names that are not valid shell variable names.
637 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
638 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
639 { (exit 1); exit 1; }; }
640 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
641 eval "$ac_envvar='$ac_optarg'"
645 # FIXME: should be removed in autoconf 3.0.
646 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
647 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
648 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
649 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
655 if test -n "$ac_prev"; then
656 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
657 { echo "$as_me: error: missing argument to $ac_option" >&2
658 { (exit 1); exit 1; }; }
661 # Be sure to have absolute paths.
662 for ac_var
in exec_prefix prefix
664 eval ac_val
=$
`echo $ac_var`
666 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
667 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
668 { (exit 1); exit 1; }; };;
672 # Be sure to have absolute paths.
673 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
674 localstatedir libdir includedir oldincludedir infodir mandir
676 eval ac_val
=$
`echo $ac_var`
678 [\\/$
]* | ?
:[\\/]* ) ;;
679 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
680 { (exit 1); exit 1; }; };;
684 # There might be people who depend on the old broken behavior: `$host'
685 # used to hold the argument of --host etc.
686 # FIXME: To remove some day.
691 # FIXME: To remove some day.
692 if test "x$host_alias" != x
; then
693 if test "x$build_alias" = x
; then
694 cross_compiling
=maybe
695 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
696 If a cross compiler is detected then cross compile mode will be used." >&2
697 elif test "x$build_alias" != "x$host_alias"; then
703 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
705 test "$silent" = yes && exec 6>/dev
/null
708 # Find the source files, if location was not specified.
709 if test -z "$srcdir"; then
710 ac_srcdir_defaulted
=yes
711 # Try the directory containing this script, then its parent.
712 ac_confdir
=`(dirname "$0") 2>/dev/null ||
713 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
714 X"$0" : 'X\(//\)[^/]' \| \
715 X"$0" : 'X\(//\)$' \| \
716 X"$0" : 'X\(/\)' \| \
717 . : '\(.\)' 2>/dev/null ||
719 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
720 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
721 /^X\(\/\/\)$/{ s//\1/; q; }
722 /^X\(\/\).*/{ s//\1/; q; }
725 if test ! -r $srcdir/$ac_unique_file; then
729 ac_srcdir_defaulted
=no
731 if test ! -r $srcdir/$ac_unique_file; then
732 if test "$ac_srcdir_defaulted" = yes; then
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
734 { (exit 1); exit 1; }; }
736 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
737 { (exit 1); exit 1; }; }
740 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null
||
741 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
742 { (exit 1); exit 1; }; }
743 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
744 ac_env_build_alias_set
=${build_alias+set}
745 ac_env_build_alias_value
=$build_alias
746 ac_cv_env_build_alias_set
=${build_alias+set}
747 ac_cv_env_build_alias_value
=$build_alias
748 ac_env_host_alias_set
=${host_alias+set}
749 ac_env_host_alias_value
=$host_alias
750 ac_cv_env_host_alias_set
=${host_alias+set}
751 ac_cv_env_host_alias_value
=$host_alias
752 ac_env_target_alias_set
=${target_alias+set}
753 ac_env_target_alias_value
=$target_alias
754 ac_cv_env_target_alias_set
=${target_alias+set}
755 ac_cv_env_target_alias_value
=$target_alias
756 ac_env_CC_set
=${CC+set}
758 ac_cv_env_CC_set
=${CC+set}
759 ac_cv_env_CC_value
=$CC
760 ac_env_CFLAGS_set
=${CFLAGS+set}
761 ac_env_CFLAGS_value
=$CFLAGS
762 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
763 ac_cv_env_CFLAGS_value
=$CFLAGS
764 ac_env_LDFLAGS_set
=${LDFLAGS+set}
765 ac_env_LDFLAGS_value
=$LDFLAGS
766 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
767 ac_cv_env_LDFLAGS_value
=$LDFLAGS
768 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
769 ac_env_CPPFLAGS_value
=$CPPFLAGS
770 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
771 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
772 ac_env_CPP_set
=${CPP+set}
773 ac_env_CPP_value
=$CPP
774 ac_cv_env_CPP_set
=${CPP+set}
775 ac_cv_env_CPP_value
=$CPP
776 ac_env_CXX_set
=${CXX+set}
777 ac_env_CXX_value
=$CXX
778 ac_cv_env_CXX_set
=${CXX+set}
779 ac_cv_env_CXX_value
=$CXX
780 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
781 ac_env_CXXFLAGS_value
=$CXXFLAGS
782 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
783 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
784 ac_env_CXXCPP_set
=${CXXCPP+set}
785 ac_env_CXXCPP_value
=$CXXCPP
786 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
787 ac_cv_env_CXXCPP_value
=$CXXCPP
790 # Report the --help message.
792 if test "$ac_init_help" = "long"; then
793 # Omit some internal or obsolete options to make the list less imposing.
794 # This message is too long to be a string in the A/UX 3.1 sh.
796 \`configure' configures wxWindows 2.5.0 to adapt to many kinds of systems.
798 Usage: $0 [OPTION]... [VAR=VALUE]...
800 To assign environment variables (e.g., CC, CFLAGS...), specify them as
801 VAR=VALUE. See below for descriptions of some of the useful variables.
803 Defaults for the options are specified in brackets.
806 -h, --help display this help and exit
807 --help=short display options specific to this package
808 --help=recursive display the short help of all the included packages
809 -V, --version display version information and exit
810 -q, --quiet, --silent do not print \`checking...' messages
811 --cache-file=FILE cache test results in FILE [disabled]
812 -C, --config-cache alias for \`--cache-file=config.cache'
813 -n, --no-create do not create output files
814 --srcdir=DIR find the sources in DIR [configure dir or \`..']
819 Installation directories:
820 --prefix=PREFIX install architecture-independent files in PREFIX
822 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
825 By default, \`make install' will install all the files in
826 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
827 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
828 for instance \`--prefix=\$HOME'.
830 For better control, use the options below.
832 Fine tuning of the installation directories:
833 --bindir=DIR user executables [EPREFIX/bin]
834 --sbindir=DIR system admin executables [EPREFIX/sbin]
835 --libexecdir=DIR program executables [EPREFIX/libexec]
836 --datadir=DIR read-only architecture-independent data [PREFIX/share]
837 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
838 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
839 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
840 --libdir=DIR object code libraries [EPREFIX/lib]
841 --includedir=DIR C header files [PREFIX/include]
842 --oldincludedir=DIR C header files for non-gcc [/usr/include]
843 --infodir=DIR info documentation [PREFIX/info]
844 --mandir=DIR man documentation [PREFIX/man]
850 --x-includes=DIR X include files are
in DIR
851 --x-libraries=DIR X library files are
in DIR
854 --build=BUILD configure
for building on BUILD
[guessed
]
855 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
856 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
860 if test -n "$ac_init_help"; then
861 case $ac_init_help in
862 short
| recursive
) echo "Configuration of wxWindows 2.5.0:";;
867 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
868 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
869 --enable-gui use GUI classes
870 --disable-monolithic don
't build wxWindows as single library
871 --enable-universal use wxWindows GUI controls instead of native ones
872 --enable-nanox use NanoX
873 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)
874 --enable-shared create shared library code
875 --enable-optimise create optimised code
876 --enable-debug same as debug_flag and debug_info
877 --enable-stl use STL for containers
878 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
879 --enable-debug_info create code with debugging information
880 --enable-debug_gdb create code with extra GDB debugging information
881 --enable-debug_cntxt use wxDebugContext
882 --enable-mem_tracing create code with memory tracing
883 --enable-profile create code with profiling information
884 --enable-no_rtti create code without RTTI information
885 --enable-no_exceptions create code without C++ exceptions handling
886 --enable-permissive compile code disregarding strict ANSI
887 --enable-no_deps create code without dependency information
888 --enable-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
899 --enable-dataobj use data object classes
900 --enable-ipc use interprocess communication (wxSocket etc.)
901 --enable-cmdline use wxCmdLineParser class
902 --enable-datetime use wxDateTime class
903 --enable-stopwatch use wxStopWatch class
904 --enable-dialupman use dialup network classes
905 --enable-apple_ieee use the Apple IEEE codec
906 --enable-timer use wxTimer class
907 --enable-wave use wxWave class
908 --enable-fraction use wxFraction class
909 --enable-dynlib use wxLibrary class for DLL loading
910 --enable-dynamicloader use (new) wxDynamicLibrary class
911 --enable-longlong use wxLongLong class
912 --enable-geometry use geometry class
913 --enable-log use logging system
914 --enable-streams use wxStream etc classes
915 --enable-file use wxFile classes
916 --enable-ffile use wxFFile classes
917 --enable-textbuf use wxTextBuffer class
918 --enable-textfile use wxTextFile class
919 --enable-fontmap use font encodings conversion classes
920 --enable-unicode compile wxString with Unicode support
921 --enable-mslu use MS Layer for Unicode on Windows 9x (win32 only)
922 --enable-wxprintfv use wxWindows implementation of vprintf()
923 --enable-std_iostreams use standard C++ stream classes
924 --enable-filesystem use virtual file systems classes
925 --enable-fs_inet use virtual HTTP/FTP filesystems
926 --enable-fs_zip use virtual ZIP filesystems
927 --enable-zipstream use wxZipInputStream
928 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException
929 --enable-snglinst use wxSingleInstanceChecker class
930 --enable-mimetype use wxMimeTypesManager
931 --enable-sysoptions use wxSystemOptions
932 --enable-url use wxURL class
933 --enable-protocol use wxProtocol class
934 --enable-protocol-http HTTP support in wxProtocol
935 --enable-protocol-ftp FTP support in wxProtocol
936 --enable-protocol-file FILE support in wxProtocol
937 --enable-threads use threads
938 --enable-docview use document view architecture
939 --enable-help use help subsystem
940 --enable-mshtmlhelp use MS HTML Help (win32)
941 --enable-html use wxHTML sub-library
942 --enable-htmlhelp use wxHTML-based help
943 --enable-constraints use layout-constraints system
944 --enable-printarch use printing architecture
945 --enable-mdi use multiple document interface architecture
946 --enable-loggui use standard GUI logger
947 --enable-logwin use wxLogWindow
948 --enable-logdialog use wxLogDialog
949 --enable-postscript use wxPostscriptDC device context (default for gtk+)
950 --enable-prologio not available; see contrib
951 --enable-resources not available; see contrib
952 --enable-clipboard use wxClipboard class
953 --enable-dnd use Drag'n
'Drop classes
954 --enable-metafile use win32 metafiles
955 --enable-controls use all usual controls
956 --enable-accel use accelerators
957 --enable-button use wxButton class
958 --enable-bmpbutton use wxBitmapButton class
959 --enable-calendar use wxCalendarCtrl class
960 --enable-caret use wxCaret class
961 --enable-checkbox use wxCheckBox class
962 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
963 --enable-choice use wxChoice class
964 --enable-combobox use wxComboBox class
965 --enable-display use wxDisplay class
966 --enable-gauge use wxGauge class
967 --enable-grid use wxGrid class
968 --enable-imaglist use wxImageList class
969 --enable-listbox use wxListBox class
970 --enable-listctrl use wxListCtrl class
971 --enable-notebook use wxNotebook class
972 --enable-radiobox use wxRadioBox class
973 --enable-radiobtn use wxRadioButton class
974 --enable-sash use wxSashWindow class
975 --enable-scrollbar use wxScrollBar class and scrollable windows
976 --enable-slider use wxSlider class
977 --enable-spinbtn use wxSpinButton class
978 --enable-spinctrl use wxSpinCtrl class
979 --enable-splitter use wxSplitterWindow class
980 --enable-statbmp use wxStaticBitmap class
981 --enable-statbox use wxStaticBox class
982 --enable-statline use wxStaticLine class
983 --enable-stattext use wxStaticText class
984 --enable-statusbar use wxStatusBar class
985 --enable-tabdialog use wxTabControl class
986 --enable-textctrl use wxTextCtrl class
987 --enable-togglebtn use wxToggleButton class
988 --enable-toolbar use wxToolBar class
989 --enable-tbarnative use native wxToolBar class
990 --enable-tbarsmpl use wxToolBarSimple class
991 --enable-treectrl use wxTreeCtrl class
992 --enable-tipwindow use wxTipWindow class
993 --enable-popupwin use wxPopUpWindow class
994 --enable-commondlg use all common dialogs
995 --enable-choicedlg use wxChoiceDialog
996 --enable-coldlg use wxColourDialog
997 --enable-filedlg use wxFileDialog
998 --enable-finddlg use wxFindReplaceDialog
999 --enable-fontdlg use wxFontDialog
1000 --enable-dirdlg use wxDirDialog
1001 --enable-msgdlg use wxMessageDialog
1002 --enable-numberdlg use wxNumberEntryDialog
1003 --enable-splash use wxSplashScreen
1004 --enable-textdlg use wxTextDialog
1005 --enable-tipdlg use startup tips
1006 --enable-progressdlg use wxProgressDialog
1007 --enable-wizarddlg use wxWizard
1008 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1009 --enable-miniframe use wxMiniFrame class
1010 --enable-tooltips use wxToolTip class
1011 --enable-splines use spline drawing code
1012 --enable-validators use wxValidator and derived classes
1013 --enable-busyinfo use wxBusyInfo
1014 --enable-joystick use wxJoystick (Linux only)
1015 --enable-metafiles use wxMetaFile (Windows only)
1016 --enable-dragimage use wxDragImage
1017 --enable-accessibility enable accessibility support
1018 --enable-palette use wxPalette class
1019 --enable-image use wxImage class
1020 --enable-gif use gif images (GIF file format)
1021 --enable-pcx use pcx images (PCX file format)
1022 --enable-iff use iff images (IFF file format)
1023 --enable-pnm use pnm images (PNM file format)
1024 --enable-xpm use xpm images (XPM file format)
1025 --enable-icocur use Windows ICO and CUR formats
1026 --enable-official_build official build of wxWindows (win32 DLL only)
1027 --enable-vendor=VENDOR vendor name (win32 DLL only)
1028 --disable-largefile omit support for large files
1029 --disable-gtktest do not try to compile and run a test GTK+ program
1030 --disable-gtktest Do not try to compile and run a test GTK program
1031 --disable-precomp-headers don't use precompiled headers even
if compiler can
1034 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1035 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1037 --with-motif use Motif
/Lesstif
1038 --with-mac use Mac OS X
1039 --with-cocoa use Cocoa
1040 --with-wine use Wine
1041 --with-msw use MS
-Windows
1042 --with-pm use OS
/2 Presentation Manager
1043 --with-mgl use SciTech MGL
1044 --with-microwin use MicroWindows
1046 --with-libpng use libpng
(PNG image format
)
1047 --with-libjpeg use libjpeg
(JPEG
file format
)
1048 --with-libtiff use libtiff
(TIFF
file format
)
1049 --with-opengl use OpenGL
(or Mesa
)
1050 --with-dmalloc use dmalloc library
(http
://dmalloc.com
/)
1051 --with-regex enable support
for wxRegEx class
1052 --with-zlib use zlib
for LZW compression
1053 --with-odbc use the IODBC and wxODBC classes
1054 --with-expat enable XML support using expat parser
1055 --with-gtk-prefix=PFX Prefix where GTK is installed
(optional
)
1056 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed
(optional
)
1057 --with-x use the X Window System
1058 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
1060 Some influential environment variables
:
1061 CC C compiler
command
1062 CFLAGS C compiler flags
1063 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1064 nonstandard directory
<lib dir
>
1065 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1066 headers
in a nonstandard directory
<include dir
>
1068 CXX C
++ compiler
command
1069 CXXFLAGS C
++ compiler flags
1070 CXXCPP C
++ preprocessor
1072 Use these variables to override the choices made by
`configure' or to help
1073 it to find libraries and programs with nonstandard names/locations.
1075 Report bugs to <wx-dev@lists.wxwindows.org>.
1079 if test "$ac_init_help" = "recursive"; then
1080 # If there are subdirs, report their specific --help.
1082 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1083 test -d $ac_dir || continue
1086 if test "$ac_dir" != .; then
1087 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1088 # A "../" for each directory in $ac_dir_suffix.
1089 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1091 ac_dir_suffix= ac_top_builddir=
1095 .) # No --srcdir option. We are building in place.
1097 if test -z "$ac_top_builddir"; then
1100 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1102 [\\/]* | ?:[\\/]* ) # Absolute path.
1103 ac_srcdir=$srcdir$ac_dir_suffix;
1104 ac_top_srcdir=$srcdir ;;
1106 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1107 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1109 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1111 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1112 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}.
&& pwd`
1113 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1114 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1117 # Check for guested configure; otherwise get Cygnus style configure.
1118 if test -f $ac_srcdir/configure.gnu; then
1120 $SHELL $ac_srcdir/configure.gnu --help=recursive
1121 elif test -f $ac_srcdir/configure; then
1123 $SHELL $ac_srcdir/configure --help=recursive
1124 elif test -f $ac_srcdir/configure.ac ||
1125 test -f $ac_srcdir/configure.in; then
1127 $ac_configure --help
1129 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1135 test -n "$ac_init_help" && exit 0
1136 if $ac_init_version; then
1138 wxWindows configure 2.5.0
1139 generated by GNU Autoconf 2.57
1141 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1142 Free Software Foundation, Inc.
1143 This configure script is free software; the Free Software Foundation
1144 gives unlimited permission to copy, distribute and modify it.
1150 This file contains any messages produced by compilers while
1151 running configure, to aid debugging if configure makes a mistake.
1153 It was created by wxWindows $as_me 2.5.0, which was
1154 generated by GNU Autoconf 2.57. Invocation command line was
1165 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
1166 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
1167 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
1168 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
1169 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
1171 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
1172 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
1174 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
1175 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
1176 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
1177 hostinfo = `(hostinfo
) 2>/dev
/null
|| echo unknown
`
1178 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
1179 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
1180 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
1184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1188 test -z "$as_dir" && as_dir=.
1189 echo "PATH: $as_dir"
1204 # Keep a trace of the command line.
1205 # Strip out --no-create and --no-recursion so they do not pile up.
1206 # Strip out --silent because we don't want to record it for future runs.
1207 # Also quote any args containing shell meta-characters.
1208 # Make two passes to allow for proper duplicate-argument suppression.
1213 ac_must_keep_next=false
1219 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1220 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1221 | -silent | --silent | --silen | --sile | --sil)
1223 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1224 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1227 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1229 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1230 if test $ac_must_keep_next = true; then
1231 ac_must_keep_next=false # Got value, back to normal.
1234 *=* | --config-cache | -C | -disable-* | --disable-* \
1235 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1236 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1237 | -with-* | --with-* | -without-* | --without-* | --x)
1238 case "$ac_configure_args0 " in
1239 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1242 -* ) ac_must_keep_next=true ;;
1245 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1246 # Get rid of the leading space.
1252 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1253 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1255 # When interrupted or exit'd, cleanup temporary files, and complete
1256 # config.log. We remove comments because anyway the quotes in there
1257 # would cause problems or look ugly.
1258 # WARNING: Be sure not to use single quotes in there, as some shells,
1259 # such as our DU 5.0 friend, will then `close
' the trap.
1260 trap 'exit_status
=$?
1261 # Save into config.log some information that might help in debugging.
1266 ## ---------------- ##
1267 ## Cache variables. ##
1268 ## ---------------- ##
1271 # The following way of writing the cache mishandles newlines in values,
1274 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1277 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1278 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1282 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1289 ## ----------------- ##
1290 ## Output variables. ##
1291 ## ----------------- ##
1294 for ac_var
in $ac_subst_vars
1296 eval ac_val
=$
`echo $ac_var`
1297 echo "$ac_var='"'"'$ac_val'"'"'"
1301 if test -n "$ac_subst_files"; then
1308 for ac_var
in $ac_subst_files
1310 eval ac_val
=$
`echo $ac_var`
1311 echo "$ac_var='"'"'$ac_val'"'"'"
1316 if test -s confdefs.h
; then
1323 sed "/^$/d" confdefs.h
| sort
1326 test "$ac_signal" != 0 &&
1327 echo "$as_me: caught signal $ac_signal"
1328 echo "$as_me: exit $exit_status"
1330 rm -f core core.
* *.core
&&
1331 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1334 for ac_signal in 1 2 13 15; do
1335 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1339 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1340 rm -rf conftest* confdefs.h
1341 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1344 # Predefined preprocessor variables.
1346 cat >>confdefs.h <<_ACEOF
1347 #define PACKAGE_NAME "$PACKAGE_NAME"
1351 cat >>confdefs.h <<_ACEOF
1352 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1356 cat >>confdefs.h <<_ACEOF
1357 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1361 cat >>confdefs.h <<_ACEOF
1362 #define PACKAGE_STRING "$PACKAGE_STRING"
1366 cat >>confdefs.h <<_ACEOF
1367 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1371 # Let the site file select an alternate cache file if it wants to.
1372 # Prefer explicitly selected file to automatically selected ones.
1373 if test -z "$CONFIG_SITE"; then
1374 if test "x$prefix" != xNONE; then
1375 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1377 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1380 for ac_site_file in $CONFIG_SITE; do
1381 if test -r "$ac_site_file"; then
1382 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1383 echo "$as_me: loading site script $ac_site_file" >&6;}
1384 sed 's
/^
/| /' "$ac_site_file" >&5
1389 if test -r "$cache_file"; then
1390 # Some versions of bash will fail to source /dev/null (special
1391 # files actually), so we avoid doing that.
1392 if test -f "$cache_file"; then
1393 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1394 echo "$as_me: loading cache $cache_file" >&6;}
1396 [\\/]* | ?:[\\/]* ) . $cache_file;;
1397 *) . ./$cache_file;;
1401 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1402 echo "$as_me: creating cache $cache_file" >&6;}
1406 # Check that the precious variables saved in the cache have kept the same
1408 ac_cache_corrupted=false
1409 for ac_var in `(set) 2>&1 |
1410 sed -n 's
/^ac_env_\
([a
-zA-Z_0-9]*\
)_set
=.
*/\
1/p
'`; do
1411 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1412 eval ac_new_set=\$ac_env_${ac_var}_set
1413 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1414 eval ac_new_val="\$ac_env_${ac_var}_value"
1415 case $ac_old_set,$ac_new_set in
1417 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1418 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1419 ac_cache_corrupted=: ;;
1421 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1422 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1423 ac_cache_corrupted=: ;;
1426 if test "x$ac_old_val" != "x$ac_new_val"; then
1427 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1428 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1429 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1430 echo "$as_me: former value: $ac_old_val" >&2;}
1431 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1432 echo "$as_me: current value: $ac_new_val" >&2;}
1433 ac_cache_corrupted=:
1436 # Pass precious variables to config.status.
1437 if test "$ac_new_set" = set; then
1439 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1440 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1441 *) ac_arg=$ac_var=$ac_new_val ;;
1443 case " $ac_configure_args " in
1444 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1445 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1449 if $ac_cache_corrupted; then
1450 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1451 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1452 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1453 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1454 { (exit 1); exit 1; }; }
1458 ac_cpp='$CPP $CPPFLAGS'
1459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1460 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1493 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1494 if test -f $ac_dir/install-sh; then
1496 ac_install_sh="$ac_aux_dir/install-sh -c"
1498 elif test -f $ac_dir/install.sh; then
1500 ac_install_sh="$ac_aux_dir/install.sh -c"
1502 elif test -f $ac_dir/shtool; then
1504 ac_install_sh="$ac_aux_dir/shtool install -c"
1508 if test -z "$ac_aux_dir"; then
1509 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1510 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1511 { (exit 1); exit 1; }; }
1513 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1514 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1515 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1517 # Make sure we can run config.sub.
1518 $ac_config_sub sun4 >/dev/null 2>&1 ||
1519 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1520 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1521 { (exit 1); exit 1; }; }
1523 echo "$as_me:$LINENO: checking build system type" >&5
1524 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1525 if test "${ac_cv_build+set}" = set; then
1526 echo $ECHO_N "(cached) $ECHO_C" >&6
1528 ac_cv_build_alias=$build_alias
1529 test -z "$ac_cv_build_alias" &&
1530 ac_cv_build_alias=`$ac_config_guess`
1531 test -z "$ac_cv_build_alias" &&
1532 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1533 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1534 { (exit 1); exit 1; }; }
1535 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1536 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1537 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1538 { (exit 1); exit 1; }; }
1541 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1542 echo "${ECHO_T}$ac_cv_build" >&6
1544 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1545 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1546 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1549 echo "$as_me:$LINENO: checking host system type" >&5
1550 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1551 if test "${ac_cv_host+set}" = set; then
1552 echo $ECHO_N "(cached) $ECHO_C" >&6
1554 ac_cv_host_alias=$host_alias
1555 test -z "$ac_cv_host_alias" &&
1556 ac_cv_host_alias=$ac_cv_build_alias
1557 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1558 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1559 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1560 { (exit 1); exit 1; }; }
1563 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1564 echo "${ECHO_T}$ac_cv_host" >&6
1566 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1567 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1568 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1571 echo "$as_me:$LINENO: checking target system type" >&5
1572 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1573 if test "${ac_cv_target+set}" = set; then
1574 echo $ECHO_N "(cached) $ECHO_C" >&6
1576 ac_cv_target_alias=$target_alias
1577 test "x$ac_cv_target_alias" = "x" &&
1578 ac_cv_target_alias=$ac_cv_host_alias
1579 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1580 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1581 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1582 { (exit 1); exit 1; }; }
1585 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1586 echo "${ECHO_T}$ac_cv_target" >&6
1587 target=$ac_cv_target
1588 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1589 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1590 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1593 # The aliases save the names the user supplied, while $host etc.
1594 # will get canonicalized.
1595 test -n "$target_alias" &&
1596 test "$program_prefix$program_suffix$program_transform_name" = \
1598 program_prefix=${target_alias}-
1602 WX_MAJOR_VERSION_NUMBER=2
1603 WX_MINOR_VERSION_NUMBER=5
1606 WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1607 WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1609 WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1624 USE_BSD= USE_DARWIN= USE_FREEBSD=
1630 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1636 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1638 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1640 DEFAULT_wxUSE_COCOA=0
1644 DEFAULT_wxUSE_MICROWIN=0
1645 DEFAULT_wxUSE_MOTIF=0
1650 DEFAULT_DEFAULT_wxUSE_COCOA=0
1651 DEFAULT_DEFAULT_wxUSE_GTK=0
1652 DEFAULT_DEFAULT_wxUSE_MAC=0
1653 DEFAULT_DEFAULT_wxUSE_MGL=0
1654 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1655 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1656 DEFAULT_DEFAULT_wxUSE_MSW=0
1657 DEFAULT_DEFAULT_wxUSE_PM=0
1658 DEFAULT_DEFAULT_wxUSE_X11=0
1663 SAMPLES_RPATH_POSTLINK=
1668 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1669 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1671 cat >>confdefs.h <<\_ACEOF
1678 cat >>confdefs.h <<\_ACEOF
1683 if test "x$TMP" = "xalpha"; then
1685 cat >>confdefs.h <<\_ACEOF
1690 DEFAULT_DEFAULT_wxUSE_GTK=1
1694 cat >>confdefs.h <<\_ACEOF
1699 if test "x$TMP" = "xalpha"; then
1701 cat >>confdefs.h <<\_ACEOF
1706 DEFAULT_DEFAULT_wxUSE_GTK=1
1708 *-*-irix5* | *-*-irix6* )
1711 cat >>confdefs.h <<\_ACEOF
1715 cat >>confdefs.h <<\_ACEOF
1719 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1725 cat >>confdefs.h <<\_ACEOF
1729 cat >>confdefs.h <<\_ACEOF
1730 #define __SOLARIS__ 1
1733 cat >>confdefs.h <<\_ACEOF
1737 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1738 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1744 cat >>confdefs.h <<\_ACEOF
1748 cat >>confdefs.h <<\_ACEOF
1752 cat >>confdefs.h <<\_ACEOF
1756 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1761 cat >>confdefs.h <<\_ACEOF
1762 #define __FREEBSD__ 1
1765 cat >>confdefs.h <<\_ACEOF
1769 DEFAULT_DEFAULT_wxUSE_GTK=1
1774 cat >>confdefs.h <<\_ACEOF
1775 #define __OPENBSD__ 1
1778 cat >>confdefs.h <<\_ACEOF
1782 DEFAULT_DEFAULT_wxUSE_GTK=1
1787 cat >>confdefs.h <<\_ACEOF
1788 #define __NETBSD__ 1
1791 cat >>confdefs.h <<\_ACEOF
1795 DEFAULT_DEFAULT_wxUSE_GTK=1
1800 cat >>confdefs.h <<\_ACEOF
1804 cat >>confdefs.h <<\_ACEOF
1808 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1809 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1814 cat >>confdefs.h <<\_ACEOF
1818 cat >>confdefs.h <<\_ACEOF
1822 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1827 cat >>confdefs.h <<\_ACEOF
1831 cat >>confdefs.h <<\_ACEOF
1835 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1842 cat >>confdefs.h <<\_ACEOF
1846 cat >>confdefs.h <<\_ACEOF
1850 cat >>confdefs.h <<\_ACEOF
1854 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1861 cat >>confdefs.h <<\_ACEOF
1862 #define __UNIXWARE__ 1
1867 *-*-cygwin* | *-*-mingw32* )
1871 DEFAULT_DEFAULT_wxUSE_MSW=1
1877 cat >>confdefs.h <<\_ACEOF
1882 DEFAULT_DEFAULT_wxUSE_MGL=1
1883 LIBS="$LIBS -lstdc++"
1886 *-pc-os2_emx | *-pc-os2-emx )
1887 cat >>confdefs.h <<\_ACEOF
1892 DEFAULT_DEFAULT_wxUSE_PM=1
1894 LIBS="$LIBS -lstdcpp"
1901 cat >>confdefs.h <<\_ACEOF
1905 cat >>confdefs.h <<\_ACEOF
1906 #define __DARWIN__ 1
1909 cat >>confdefs.h <<\_ACEOF
1910 #define __POWERPC__ 1
1913 cat >>confdefs.h <<\_ACEOF
1914 #define TARGET_CARBON 1
1917 DEFAULT_DEFAULT_wxUSE_MAC=1
1922 cat >>confdefs.h <<\_ACEOF
1929 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1930 echo "$as_me: error: unknown system type ${host}." >&2;}
1931 { (exit 1); exit 1; }; }
1937 wx_arg_cache_file="configarg.cache"
1938 echo "loading argument cache $wx_arg_cache_file"
1939 rm -f ${wx_arg_cache_file}.tmp
1940 touch ${wx_arg_cache_file}.tmp
1941 touch ${wx_arg_cache_file}
1945 if test $DEBUG_CONFIGURE = 1; then
1946 DEFAULT_wxUSE_UNIVERSAL=no
1947 DEFAULT_wxUSE_STL=no
1949 DEFAULT_wxUSE_NANOX=no
1951 DEFAULT_wxUSE_THREADS=yes
1953 DEFAULT_wxUSE_SHARED=yes
1954 DEFAULT_wxUSE_OPTIMISE=no
1955 DEFAULT_wxUSE_PROFILE=no
1956 DEFAULT_wxUSE_NO_DEPS=no
1957 DEFAULT_wxUSE_NO_RTTI=no
1958 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1959 DEFAULT_wxUSE_PERMISSIVE=no
1960 DEFAULT_wxUSE_DEBUG_FLAG=yes
1961 DEFAULT_wxUSE_DEBUG_INFO=yes
1962 DEFAULT_wxUSE_DEBUG_GDB=yes
1963 DEFAULT_wxUSE_MEM_TRACING=no
1964 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1965 DEFAULT_wxUSE_DMALLOC=no
1966 DEFAULT_wxUSE_APPLE_IEEE=no
1968 DEFAULT_wxUSE_LOG=yes
1969 DEFAULT_wxUSE_LOGWINDOW=no
1970 DEFAULT_wxUSE_LOGGUI=no
1971 DEFAULT_wxUSE_LOGDIALOG=no
1973 DEFAULT_wxUSE_GUI=yes
1974 DEFAULT_wxUSE_CONTROLS=no
1976 DEFAULT_wxUSE_REGEX=no
1977 DEFAULT_wxUSE_XML=no
1978 DEFAULT_wxUSE_EXPAT=no
1979 DEFAULT_wxUSE_ZLIB=no
1980 DEFAULT_wxUSE_LIBPNG=no
1981 DEFAULT_wxUSE_LIBJPEG=no
1982 DEFAULT_wxUSE_LIBTIFF=no
1983 DEFAULT_wxUSE_ODBC=no
1984 DEFAULT_wxUSE_OPENGL=no
1986 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
1987 DEFAULT_wxUSE_SNGLINST_CHECKER=no
1988 DEFAULT_wxUSE_STD_IOSTREAM=no
1989 DEFAULT_wxUSE_CMDLINE_PARSER=no
1990 DEFAULT_wxUSE_DATETIME=no
1991 DEFAULT_wxUSE_TIMER=no
1992 DEFAULT_wxUSE_STOPWATCH=no
1993 DEFAULT_wxUSE_FILE=no
1994 DEFAULT_wxUSE_FFILE=no
1995 DEFAULT_wxUSE_TEXTBUFFER=no
1996 DEFAULT_wxUSE_TEXTFILE=no
1997 DEFAULT_wxUSE_WAVE=no
1998 DEFAULT_wxUSE_INTL=no
1999 DEFAULT_wxUSE_CONFIG=no
2000 DEFAULT_wxUSE_FONTMAP=no
2001 DEFAULT_wxUSE_STREAMS=no
2002 DEFAULT_wxUSE_SOCKETS=no
2003 DEFAULT_wxUSE_OLE=no
2004 DEFAULT_wxUSE_DATAOBJ=no
2005 DEFAULT_wxUSE_DIALUP_MANAGER=no
2006 DEFAULT_wxUSE_JOYSTICK=no
2007 DEFAULT_wxUSE_DYNLIB_CLASS=no
2008 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2009 DEFAULT_wxUSE_LONGLONG=no
2010 DEFAULT_wxUSE_GEOMETRY=no
2012 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2013 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2014 DEFAULT_wxUSE_POSTSCRIPT=no
2016 DEFAULT_wxUSE_CLIPBOARD=no
2017 DEFAULT_wxUSE_TOOLTIPS=no
2018 DEFAULT_wxUSE_DRAG_AND_DROP=no
2019 DEFAULT_wxUSE_DRAGIMAGE=no
2020 DEFAULT_wxUSE_SPLINES=no
2022 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2023 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2024 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2026 DEFAULT_wxUSE_RESOURCES=no
2027 DEFAULT_wxUSE_CONSTRAINTS=no
2028 DEFAULT_wxUSE_IPC=no
2029 DEFAULT_wxUSE_HELP=no
2030 DEFAULT_wxUSE_MS_HTML_HELP=no
2031 DEFAULT_wxUSE_WXHTML_HELP=no
2032 DEFAULT_wxUSE_TREELAYOUT=no
2033 DEFAULT_wxUSE_METAFILE=no
2034 DEFAULT_wxUSE_MIMETYPE=no
2035 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2036 DEFAULT_wxUSE_PROTOCOL=no
2037 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2038 DEFAULT_wxUSE_PROTOCOL_FTP=no
2039 DEFAULT_wxUSE_PROTOCOL_FILE=no
2040 DEFAULT_wxUSE_URL=no
2042 DEFAULT_wxUSE_COMMONDLGS=no
2043 DEFAULT_wxUSE_CHOICEDLG=no
2044 DEFAULT_wxUSE_COLOURDLG=no
2045 DEFAULT_wxUSE_DIRDLG=no
2046 DEFAULT_wxUSE_FILEDLG=no
2047 DEFAULT_wxUSE_FINDREPLDLG=no
2048 DEFAULT_wxUSE_FONTDLG=no
2049 DEFAULT_wxUSE_MSGDLG=no
2050 DEFAULT_wxUSE_NUMBERDLG=no
2051 DEFAULT_wxUSE_TEXTDLG=no
2052 DEFAULT_wxUSE_SPLASH=no
2053 DEFAULT_wxUSE_STARTUP_TIPS=no
2054 DEFAULT_wxUSE_PROGRESSDLG=no
2055 DEFAULT_wxUSE_WIZARDDLG=no
2057 DEFAULT_wxUSE_MENUS=no
2058 DEFAULT_wxUSE_MINIFRAME=no
2059 DEFAULT_wxUSE_HTML=no
2060 DEFAULT_wxUSE_FILESYSTEM=no
2061 DEFAULT_wxUSE_FS_INET=no
2062 DEFAULT_wxUSE_FS_ZIP=no
2063 DEFAULT_wxUSE_BUSYINFO=no
2064 DEFAULT_wxUSE_ZIPSTREAM=no
2065 DEFAULT_wxUSE_VALIDATORS=no
2067 DEFAULT_wxUSE_ACCEL=no
2068 DEFAULT_wxUSE_BUTTON=no
2069 DEFAULT_wxUSE_BMPBUTTON=no
2070 DEFAULT_wxUSE_CALCTRL=no
2071 DEFAULT_wxUSE_CARET=no
2072 DEFAULT_wxUSE_CHECKBOX=no
2073 DEFAULT_wxUSE_CHECKLST=no
2074 DEFAULT_wxUSE_CHOICE=no
2075 DEFAULT_wxUSE_COMBOBOX=no
2076 DEFAULT_wxUSE_DISPLAY=no
2077 DEFAULT_wxUSE_GAUGE=no
2078 DEFAULT_wxUSE_GRID=no
2079 DEFAULT_wxUSE_IMAGLIST=no
2080 DEFAULT_wxUSE_LISTBOX=no
2081 DEFAULT_wxUSE_LISTCTRL=no
2082 DEFAULT_wxUSE_NOTEBOOK=no
2083 DEFAULT_wxUSE_RADIOBOX=no
2084 DEFAULT_wxUSE_RADIOBTN=no
2085 DEFAULT_wxUSE_SASH=no
2086 DEFAULT_wxUSE_SCROLLBAR=no
2087 DEFAULT_wxUSE_SLIDER=no
2088 DEFAULT_wxUSE_SPINBTN=no
2089 DEFAULT_wxUSE_SPINCTRL=no
2090 DEFAULT_wxUSE_SPLITTER=no
2091 DEFAULT_wxUSE_STATBMP=no
2092 DEFAULT_wxUSE_STATBOX=no
2093 DEFAULT_wxUSE_STATLINE=no
2094 DEFAULT_wxUSE_STATTEXT=no
2095 DEFAULT_wxUSE_STATUSBAR=yes
2096 DEFAULT_wxUSE_TABDIALOG=no
2097 DEFAULT_wxUSE_TEXTCTRL=no
2098 DEFAULT_wxUSE_TOGGLEBTN=no
2099 DEFAULT_wxUSE_TOOLBAR=no
2100 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2101 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2102 DEFAULT_wxUSE_TREECTRL=no
2103 DEFAULT_wxUSE_POPUPWIN=no
2104 DEFAULT_wxUSE_TIPWINDOW=no
2106 DEFAULT_wxUSE_UNICODE=no
2107 DEFAULT_wxUSE_UNICODE_MSLU=no
2108 DEFAULT_wxUSE_WCSRTOMBS=no
2110 DEFAULT_wxUSE_PALETTE=no
2111 DEFAULT_wxUSE_IMAGE=no
2112 DEFAULT_wxUSE_GIF=no
2113 DEFAULT_wxUSE_PCX=no
2114 DEFAULT_wxUSE_PNM=no
2115 DEFAULT_wxUSE_IFF=no
2116 DEFAULT_wxUSE_XPM=no
2117 DEFAULT_wxUSE_ICO_CUR=no
2118 DEFAULT_wxUSE_ACCESSIBILITY=no
2120 DEFAULT_wxUSE_MONOLITHIC=no
2121 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2123 DEFAULT_wxUSE_UNIVERSAL=no
2124 DEFAULT_wxUSE_STL=no
2126 DEFAULT_wxUSE_NANOX=no
2128 DEFAULT_wxUSE_THREADS=yes
2130 DEFAULT_wxUSE_SHARED=yes
2131 DEFAULT_wxUSE_OPTIMISE=yes
2132 DEFAULT_wxUSE_PROFILE=no
2133 DEFAULT_wxUSE_NO_DEPS=no
2134 DEFAULT_wxUSE_NO_RTTI=no
2135 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2136 DEFAULT_wxUSE_PERMISSIVE=no
2137 DEFAULT_wxUSE_DEBUG_FLAG=no
2138 DEFAULT_wxUSE_DEBUG_INFO=no
2139 DEFAULT_wxUSE_DEBUG_GDB=no
2140 DEFAULT_wxUSE_MEM_TRACING=no
2141 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2142 DEFAULT_wxUSE_DMALLOC=no
2143 DEFAULT_wxUSE_APPLE_IEEE=yes
2145 DEFAULT_wxUSE_LOG=yes
2146 DEFAULT_wxUSE_LOGWINDOW=yes
2147 DEFAULT_wxUSE_LOGGUI=yes
2148 DEFAULT_wxUSE_LOGDIALOG=yes
2150 DEFAULT_wxUSE_GUI=yes
2152 DEFAULT_wxUSE_REGEX=yes
2153 DEFAULT_wxUSE_XML=yes
2154 DEFAULT_wxUSE_EXPAT=yes
2155 DEFAULT_wxUSE_ZLIB=yes
2156 DEFAULT_wxUSE_LIBPNG=yes
2157 DEFAULT_wxUSE_LIBJPEG=yes
2158 DEFAULT_wxUSE_LIBTIFF=yes
2159 DEFAULT_wxUSE_ODBC=no
2160 DEFAULT_wxUSE_OPENGL=no
2162 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2163 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2164 DEFAULT_wxUSE_STD_IOSTREAM=no
2165 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2166 DEFAULT_wxUSE_DATETIME=yes
2167 DEFAULT_wxUSE_TIMER=yes
2168 DEFAULT_wxUSE_STOPWATCH=yes
2169 DEFAULT_wxUSE_FILE=yes
2170 DEFAULT_wxUSE_FFILE=yes
2171 DEFAULT_wxUSE_TEXTBUFFER=yes
2172 DEFAULT_wxUSE_TEXTFILE=yes
2173 DEFAULT_wxUSE_WAVE=no
2174 DEFAULT_wxUSE_INTL=yes
2175 DEFAULT_wxUSE_CONFIG=yes
2176 DEFAULT_wxUSE_FONTMAP=yes
2177 DEFAULT_wxUSE_STREAMS=yes
2178 DEFAULT_wxUSE_SOCKETS=yes
2179 DEFAULT_wxUSE_OLE=yes
2180 DEFAULT_wxUSE_DATAOBJ=yes
2181 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2182 DEFAULT_wxUSE_JOYSTICK=yes
2183 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2184 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2185 DEFAULT_wxUSE_LONGLONG=yes
2186 DEFAULT_wxUSE_GEOMETRY=yes
2188 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2189 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2190 DEFAULT_wxUSE_POSTSCRIPT=yes
2192 DEFAULT_wxUSE_CLIPBOARD=yes
2193 DEFAULT_wxUSE_TOOLTIPS=yes
2194 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2195 DEFAULT_wxUSE_DRAGIMAGE=yes
2196 DEFAULT_wxUSE_SPLINES=yes
2198 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2199 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2200 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2202 DEFAULT_wxUSE_RESOURCES=no
2203 DEFAULT_wxUSE_CONSTRAINTS=yes
2204 DEFAULT_wxUSE_IPC=yes
2205 DEFAULT_wxUSE_HELP=yes
2206 DEFAULT_wxUSE_MS_HTML_HELP=yes
2207 DEFAULT_wxUSE_WXHTML_HELP=yes
2208 DEFAULT_wxUSE_TREELAYOUT=yes
2209 DEFAULT_wxUSE_METAFILE=yes
2210 DEFAULT_wxUSE_MIMETYPE=yes
2211 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2212 DEFAULT_wxUSE_PROTOCOL=yes
2213 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2214 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2215 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2216 DEFAULT_wxUSE_URL=yes
2218 DEFAULT_wxUSE_COMMONDLGS=yes
2219 DEFAULT_wxUSE_CHOICEDLG=yes
2220 DEFAULT_wxUSE_COLOURDLG=yes
2221 DEFAULT_wxUSE_DIRDLG=yes
2222 DEFAULT_wxUSE_FILEDLG=yes
2223 DEFAULT_wxUSE_FINDREPLDLG=yes
2224 DEFAULT_wxUSE_FONTDLG=yes
2225 DEFAULT_wxUSE_MSGDLG=yes
2226 DEFAULT_wxUSE_NUMBERDLG=yes
2227 DEFAULT_wxUSE_TEXTDLG=yes
2228 DEFAULT_wxUSE_SPLASH=yes
2229 DEFAULT_wxUSE_STARTUP_TIPS=yes
2230 DEFAULT_wxUSE_PROGRESSDLG=yes
2231 DEFAULT_wxUSE_WIZARDDLG=yes
2233 DEFAULT_wxUSE_MENUS=yes
2234 DEFAULT_wxUSE_MINIFRAME=yes
2235 DEFAULT_wxUSE_HTML=yes
2236 DEFAULT_wxUSE_FILESYSTEM=yes
2237 DEFAULT_wxUSE_FS_INET=yes
2238 DEFAULT_wxUSE_FS_ZIP=yes
2239 DEFAULT_wxUSE_BUSYINFO=yes
2240 DEFAULT_wxUSE_ZIPSTREAM=yes
2241 DEFAULT_wxUSE_VALIDATORS=yes
2243 DEFAULT_wxUSE_ACCEL=yes
2244 DEFAULT_wxUSE_BUTTON=yes
2245 DEFAULT_wxUSE_BMPBUTTON=yes
2246 DEFAULT_wxUSE_CALCTRL=yes
2247 DEFAULT_wxUSE_CARET=yes
2248 DEFAULT_wxUSE_CHECKBOX=yes
2249 DEFAULT_wxUSE_CHECKLST=yes
2250 DEFAULT_wxUSE_CHOICE=yes
2251 DEFAULT_wxUSE_COMBOBOX=yes
2252 DEFAULT_wxUSE_DISPLAY=no
2253 DEFAULT_wxUSE_GAUGE=yes
2254 DEFAULT_wxUSE_GRID=yes
2255 DEFAULT_wxUSE_IMAGLIST=yes
2256 DEFAULT_wxUSE_LISTBOX=yes
2257 DEFAULT_wxUSE_LISTCTRL=yes
2258 DEFAULT_wxUSE_NOTEBOOK=yes
2259 DEFAULT_wxUSE_RADIOBOX=yes
2260 DEFAULT_wxUSE_RADIOBTN=yes
2261 DEFAULT_wxUSE_SASH=yes
2262 DEFAULT_wxUSE_SCROLLBAR=yes
2263 DEFAULT_wxUSE_SLIDER=yes
2264 DEFAULT_wxUSE_SPINBTN=yes
2265 DEFAULT_wxUSE_SPINCTRL=yes
2266 DEFAULT_wxUSE_SPLITTER=yes
2267 DEFAULT_wxUSE_STATBMP=yes
2268 DEFAULT_wxUSE_STATBOX=yes
2269 DEFAULT_wxUSE_STATLINE=yes
2270 DEFAULT_wxUSE_STATTEXT=yes
2271 DEFAULT_wxUSE_STATUSBAR=yes
2272 DEFAULT_wxUSE_TABDIALOG=no
2273 DEFAULT_wxUSE_TEXTCTRL=yes
2274 DEFAULT_wxUSE_TOGGLEBTN=yes
2275 DEFAULT_wxUSE_TOOLBAR=yes
2276 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2277 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2278 DEFAULT_wxUSE_TREECTRL=yes
2279 DEFAULT_wxUSE_POPUPWIN=yes
2280 DEFAULT_wxUSE_TIPWINDOW=yes
2282 DEFAULT_wxUSE_UNICODE=no
2283 DEFAULT_wxUSE_UNICODE_MSLU=yes
2284 DEFAULT_wxUSE_WCSRTOMBS=no
2286 DEFAULT_wxUSE_PALETTE=yes
2287 DEFAULT_wxUSE_IMAGE=yes
2288 DEFAULT_wxUSE_GIF=yes
2289 DEFAULT_wxUSE_PCX=yes
2290 DEFAULT_wxUSE_IFF=no
2291 DEFAULT_wxUSE_PNM=yes
2292 DEFAULT_wxUSE_XPM=yes
2293 DEFAULT_wxUSE_ICO_CUR=yes
2294 DEFAULT_wxUSE_ACCESSIBILITY=no
2296 DEFAULT_wxUSE_MONOLITHIC=no
2297 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2302 for toolkit in `echo $ALL_TOOLKITS`; do
2303 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2304 if test "x$LINE" != "x" ; then
2305 has_toolkit_in_cache=1
2306 eval "DEFAULT_$LINE"
2307 eval "CACHE_$toolkit=1"
2314 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2315 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2317 # Check whether --enable-gui or --disable-gui was given.
2318 if test "${enable_gui+set}" = set; then
2319 enableval="$enable_gui"
2321 if test "$enableval" = yes; then
2322 ac_cv_use_gui='wxUSE_GUI
=yes'
2324 ac_cv_use_gui='wxUSE_GUI
=no
'
2329 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2330 if test "x$LINE" != x ; then
2331 eval "DEFAULT_$LINE"
2336 ac_cv_use_gui='wxUSE_GUI
='$DEFAULT_wxUSE_GUI
2340 eval "$ac_cv_use_gui"
2341 if test "$no_cache" != 1; then
2342 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2345 if test "$wxUSE_GUI" = yes; then
2346 echo "$as_me:$LINENO: result: yes" >&5
2347 echo "${ECHO_T}yes" >&6
2349 echo "$as_me:$LINENO: result: no" >&5
2350 echo "${ECHO_T}no" >&6
2355 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2356 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2358 # Check whether --enable-monolithic or --disable-monolithic was given.
2359 if test "${enable_monolithic+set}" = set; then
2360 enableval="$enable_monolithic"
2362 if test "$enableval" = yes; then
2363 ac_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
2365 ac_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
2370 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2371 if test "x$LINE" != x ; then
2372 eval "DEFAULT_$LINE"
2377 ac_cv_use_monolithic='wxUSE_MONOLITHIC
='$DEFAULT_wxUSE_MONOLITHIC
2381 eval "$ac_cv_use_monolithic"
2382 if test "$no_cache" != 1; then
2383 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2386 if test "$wxUSE_MONOLITHIC" = yes; then
2387 echo "$as_me:$LINENO: result: yes" >&5
2388 echo "${ECHO_T}yes" >&6
2390 echo "$as_me:$LINENO: result: no" >&5
2391 echo "${ECHO_T}no" >&6
2395 if test "$wxUSE_GUI" = "yes"; then
2399 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2400 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2402 # Check whether --enable-universal or --disable-universal was given.
2403 if test "${enable_universal+set}" = set; then
2404 enableval="$enable_universal"
2406 if test "$enableval" = yes; then
2407 ac_cv_use_universal='wxUSE_UNIVERSAL
=yes'
2409 ac_cv_use_universal='wxUSE_UNIVERSAL
=no
'
2414 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2415 if test "x$LINE" != x ; then
2416 eval "DEFAULT_$LINE"
2421 ac_cv_use_universal='wxUSE_UNIVERSAL
='$DEFAULT_wxUSE_UNIVERSAL
2425 eval "$ac_cv_use_universal"
2426 if test "$no_cache" != 1; then
2427 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2430 if test "$wxUSE_UNIVERSAL" = yes; then
2431 echo "$as_me:$LINENO: result: yes" >&5
2432 echo "${ECHO_T}yes" >&6
2434 echo "$as_me:$LINENO: result: no" >&5
2435 echo "${ECHO_T}no" >&6
2439 # Check whether --with-gtk or --without-gtk was given.
2440 if test "${with_gtk+set}" = set; then
2442 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2445 # Check whether --with-motif or --without-motif was given.
2446 if test "${with_motif+set}" = set; then
2447 withval="$with_motif"
2448 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2451 # Check whether --with-mac or --without-mac was given.
2452 if test "${with_mac+set}" = set; then
2454 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2457 # Check whether --with-cocoa or --without-cocoa was given.
2458 if test "${with_cocoa+set}" = set; then
2459 withval="$with_cocoa"
2460 wxUSE_COCOA="$withval" TOOLKIT_GIVEN=1
2463 # Check whether --with-wine or --without-wine was given.
2464 if test "${with_wine+set}" = set; then
2465 withval="$with_wine"
2466 wxUSE_WINE="$withval" CACHE_WINE=1
2469 # Check whether --with-msw or --without-msw was given.
2470 if test "${with_msw+set}" = set; then
2472 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2475 # Check whether --with-pm or --without-pm was given.
2476 if test "${with_pm+set}" = set; then
2478 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2481 # Check whether --with-mgl or --without-mgl was given.
2482 if test "${with_mgl+set}" = set; then
2484 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2487 # Check whether --with-microwin or --without-microwin was given.
2488 if test "${with_microwin+set}" = set; then
2489 withval="$with_microwin"
2490 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2493 # Check whether --with-x11 or --without-x11 was given.
2494 if test "${with_x11+set}" = set; then
2496 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2500 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2501 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2503 # Check whether --enable-nanox or --disable-nanox was given.
2504 if test "${enable_nanox+set}" = set; then
2505 enableval="$enable_nanox"
2507 if test "$enableval" = yes; then
2508 ac_cv_use_nanox='wxUSE_NANOX
=yes'
2510 ac_cv_use_nanox='wxUSE_NANOX
=no
'
2515 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2516 if test "x$LINE" != x ; then
2517 eval "DEFAULT_$LINE"
2522 ac_cv_use_nanox='wxUSE_NANOX
='$DEFAULT_wxUSE_NANOX
2526 eval "$ac_cv_use_nanox"
2527 if test "$no_cache" != 1; then
2528 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2531 if test "$wxUSE_NANOX" = yes; then
2532 echo "$as_me:$LINENO: result: yes" >&5
2533 echo "${ECHO_T}yes" >&6
2535 echo "$as_me:$LINENO: result: no" >&5
2536 echo "${ECHO_T}no" >&6
2542 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2543 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2545 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2546 if test "${enable_gtk2+set}" = set; then
2547 enableval="$enable_gtk2"
2549 if test "$enableval" = yes; then
2550 ac_cv_use_gtk2='wxUSE_GTK2
=yes'
2552 ac_cv_use_gtk2='wxUSE_GTK2
=no
'
2557 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2558 if test "x$LINE" != x ; then
2559 eval "DEFAULT_$LINE"
2564 ac_cv_use_gtk2='wxUSE_GTK2
='$DEFAULT_wxUSE_GTK2
2568 eval "$ac_cv_use_gtk2"
2569 if test "$no_cache" != 1; then
2570 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2573 if test "$wxUSE_GTK2" = yes; then
2574 echo "$as_me:$LINENO: result: yes" >&5
2575 echo "${ECHO_T}yes" >&6
2577 echo "$as_me:$LINENO: result: no" >&5
2578 echo "${ECHO_T}no" >&6
2583 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2584 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2587 # Check whether --with-libpng or --without-libpng was given.
2588 if test "${with_libpng+set}" = set; then
2589 withval="$with_libpng"
2591 if test "$withval" = yes; then
2592 ac_cv_use_libpng='wxUSE_LIBPNG
=yes'
2593 elif test "$withval" = no; then
2594 ac_cv_use_libpng='wxUSE_LIBPNG
=no
'
2595 elif test "$withval" = sys; then
2596 ac_cv_use_libpng='wxUSE_LIBPNG
=sys
'
2597 elif test "$withval" = builtin; then
2598 ac_cv_use_libpng='wxUSE_LIBPNG
=builtin'
2600 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2601 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2602 { (exit 1); exit 1; }; }
2607 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2608 if test "x$LINE" != x ; then
2609 eval "DEFAULT_$LINE"
2614 ac_cv_use_libpng='wxUSE_LIBPNG
='$DEFAULT_wxUSE_LIBPNG
2618 eval "$ac_cv_use_libpng"
2619 if test "$no_cache" != 1; then
2620 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2623 if test "$wxUSE_LIBPNG" = yes; then
2624 echo "$as_me:$LINENO: result: yes" >&5
2625 echo "${ECHO_T}yes" >&6
2626 elif test "$wxUSE_LIBPNG" = no; then
2627 echo "$as_me:$LINENO: result: no" >&5
2628 echo "${ECHO_T}no" >&6
2629 elif test "$wxUSE_LIBPNG" = sys; then
2630 echo "$as_me:$LINENO: result: system version" >&5
2631 echo "${ECHO_T}system version" >&6
2632 elif test "$wxUSE_LIBPNG" = builtin; then
2633 echo "$as_me:$LINENO: result: builtin version" >&5
2634 echo "${ECHO_T}builtin version" >&6
2636 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2637 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2638 { (exit 1); exit 1; }; }
2642 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2643 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2646 # Check whether --with-libjpeg or --without-libjpeg was given.
2647 if test "${with_libjpeg+set}" = set; then
2648 withval="$with_libjpeg"
2650 if test "$withval" = yes; then
2651 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
2652 elif test "$withval" = no; then
2653 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
2654 elif test "$withval" = sys; then
2655 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
2656 elif test "$withval" = builtin; then
2657 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
2659 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2660 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2661 { (exit 1); exit 1; }; }
2666 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2667 if test "x$LINE" != x ; then
2668 eval "DEFAULT_$LINE"
2673 ac_cv_use_libjpeg='wxUSE_LIBJPEG
='$DEFAULT_wxUSE_LIBJPEG
2677 eval "$ac_cv_use_libjpeg"
2678 if test "$no_cache" != 1; then
2679 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2682 if test "$wxUSE_LIBJPEG" = yes; then
2683 echo "$as_me:$LINENO: result: yes" >&5
2684 echo "${ECHO_T}yes" >&6
2685 elif test "$wxUSE_LIBJPEG" = no; then
2686 echo "$as_me:$LINENO: result: no" >&5
2687 echo "${ECHO_T}no" >&6
2688 elif test "$wxUSE_LIBJPEG" = sys; then
2689 echo "$as_me:$LINENO: result: system version" >&5
2690 echo "${ECHO_T}system version" >&6
2691 elif test "$wxUSE_LIBJPEG" = builtin; then
2692 echo "$as_me:$LINENO: result: builtin version" >&5
2693 echo "${ECHO_T}builtin version" >&6
2695 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2696 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2697 { (exit 1); exit 1; }; }
2701 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2702 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2705 # Check whether --with-libtiff or --without-libtiff was given.
2706 if test "${with_libtiff+set}" = set; then
2707 withval="$with_libtiff"
2709 if test "$withval" = yes; then
2710 ac_cv_use_libtiff='wxUSE_LIBTIFF
=yes'
2711 elif test "$withval" = no; then
2712 ac_cv_use_libtiff='wxUSE_LIBTIFF
=no
'
2713 elif test "$withval" = sys; then
2714 ac_cv_use_libtiff='wxUSE_LIBTIFF
=sys
'
2715 elif test "$withval" = builtin; then
2716 ac_cv_use_libtiff='wxUSE_LIBTIFF
=builtin'
2718 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2719 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2720 { (exit 1); exit 1; }; }
2725 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2726 if test "x$LINE" != x ; then
2727 eval "DEFAULT_$LINE"
2732 ac_cv_use_libtiff='wxUSE_LIBTIFF
='$DEFAULT_wxUSE_LIBTIFF
2736 eval "$ac_cv_use_libtiff"
2737 if test "$no_cache" != 1; then
2738 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2741 if test "$wxUSE_LIBTIFF" = yes; then
2742 echo "$as_me:$LINENO: result: yes" >&5
2743 echo "${ECHO_T}yes" >&6
2744 elif test "$wxUSE_LIBTIFF" = no; then
2745 echo "$as_me:$LINENO: result: no" >&5
2746 echo "${ECHO_T}no" >&6
2747 elif test "$wxUSE_LIBTIFF" = sys; then
2748 echo "$as_me:$LINENO: result: system version" >&5
2749 echo "${ECHO_T}system version" >&6
2750 elif test "$wxUSE_LIBTIFF" = builtin; then
2751 echo "$as_me:$LINENO: result: builtin version" >&5
2752 echo "${ECHO_T}builtin version" >&6
2754 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2755 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2756 { (exit 1); exit 1; }; }
2760 echo "$as_me:$LINENO: checking for --with-opengl" >&5
2761 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
2764 # Check whether --with-opengl or --without-opengl was given.
2765 if test "${with_opengl+set}" = set; then
2766 withval="$with_opengl"
2768 if test "$withval" = yes; then
2769 ac_cv_use_opengl='wxUSE_OPENGL
=yes'
2771 ac_cv_use_opengl='wxUSE_OPENGL
=no
'
2776 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2777 if test "x$LINE" != x ; then
2778 eval "DEFAULT_$LINE"
2783 ac_cv_use_opengl='wxUSE_OPENGL
='$DEFAULT_wxUSE_OPENGL
2787 eval "$ac_cv_use_opengl"
2788 if test "$no_cache" != 1; then
2789 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2792 if test "$wxUSE_OPENGL" = yes; then
2793 echo "$as_me:$LINENO: result: yes" >&5
2794 echo "${ECHO_T}yes" >&6
2796 echo "$as_me:$LINENO: result: no" >&5
2797 echo "${ECHO_T}no" >&6
2804 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
2805 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
2808 # Check whether --with-dmalloc or --without-dmalloc was given.
2809 if test "${with_dmalloc+set}" = set; then
2810 withval="$with_dmalloc"
2812 if test "$withval" = yes; then
2813 ac_cv_use_dmalloc='wxUSE_DMALLOC
=yes'
2815 ac_cv_use_dmalloc='wxUSE_DMALLOC
=no
'
2820 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2821 if test "x$LINE" != x ; then
2822 eval "DEFAULT_$LINE"
2827 ac_cv_use_dmalloc='wxUSE_DMALLOC
='$DEFAULT_wxUSE_DMALLOC
2831 eval "$ac_cv_use_dmalloc"
2832 if test "$no_cache" != 1; then
2833 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2836 if test "$wxUSE_DMALLOC" = yes; then
2837 echo "$as_me:$LINENO: result: yes" >&5
2838 echo "${ECHO_T}yes" >&6
2840 echo "$as_me:$LINENO: result: no" >&5
2841 echo "${ECHO_T}no" >&6
2845 echo "$as_me:$LINENO: checking for --with-regex" >&5
2846 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
2849 # Check whether --with-regex or --without-regex was given.
2850 if test "${with_regex+set}" = set; then
2851 withval="$with_regex"
2853 if test "$withval" = yes; then
2854 ac_cv_use_regex='wxUSE_REGEX
=yes'
2855 elif test "$withval" = no; then
2856 ac_cv_use_regex='wxUSE_REGEX
=no
'
2857 elif test "$withval" = sys; then
2858 ac_cv_use_regex='wxUSE_REGEX
=sys
'
2859 elif test "$withval" = builtin; then
2860 ac_cv_use_regex='wxUSE_REGEX
=builtin'
2862 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2863 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2864 { (exit 1); exit 1; }; }
2869 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2870 if test "x$LINE" != x ; then
2871 eval "DEFAULT_$LINE"
2876 ac_cv_use_regex='wxUSE_REGEX
='$DEFAULT_wxUSE_REGEX
2880 eval "$ac_cv_use_regex"
2881 if test "$no_cache" != 1; then
2882 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2885 if test "$wxUSE_REGEX" = yes; then
2886 echo "$as_me:$LINENO: result: yes" >&5
2887 echo "${ECHO_T}yes" >&6
2888 elif test "$wxUSE_REGEX" = no; then
2889 echo "$as_me:$LINENO: result: no" >&5
2890 echo "${ECHO_T}no" >&6
2891 elif test "$wxUSE_REGEX" = sys; then
2892 echo "$as_me:$LINENO: result: system version" >&5
2893 echo "${ECHO_T}system version" >&6
2894 elif test "$wxUSE_REGEX" = builtin; then
2895 echo "$as_me:$LINENO: result: builtin version" >&5
2896 echo "${ECHO_T}builtin version" >&6
2898 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2899 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2900 { (exit 1); exit 1; }; }
2904 echo "$as_me:$LINENO: checking for --with-zlib" >&5
2905 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
2908 # Check whether --with-zlib or --without-zlib was given.
2909 if test "${with_zlib+set}" = set; then
2910 withval="$with_zlib"
2912 if test "$withval" = yes; then
2913 ac_cv_use_zlib='wxUSE_ZLIB
=yes'
2914 elif test "$withval" = no; then
2915 ac_cv_use_zlib='wxUSE_ZLIB
=no
'
2916 elif test "$withval" = sys; then
2917 ac_cv_use_zlib='wxUSE_ZLIB
=sys
'
2918 elif test "$withval" = builtin; then
2919 ac_cv_use_zlib='wxUSE_ZLIB
=builtin'
2921 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2922 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2923 { (exit 1); exit 1; }; }
2928 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2929 if test "x$LINE" != x ; then
2930 eval "DEFAULT_$LINE"
2935 ac_cv_use_zlib='wxUSE_ZLIB
='$DEFAULT_wxUSE_ZLIB
2939 eval "$ac_cv_use_zlib"
2940 if test "$no_cache" != 1; then
2941 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2944 if test "$wxUSE_ZLIB" = yes; then
2945 echo "$as_me:$LINENO: result: yes" >&5
2946 echo "${ECHO_T}yes" >&6
2947 elif test "$wxUSE_ZLIB" = no; then
2948 echo "$as_me:$LINENO: result: no" >&5
2949 echo "${ECHO_T}no" >&6
2950 elif test "$wxUSE_ZLIB" = sys; then
2951 echo "$as_me:$LINENO: result: system version" >&5
2952 echo "${ECHO_T}system version" >&6
2953 elif test "$wxUSE_ZLIB" = builtin; then
2954 echo "$as_me:$LINENO: result: builtin version" >&5
2955 echo "${ECHO_T}builtin version" >&6
2957 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2958 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2959 { (exit 1); exit 1; }; }
2963 echo "$as_me:$LINENO: checking for --with-odbc" >&5
2964 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
2967 # Check whether --with-odbc or --without-odbc was given.
2968 if test "${with_odbc+set}" = set; then
2969 withval="$with_odbc"
2971 if test "$withval" = yes; then
2972 ac_cv_use_odbc='wxUSE_ODBC
=yes'
2973 elif test "$withval" = no; then
2974 ac_cv_use_odbc='wxUSE_ODBC
=no
'
2975 elif test "$withval" = sys; then
2976 ac_cv_use_odbc='wxUSE_ODBC
=sys
'
2977 elif test "$withval" = builtin; then
2978 ac_cv_use_odbc='wxUSE_ODBC
=builtin'
2980 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
2981 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
2982 { (exit 1); exit 1; }; }
2987 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2988 if test "x$LINE" != x ; then
2989 eval "DEFAULT_$LINE"
2994 ac_cv_use_odbc='wxUSE_ODBC
='$DEFAULT_wxUSE_ODBC
2998 eval "$ac_cv_use_odbc"
2999 if test "$no_cache" != 1; then
3000 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3003 if test "$wxUSE_ODBC" = yes; then
3004 echo "$as_me:$LINENO: result: yes" >&5
3005 echo "${ECHO_T}yes" >&6
3006 elif test "$wxUSE_ODBC" = no; then
3007 echo "$as_me:$LINENO: result: no" >&5
3008 echo "${ECHO_T}no" >&6
3009 elif test "$wxUSE_ODBC" = sys; then
3010 echo "$as_me:$LINENO: result: system version" >&5
3011 echo "${ECHO_T}system version" >&6
3012 elif test "$wxUSE_ODBC" = builtin; then
3013 echo "$as_me:$LINENO: result: builtin version" >&5
3014 echo "${ECHO_T}builtin version" >&6
3016 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3017 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3018 { (exit 1); exit 1; }; }
3022 echo "$as_me:$LINENO: checking for --with-expat" >&5
3023 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3026 # Check whether --with-expat or --without-expat was given.
3027 if test "${with_expat+set}" = set; then
3028 withval="$with_expat"
3030 if test "$withval" = yes; then
3031 ac_cv_use_expat='wxUSE_EXPAT
=yes'
3032 elif test "$withval" = no; then
3033 ac_cv_use_expat='wxUSE_EXPAT
=no
'
3034 elif test "$withval" = sys; then
3035 ac_cv_use_expat='wxUSE_EXPAT
=sys
'
3036 elif test "$withval" = builtin; then
3037 ac_cv_use_expat='wxUSE_EXPAT
=builtin'
3039 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3040 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3041 { (exit 1); exit 1; }; }
3046 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3047 if test "x$LINE" != x ; then
3048 eval "DEFAULT_$LINE"
3053 ac_cv_use_expat='wxUSE_EXPAT
='$DEFAULT_wxUSE_EXPAT
3057 eval "$ac_cv_use_expat"
3058 if test "$no_cache" != 1; then
3059 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3062 if test "$wxUSE_EXPAT" = yes; then
3063 echo "$as_me:$LINENO: result: yes" >&5
3064 echo "${ECHO_T}yes" >&6
3065 elif test "$wxUSE_EXPAT" = no; then
3066 echo "$as_me:$LINENO: result: no" >&5
3067 echo "${ECHO_T}no" >&6
3068 elif test "$wxUSE_EXPAT" = sys; then
3069 echo "$as_me:$LINENO: result: system version" >&5
3070 echo "${ECHO_T}system version" >&6
3071 elif test "$wxUSE_EXPAT" = builtin; then
3072 echo "$as_me:$LINENO: result: builtin version" >&5
3073 echo "${ECHO_T}builtin version" >&6
3075 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3076 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3077 { (exit 1); exit 1; }; }
3084 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3085 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3087 # Check whether --enable-shared or --disable-shared was given.
3088 if test "${enable_shared+set}" = set; then
3089 enableval="$enable_shared"
3091 if test "$enableval" = yes; then
3092 ac_cv_use_shared='wxUSE_SHARED
=yes'
3094 ac_cv_use_shared='wxUSE_SHARED
=no
'
3099 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3100 if test "x$LINE" != x ; then
3101 eval "DEFAULT_$LINE"
3106 ac_cv_use_shared='wxUSE_SHARED
='$DEFAULT_wxUSE_SHARED
3110 eval "$ac_cv_use_shared"
3111 if test "$no_cache" != 1; then
3112 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3115 if test "$wxUSE_SHARED" = yes; then
3116 echo "$as_me:$LINENO: result: yes" >&5
3117 echo "${ECHO_T}yes" >&6
3119 echo "$as_me:$LINENO: result: no" >&5
3120 echo "${ECHO_T}no" >&6
3125 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3126 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3128 # Check whether --enable-optimise or --disable-optimise was given.
3129 if test "${enable_optimise+set}" = set; then
3130 enableval="$enable_optimise"
3132 if test "$enableval" = yes; then
3133 ac_cv_use_optimise='wxUSE_OPTIMISE
=yes'
3135 ac_cv_use_optimise='wxUSE_OPTIMISE
=no
'
3140 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3141 if test "x$LINE" != x ; then
3142 eval "DEFAULT_$LINE"
3147 ac_cv_use_optimise='wxUSE_OPTIMISE
='$DEFAULT_wxUSE_OPTIMISE
3151 eval "$ac_cv_use_optimise"
3152 if test "$no_cache" != 1; then
3153 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3156 if test "$wxUSE_OPTIMISE" = yes; then
3157 echo "$as_me:$LINENO: result: yes" >&5
3158 echo "${ECHO_T}yes" >&6
3160 echo "$as_me:$LINENO: result: no" >&5
3161 echo "${ECHO_T}no" >&6
3166 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3167 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3169 # Check whether --enable-debug or --disable-debug was given.
3170 if test "${enable_debug+set}" = set; then
3171 enableval="$enable_debug"
3173 if test "$enableval" = yes; then
3174 ac_cv_use_debug='wxUSE_DEBUG
=yes'
3176 ac_cv_use_debug='wxUSE_DEBUG
=no
'
3181 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3182 if test "x$LINE" != x ; then
3183 eval "DEFAULT_$LINE"
3188 ac_cv_use_debug='wxUSE_DEBUG
='$DEFAULT_wxUSE_DEBUG
3192 eval "$ac_cv_use_debug"
3193 if test "$no_cache" != 1; then
3194 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3197 if test "$wxUSE_DEBUG" = yes; then
3198 echo "$as_me:$LINENO: result: yes" >&5
3199 echo "${ECHO_T}yes" >&6
3201 echo "$as_me:$LINENO: result: no" >&5
3202 echo "${ECHO_T}no" >&6
3207 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3208 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3210 # Check whether --enable-stl or --disable-stl was given.
3211 if test "${enable_stl+set}" = set; then
3212 enableval="$enable_stl"
3214 if test "$enableval" = yes; then
3215 ac_cv_use_stl='wxUSE_STL
=yes'
3217 ac_cv_use_stl='wxUSE_STL
=no
'
3222 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3223 if test "x$LINE" != x ; then
3224 eval "DEFAULT_$LINE"
3229 ac_cv_use_stl='wxUSE_STL
='$DEFAULT_wxUSE_STL
3233 eval "$ac_cv_use_stl"
3234 if test "$no_cache" != 1; then
3235 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3238 if test "$wxUSE_STL" = yes; then
3239 echo "$as_me:$LINENO: result: yes" >&5
3240 echo "${ECHO_T}yes" >&6
3242 echo "$as_me:$LINENO: result: no" >&5
3243 echo "${ECHO_T}no" >&6
3247 if test "$wxUSE_DEBUG" = "yes"; then
3248 DEFAULT_wxUSE_DEBUG_FLAG=yes
3249 DEFAULT_wxUSE_DEBUG_INFO=yes
3251 elif test "$wxUSE_DEBUG" = "no"; then
3252 DEFAULT_wxUSE_DEBUG_FLAG=no
3253 DEFAULT_wxUSE_DEBUG_INFO=no
3259 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3260 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3262 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3263 if test "${enable_debug_flag+set}" = set; then
3264 enableval="$enable_debug_flag"
3266 if test "$enableval" = yes; then
3267 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
3269 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
3274 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3275 if test "x$LINE" != x ; then
3276 eval "DEFAULT_$LINE"
3281 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
='$DEFAULT_wxUSE_DEBUG_FLAG
3285 eval "$ac_cv_use_debug_flag"
3286 if test "$no_cache" != 1; then
3287 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3290 if test "$wxUSE_DEBUG_FLAG" = yes; then
3291 echo "$as_me:$LINENO: result: yes" >&5
3292 echo "${ECHO_T}yes" >&6
3294 echo "$as_me:$LINENO: result: no" >&5
3295 echo "${ECHO_T}no" >&6
3300 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3301 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3303 # Check whether --enable-debug_info or --disable-debug_info was given.
3304 if test "${enable_debug_info+set}" = set; then
3305 enableval="$enable_debug_info"
3307 if test "$enableval" = yes; then
3308 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=yes'
3310 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=no
'
3315 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3316 if test "x$LINE" != x ; then
3317 eval "DEFAULT_$LINE"
3322 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
='$DEFAULT_wxUSE_DEBUG_INFO
3326 eval "$ac_cv_use_debug_info"
3327 if test "$no_cache" != 1; then
3328 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3331 if test "$wxUSE_DEBUG_INFO" = yes; then
3332 echo "$as_me:$LINENO: result: yes" >&5
3333 echo "${ECHO_T}yes" >&6
3335 echo "$as_me:$LINENO: result: no" >&5
3336 echo "${ECHO_T}no" >&6
3341 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3342 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3344 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3345 if test "${enable_debug_gdb+set}" = set; then
3346 enableval="$enable_debug_gdb"
3348 if test "$enableval" = yes; then
3349 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=yes'
3351 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=no
'
3356 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3357 if test "x$LINE" != x ; then
3358 eval "DEFAULT_$LINE"
3363 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
='$DEFAULT_wxUSE_DEBUG_GDB
3367 eval "$ac_cv_use_debug_gdb"
3368 if test "$no_cache" != 1; then
3369 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3372 if test "$wxUSE_DEBUG_GDB" = yes; then
3373 echo "$as_me:$LINENO: result: yes" >&5
3374 echo "${ECHO_T}yes" >&6
3376 echo "$as_me:$LINENO: result: no" >&5
3377 echo "${ECHO_T}no" >&6
3382 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3383 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3385 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3386 if test "${enable_debug_cntxt+set}" = set; then
3387 enableval="$enable_debug_cntxt"
3389 if test "$enableval" = yes; then
3390 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
3392 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
3397 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3398 if test "x$LINE" != x ; then
3399 eval "DEFAULT_$LINE"
3404 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
='$DEFAULT_wxUSE_DEBUG_CONTEXT
3408 eval "$ac_cv_use_debug_cntxt"
3409 if test "$no_cache" != 1; then
3410 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3413 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3414 echo "$as_me:$LINENO: result: yes" >&5
3415 echo "${ECHO_T}yes" >&6
3417 echo "$as_me:$LINENO: result: no" >&5
3418 echo "${ECHO_T}no" >&6
3423 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3424 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3426 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3427 if test "${enable_mem_tracing+set}" = set; then
3428 enableval="$enable_mem_tracing"
3430 if test "$enableval" = yes; then
3431 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=yes'
3433 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=no
'
3438 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3439 if test "x$LINE" != x ; then
3440 eval "DEFAULT_$LINE"
3445 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
='$DEFAULT_wxUSE_MEM_TRACING
3449 eval "$ac_cv_use_mem_tracing"
3450 if test "$no_cache" != 1; then
3451 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3454 if test "$wxUSE_MEM_TRACING" = yes; then
3455 echo "$as_me:$LINENO: result: yes" >&5
3456 echo "${ECHO_T}yes" >&6
3458 echo "$as_me:$LINENO: result: no" >&5
3459 echo "${ECHO_T}no" >&6
3464 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3465 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3467 # Check whether --enable-profile or --disable-profile was given.
3468 if test "${enable_profile+set}" = set; then
3469 enableval="$enable_profile"
3471 if test "$enableval" = yes; then
3472 ac_cv_use_profile='wxUSE_PROFILE
=yes'
3474 ac_cv_use_profile='wxUSE_PROFILE
=no
'
3479 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3480 if test "x$LINE" != x ; then
3481 eval "DEFAULT_$LINE"
3486 ac_cv_use_profile='wxUSE_PROFILE
='$DEFAULT_wxUSE_PROFILE
3490 eval "$ac_cv_use_profile"
3491 if test "$no_cache" != 1; then
3492 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3495 if test "$wxUSE_PROFILE" = yes; then
3496 echo "$as_me:$LINENO: result: yes" >&5
3497 echo "${ECHO_T}yes" >&6
3499 echo "$as_me:$LINENO: result: no" >&5
3500 echo "${ECHO_T}no" >&6
3505 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3506 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3508 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3509 if test "${enable_no_rtti+set}" = set; then
3510 enableval="$enable_no_rtti"
3512 if test "$enableval" = yes; then
3513 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=yes'
3515 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=no
'
3520 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3521 if test "x$LINE" != x ; then
3522 eval "DEFAULT_$LINE"
3527 ac_cv_use_no_rtti='wxUSE_NO_RTTI
='$DEFAULT_wxUSE_NO_RTTI
3531 eval "$ac_cv_use_no_rtti"
3532 if test "$no_cache" != 1; then
3533 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3536 if test "$wxUSE_NO_RTTI" = yes; then
3537 echo "$as_me:$LINENO: result: yes" >&5
3538 echo "${ECHO_T}yes" >&6
3540 echo "$as_me:$LINENO: result: no" >&5
3541 echo "${ECHO_T}no" >&6
3546 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3547 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3549 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3550 if test "${enable_no_exceptions+set}" = set; then
3551 enableval="$enable_no_exceptions"
3553 if test "$enableval" = yes; then
3554 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=yes'
3556 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=no
'
3561 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3562 if test "x$LINE" != x ; then
3563 eval "DEFAULT_$LINE"
3568 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
='$DEFAULT_wxUSE_NO_EXCEPTIONS
3572 eval "$ac_cv_use_no_exceptions"
3573 if test "$no_cache" != 1; then
3574 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3577 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3578 echo "$as_me:$LINENO: result: yes" >&5
3579 echo "${ECHO_T}yes" >&6
3581 echo "$as_me:$LINENO: result: no" >&5
3582 echo "${ECHO_T}no" >&6
3587 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3588 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3590 # Check whether --enable-permissive or --disable-permissive was given.
3591 if test "${enable_permissive+set}" = set; then
3592 enableval="$enable_permissive"
3594 if test "$enableval" = yes; then
3595 ac_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
3597 ac_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
3602 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3603 if test "x$LINE" != x ; then
3604 eval "DEFAULT_$LINE"
3609 ac_cv_use_permissive='wxUSE_PERMISSIVE
='$DEFAULT_wxUSE_PERMISSIVE
3613 eval "$ac_cv_use_permissive"
3614 if test "$no_cache" != 1; then
3615 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3618 if test "$wxUSE_PERMISSIVE" = yes; then
3619 echo "$as_me:$LINENO: result: yes" >&5
3620 echo "${ECHO_T}yes" >&6
3622 echo "$as_me:$LINENO: result: no" >&5
3623 echo "${ECHO_T}no" >&6
3628 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3629 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3631 # Check whether --enable-no_deps or --disable-no_deps was given.
3632 if test "${enable_no_deps+set}" = set; then
3633 enableval="$enable_no_deps"
3635 if test "$enableval" = yes; then
3636 ac_cv_use_no_deps='wxUSE_NO_DEPS
=yes'
3638 ac_cv_use_no_deps='wxUSE_NO_DEPS
=no
'
3643 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3644 if test "x$LINE" != x ; then
3645 eval "DEFAULT_$LINE"
3650 ac_cv_use_no_deps='wxUSE_NO_DEPS
='$DEFAULT_wxUSE_NO_DEPS
3654 eval "$ac_cv_use_no_deps"
3655 if test "$no_cache" != 1; then
3656 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3659 if test "$wxUSE_NO_DEPS" = yes; then
3660 echo "$as_me:$LINENO: result: yes" >&5
3661 echo "${ECHO_T}yes" >&6
3663 echo "$as_me:$LINENO: result: no" >&5
3664 echo "${ECHO_T}no" >&6
3670 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3671 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3673 # Check whether --enable-compat22 or --disable-compat22 was given.
3674 if test "${enable_compat22+set}" = set; then
3675 enableval="$enable_compat22"
3677 if test "$enableval" = yes; then
3678 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2
=yes'
3680 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2
=no
'
3685 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3686 if test "x$LINE" != x ; then
3687 eval "DEFAULT_$LINE"
3692 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2
='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3696 eval "$ac_cv_use_compat22"
3697 if test "$no_cache" != 1; then
3698 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3701 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3702 echo "$as_me:$LINENO: result: yes" >&5
3703 echo "${ECHO_T}yes" >&6
3705 echo "$as_me:$LINENO: result: no" >&5
3706 echo "${ECHO_T}no" >&6
3710 enablestring=disable
3711 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
3712 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
3714 # Check whether --enable-compat24 or --disable-compat24 was given.
3715 if test "${enable_compat24+set}" = set; then
3716 enableval="$enable_compat24"
3718 if test "$enableval" = yes; then
3719 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
=yes'
3721 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
=no
'
3726 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3727 if test "x$LINE" != x ; then
3728 eval "DEFAULT_$LINE"
3733 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3737 eval "$ac_cv_use_compat24"
3738 if test "$no_cache" != 1; then
3739 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3742 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3743 echo "$as_me:$LINENO: result: yes" >&5
3744 echo "${ECHO_T}yes" >&6
3746 echo "$as_me:$LINENO: result: no" >&5
3747 echo "${ECHO_T}no" >&6
3751 # Check whether --enable-rpath or --disable-rpath was given.
3752 if test "${enable_rpath+set}" = set; then
3753 enableval="$enable_rpath"
3754 wxRPATH_DIR="$enableval"
3757 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3758 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
3765 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
3766 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
3768 # Check whether --enable-intl or --disable-intl was given.
3769 if test "${enable_intl+set}" = set; then
3770 enableval="$enable_intl"
3772 if test "$enableval" = yes; then
3773 ac_cv_use_intl='wxUSE_INTL
=yes'
3775 ac_cv_use_intl='wxUSE_INTL
=no
'
3780 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3781 if test "x$LINE" != x ; then
3782 eval "DEFAULT_$LINE"
3787 ac_cv_use_intl='wxUSE_INTL
='$DEFAULT_wxUSE_INTL
3791 eval "$ac_cv_use_intl"
3792 if test "$no_cache" != 1; then
3793 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3796 if test "$wxUSE_INTL" = yes; then
3797 echo "$as_me:$LINENO: result: yes" >&5
3798 echo "${ECHO_T}yes" >&6
3800 echo "$as_me:$LINENO: result: no" >&5
3801 echo "${ECHO_T}no" >&6
3806 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
3807 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
3809 # Check whether --enable-config or --disable-config was given.
3810 if test "${enable_config+set}" = set; then
3811 enableval="$enable_config"
3813 if test "$enableval" = yes; then
3814 ac_cv_use_config='wxUSE_CONFIG
=yes'
3816 ac_cv_use_config='wxUSE_CONFIG
=no
'
3821 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3822 if test "x$LINE" != x ; then
3823 eval "DEFAULT_$LINE"
3828 ac_cv_use_config='wxUSE_CONFIG
='$DEFAULT_wxUSE_CONFIG
3832 eval "$ac_cv_use_config"
3833 if test "$no_cache" != 1; then
3834 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3837 if test "$wxUSE_CONFIG" = yes; then
3838 echo "$as_me:$LINENO: result: yes" >&5
3839 echo "${ECHO_T}yes" >&6
3841 echo "$as_me:$LINENO: result: no" >&5
3842 echo "${ECHO_T}no" >&6
3848 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
3849 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
3851 # Check whether --enable-protocols or --disable-protocols was given.
3852 if test "${enable_protocols+set}" = set; then
3853 enableval="$enable_protocols"
3855 if test "$enableval" = yes; then
3856 ac_cv_use_protocols='wxUSE_PROTOCOL
=yes'
3858 ac_cv_use_protocols='wxUSE_PROTOCOL
=no
'
3863 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3864 if test "x$LINE" != x ; then
3865 eval "DEFAULT_$LINE"
3870 ac_cv_use_protocols='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
3874 eval "$ac_cv_use_protocols"
3875 if test "$no_cache" != 1; then
3876 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3879 if test "$wxUSE_PROTOCOL" = yes; then
3880 echo "$as_me:$LINENO: result: yes" >&5
3881 echo "${ECHO_T}yes" >&6
3883 echo "$as_me:$LINENO: result: no" >&5
3884 echo "${ECHO_T}no" >&6
3889 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
3890 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
3892 # Check whether --enable-ftp or --disable-ftp was given.
3893 if test "${enable_ftp+set}" = set; then
3894 enableval="$enable_ftp"
3896 if test "$enableval" = yes; then
3897 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=yes'
3899 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=no
'
3904 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3905 if test "x$LINE" != x ; then
3906 eval "DEFAULT_$LINE"
3911 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
3915 eval "$ac_cv_use_ftp"
3916 if test "$no_cache" != 1; then
3917 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3920 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3921 echo "$as_me:$LINENO: result: yes" >&5
3922 echo "${ECHO_T}yes" >&6
3924 echo "$as_me:$LINENO: result: no" >&5
3925 echo "${ECHO_T}no" >&6
3930 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
3931 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
3933 # Check whether --enable-http or --disable-http was given.
3934 if test "${enable_http+set}" = set; then
3935 enableval="$enable_http"
3937 if test "$enableval" = yes; then
3938 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=yes'
3940 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=no
'
3945 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3946 if test "x$LINE" != x ; then
3947 eval "DEFAULT_$LINE"
3952 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
3956 eval "$ac_cv_use_http"
3957 if test "$no_cache" != 1; then
3958 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3961 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3962 echo "$as_me:$LINENO: result: yes" >&5
3963 echo "${ECHO_T}yes" >&6
3965 echo "$as_me:$LINENO: result: no" >&5
3966 echo "${ECHO_T}no" >&6
3971 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
3972 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
3974 # Check whether --enable-fileproto or --disable-fileproto was given.
3975 if test "${enable_fileproto+set}" = set; then
3976 enableval="$enable_fileproto"
3978 if test "$enableval" = yes; then
3979 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
3981 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
3986 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
3987 if test "x$LINE" != x ; then
3988 eval "DEFAULT_$LINE"
3993 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
3997 eval "$ac_cv_use_fileproto"
3998 if test "$no_cache" != 1; then
3999 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4002 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4003 echo "$as_me:$LINENO: result: yes" >&5
4004 echo "${ECHO_T}yes" >&6
4006 echo "$as_me:$LINENO: result: no" >&5
4007 echo "${ECHO_T}no" >&6
4012 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4013 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4015 # Check whether --enable-sockets or --disable-sockets was given.
4016 if test "${enable_sockets+set}" = set; then
4017 enableval="$enable_sockets"
4019 if test "$enableval" = yes; then
4020 ac_cv_use_sockets='wxUSE_SOCKETS
=yes'
4022 ac_cv_use_sockets='wxUSE_SOCKETS
=no
'
4027 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4028 if test "x$LINE" != x ; then
4029 eval "DEFAULT_$LINE"
4034 ac_cv_use_sockets='wxUSE_SOCKETS
='$DEFAULT_wxUSE_SOCKETS
4038 eval "$ac_cv_use_sockets"
4039 if test "$no_cache" != 1; then
4040 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4043 if test "$wxUSE_SOCKETS" = yes; then
4044 echo "$as_me:$LINENO: result: yes" >&5
4045 echo "${ECHO_T}yes" >&6
4047 echo "$as_me:$LINENO: result: no" >&5
4048 echo "${ECHO_T}no" >&6
4053 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4054 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4056 # Check whether --enable-ole or --disable-ole was given.
4057 if test "${enable_ole+set}" = set; then
4058 enableval="$enable_ole"
4060 if test "$enableval" = yes; then
4061 ac_cv_use_ole='wxUSE_OLE
=yes'
4063 ac_cv_use_ole='wxUSE_OLE
=no
'
4068 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4069 if test "x$LINE" != x ; then
4070 eval "DEFAULT_$LINE"
4075 ac_cv_use_ole='wxUSE_OLE
='$DEFAULT_wxUSE_OLE
4079 eval "$ac_cv_use_ole"
4080 if test "$no_cache" != 1; then
4081 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4084 if test "$wxUSE_OLE" = yes; then
4085 echo "$as_me:$LINENO: result: yes" >&5
4086 echo "${ECHO_T}yes" >&6
4088 echo "$as_me:$LINENO: result: no" >&5
4089 echo "${ECHO_T}no" >&6
4094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4095 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4097 # Check whether --enable-dataobj or --disable-dataobj was given.
4098 if test "${enable_dataobj+set}" = set; then
4099 enableval="$enable_dataobj"
4101 if test "$enableval" = yes; then
4102 ac_cv_use_dataobj='wxUSE_DATAOBJ
=yes'
4104 ac_cv_use_dataobj='wxUSE_DATAOBJ
=no
'
4109 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4110 if test "x$LINE" != x ; then
4111 eval "DEFAULT_$LINE"
4116 ac_cv_use_dataobj='wxUSE_DATAOBJ
='$DEFAULT_wxUSE_DATAOBJ
4120 eval "$ac_cv_use_dataobj"
4121 if test "$no_cache" != 1; then
4122 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4125 if test "$wxUSE_DATAOBJ" = yes; then
4126 echo "$as_me:$LINENO: result: yes" >&5
4127 echo "${ECHO_T}yes" >&6
4129 echo "$as_me:$LINENO: result: no" >&5
4130 echo "${ECHO_T}no" >&6
4136 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4137 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4139 # Check whether --enable-ipc or --disable-ipc was given.
4140 if test "${enable_ipc+set}" = set; then
4141 enableval="$enable_ipc"
4143 if test "$enableval" = yes; then
4144 ac_cv_use_ipc='wxUSE_IPC
=yes'
4146 ac_cv_use_ipc='wxUSE_IPC
=no
'
4151 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4152 if test "x$LINE" != x ; then
4153 eval "DEFAULT_$LINE"
4158 ac_cv_use_ipc='wxUSE_IPC
='$DEFAULT_wxUSE_IPC
4162 eval "$ac_cv_use_ipc"
4163 if test "$no_cache" != 1; then
4164 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4167 if test "$wxUSE_IPC" = yes; then
4168 echo "$as_me:$LINENO: result: yes" >&5
4169 echo "${ECHO_T}yes" >&6
4171 echo "$as_me:$LINENO: result: no" >&5
4172 echo "${ECHO_T}no" >&6
4178 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4179 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4181 # Check whether --enable-cmdline or --disable-cmdline was given.
4182 if test "${enable_cmdline+set}" = set; then
4183 enableval="$enable_cmdline"
4185 if test "$enableval" = yes; then
4186 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=yes'
4188 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=no
'
4193 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4194 if test "x$LINE" != x ; then
4195 eval "DEFAULT_$LINE"
4200 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
='$DEFAULT_wxUSE_CMDLINE_PARSER
4204 eval "$ac_cv_use_cmdline"
4205 if test "$no_cache" != 1; then
4206 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4209 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4210 echo "$as_me:$LINENO: result: yes" >&5
4211 echo "${ECHO_T}yes" >&6
4213 echo "$as_me:$LINENO: result: no" >&5
4214 echo "${ECHO_T}no" >&6
4219 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4220 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4222 # Check whether --enable-datetime or --disable-datetime was given.
4223 if test "${enable_datetime+set}" = set; then
4224 enableval="$enable_datetime"
4226 if test "$enableval" = yes; then
4227 ac_cv_use_datetime='wxUSE_DATETIME
=yes'
4229 ac_cv_use_datetime='wxUSE_DATETIME
=no
'
4234 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4235 if test "x$LINE" != x ; then
4236 eval "DEFAULT_$LINE"
4241 ac_cv_use_datetime='wxUSE_DATETIME
='$DEFAULT_wxUSE_DATETIME
4245 eval "$ac_cv_use_datetime"
4246 if test "$no_cache" != 1; then
4247 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4250 if test "$wxUSE_DATETIME" = yes; then
4251 echo "$as_me:$LINENO: result: yes" >&5
4252 echo "${ECHO_T}yes" >&6
4254 echo "$as_me:$LINENO: result: no" >&5
4255 echo "${ECHO_T}no" >&6
4260 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
4261 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
4263 # Check whether --enable-stopwatch or --disable-stopwatch was given.
4264 if test "${enable_stopwatch+set}" = set; then
4265 enableval="$enable_stopwatch"
4267 if test "$enableval" = yes; then
4268 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=yes'
4270 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=no
'
4275 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
4276 if test "x$LINE" != x ; then
4277 eval "DEFAULT_$LINE"
4282 ac_cv_use_stopwatch='wxUSE_STOPWATCH
='$DEFAULT_wxUSE_STOPWATCH
4286 eval "$ac_cv_use_stopwatch"
4287 if test "$no_cache" != 1; then
4288 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
4291 if test "$wxUSE_STOPWATCH" = yes; then
4292 echo "$as_me:$LINENO: result: yes" >&5
4293 echo "${ECHO_T}yes" >&6
4295 echo "$as_me:$LINENO: result: no" >&5
4296 echo "${ECHO_T}no" >&6
4301 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4302 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4304 # Check whether --enable-dialupman or --disable-dialupman was given.
4305 if test "${enable_dialupman+set}" = set; then
4306 enableval="$enable_dialupman"
4308 if test "$enableval" = yes; then
4309 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=yes'
4311 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=no
'
4316 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4317 if test "x$LINE" != x ; then
4318 eval "DEFAULT_$LINE"
4323 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
='$DEFAULT_wxUSE_DIALUP_MANAGER
4327 eval "$ac_cv_use_dialupman"
4328 if test "$no_cache" != 1; then
4329 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4332 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4333 echo "$as_me:$LINENO: result: yes" >&5
4334 echo "${ECHO_T}yes" >&6
4336 echo "$as_me:$LINENO: result: no" >&5
4337 echo "${ECHO_T}no" >&6
4342 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4343 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4345 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4346 if test "${enable_apple_ieee+set}" = set; then
4347 enableval="$enable_apple_ieee"
4349 if test "$enableval" = yes; then
4350 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
4352 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
4357 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4358 if test "x$LINE" != x ; then
4359 eval "DEFAULT_$LINE"
4364 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
='$DEFAULT_wxUSE_APPLE_IEEE
4368 eval "$ac_cv_use_apple_ieee"
4369 if test "$no_cache" != 1; then
4370 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4373 if test "$wxUSE_APPLE_IEEE" = yes; then
4374 echo "$as_me:$LINENO: result: yes" >&5
4375 echo "${ECHO_T}yes" >&6
4377 echo "$as_me:$LINENO: result: no" >&5
4378 echo "${ECHO_T}no" >&6
4383 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
4384 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
4386 # Check whether --enable-timer or --disable-timer was given.
4387 if test "${enable_timer+set}" = set; then
4388 enableval="$enable_timer"
4390 if test "$enableval" = yes; then
4391 ac_cv_use_timer='wxUSE_TIMER
=yes'
4393 ac_cv_use_timer='wxUSE_TIMER
=no
'
4398 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
4399 if test "x$LINE" != x ; then
4400 eval "DEFAULT_$LINE"
4405 ac_cv_use_timer='wxUSE_TIMER
='$DEFAULT_wxUSE_TIMER
4409 eval "$ac_cv_use_timer"
4410 if test "$no_cache" != 1; then
4411 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
4414 if test "$wxUSE_TIMER" = yes; then
4415 echo "$as_me:$LINENO: result: yes" >&5
4416 echo "${ECHO_T}yes" >&6
4418 echo "$as_me:$LINENO: result: no" >&5
4419 echo "${ECHO_T}no" >&6
4424 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wave" >&5
4425 echo $ECHO_N "checking for --${enablestring:-enable}-wave... $ECHO_C" >&6
4427 # Check whether --enable-wave or --disable-wave was given.
4428 if test "${enable_wave+set}" = set; then
4429 enableval="$enable_wave"
4431 if test "$enableval" = yes; then
4432 ac_cv_use_wave='wxUSE_WAVE
=yes'
4434 ac_cv_use_wave='wxUSE_WAVE
=no
'
4439 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
4440 if test "x$LINE" != x ; then
4441 eval "DEFAULT_$LINE"
4446 ac_cv_use_wave='wxUSE_WAVE
='$DEFAULT_wxUSE_WAVE
4450 eval "$ac_cv_use_wave"
4451 if test "$no_cache" != 1; then
4452 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
4455 if test "$wxUSE_WAVE" = yes; then
4456 echo "$as_me:$LINENO: result: yes" >&5
4457 echo "${ECHO_T}yes" >&6
4459 echo "$as_me:$LINENO: result: no" >&5
4460 echo "${ECHO_T}no" >&6
4465 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fraction" >&5
4466 echo $ECHO_N "checking for --${enablestring:-enable}-fraction... $ECHO_C" >&6
4468 # Check whether --enable-fraction or --disable-fraction was given.
4469 if test "${enable_fraction+set}" = set; then
4470 enableval="$enable_fraction"
4472 if test "$enableval" = yes; then
4473 ac_cv_use_fraction='wxUSE_FRACTION
=yes'
4475 ac_cv_use_fraction='wxUSE_FRACTION
=no
'
4480 LINE=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
4481 if test "x$LINE" != x ; then
4482 eval "DEFAULT_$LINE"
4487 ac_cv_use_fraction='wxUSE_FRACTION
='$DEFAULT_wxUSE_FRACTION
4491 eval "$ac_cv_use_fraction"
4492 if test "$no_cache" != 1; then
4493 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
4496 if test "$wxUSE_FRACTION" = yes; then
4497 echo "$as_me:$LINENO: result: yes" >&5
4498 echo "${ECHO_T}yes" >&6
4500 echo "$as_me:$LINENO: result: no" >&5
4501 echo "${ECHO_T}no" >&6
4506 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4507 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4509 # Check whether --enable-dynlib or --disable-dynlib was given.
4510 if test "${enable_dynlib+set}" = set; then
4511 enableval="$enable_dynlib"
4513 if test "$enableval" = yes; then
4514 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
4516 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
4521 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4522 if test "x$LINE" != x ; then
4523 eval "DEFAULT_$LINE"
4528 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
='$DEFAULT_wxUSE_DYNLIB_CLASS
4532 eval "$ac_cv_use_dynlib"
4533 if test "$no_cache" != 1; then
4534 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4537 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4538 echo "$as_me:$LINENO: result: yes" >&5
4539 echo "${ECHO_T}yes" >&6
4541 echo "$as_me:$LINENO: result: no" >&5
4542 echo "${ECHO_T}no" >&6
4547 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4548 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4550 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4551 if test "${enable_dynamicloader+set}" = set; then
4552 enableval="$enable_dynamicloader"
4554 if test "$enableval" = yes; then
4555 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=yes'
4557 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=no
'
4562 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4563 if test "x$LINE" != x ; then
4564 eval "DEFAULT_$LINE"
4569 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
='$DEFAULT_wxUSE_DYNAMIC_LOADER
4573 eval "$ac_cv_use_dynamicloader"
4574 if test "$no_cache" != 1; then
4575 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4578 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4579 echo "$as_me:$LINENO: result: yes" >&5
4580 echo "${ECHO_T}yes" >&6
4582 echo "$as_me:$LINENO: result: no" >&5
4583 echo "${ECHO_T}no" >&6
4588 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
4589 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
4591 # Check whether --enable-longlong or --disable-longlong was given.
4592 if test "${enable_longlong+set}" = set; then
4593 enableval="$enable_longlong"
4595 if test "$enableval" = yes; then
4596 ac_cv_use_longlong='wxUSE_LONGLONG
=yes'
4598 ac_cv_use_longlong='wxUSE_LONGLONG
=no
'
4603 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
4604 if test "x$LINE" != x ; then
4605 eval "DEFAULT_$LINE"
4610 ac_cv_use_longlong='wxUSE_LONGLONG
='$DEFAULT_wxUSE_LONGLONG
4614 eval "$ac_cv_use_longlong"
4615 if test "$no_cache" != 1; then
4616 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
4619 if test "$wxUSE_LONGLONG" = yes; then
4620 echo "$as_me:$LINENO: result: yes" >&5
4621 echo "${ECHO_T}yes" >&6
4623 echo "$as_me:$LINENO: result: no" >&5
4624 echo "${ECHO_T}no" >&6
4629 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
4630 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
4632 # Check whether --enable-geometry or --disable-geometry was given.
4633 if test "${enable_geometry+set}" = set; then
4634 enableval="$enable_geometry"
4636 if test "$enableval" = yes; then
4637 ac_cv_use_geometry='wxUSE_GEOMETRY
=yes'
4639 ac_cv_use_geometry='wxUSE_GEOMETRY
=no
'
4644 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4645 if test "x$LINE" != x ; then
4646 eval "DEFAULT_$LINE"
4651 ac_cv_use_geometry='wxUSE_GEOMETRY
='$DEFAULT_wxUSE_GEOMETRY
4655 eval "$ac_cv_use_geometry"
4656 if test "$no_cache" != 1; then
4657 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4660 if test "$wxUSE_GEOMETRY" = yes; then
4661 echo "$as_me:$LINENO: result: yes" >&5
4662 echo "${ECHO_T}yes" >&6
4664 echo "$as_me:$LINENO: result: no" >&5
4665 echo "${ECHO_T}no" >&6
4670 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
4671 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
4673 # Check whether --enable-log or --disable-log was given.
4674 if test "${enable_log+set}" = set; then
4675 enableval="$enable_log"
4677 if test "$enableval" = yes; then
4678 ac_cv_use_log='wxUSE_LOG
=yes'
4680 ac_cv_use_log='wxUSE_LOG
=no
'
4685 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4686 if test "x$LINE" != x ; then
4687 eval "DEFAULT_$LINE"
4692 ac_cv_use_log='wxUSE_LOG
='$DEFAULT_wxUSE_LOG
4696 eval "$ac_cv_use_log"
4697 if test "$no_cache" != 1; then
4698 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4701 if test "$wxUSE_LOG" = yes; then
4702 echo "$as_me:$LINENO: result: yes" >&5
4703 echo "${ECHO_T}yes" >&6
4705 echo "$as_me:$LINENO: result: no" >&5
4706 echo "${ECHO_T}no" >&6
4711 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
4712 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
4714 # Check whether --enable-streams or --disable-streams was given.
4715 if test "${enable_streams+set}" = set; then
4716 enableval="$enable_streams"
4718 if test "$enableval" = yes; then
4719 ac_cv_use_streams='wxUSE_STREAMS
=yes'
4721 ac_cv_use_streams='wxUSE_STREAMS
=no
'
4726 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
4727 if test "x$LINE" != x ; then
4728 eval "DEFAULT_$LINE"
4733 ac_cv_use_streams='wxUSE_STREAMS
='$DEFAULT_wxUSE_STREAMS
4737 eval "$ac_cv_use_streams"
4738 if test "$no_cache" != 1; then
4739 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
4742 if test "$wxUSE_STREAMS" = yes; then
4743 echo "$as_me:$LINENO: result: yes" >&5
4744 echo "${ECHO_T}yes" >&6
4746 echo "$as_me:$LINENO: result: no" >&5
4747 echo "${ECHO_T}no" >&6
4752 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4753 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4755 # Check whether --enable-file or --disable-file was given.
4756 if test "${enable_file+set}" = set; then
4757 enableval="$enable_file"
4759 if test "$enableval" = yes; then
4760 ac_cv_use_file='wxUSE_FILE
=yes'
4762 ac_cv_use_file='wxUSE_FILE
=no
'
4767 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4768 if test "x$LINE" != x ; then
4769 eval "DEFAULT_$LINE"
4774 ac_cv_use_file='wxUSE_FILE
='$DEFAULT_wxUSE_FILE
4778 eval "$ac_cv_use_file"
4779 if test "$no_cache" != 1; then
4780 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4783 if test "$wxUSE_FILE" = yes; then
4784 echo "$as_me:$LINENO: result: yes" >&5
4785 echo "${ECHO_T}yes" >&6
4787 echo "$as_me:$LINENO: result: no" >&5
4788 echo "${ECHO_T}no" >&6
4793 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4794 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4796 # Check whether --enable-ffile or --disable-ffile was given.
4797 if test "${enable_ffile+set}" = set; then
4798 enableval="$enable_ffile"
4800 if test "$enableval" = yes; then
4801 ac_cv_use_ffile='wxUSE_FFILE
=yes'
4803 ac_cv_use_ffile='wxUSE_FFILE
=no
'
4808 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4809 if test "x$LINE" != x ; then
4810 eval "DEFAULT_$LINE"
4815 ac_cv_use_ffile='wxUSE_FFILE
='$DEFAULT_wxUSE_FFILE
4819 eval "$ac_cv_use_ffile"
4820 if test "$no_cache" != 1; then
4821 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4824 if test "$wxUSE_FFILE" = yes; then
4825 echo "$as_me:$LINENO: result: yes" >&5
4826 echo "${ECHO_T}yes" >&6
4828 echo "$as_me:$LINENO: result: no" >&5
4829 echo "${ECHO_T}no" >&6
4834 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
4835 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
4837 # Check whether --enable-textbuf or --disable-textbuf was given.
4838 if test "${enable_textbuf+set}" = set; then
4839 enableval="$enable_textbuf"
4841 if test "$enableval" = yes; then
4842 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=yes'
4844 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=no
'
4849 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4850 if test "x$LINE" != x ; then
4851 eval "DEFAULT_$LINE"
4856 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
='$DEFAULT_wxUSE_TEXTBUFFER
4860 eval "$ac_cv_use_textbuf"
4861 if test "$no_cache" != 1; then
4862 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4865 if test "$wxUSE_TEXTBUFFER" = yes; then
4866 echo "$as_me:$LINENO: result: yes" >&5
4867 echo "${ECHO_T}yes" >&6
4869 echo "$as_me:$LINENO: result: no" >&5
4870 echo "${ECHO_T}no" >&6
4875 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
4876 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
4878 # Check whether --enable-textfile or --disable-textfile was given.
4879 if test "${enable_textfile+set}" = set; then
4880 enableval="$enable_textfile"
4882 if test "$enableval" = yes; then
4883 ac_cv_use_textfile='wxUSE_TEXTFILE
=yes'
4885 ac_cv_use_textfile='wxUSE_TEXTFILE
=no
'
4890 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4891 if test "x$LINE" != x ; then
4892 eval "DEFAULT_$LINE"
4897 ac_cv_use_textfile='wxUSE_TEXTFILE
='$DEFAULT_wxUSE_TEXTFILE
4901 eval "$ac_cv_use_textfile"
4902 if test "$no_cache" != 1; then
4903 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4906 if test "$wxUSE_TEXTFILE" = yes; then
4907 echo "$as_me:$LINENO: result: yes" >&5
4908 echo "${ECHO_T}yes" >&6
4910 echo "$as_me:$LINENO: result: no" >&5
4911 echo "${ECHO_T}no" >&6
4916 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4917 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4919 # Check whether --enable-fontmap or --disable-fontmap was given.
4920 if test "${enable_fontmap+set}" = set; then
4921 enableval="$enable_fontmap"
4923 if test "$enableval" = yes; then
4924 ac_cv_use_fontmap='wxUSE_FONTMAP
=yes'
4926 ac_cv_use_fontmap='wxUSE_FONTMAP
=no
'
4931 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4932 if test "x$LINE" != x ; then
4933 eval "DEFAULT_$LINE"
4938 ac_cv_use_fontmap='wxUSE_FONTMAP
='$DEFAULT_wxUSE_FONTMAP
4942 eval "$ac_cv_use_fontmap"
4943 if test "$no_cache" != 1; then
4944 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4947 if test "$wxUSE_FONTMAP" = yes; then
4948 echo "$as_me:$LINENO: result: yes" >&5
4949 echo "${ECHO_T}yes" >&6
4951 echo "$as_me:$LINENO: result: no" >&5
4952 echo "${ECHO_T}no" >&6
4957 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4958 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
4960 # Check whether --enable-unicode or --disable-unicode was given.
4961 if test "${enable_unicode+set}" = set; then
4962 enableval="$enable_unicode"
4964 if test "$enableval" = yes; then
4965 ac_cv_use_unicode='wxUSE_UNICODE
=yes'
4967 ac_cv_use_unicode='wxUSE_UNICODE
=no
'
4972 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4973 if test "x$LINE" != x ; then
4974 eval "DEFAULT_$LINE"
4979 ac_cv_use_unicode='wxUSE_UNICODE
='$DEFAULT_wxUSE_UNICODE
4983 eval "$ac_cv_use_unicode"
4984 if test "$no_cache" != 1; then
4985 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4988 if test "$wxUSE_UNICODE" = yes; then
4989 echo "$as_me:$LINENO: result: yes" >&5
4990 echo "${ECHO_T}yes" >&6
4992 echo "$as_me:$LINENO: result: no" >&5
4993 echo "${ECHO_T}no" >&6
4998 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4999 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5001 # Check whether --enable-mslu or --disable-mslu was given.
5002 if test "${enable_mslu+set}" = set; then
5003 enableval="$enable_mslu"
5005 if test "$enableval" = yes; then
5006 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
5008 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
5013 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5014 if test "x$LINE" != x ; then
5015 eval "DEFAULT_$LINE"
5020 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
='$DEFAULT_wxUSE_UNICODE_MSLU
5024 eval "$ac_cv_use_mslu"
5025 if test "$no_cache" != 1; then
5026 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5029 if test "$wxUSE_UNICODE_MSLU" = yes; then
5030 echo "$as_me:$LINENO: result: yes" >&5
5031 echo "${ECHO_T}yes" >&6
5033 echo "$as_me:$LINENO: result: no" >&5
5034 echo "${ECHO_T}no" >&6
5039 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5040 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5042 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5043 if test "${enable_wxprintfv+set}" = set; then
5044 enableval="$enable_wxprintfv"
5046 if test "$enableval" = yes; then
5047 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
=yes'
5049 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
=no
'
5054 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5055 if test "x$LINE" != x ; then
5056 eval "DEFAULT_$LINE"
5061 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5065 eval "$ac_cv_use_wxprintfv"
5066 if test "$no_cache" != 1; then
5067 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5070 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5071 echo "$as_me:$LINENO: result: yes" >&5
5072 echo "${ECHO_T}yes" >&6
5074 echo "$as_me:$LINENO: result: no" >&5
5075 echo "${ECHO_T}no" >&6
5080 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5081 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5083 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5084 if test "${enable_std_iostreams+set}" = set; then
5085 enableval="$enable_std_iostreams"
5087 if test "$enableval" = yes; then
5088 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
5090 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
5095 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5096 if test "x$LINE" != x ; then
5097 eval "DEFAULT_$LINE"
5102 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
='$DEFAULT_wxUSE_STD_IOSTREAM
5106 eval "$ac_cv_use_std_iostreams"
5107 if test "$no_cache" != 1; then
5108 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5111 if test "$wxUSE_STD_IOSTREAM" = yes; then
5112 echo "$as_me:$LINENO: result: yes" >&5
5113 echo "${ECHO_T}yes" >&6
5115 echo "$as_me:$LINENO: result: no" >&5
5116 echo "${ECHO_T}no" >&6
5121 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5122 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5124 # Check whether --enable-filesystem or --disable-filesystem was given.
5125 if test "${enable_filesystem+set}" = set; then
5126 enableval="$enable_filesystem"
5128 if test "$enableval" = yes; then
5129 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
5131 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
5136 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5137 if test "x$LINE" != x ; then
5138 eval "DEFAULT_$LINE"
5143 ac_cv_use_filesystem='wxUSE_FILESYSTEM
='$DEFAULT_wxUSE_FILESYSTEM
5147 eval "$ac_cv_use_filesystem"
5148 if test "$no_cache" != 1; then
5149 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5152 if test "$wxUSE_FILESYSTEM" = yes; then
5153 echo "$as_me:$LINENO: result: yes" >&5
5154 echo "${ECHO_T}yes" >&6
5156 echo "$as_me:$LINENO: result: no" >&5
5157 echo "${ECHO_T}no" >&6
5162 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5163 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5165 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5166 if test "${enable_fs_inet+set}" = set; then
5167 enableval="$enable_fs_inet"
5169 if test "$enableval" = yes; then
5170 ac_cv_use_fs_inet='wxUSE_FS_INET
=yes'
5172 ac_cv_use_fs_inet='wxUSE_FS_INET
=no
'
5177 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5178 if test "x$LINE" != x ; then
5179 eval "DEFAULT_$LINE"
5184 ac_cv_use_fs_inet='wxUSE_FS_INET
='$DEFAULT_wxUSE_FS_INET
5188 eval "$ac_cv_use_fs_inet"
5189 if test "$no_cache" != 1; then
5190 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5193 if test "$wxUSE_FS_INET" = yes; then
5194 echo "$as_me:$LINENO: result: yes" >&5
5195 echo "${ECHO_T}yes" >&6
5197 echo "$as_me:$LINENO: result: no" >&5
5198 echo "${ECHO_T}no" >&6
5203 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5204 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5206 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5207 if test "${enable_fs_zip+set}" = set; then
5208 enableval="$enable_fs_zip"
5210 if test "$enableval" = yes; then
5211 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=yes'
5213 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=no
'
5218 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5219 if test "x$LINE" != x ; then
5220 eval "DEFAULT_$LINE"
5225 ac_cv_use_fs_zip='wxUSE_FS_ZIP
='$DEFAULT_wxUSE_FS_ZIP
5229 eval "$ac_cv_use_fs_zip"
5230 if test "$no_cache" != 1; then
5231 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5234 if test "$wxUSE_FS_ZIP" = yes; then
5235 echo "$as_me:$LINENO: result: yes" >&5
5236 echo "${ECHO_T}yes" >&6
5238 echo "$as_me:$LINENO: result: no" >&5
5239 echo "${ECHO_T}no" >&6
5244 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5245 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5247 # Check whether --enable-zipstream or --disable-zipstream was given.
5248 if test "${enable_zipstream+set}" = set; then
5249 enableval="$enable_zipstream"
5251 if test "$enableval" = yes; then
5252 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
5254 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
5259 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5260 if test "x$LINE" != x ; then
5261 eval "DEFAULT_$LINE"
5266 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
='$DEFAULT_wxUSE_ZIPSTREAM
5270 eval "$ac_cv_use_zipstream"
5271 if test "$no_cache" != 1; then
5272 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5275 if test "$wxUSE_ZIPSTREAM" = yes; then
5276 echo "$as_me:$LINENO: result: yes" >&5
5277 echo "${ECHO_T}yes" >&6
5279 echo "$as_me:$LINENO: result: no" >&5
5280 echo "${ECHO_T}no" >&6
5286 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5287 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5289 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5290 if test "${enable_catch_segvs+set}" = set; then
5291 enableval="$enable_catch_segvs"
5293 if test "$enableval" = yes; then
5294 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=yes'
5296 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=no
'
5301 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5302 if test "x$LINE" != x ; then
5303 eval "DEFAULT_$LINE"
5308 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5312 eval "$ac_cv_use_catch_segvs"
5313 if test "$no_cache" != 1; then
5314 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5317 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5318 echo "$as_me:$LINENO: result: yes" >&5
5319 echo "${ECHO_T}yes" >&6
5321 echo "$as_me:$LINENO: result: no" >&5
5322 echo "${ECHO_T}no" >&6
5327 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5328 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5330 # Check whether --enable-snglinst or --disable-snglinst was given.
5331 if test "${enable_snglinst+set}" = set; then
5332 enableval="$enable_snglinst"
5334 if test "$enableval" = yes; then
5335 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=yes'
5337 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=no
'
5342 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5343 if test "x$LINE" != x ; then
5344 eval "DEFAULT_$LINE"
5349 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
='$DEFAULT_wxUSE_SNGLINST_CHECKER
5353 eval "$ac_cv_use_snglinst"
5354 if test "$no_cache" != 1; then
5355 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5358 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5359 echo "$as_me:$LINENO: result: yes" >&5
5360 echo "${ECHO_T}yes" >&6
5362 echo "$as_me:$LINENO: result: no" >&5
5363 echo "${ECHO_T}no" >&6
5369 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5370 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5372 # Check whether --enable-mimetype or --disable-mimetype was given.
5373 if test "${enable_mimetype+set}" = set; then
5374 enableval="$enable_mimetype"
5376 if test "$enableval" = yes; then
5377 ac_cv_use_mimetype='wxUSE_MIMETYPE
=yes'
5379 ac_cv_use_mimetype='wxUSE_MIMETYPE
=no
'
5384 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5385 if test "x$LINE" != x ; then
5386 eval "DEFAULT_$LINE"
5391 ac_cv_use_mimetype='wxUSE_MIMETYPE
='$DEFAULT_wxUSE_MIMETYPE
5395 eval "$ac_cv_use_mimetype"
5396 if test "$no_cache" != 1; then
5397 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5400 if test "$wxUSE_MIMETYPE" = yes; then
5401 echo "$as_me:$LINENO: result: yes" >&5
5402 echo "${ECHO_T}yes" >&6
5404 echo "$as_me:$LINENO: result: no" >&5
5405 echo "${ECHO_T}no" >&6
5410 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5411 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5413 # Check whether --enable-system_options or --disable-system_options was given.
5414 if test "${enable_system_options+set}" = set; then
5415 enableval="$enable_system_options"
5417 if test "$enableval" = yes; then
5418 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=yes'
5420 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=no
'
5425 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5426 if test "x$LINE" != x ; then
5427 eval "DEFAULT_$LINE"
5432 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5436 eval "$ac_cv_use_system_options"
5437 if test "$no_cache" != 1; then
5438 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5441 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5442 echo "$as_me:$LINENO: result: yes" >&5
5443 echo "${ECHO_T}yes" >&6
5445 echo "$as_me:$LINENO: result: no" >&5
5446 echo "${ECHO_T}no" >&6
5452 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5453 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5455 # Check whether --enable-url or --disable-url was given.
5456 if test "${enable_url+set}" = set; then
5457 enableval="$enable_url"
5459 if test "$enableval" = yes; then
5460 ac_cv_use_url='wxUSE_URL
=yes'
5462 ac_cv_use_url='wxUSE_URL
=no
'
5467 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5468 if test "x$LINE" != x ; then
5469 eval "DEFAULT_$LINE"
5474 ac_cv_use_url='wxUSE_URL
='$DEFAULT_wxUSE_URL
5478 eval "$ac_cv_use_url"
5479 if test "$no_cache" != 1; then
5480 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5483 if test "$wxUSE_URL" = yes; then
5484 echo "$as_me:$LINENO: result: yes" >&5
5485 echo "${ECHO_T}yes" >&6
5487 echo "$as_me:$LINENO: result: no" >&5
5488 echo "${ECHO_T}no" >&6
5493 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5494 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5496 # Check whether --enable-protocol or --disable-protocol was given.
5497 if test "${enable_protocol+set}" = set; then
5498 enableval="$enable_protocol"
5500 if test "$enableval" = yes; then
5501 ac_cv_use_protocol='wxUSE_PROTOCOL
=yes'
5503 ac_cv_use_protocol='wxUSE_PROTOCOL
=no
'
5508 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5509 if test "x$LINE" != x ; then
5510 eval "DEFAULT_$LINE"
5515 ac_cv_use_protocol='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
5519 eval "$ac_cv_use_protocol"
5520 if test "$no_cache" != 1; then
5521 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5524 if test "$wxUSE_PROTOCOL" = yes; then
5525 echo "$as_me:$LINENO: result: yes" >&5
5526 echo "${ECHO_T}yes" >&6
5528 echo "$as_me:$LINENO: result: no" >&5
5529 echo "${ECHO_T}no" >&6
5534 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5535 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5537 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5538 if test "${enable_protocol_http+set}" = set; then
5539 enableval="$enable_protocol_http"
5541 if test "$enableval" = yes; then
5542 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
5544 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
5549 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5550 if test "x$LINE" != x ; then
5551 eval "DEFAULT_$LINE"
5556 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
5560 eval "$ac_cv_use_protocol_http"
5561 if test "$no_cache" != 1; then
5562 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5565 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5566 echo "$as_me:$LINENO: result: yes" >&5
5567 echo "${ECHO_T}yes" >&6
5569 echo "$as_me:$LINENO: result: no" >&5
5570 echo "${ECHO_T}no" >&6
5575 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5576 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5578 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5579 if test "${enable_protocol_ftp+set}" = set; then
5580 enableval="$enable_protocol_ftp"
5582 if test "$enableval" = yes; then
5583 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=yes'
5585 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=no
'
5590 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5591 if test "x$LINE" != x ; then
5592 eval "DEFAULT_$LINE"
5597 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
5601 eval "$ac_cv_use_protocol_ftp"
5602 if test "$no_cache" != 1; then
5603 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5606 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5607 echo "$as_me:$LINENO: result: yes" >&5
5608 echo "${ECHO_T}yes" >&6
5610 echo "$as_me:$LINENO: result: no" >&5
5611 echo "${ECHO_T}no" >&6
5616 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5617 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5619 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5620 if test "${enable_protocol_file+set}" = set; then
5621 enableval="$enable_protocol_file"
5623 if test "$enableval" = yes; then
5624 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=yes'
5626 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=no
'
5631 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5632 if test "x$LINE" != x ; then
5633 eval "DEFAULT_$LINE"
5638 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
5642 eval "$ac_cv_use_protocol_file"
5643 if test "$no_cache" != 1; then
5644 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5647 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5648 echo "$as_me:$LINENO: result: yes" >&5
5649 echo "${ECHO_T}yes" >&6
5651 echo "$as_me:$LINENO: result: no" >&5
5652 echo "${ECHO_T}no" >&6
5660 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5661 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
5663 # Check whether --enable-threads or --disable-threads was given.
5664 if test "${enable_threads+set}" = set; then
5665 enableval="$enable_threads"
5667 if test "$enableval" = yes; then
5668 ac_cv_use_threads='wxUSE_THREADS
=yes'
5670 ac_cv_use_threads='wxUSE_THREADS
=no
'
5675 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5676 if test "x$LINE" != x ; then
5677 eval "DEFAULT_$LINE"
5682 ac_cv_use_threads='wxUSE_THREADS
='$DEFAULT_wxUSE_THREADS
5686 eval "$ac_cv_use_threads"
5687 if test "$no_cache" != 1; then
5688 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5691 if test "$wxUSE_THREADS" = yes; then
5692 echo "$as_me:$LINENO: result: yes" >&5
5693 echo "${ECHO_T}yes" >&6
5695 echo "$as_me:$LINENO: result: no" >&5
5696 echo "${ECHO_T}no" >&6
5700 if test "$wxUSE_GUI" = "yes"; then
5705 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
5706 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
5708 # Check whether --enable-docview or --disable-docview was given.
5709 if test "${enable_docview+set}" = set; then
5710 enableval="$enable_docview"
5712 if test "$enableval" = yes; then
5713 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
5715 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
5720 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5721 if test "x$LINE" != x ; then
5722 eval "DEFAULT_$LINE"
5727 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5731 eval "$ac_cv_use_docview"
5732 if test "$no_cache" != 1; then
5733 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5736 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5737 echo "$as_me:$LINENO: result: yes" >&5
5738 echo "${ECHO_T}yes" >&6
5740 echo "$as_me:$LINENO: result: no" >&5
5741 echo "${ECHO_T}no" >&6
5746 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
5747 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
5749 # Check whether --enable-help or --disable-help was given.
5750 if test "${enable_help+set}" = set; then
5751 enableval="$enable_help"
5753 if test "$enableval" = yes; then
5754 ac_cv_use_help='wxUSE_HELP
=yes'
5756 ac_cv_use_help='wxUSE_HELP
=no
'
5761 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5762 if test "x$LINE" != x ; then
5763 eval "DEFAULT_$LINE"
5768 ac_cv_use_help='wxUSE_HELP
='$DEFAULT_wxUSE_HELP
5772 eval "$ac_cv_use_help"
5773 if test "$no_cache" != 1; then
5774 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5777 if test "$wxUSE_HELP" = yes; then
5778 echo "$as_me:$LINENO: result: yes" >&5
5779 echo "${ECHO_T}yes" >&6
5781 echo "$as_me:$LINENO: result: no" >&5
5782 echo "${ECHO_T}no" >&6
5787 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5788 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
5790 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5791 if test "${enable_mshtmlhelp+set}" = set; then
5792 enableval="$enable_mshtmlhelp"
5794 if test "$enableval" = yes; then
5795 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=yes'
5797 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=no
'
5802 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5803 if test "x$LINE" != x ; then
5804 eval "DEFAULT_$LINE"
5809 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
='$DEFAULT_wxUSE_MS_HTML_HELP
5813 eval "$ac_cv_use_mshtmlhelp"
5814 if test "$no_cache" != 1; then
5815 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5818 if test "$wxUSE_MS_HTML_HELP" = yes; then
5819 echo "$as_me:$LINENO: result: yes" >&5
5820 echo "${ECHO_T}yes" >&6
5822 echo "$as_me:$LINENO: result: no" >&5
5823 echo "${ECHO_T}no" >&6
5828 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
5829 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
5831 # Check whether --enable-html or --disable-html was given.
5832 if test "${enable_html+set}" = set; then
5833 enableval="$enable_html"
5835 if test "$enableval" = yes; then
5836 ac_cv_use_html='wxUSE_HTML
=yes'
5838 ac_cv_use_html='wxUSE_HTML
=no
'
5843 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5844 if test "x$LINE" != x ; then
5845 eval "DEFAULT_$LINE"
5850 ac_cv_use_html='wxUSE_HTML
='$DEFAULT_wxUSE_HTML
5854 eval "$ac_cv_use_html"
5855 if test "$no_cache" != 1; then
5856 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5859 if test "$wxUSE_HTML" = yes; then
5860 echo "$as_me:$LINENO: result: yes" >&5
5861 echo "${ECHO_T}yes" >&6
5863 echo "$as_me:$LINENO: result: no" >&5
5864 echo "${ECHO_T}no" >&6
5869 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
5870 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
5872 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5873 if test "${enable_htmlhelp+set}" = set; then
5874 enableval="$enable_htmlhelp"
5876 if test "$enableval" = yes; then
5877 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=yes'
5879 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=no
'
5884 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5885 if test "x$LINE" != x ; then
5886 eval "DEFAULT_$LINE"
5891 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
='$DEFAULT_wxUSE_WXHTML_HELP
5895 eval "$ac_cv_use_htmlhelp"
5896 if test "$no_cache" != 1; then
5897 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5900 if test "$wxUSE_WXHTML_HELP" = yes; then
5901 echo "$as_me:$LINENO: result: yes" >&5
5902 echo "${ECHO_T}yes" >&6
5904 echo "$as_me:$LINENO: result: no" >&5
5905 echo "${ECHO_T}no" >&6
5910 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
5911 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
5913 # Check whether --enable-constraints or --disable-constraints was given.
5914 if test "${enable_constraints+set}" = set; then
5915 enableval="$enable_constraints"
5917 if test "$enableval" = yes; then
5918 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
5920 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
5925 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5926 if test "x$LINE" != x ; then
5927 eval "DEFAULT_$LINE"
5932 ac_cv_use_constraints='wxUSE_CONSTRAINTS
='$DEFAULT_wxUSE_CONSTRAINTS
5936 eval "$ac_cv_use_constraints"
5937 if test "$no_cache" != 1; then
5938 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5941 if test "$wxUSE_CONSTRAINTS" = yes; then
5942 echo "$as_me:$LINENO: result: yes" >&5
5943 echo "${ECHO_T}yes" >&6
5945 echo "$as_me:$LINENO: result: no" >&5
5946 echo "${ECHO_T}no" >&6
5951 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
5952 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
5954 # Check whether --enable-printarch or --disable-printarch was given.
5955 if test "${enable_printarch+set}" = set; then
5956 enableval="$enable_printarch"
5958 if test "$enableval" = yes; then
5959 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
5961 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
5966 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5967 if test "x$LINE" != x ; then
5968 eval "DEFAULT_$LINE"
5973 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5977 eval "$ac_cv_use_printarch"
5978 if test "$no_cache" != 1; then
5979 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5982 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5983 echo "$as_me:$LINENO: result: yes" >&5
5984 echo "${ECHO_T}yes" >&6
5986 echo "$as_me:$LINENO: result: no" >&5
5987 echo "${ECHO_T}no" >&6
5992 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
5993 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
5995 # Check whether --enable-mdi or --disable-mdi was given.
5996 if test "${enable_mdi+set}" = set; then
5997 enableval="$enable_mdi"
5999 if test "$enableval" = yes; then
6000 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE
=yes'
6002 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE
=no
'
6007 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6008 if test "x$LINE" != x ; then
6009 eval "DEFAULT_$LINE"
6014 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE
='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6018 eval "$ac_cv_use_mdi"
6019 if test "$no_cache" != 1; then
6020 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6023 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6024 echo "$as_me:$LINENO: result: yes" >&5
6025 echo "${ECHO_T}yes" >&6
6027 echo "$as_me:$LINENO: result: no" >&5
6028 echo "${ECHO_T}no" >&6
6033 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6034 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6036 # Check whether --enable-loggui or --disable-loggui was given.
6037 if test "${enable_loggui+set}" = set; then
6038 enableval="$enable_loggui"
6040 if test "$enableval" = yes; then
6041 ac_cv_use_loggui='wxUSE_LOGGUI
=yes'
6043 ac_cv_use_loggui='wxUSE_LOGGUI
=no
'
6048 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6049 if test "x$LINE" != x ; then
6050 eval "DEFAULT_$LINE"
6055 ac_cv_use_loggui='wxUSE_LOGGUI
='$DEFAULT_wxUSE_LOGGUI
6059 eval "$ac_cv_use_loggui"
6060 if test "$no_cache" != 1; then
6061 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6064 if test "$wxUSE_LOGGUI" = yes; then
6065 echo "$as_me:$LINENO: result: yes" >&5
6066 echo "${ECHO_T}yes" >&6
6068 echo "$as_me:$LINENO: result: no" >&5
6069 echo "${ECHO_T}no" >&6
6074 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6075 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6077 # Check whether --enable-logwin or --disable-logwin was given.
6078 if test "${enable_logwin+set}" = set; then
6079 enableval="$enable_logwin"
6081 if test "$enableval" = yes; then
6082 ac_cv_use_logwin='wxUSE_LOGWINDOW
=yes'
6084 ac_cv_use_logwin='wxUSE_LOGWINDOW
=no
'
6089 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6090 if test "x$LINE" != x ; then
6091 eval "DEFAULT_$LINE"
6096 ac_cv_use_logwin='wxUSE_LOGWINDOW
='$DEFAULT_wxUSE_LOGWINDOW
6100 eval "$ac_cv_use_logwin"
6101 if test "$no_cache" != 1; then
6102 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6105 if test "$wxUSE_LOGWINDOW" = yes; then
6106 echo "$as_me:$LINENO: result: yes" >&5
6107 echo "${ECHO_T}yes" >&6
6109 echo "$as_me:$LINENO: result: no" >&5
6110 echo "${ECHO_T}no" >&6
6115 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6116 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6118 # Check whether --enable-logdialog or --disable-logdialog was given.
6119 if test "${enable_logdialog+set}" = set; then
6120 enableval="$enable_logdialog"
6122 if test "$enableval" = yes; then
6123 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
6125 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
6130 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6131 if test "x$LINE" != x ; then
6132 eval "DEFAULT_$LINE"
6137 ac_cv_use_logdialog='wxUSE_LOGDIALOG
='$DEFAULT_wxUSE_LOGDIALOG
6141 eval "$ac_cv_use_logdialog"
6142 if test "$no_cache" != 1; then
6143 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6146 if test "$wxUSE_LOGDIALOG" = yes; then
6147 echo "$as_me:$LINENO: result: yes" >&5
6148 echo "${ECHO_T}yes" >&6
6150 echo "$as_me:$LINENO: result: no" >&5
6151 echo "${ECHO_T}no" >&6
6157 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6158 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6160 # Check whether --enable-postscript or --disable-postscript was given.
6161 if test "${enable_postscript+set}" = set; then
6162 enableval="$enable_postscript"
6164 if test "$enableval" = yes; then
6165 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=yes'
6167 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=no
'
6172 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6173 if test "x$LINE" != x ; then
6174 eval "DEFAULT_$LINE"
6179 ac_cv_use_postscript='wxUSE_POSTSCRIPT
='$DEFAULT_wxUSE_POSTSCRIPT
6183 eval "$ac_cv_use_postscript"
6184 if test "$no_cache" != 1; then
6185 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6188 if test "$wxUSE_POSTSCRIPT" = yes; then
6189 echo "$as_me:$LINENO: result: yes" >&5
6190 echo "${ECHO_T}yes" >&6
6192 echo "$as_me:$LINENO: result: no" >&5
6193 echo "${ECHO_T}no" >&6
6201 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6202 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6204 # Check whether --enable-prologio or --disable-prologio was given.
6205 if test "${enable_prologio+set}" = set; then
6206 enableval="$enable_prologio"
6208 if test "$enableval" = yes; then
6209 ac_cv_use_prologio='wxUSE_PROLOGIO
=yes'
6211 ac_cv_use_prologio='wxUSE_PROLOGIO
=no
'
6216 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6217 if test "x$LINE" != x ; then
6218 eval "DEFAULT_$LINE"
6223 ac_cv_use_prologio='wxUSE_PROLOGIO
='$DEFAULT_wxUSE_PROLOGIO
6227 eval "$ac_cv_use_prologio"
6228 if test "$no_cache" != 1; then
6229 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6232 if test "$wxUSE_PROLOGIO" = yes; then
6233 echo "$as_me:$LINENO: result: yes" >&5
6234 echo "${ECHO_T}yes" >&6
6236 echo "$as_me:$LINENO: result: no" >&5
6237 echo "${ECHO_T}no" >&6
6242 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6243 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6245 # Check whether --enable-resources or --disable-resources was given.
6246 if test "${enable_resources+set}" = set; then
6247 enableval="$enable_resources"
6249 if test "$enableval" = yes; then
6250 ac_cv_use_resources='wxUSE_RESOURCES
=yes'
6252 ac_cv_use_resources='wxUSE_RESOURCES
=no
'
6257 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6258 if test "x$LINE" != x ; then
6259 eval "DEFAULT_$LINE"
6264 ac_cv_use_resources='wxUSE_RESOURCES
='$DEFAULT_wxUSE_RESOURCES
6268 eval "$ac_cv_use_resources"
6269 if test "$no_cache" != 1; then
6270 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6273 if test "$wxUSE_RESOURCES" = yes; then
6274 echo "$as_me:$LINENO: result: yes" >&5
6275 echo "${ECHO_T}yes" >&6
6277 echo "$as_me:$LINENO: result: no" >&5
6278 echo "${ECHO_T}no" >&6
6285 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6286 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6288 # Check whether --enable-clipboard or --disable-clipboard was given.
6289 if test "${enable_clipboard+set}" = set; then
6290 enableval="$enable_clipboard"
6292 if test "$enableval" = yes; then
6293 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=yes'
6295 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=no
'
6300 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6301 if test "x$LINE" != x ; then
6302 eval "DEFAULT_$LINE"
6307 ac_cv_use_clipboard='wxUSE_CLIPBOARD
='$DEFAULT_wxUSE_CLIPBOARD
6311 eval "$ac_cv_use_clipboard"
6312 if test "$no_cache" != 1; then
6313 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6316 if test "$wxUSE_CLIPBOARD" = yes; then
6317 echo "$as_me:$LINENO: result: yes" >&5
6318 echo "${ECHO_T}yes" >&6
6320 echo "$as_me:$LINENO: result: no" >&5
6321 echo "${ECHO_T}no" >&6
6326 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6327 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6329 # Check whether --enable-dnd or --disable-dnd was given.
6330 if test "${enable_dnd+set}" = set; then
6331 enableval="$enable_dnd"
6333 if test "$enableval" = yes; then
6334 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
6336 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
6341 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6342 if test "x$LINE" != x ; then
6343 eval "DEFAULT_$LINE"
6348 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
='$DEFAULT_wxUSE_DRAG_AND_DROP
6352 eval "$ac_cv_use_dnd"
6353 if test "$no_cache" != 1; then
6354 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6357 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6358 echo "$as_me:$LINENO: result: yes" >&5
6359 echo "${ECHO_T}yes" >&6
6361 echo "$as_me:$LINENO: result: no" >&5
6362 echo "${ECHO_T}no" >&6
6367 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6368 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6370 # Check whether --enable-metafile or --disable-metafile was given.
6371 if test "${enable_metafile+set}" = set; then
6372 enableval="$enable_metafile"
6374 if test "$enableval" = yes; then
6375 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
6377 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
6382 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6383 if test "x$LINE" != x ; then
6384 eval "DEFAULT_$LINE"
6389 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
6393 eval "$ac_cv_use_metafile"
6394 if test "$no_cache" != 1; then
6395 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6398 if test "$wxUSE_METAFILE" = yes; then
6399 echo "$as_me:$LINENO: result: yes" >&5
6400 echo "${ECHO_T}yes" >&6
6402 echo "$as_me:$LINENO: result: no" >&5
6403 echo "${ECHO_T}no" >&6
6411 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6412 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6414 # Check whether --enable-controls or --disable-controls was given.
6415 if test "${enable_controls+set}" = set; then
6416 enableval="$enable_controls"
6418 if test "$enableval" = yes; then
6419 ac_cv_use_controls='wxUSE_CONTROLS
=yes'
6421 ac_cv_use_controls='wxUSE_CONTROLS
=no
'
6426 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6427 if test "x$LINE" != x ; then
6428 eval "DEFAULT_$LINE"
6433 ac_cv_use_controls='wxUSE_CONTROLS
='$DEFAULT_wxUSE_CONTROLS
6437 eval "$ac_cv_use_controls"
6438 if test "$no_cache" != 1; then
6439 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6442 if test "$wxUSE_CONTROLS" = yes; then
6443 echo "$as_me:$LINENO: result: yes" >&5
6444 echo "${ECHO_T}yes" >&6
6446 echo "$as_me:$LINENO: result: no" >&5
6447 echo "${ECHO_T}no" >&6
6451 if test "$wxUSE_CONTROLS" = "yes"; then
6452 DEFAULT_wxUSE_ACCEL=yes
6453 DEFAULT_wxUSE_BMPBUTTON=yes
6454 DEFAULT_wxUSE_BUTTON=yes
6455 DEFAULT_wxUSE_CALCTRL=no
6456 DEFAULT_wxUSE_CARET=yes
6457 DEFAULT_wxUSE_COMBOBOX=yes
6458 DEFAULT_wxUSE_CHECKBOX=yes
6459 DEFAULT_wxUSE_CHECKLISTBOX=yes
6460 DEFAULT_wxUSE_CHOICE=yes
6461 DEFAULT_wxUSE_GAUGE=yes
6462 DEFAULT_wxUSE_GRID=yes
6463 DEFAULT_wxUSE_IMAGLIST=yes
6464 DEFAULT_wxUSE_LISTBOX=yes
6465 DEFAULT_wxUSE_LISTCTRL=yes
6466 DEFAULT_wxUSE_NOTEBOOK=yes
6467 DEFAULT_wxUSE_RADIOBOX=yes
6468 DEFAULT_wxUSE_RADIOBTN=yes
6469 DEFAULT_wxUSE_SASH=yes
6470 DEFAULT_wxUSE_SCROLLBAR=yes
6471 DEFAULT_wxUSE_SLIDER=yes
6472 DEFAULT_wxUSE_SPINBTN=yes
6473 DEFAULT_wxUSE_SPINCTRL=yes
6474 DEFAULT_wxUSE_SPLITTER=yes
6475 DEFAULT_wxUSE_STATBMP=yes
6476 DEFAULT_wxUSE_STATBOX=yes
6477 DEFAULT_wxUSE_STATLINE=yes
6478 DEFAULT_wxUSE_STATUSBAR=yes
6479 DEFAULT_wxUSE_TAB_DIALOG=yes
6480 DEFAULT_wxUSE_TOGGLEBTN=yes
6481 DEFAULT_wxUSE_TOOLBAR=yes
6482 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6483 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6484 DEFAULT_wxUSE_TOOLTIPS=yes
6485 DEFAULT_wxUSE_TREECTRL=yes
6486 DEFAULT_wxUSE_POPUPWIN=yes
6487 DEFAULT_wxUSE_TIPWINDOW=yes
6488 elif test "$wxUSE_CONTROLS" = "no"; then
6489 DEFAULT_wxUSE_ACCEL=no
6490 DEFAULT_wxUSE_BMPBUTTON=no
6491 DEFAULT_wxUSE_BUTTON=no
6492 DEFAULT_wxUSE_CALCTRL=no
6493 DEFAULT_wxUSE_CARET=no
6494 DEFAULT_wxUSE_COMBOBOX=no
6495 DEFAULT_wxUSE_CHECKBOX=no
6496 DEFAULT_wxUSE_CHECKLISTBOX=no
6497 DEFAULT_wxUSE_CHOICE=no
6498 DEFAULT_wxUSE_GAUGE=no
6499 DEFAULT_wxUSE_GRID=no
6500 DEFAULT_wxUSE_IMAGLIST=no
6501 DEFAULT_wxUSE_LISTBOX=no
6502 DEFAULT_wxUSE_LISTCTRL=no
6503 DEFAULT_wxUSE_NOTEBOOK=no
6504 DEFAULT_wxUSE_RADIOBOX=no
6505 DEFAULT_wxUSE_RADIOBTN=no
6506 DEFAULT_wxUSE_SASH=no
6507 DEFAULT_wxUSE_SCROLLBAR=no
6508 DEFAULT_wxUSE_SLIDER=no
6509 DEFAULT_wxUSE_SPINBTN=no
6510 DEFAULT_wxUSE_SPINCTRL=no
6511 DEFAULT_wxUSE_SPLITTER=no
6512 DEFAULT_wxUSE_STATBMP=no
6513 DEFAULT_wxUSE_STATBOX=no
6514 DEFAULT_wxUSE_STATLINE=no
6515 DEFAULT_wxUSE_STATUSBAR=no
6516 DEFAULT_wxUSE_TAB_DIALOG=no
6517 DEFAULT_wxUSE_TOGGLEBTN=no
6518 DEFAULT_wxUSE_TOOLBAR=no
6519 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6520 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6521 DEFAULT_wxUSE_TOOLTIPS=no
6522 DEFAULT_wxUSE_TREECTRL=no
6523 DEFAULT_wxUSE_POPUPWIN=no
6524 DEFAULT_wxUSE_TIPWINDOW=no
6527 ## FIXME: This is a blatant hack
6528 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6529 wxUSE_PRINTING_ARCHITECTURE=no
6530 wxUSE_DRAG_AND_DROP=no
6531 # Generic notebook requires tab dialog
6532 DEFAULT_wxUSE_TABDIALOG=yes
6533 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6534 DEFAULT_wxUSE_SCROLLBAR=no
6535 DEFAULT_wxUSE_TOOLTIPS=no
6536 DEFAULT_wxUSE_DRAGIMAGE=no
6541 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6542 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6544 # Check whether --enable-accel or --disable-accel was given.
6545 if test "${enable_accel+set}" = set; then
6546 enableval="$enable_accel"
6548 if test "$enableval" = yes; then
6549 ac_cv_use_accel='wxUSE_ACCEL
=yes'
6551 ac_cv_use_accel='wxUSE_ACCEL
=no
'
6556 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6557 if test "x$LINE" != x ; then
6558 eval "DEFAULT_$LINE"
6563 ac_cv_use_accel='wxUSE_ACCEL
='$DEFAULT_wxUSE_ACCEL
6567 eval "$ac_cv_use_accel"
6568 if test "$no_cache" != 1; then
6569 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6572 if test "$wxUSE_ACCEL" = yes; then
6573 echo "$as_me:$LINENO: result: yes" >&5
6574 echo "${ECHO_T}yes" >&6
6576 echo "$as_me:$LINENO: result: no" >&5
6577 echo "${ECHO_T}no" >&6
6582 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6583 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6585 # Check whether --enable-button or --disable-button was given.
6586 if test "${enable_button+set}" = set; then
6587 enableval="$enable_button"
6589 if test "$enableval" = yes; then
6590 ac_cv_use_button='wxUSE_BUTTON
=yes'
6592 ac_cv_use_button='wxUSE_BUTTON
=no
'
6597 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6598 if test "x$LINE" != x ; then
6599 eval "DEFAULT_$LINE"
6604 ac_cv_use_button='wxUSE_BUTTON
='$DEFAULT_wxUSE_BUTTON
6608 eval "$ac_cv_use_button"
6609 if test "$no_cache" != 1; then
6610 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6613 if test "$wxUSE_BUTTON" = yes; then
6614 echo "$as_me:$LINENO: result: yes" >&5
6615 echo "${ECHO_T}yes" >&6
6617 echo "$as_me:$LINENO: result: no" >&5
6618 echo "${ECHO_T}no" >&6
6623 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6624 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6626 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6627 if test "${enable_bmpbutton+set}" = set; then
6628 enableval="$enable_bmpbutton"
6630 if test "$enableval" = yes; then
6631 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
6633 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
6638 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6639 if test "x$LINE" != x ; then
6640 eval "DEFAULT_$LINE"
6645 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
='$DEFAULT_wxUSE_BMPBUTTON
6649 eval "$ac_cv_use_bmpbutton"
6650 if test "$no_cache" != 1; then
6651 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6654 if test "$wxUSE_BMPBUTTON" = yes; then
6655 echo "$as_me:$LINENO: result: yes" >&5
6656 echo "${ECHO_T}yes" >&6
6658 echo "$as_me:$LINENO: result: no" >&5
6659 echo "${ECHO_T}no" >&6
6664 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
6665 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
6667 # Check whether --enable-calendar or --disable-calendar was given.
6668 if test "${enable_calendar+set}" = set; then
6669 enableval="$enable_calendar"
6671 if test "$enableval" = yes; then
6672 ac_cv_use_calendar='wxUSE_CALCTRL
=yes'
6674 ac_cv_use_calendar='wxUSE_CALCTRL
=no
'
6679 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6680 if test "x$LINE" != x ; then
6681 eval "DEFAULT_$LINE"
6686 ac_cv_use_calendar='wxUSE_CALCTRL
='$DEFAULT_wxUSE_CALCTRL
6690 eval "$ac_cv_use_calendar"
6691 if test "$no_cache" != 1; then
6692 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6695 if test "$wxUSE_CALCTRL" = yes; then
6696 echo "$as_me:$LINENO: result: yes" >&5
6697 echo "${ECHO_T}yes" >&6
6699 echo "$as_me:$LINENO: result: no" >&5
6700 echo "${ECHO_T}no" >&6
6705 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
6706 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
6708 # Check whether --enable-caret or --disable-caret was given.
6709 if test "${enable_caret+set}" = set; then
6710 enableval="$enable_caret"
6712 if test "$enableval" = yes; then
6713 ac_cv_use_caret='wxUSE_CARET
=yes'
6715 ac_cv_use_caret='wxUSE_CARET
=no
'
6720 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6721 if test "x$LINE" != x ; then
6722 eval "DEFAULT_$LINE"
6727 ac_cv_use_caret='wxUSE_CARET
='$DEFAULT_wxUSE_CARET
6731 eval "$ac_cv_use_caret"
6732 if test "$no_cache" != 1; then
6733 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6736 if test "$wxUSE_CARET" = yes; then
6737 echo "$as_me:$LINENO: result: yes" >&5
6738 echo "${ECHO_T}yes" >&6
6740 echo "$as_me:$LINENO: result: no" >&5
6741 echo "${ECHO_T}no" >&6
6746 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
6747 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
6749 # Check whether --enable-checkbox or --disable-checkbox was given.
6750 if test "${enable_checkbox+set}" = set; then
6751 enableval="$enable_checkbox"
6753 if test "$enableval" = yes; then
6754 ac_cv_use_checkbox='wxUSE_CHECKBOX
=yes'
6756 ac_cv_use_checkbox='wxUSE_CHECKBOX
=no
'
6761 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6762 if test "x$LINE" != x ; then
6763 eval "DEFAULT_$LINE"
6768 ac_cv_use_checkbox='wxUSE_CHECKBOX
='$DEFAULT_wxUSE_CHECKBOX
6772 eval "$ac_cv_use_checkbox"
6773 if test "$no_cache" != 1; then
6774 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6777 if test "$wxUSE_CHECKBOX" = yes; then
6778 echo "$as_me:$LINENO: result: yes" >&5
6779 echo "${ECHO_T}yes" >&6
6781 echo "$as_me:$LINENO: result: no" >&5
6782 echo "${ECHO_T}no" >&6
6787 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
6788 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
6790 # Check whether --enable-checklst or --disable-checklst was given.
6791 if test "${enable_checklst+set}" = set; then
6792 enableval="$enable_checklst"
6794 if test "$enableval" = yes; then
6795 ac_cv_use_checklst='wxUSE_CHECKLST
=yes'
6797 ac_cv_use_checklst='wxUSE_CHECKLST
=no
'
6802 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6803 if test "x$LINE" != x ; then
6804 eval "DEFAULT_$LINE"
6809 ac_cv_use_checklst='wxUSE_CHECKLST
='$DEFAULT_wxUSE_CHECKLST
6813 eval "$ac_cv_use_checklst"
6814 if test "$no_cache" != 1; then
6815 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6818 if test "$wxUSE_CHECKLST" = yes; then
6819 echo "$as_me:$LINENO: result: yes" >&5
6820 echo "${ECHO_T}yes" >&6
6822 echo "$as_me:$LINENO: result: no" >&5
6823 echo "${ECHO_T}no" >&6
6828 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
6829 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
6831 # Check whether --enable-choice or --disable-choice was given.
6832 if test "${enable_choice+set}" = set; then
6833 enableval="$enable_choice"
6835 if test "$enableval" = yes; then
6836 ac_cv_use_choice='wxUSE_CHOICE
=yes'
6838 ac_cv_use_choice='wxUSE_CHOICE
=no
'
6843 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6844 if test "x$LINE" != x ; then
6845 eval "DEFAULT_$LINE"
6850 ac_cv_use_choice='wxUSE_CHOICE
='$DEFAULT_wxUSE_CHOICE
6854 eval "$ac_cv_use_choice"
6855 if test "$no_cache" != 1; then
6856 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6859 if test "$wxUSE_CHOICE" = yes; then
6860 echo "$as_me:$LINENO: result: yes" >&5
6861 echo "${ECHO_T}yes" >&6
6863 echo "$as_me:$LINENO: result: no" >&5
6864 echo "${ECHO_T}no" >&6
6869 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
6870 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
6872 # Check whether --enable-combobox or --disable-combobox was given.
6873 if test "${enable_combobox+set}" = set; then
6874 enableval="$enable_combobox"
6876 if test "$enableval" = yes; then
6877 ac_cv_use_combobox='wxUSE_COMBOBOX
=yes'
6879 ac_cv_use_combobox='wxUSE_COMBOBOX
=no
'
6884 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6885 if test "x$LINE" != x ; then
6886 eval "DEFAULT_$LINE"
6891 ac_cv_use_combobox='wxUSE_COMBOBOX
='$DEFAULT_wxUSE_COMBOBOX
6895 eval "$ac_cv_use_combobox"
6896 if test "$no_cache" != 1; then
6897 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6900 if test "$wxUSE_COMBOBOX" = yes; then
6901 echo "$as_me:$LINENO: result: yes" >&5
6902 echo "${ECHO_T}yes" >&6
6904 echo "$as_me:$LINENO: result: no" >&5
6905 echo "${ECHO_T}no" >&6
6910 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
6911 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
6913 # Check whether --enable-display or --disable-display was given.
6914 if test "${enable_display+set}" = set; then
6915 enableval="$enable_display"
6917 if test "$enableval" = yes; then
6918 ac_cv_use_display='wxUSE_DISPLAY
=yes'
6920 ac_cv_use_display='wxUSE_DISPLAY
=no
'
6925 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
6926 if test "x$LINE" != x ; then
6927 eval "DEFAULT_$LINE"
6932 ac_cv_use_display='wxUSE_DISPLAY
='$DEFAULT_wxUSE_DISPLAY
6936 eval "$ac_cv_use_display"
6937 if test "$no_cache" != 1; then
6938 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
6941 if test "$wxUSE_DISPLAY" = yes; then
6942 echo "$as_me:$LINENO: result: yes" >&5
6943 echo "${ECHO_T}yes" >&6
6945 echo "$as_me:$LINENO: result: no" >&5
6946 echo "${ECHO_T}no" >&6
6951 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
6952 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
6954 # Check whether --enable-gauge or --disable-gauge was given.
6955 if test "${enable_gauge+set}" = set; then
6956 enableval="$enable_gauge"
6958 if test "$enableval" = yes; then
6959 ac_cv_use_gauge='wxUSE_GAUGE
=yes'
6961 ac_cv_use_gauge='wxUSE_GAUGE
=no
'
6966 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6967 if test "x$LINE" != x ; then
6968 eval "DEFAULT_$LINE"
6973 ac_cv_use_gauge='wxUSE_GAUGE
='$DEFAULT_wxUSE_GAUGE
6977 eval "$ac_cv_use_gauge"
6978 if test "$no_cache" != 1; then
6979 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6982 if test "$wxUSE_GAUGE" = yes; then
6983 echo "$as_me:$LINENO: result: yes" >&5
6984 echo "${ECHO_T}yes" >&6
6986 echo "$as_me:$LINENO: result: no" >&5
6987 echo "${ECHO_T}no" >&6
6992 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
6993 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
6995 # Check whether --enable-grid or --disable-grid was given.
6996 if test "${enable_grid+set}" = set; then
6997 enableval="$enable_grid"
6999 if test "$enableval" = yes; then
7000 ac_cv_use_grid='wxUSE_GRID
=yes'
7002 ac_cv_use_grid='wxUSE_GRID
=no
'
7007 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7008 if test "x$LINE" != x ; then
7009 eval "DEFAULT_$LINE"
7014 ac_cv_use_grid='wxUSE_GRID
='$DEFAULT_wxUSE_GRID
7018 eval "$ac_cv_use_grid"
7019 if test "$no_cache" != 1; then
7020 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7023 if test "$wxUSE_GRID" = yes; then
7024 echo "$as_me:$LINENO: result: yes" >&5
7025 echo "${ECHO_T}yes" >&6
7027 echo "$as_me:$LINENO: result: no" >&5
7028 echo "${ECHO_T}no" >&6
7033 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7034 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7036 # Check whether --enable-imaglist or --disable-imaglist was given.
7037 if test "${enable_imaglist+set}" = set; then
7038 enableval="$enable_imaglist"
7040 if test "$enableval" = yes; then
7041 ac_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
7043 ac_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
7048 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7049 if test "x$LINE" != x ; then
7050 eval "DEFAULT_$LINE"
7055 ac_cv_use_imaglist='wxUSE_IMAGLIST
='$DEFAULT_wxUSE_IMAGLIST
7059 eval "$ac_cv_use_imaglist"
7060 if test "$no_cache" != 1; then
7061 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7064 if test "$wxUSE_IMAGLIST" = yes; then
7065 echo "$as_me:$LINENO: result: yes" >&5
7066 echo "${ECHO_T}yes" >&6
7068 echo "$as_me:$LINENO: result: no" >&5
7069 echo "${ECHO_T}no" >&6
7074 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7075 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7077 # Check whether --enable-listbox or --disable-listbox was given.
7078 if test "${enable_listbox+set}" = set; then
7079 enableval="$enable_listbox"
7081 if test "$enableval" = yes; then
7082 ac_cv_use_listbox='wxUSE_LISTBOX
=yes'
7084 ac_cv_use_listbox='wxUSE_LISTBOX
=no
'
7089 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7090 if test "x$LINE" != x ; then
7091 eval "DEFAULT_$LINE"
7096 ac_cv_use_listbox='wxUSE_LISTBOX
='$DEFAULT_wxUSE_LISTBOX
7100 eval "$ac_cv_use_listbox"
7101 if test "$no_cache" != 1; then
7102 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7105 if test "$wxUSE_LISTBOX" = yes; then
7106 echo "$as_me:$LINENO: result: yes" >&5
7107 echo "${ECHO_T}yes" >&6
7109 echo "$as_me:$LINENO: result: no" >&5
7110 echo "${ECHO_T}no" >&6
7115 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7116 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7118 # Check whether --enable-listctrl or --disable-listctrl was given.
7119 if test "${enable_listctrl+set}" = set; then
7120 enableval="$enable_listctrl"
7122 if test "$enableval" = yes; then
7123 ac_cv_use_listctrl='wxUSE_LISTCTRL
=yes'
7125 ac_cv_use_listctrl='wxUSE_LISTCTRL
=no
'
7130 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7131 if test "x$LINE" != x ; then
7132 eval "DEFAULT_$LINE"
7137 ac_cv_use_listctrl='wxUSE_LISTCTRL
='$DEFAULT_wxUSE_LISTCTRL
7141 eval "$ac_cv_use_listctrl"
7142 if test "$no_cache" != 1; then
7143 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7146 if test "$wxUSE_LISTCTRL" = yes; then
7147 echo "$as_me:$LINENO: result: yes" >&5
7148 echo "${ECHO_T}yes" >&6
7150 echo "$as_me:$LINENO: result: no" >&5
7151 echo "${ECHO_T}no" >&6
7156 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7157 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7159 # Check whether --enable-notebook or --disable-notebook was given.
7160 if test "${enable_notebook+set}" = set; then
7161 enableval="$enable_notebook"
7163 if test "$enableval" = yes; then
7164 ac_cv_use_notebook='wxUSE_NOTEBOOK
=yes'
7166 ac_cv_use_notebook='wxUSE_NOTEBOOK
=no
'
7171 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7172 if test "x$LINE" != x ; then
7173 eval "DEFAULT_$LINE"
7178 ac_cv_use_notebook='wxUSE_NOTEBOOK
='$DEFAULT_wxUSE_NOTEBOOK
7182 eval "$ac_cv_use_notebook"
7183 if test "$no_cache" != 1; then
7184 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7187 if test "$wxUSE_NOTEBOOK" = yes; then
7188 echo "$as_me:$LINENO: result: yes" >&5
7189 echo "${ECHO_T}yes" >&6
7191 echo "$as_me:$LINENO: result: no" >&5
7192 echo "${ECHO_T}no" >&6
7197 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7198 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7200 # Check whether --enable-radiobox or --disable-radiobox was given.
7201 if test "${enable_radiobox+set}" = set; then
7202 enableval="$enable_radiobox"
7204 if test "$enableval" = yes; then
7205 ac_cv_use_radiobox='wxUSE_RADIOBOX
=yes'
7207 ac_cv_use_radiobox='wxUSE_RADIOBOX
=no
'
7212 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7213 if test "x$LINE" != x ; then
7214 eval "DEFAULT_$LINE"
7219 ac_cv_use_radiobox='wxUSE_RADIOBOX
='$DEFAULT_wxUSE_RADIOBOX
7223 eval "$ac_cv_use_radiobox"
7224 if test "$no_cache" != 1; then
7225 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7228 if test "$wxUSE_RADIOBOX" = yes; then
7229 echo "$as_me:$LINENO: result: yes" >&5
7230 echo "${ECHO_T}yes" >&6
7232 echo "$as_me:$LINENO: result: no" >&5
7233 echo "${ECHO_T}no" >&6
7238 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7239 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7241 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7242 if test "${enable_radiobtn+set}" = set; then
7243 enableval="$enable_radiobtn"
7245 if test "$enableval" = yes; then
7246 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=yes'
7248 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=no
'
7253 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7254 if test "x$LINE" != x ; then
7255 eval "DEFAULT_$LINE"
7260 ac_cv_use_radiobtn='wxUSE_RADIOBTN
='$DEFAULT_wxUSE_RADIOBTN
7264 eval "$ac_cv_use_radiobtn"
7265 if test "$no_cache" != 1; then
7266 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7269 if test "$wxUSE_RADIOBTN" = yes; then
7270 echo "$as_me:$LINENO: result: yes" >&5
7271 echo "${ECHO_T}yes" >&6
7273 echo "$as_me:$LINENO: result: no" >&5
7274 echo "${ECHO_T}no" >&6
7279 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7280 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7282 # Check whether --enable-sash or --disable-sash was given.
7283 if test "${enable_sash+set}" = set; then
7284 enableval="$enable_sash"
7286 if test "$enableval" = yes; then
7287 ac_cv_use_sash='wxUSE_SASH
=yes'
7289 ac_cv_use_sash='wxUSE_SASH
=no
'
7294 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7295 if test "x$LINE" != x ; then
7296 eval "DEFAULT_$LINE"
7301 ac_cv_use_sash='wxUSE_SASH
='$DEFAULT_wxUSE_SASH
7305 eval "$ac_cv_use_sash"
7306 if test "$no_cache" != 1; then
7307 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7310 if test "$wxUSE_SASH" = yes; then
7311 echo "$as_me:$LINENO: result: yes" >&5
7312 echo "${ECHO_T}yes" >&6
7314 echo "$as_me:$LINENO: result: no" >&5
7315 echo "${ECHO_T}no" >&6
7320 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7321 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7323 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7324 if test "${enable_scrollbar+set}" = set; then
7325 enableval="$enable_scrollbar"
7327 if test "$enableval" = yes; then
7328 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=yes'
7330 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=no
'
7335 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7336 if test "x$LINE" != x ; then
7337 eval "DEFAULT_$LINE"
7342 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
='$DEFAULT_wxUSE_SCROLLBAR
7346 eval "$ac_cv_use_scrollbar"
7347 if test "$no_cache" != 1; then
7348 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7351 if test "$wxUSE_SCROLLBAR" = yes; then
7352 echo "$as_me:$LINENO: result: yes" >&5
7353 echo "${ECHO_T}yes" >&6
7355 echo "$as_me:$LINENO: result: no" >&5
7356 echo "${ECHO_T}no" >&6
7361 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7362 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7364 # Check whether --enable-slider or --disable-slider was given.
7365 if test "${enable_slider+set}" = set; then
7366 enableval="$enable_slider"
7368 if test "$enableval" = yes; then
7369 ac_cv_use_slider='wxUSE_SLIDER
=yes'
7371 ac_cv_use_slider='wxUSE_SLIDER
=no
'
7376 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7377 if test "x$LINE" != x ; then
7378 eval "DEFAULT_$LINE"
7383 ac_cv_use_slider='wxUSE_SLIDER
='$DEFAULT_wxUSE_SLIDER
7387 eval "$ac_cv_use_slider"
7388 if test "$no_cache" != 1; then
7389 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7392 if test "$wxUSE_SLIDER" = yes; then
7393 echo "$as_me:$LINENO: result: yes" >&5
7394 echo "${ECHO_T}yes" >&6
7396 echo "$as_me:$LINENO: result: no" >&5
7397 echo "${ECHO_T}no" >&6
7402 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7403 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7405 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7406 if test "${enable_spinbtn+set}" = set; then
7407 enableval="$enable_spinbtn"
7409 if test "$enableval" = yes; then
7410 ac_cv_use_spinbtn='wxUSE_SPINBTN
=yes'
7412 ac_cv_use_spinbtn='wxUSE_SPINBTN
=no
'
7417 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7418 if test "x$LINE" != x ; then
7419 eval "DEFAULT_$LINE"
7424 ac_cv_use_spinbtn='wxUSE_SPINBTN
='$DEFAULT_wxUSE_SPINBTN
7428 eval "$ac_cv_use_spinbtn"
7429 if test "$no_cache" != 1; then
7430 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7433 if test "$wxUSE_SPINBTN" = yes; then
7434 echo "$as_me:$LINENO: result: yes" >&5
7435 echo "${ECHO_T}yes" >&6
7437 echo "$as_me:$LINENO: result: no" >&5
7438 echo "${ECHO_T}no" >&6
7443 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7444 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7446 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7447 if test "${enable_spinctrl+set}" = set; then
7448 enableval="$enable_spinctrl"
7450 if test "$enableval" = yes; then
7451 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=yes'
7453 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=no
'
7458 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7459 if test "x$LINE" != x ; then
7460 eval "DEFAULT_$LINE"
7465 ac_cv_use_spinctrl='wxUSE_SPINCTRL
='$DEFAULT_wxUSE_SPINCTRL
7469 eval "$ac_cv_use_spinctrl"
7470 if test "$no_cache" != 1; then
7471 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7474 if test "$wxUSE_SPINCTRL" = yes; then
7475 echo "$as_me:$LINENO: result: yes" >&5
7476 echo "${ECHO_T}yes" >&6
7478 echo "$as_me:$LINENO: result: no" >&5
7479 echo "${ECHO_T}no" >&6
7484 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7485 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7487 # Check whether --enable-splitter or --disable-splitter was given.
7488 if test "${enable_splitter+set}" = set; then
7489 enableval="$enable_splitter"
7491 if test "$enableval" = yes; then
7492 ac_cv_use_splitter='wxUSE_SPLITTER
=yes'
7494 ac_cv_use_splitter='wxUSE_SPLITTER
=no
'
7499 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7500 if test "x$LINE" != x ; then
7501 eval "DEFAULT_$LINE"
7506 ac_cv_use_splitter='wxUSE_SPLITTER
='$DEFAULT_wxUSE_SPLITTER
7510 eval "$ac_cv_use_splitter"
7511 if test "$no_cache" != 1; then
7512 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7515 if test "$wxUSE_SPLITTER" = yes; then
7516 echo "$as_me:$LINENO: result: yes" >&5
7517 echo "${ECHO_T}yes" >&6
7519 echo "$as_me:$LINENO: result: no" >&5
7520 echo "${ECHO_T}no" >&6
7525 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7526 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7528 # Check whether --enable-statbmp or --disable-statbmp was given.
7529 if test "${enable_statbmp+set}" = set; then
7530 enableval="$enable_statbmp"
7532 if test "$enableval" = yes; then
7533 ac_cv_use_statbmp='wxUSE_STATBMP
=yes'
7535 ac_cv_use_statbmp='wxUSE_STATBMP
=no
'
7540 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7541 if test "x$LINE" != x ; then
7542 eval "DEFAULT_$LINE"
7547 ac_cv_use_statbmp='wxUSE_STATBMP
='$DEFAULT_wxUSE_STATBMP
7551 eval "$ac_cv_use_statbmp"
7552 if test "$no_cache" != 1; then
7553 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7556 if test "$wxUSE_STATBMP" = yes; then
7557 echo "$as_me:$LINENO: result: yes" >&5
7558 echo "${ECHO_T}yes" >&6
7560 echo "$as_me:$LINENO: result: no" >&5
7561 echo "${ECHO_T}no" >&6
7566 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7567 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7569 # Check whether --enable-statbox or --disable-statbox was given.
7570 if test "${enable_statbox+set}" = set; then
7571 enableval="$enable_statbox"
7573 if test "$enableval" = yes; then
7574 ac_cv_use_statbox='wxUSE_STATBOX
=yes'
7576 ac_cv_use_statbox='wxUSE_STATBOX
=no
'
7581 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7582 if test "x$LINE" != x ; then
7583 eval "DEFAULT_$LINE"
7588 ac_cv_use_statbox='wxUSE_STATBOX
='$DEFAULT_wxUSE_STATBOX
7592 eval "$ac_cv_use_statbox"
7593 if test "$no_cache" != 1; then
7594 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7597 if test "$wxUSE_STATBOX" = yes; then
7598 echo "$as_me:$LINENO: result: yes" >&5
7599 echo "${ECHO_T}yes" >&6
7601 echo "$as_me:$LINENO: result: no" >&5
7602 echo "${ECHO_T}no" >&6
7607 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7608 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7610 # Check whether --enable-statline or --disable-statline was given.
7611 if test "${enable_statline+set}" = set; then
7612 enableval="$enable_statline"
7614 if test "$enableval" = yes; then
7615 ac_cv_use_statline='wxUSE_STATLINE
=yes'
7617 ac_cv_use_statline='wxUSE_STATLINE
=no
'
7622 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7623 if test "x$LINE" != x ; then
7624 eval "DEFAULT_$LINE"
7629 ac_cv_use_statline='wxUSE_STATLINE
='$DEFAULT_wxUSE_STATLINE
7633 eval "$ac_cv_use_statline"
7634 if test "$no_cache" != 1; then
7635 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7638 if test "$wxUSE_STATLINE" = yes; then
7639 echo "$as_me:$LINENO: result: yes" >&5
7640 echo "${ECHO_T}yes" >&6
7642 echo "$as_me:$LINENO: result: no" >&5
7643 echo "${ECHO_T}no" >&6
7648 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
7649 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
7651 # Check whether --enable-stattext or --disable-stattext was given.
7652 if test "${enable_stattext+set}" = set; then
7653 enableval="$enable_stattext"
7655 if test "$enableval" = yes; then
7656 ac_cv_use_stattext='wxUSE_STATTEXT
=yes'
7658 ac_cv_use_stattext='wxUSE_STATTEXT
=no
'
7663 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7664 if test "x$LINE" != x ; then
7665 eval "DEFAULT_$LINE"
7670 ac_cv_use_stattext='wxUSE_STATTEXT
='$DEFAULT_wxUSE_STATTEXT
7674 eval "$ac_cv_use_stattext"
7675 if test "$no_cache" != 1; then
7676 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7679 if test "$wxUSE_STATTEXT" = yes; then
7680 echo "$as_me:$LINENO: result: yes" >&5
7681 echo "${ECHO_T}yes" >&6
7683 echo "$as_me:$LINENO: result: no" >&5
7684 echo "${ECHO_T}no" >&6
7689 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
7690 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
7692 # Check whether --enable-statusbar or --disable-statusbar was given.
7693 if test "${enable_statusbar+set}" = set; then
7694 enableval="$enable_statusbar"
7696 if test "$enableval" = yes; then
7697 ac_cv_use_statusbar='wxUSE_STATUSBAR
=yes'
7699 ac_cv_use_statusbar='wxUSE_STATUSBAR
=no
'
7704 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7705 if test "x$LINE" != x ; then
7706 eval "DEFAULT_$LINE"
7711 ac_cv_use_statusbar='wxUSE_STATUSBAR
='$DEFAULT_wxUSE_STATUSBAR
7715 eval "$ac_cv_use_statusbar"
7716 if test "$no_cache" != 1; then
7717 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7720 if test "$wxUSE_STATUSBAR" = yes; then
7721 echo "$as_me:$LINENO: result: yes" >&5
7722 echo "${ECHO_T}yes" >&6
7724 echo "$as_me:$LINENO: result: no" >&5
7725 echo "${ECHO_T}no" >&6
7730 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
7731 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
7733 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7734 if test "${enable_tabdialog+set}" = set; then
7735 enableval="$enable_tabdialog"
7737 if test "$enableval" = yes; then
7738 ac_cv_use_tabdialog='wxUSE_TABDIALOG
=yes'
7740 ac_cv_use_tabdialog='wxUSE_TABDIALOG
=no
'
7745 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7746 if test "x$LINE" != x ; then
7747 eval "DEFAULT_$LINE"
7752 ac_cv_use_tabdialog='wxUSE_TABDIALOG
='$DEFAULT_wxUSE_TABDIALOG
7756 eval "$ac_cv_use_tabdialog"
7757 if test "$no_cache" != 1; then
7758 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7761 if test "$wxUSE_TABDIALOG" = yes; then
7762 echo "$as_me:$LINENO: result: yes" >&5
7763 echo "${ECHO_T}yes" >&6
7765 echo "$as_me:$LINENO: result: no" >&5
7766 echo "${ECHO_T}no" >&6
7771 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
7772 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
7774 # Check whether --enable-textctrl or --disable-textctrl was given.
7775 if test "${enable_textctrl+set}" = set; then
7776 enableval="$enable_textctrl"
7778 if test "$enableval" = yes; then
7779 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=yes'
7781 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=no
'
7786 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7787 if test "x$LINE" != x ; then
7788 eval "DEFAULT_$LINE"
7793 ac_cv_use_textctrl='wxUSE_TEXTCTRL
='$DEFAULT_wxUSE_TEXTCTRL
7797 eval "$ac_cv_use_textctrl"
7798 if test "$no_cache" != 1; then
7799 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7802 if test "$wxUSE_TEXTCTRL" = yes; then
7803 echo "$as_me:$LINENO: result: yes" >&5
7804 echo "${ECHO_T}yes" >&6
7806 echo "$as_me:$LINENO: result: no" >&5
7807 echo "${ECHO_T}no" >&6
7812 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
7813 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
7815 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7816 if test "${enable_togglebtn+set}" = set; then
7817 enableval="$enable_togglebtn"
7819 if test "$enableval" = yes; then
7820 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=yes'
7822 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=no
'
7827 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7828 if test "x$LINE" != x ; then
7829 eval "DEFAULT_$LINE"
7834 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
='$DEFAULT_wxUSE_TOGGLEBTN
7838 eval "$ac_cv_use_togglebtn"
7839 if test "$no_cache" != 1; then
7840 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7843 if test "$wxUSE_TOGGLEBTN" = yes; then
7844 echo "$as_me:$LINENO: result: yes" >&5
7845 echo "${ECHO_T}yes" >&6
7847 echo "$as_me:$LINENO: result: no" >&5
7848 echo "${ECHO_T}no" >&6
7853 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
7854 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
7856 # Check whether --enable-toolbar or --disable-toolbar was given.
7857 if test "${enable_toolbar+set}" = set; then
7858 enableval="$enable_toolbar"
7860 if test "$enableval" = yes; then
7861 ac_cv_use_toolbar='wxUSE_TOOLBAR
=yes'
7863 ac_cv_use_toolbar='wxUSE_TOOLBAR
=no
'
7868 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7869 if test "x$LINE" != x ; then
7870 eval "DEFAULT_$LINE"
7875 ac_cv_use_toolbar='wxUSE_TOOLBAR
='$DEFAULT_wxUSE_TOOLBAR
7879 eval "$ac_cv_use_toolbar"
7880 if test "$no_cache" != 1; then
7881 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7884 if test "$wxUSE_TOOLBAR" = yes; then
7885 echo "$as_me:$LINENO: result: yes" >&5
7886 echo "${ECHO_T}yes" >&6
7888 echo "$as_me:$LINENO: result: no" >&5
7889 echo "${ECHO_T}no" >&6
7894 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
7895 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
7897 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7898 if test "${enable_tbarnative+set}" = set; then
7899 enableval="$enable_tbarnative"
7901 if test "$enableval" = yes; then
7902 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=yes'
7904 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=no
'
7909 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7910 if test "x$LINE" != x ; then
7911 eval "DEFAULT_$LINE"
7916 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7920 eval "$ac_cv_use_tbarnative"
7921 if test "$no_cache" != 1; then
7922 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7925 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7926 echo "$as_me:$LINENO: result: yes" >&5
7927 echo "${ECHO_T}yes" >&6
7929 echo "$as_me:$LINENO: result: no" >&5
7930 echo "${ECHO_T}no" >&6
7935 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
7936 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
7938 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7939 if test "${enable_tbarsmpl+set}" = set; then
7940 enableval="$enable_tbarsmpl"
7942 if test "$enableval" = yes; then
7943 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
=yes'
7945 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
=no
'
7950 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7951 if test "x$LINE" != x ; then
7952 eval "DEFAULT_$LINE"
7957 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7961 eval "$ac_cv_use_tbarsmpl"
7962 if test "$no_cache" != 1; then
7963 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7966 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7967 echo "$as_me:$LINENO: result: yes" >&5
7968 echo "${ECHO_T}yes" >&6
7970 echo "$as_me:$LINENO: result: no" >&5
7971 echo "${ECHO_T}no" >&6
7976 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
7977 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
7979 # Check whether --enable-treectrl or --disable-treectrl was given.
7980 if test "${enable_treectrl+set}" = set; then
7981 enableval="$enable_treectrl"
7983 if test "$enableval" = yes; then
7984 ac_cv_use_treectrl='wxUSE_TREECTRL
=yes'
7986 ac_cv_use_treectrl='wxUSE_TREECTRL
=no
'
7991 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
7992 if test "x$LINE" != x ; then
7993 eval "DEFAULT_$LINE"
7998 ac_cv_use_treectrl='wxUSE_TREECTRL
='$DEFAULT_wxUSE_TREECTRL
8002 eval "$ac_cv_use_treectrl"
8003 if test "$no_cache" != 1; then
8004 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8007 if test "$wxUSE_TREECTRL" = yes; then
8008 echo "$as_me:$LINENO: result: yes" >&5
8009 echo "${ECHO_T}yes" >&6
8011 echo "$as_me:$LINENO: result: no" >&5
8012 echo "${ECHO_T}no" >&6
8017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8018 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8020 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8021 if test "${enable_tipwindow+set}" = set; then
8022 enableval="$enable_tipwindow"
8024 if test "$enableval" = yes; then
8025 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
8027 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
8032 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8033 if test "x$LINE" != x ; then
8034 eval "DEFAULT_$LINE"
8039 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
='$DEFAULT_wxUSE_TIPWINDOW
8043 eval "$ac_cv_use_tipwindow"
8044 if test "$no_cache" != 1; then
8045 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8048 if test "$wxUSE_TIPWINDOW" = yes; then
8049 echo "$as_me:$LINENO: result: yes" >&5
8050 echo "${ECHO_T}yes" >&6
8052 echo "$as_me:$LINENO: result: no" >&5
8053 echo "${ECHO_T}no" >&6
8058 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8059 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8061 # Check whether --enable-popupwin or --disable-popupwin was given.
8062 if test "${enable_popupwin+set}" = set; then
8063 enableval="$enable_popupwin"
8065 if test "$enableval" = yes; then
8066 ac_cv_use_popupwin='wxUSE_POPUPWIN
=yes'
8068 ac_cv_use_popupwin='wxUSE_POPUPWIN
=no
'
8073 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8074 if test "x$LINE" != x ; then
8075 eval "DEFAULT_$LINE"
8080 ac_cv_use_popupwin='wxUSE_POPUPWIN
='$DEFAULT_wxUSE_POPUPWIN
8084 eval "$ac_cv_use_popupwin"
8085 if test "$no_cache" != 1; then
8086 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8089 if test "$wxUSE_POPUPWIN" = yes; then
8090 echo "$as_me:$LINENO: result: yes" >&5
8091 echo "${ECHO_T}yes" >&6
8093 echo "$as_me:$LINENO: result: no" >&5
8094 echo "${ECHO_T}no" >&6
8101 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8102 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8104 # Check whether --enable-commondlg or --disable-commondlg was given.
8105 if test "${enable_commondlg+set}" = set; then
8106 enableval="$enable_commondlg"
8108 if test "$enableval" = yes; then
8109 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=yes'
8111 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=no
'
8116 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8117 if test "x$LINE" != x ; then
8118 eval "DEFAULT_$LINE"
8123 ac_cv_use_commondlg='wxUSE_COMMONDLGS
='$DEFAULT_wxUSE_COMMONDLGS
8127 eval "$ac_cv_use_commondlg"
8128 if test "$no_cache" != 1; then
8129 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8132 if test "$wxUSE_COMMONDLGS" = yes; then
8133 echo "$as_me:$LINENO: result: yes" >&5
8134 echo "${ECHO_T}yes" >&6
8136 echo "$as_me:$LINENO: result: no" >&5
8137 echo "${ECHO_T}no" >&6
8142 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8143 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8145 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8146 if test "${enable_choicedlg+set}" = set; then
8147 enableval="$enable_choicedlg"
8149 if test "$enableval" = yes; then
8150 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
8152 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
8157 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8158 if test "x$LINE" != x ; then
8159 eval "DEFAULT_$LINE"
8164 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
='$DEFAULT_wxUSE_CHOICEDLG
8168 eval "$ac_cv_use_choicedlg"
8169 if test "$no_cache" != 1; then
8170 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8173 if test "$wxUSE_CHOICEDLG" = yes; then
8174 echo "$as_me:$LINENO: result: yes" >&5
8175 echo "${ECHO_T}yes" >&6
8177 echo "$as_me:$LINENO: result: no" >&5
8178 echo "${ECHO_T}no" >&6
8183 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8184 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8186 # Check whether --enable-coldlg or --disable-coldlg was given.
8187 if test "${enable_coldlg+set}" = set; then
8188 enableval="$enable_coldlg"
8190 if test "$enableval" = yes; then
8191 ac_cv_use_coldlg='wxUSE_COLOURDLG
=yes'
8193 ac_cv_use_coldlg='wxUSE_COLOURDLG
=no
'
8198 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8199 if test "x$LINE" != x ; then
8200 eval "DEFAULT_$LINE"
8205 ac_cv_use_coldlg='wxUSE_COLOURDLG
='$DEFAULT_wxUSE_COLOURDLG
8209 eval "$ac_cv_use_coldlg"
8210 if test "$no_cache" != 1; then
8211 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8214 if test "$wxUSE_COLOURDLG" = yes; then
8215 echo "$as_me:$LINENO: result: yes" >&5
8216 echo "${ECHO_T}yes" >&6
8218 echo "$as_me:$LINENO: result: no" >&5
8219 echo "${ECHO_T}no" >&6
8224 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8225 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8227 # Check whether --enable-filedlg or --disable-filedlg was given.
8228 if test "${enable_filedlg+set}" = set; then
8229 enableval="$enable_filedlg"
8231 if test "$enableval" = yes; then
8232 ac_cv_use_filedlg='wxUSE_FILEDLG
=yes'
8234 ac_cv_use_filedlg='wxUSE_FILEDLG
=no
'
8239 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8240 if test "x$LINE" != x ; then
8241 eval "DEFAULT_$LINE"
8246 ac_cv_use_filedlg='wxUSE_FILEDLG
='$DEFAULT_wxUSE_FILEDLG
8250 eval "$ac_cv_use_filedlg"
8251 if test "$no_cache" != 1; then
8252 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8255 if test "$wxUSE_FILEDLG" = yes; then
8256 echo "$as_me:$LINENO: result: yes" >&5
8257 echo "${ECHO_T}yes" >&6
8259 echo "$as_me:$LINENO: result: no" >&5
8260 echo "${ECHO_T}no" >&6
8265 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8266 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8268 # Check whether --enable-finddlg or --disable-finddlg was given.
8269 if test "${enable_finddlg+set}" = set; then
8270 enableval="$enable_finddlg"
8272 if test "$enableval" = yes; then
8273 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
8275 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
8280 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8281 if test "x$LINE" != x ; then
8282 eval "DEFAULT_$LINE"
8287 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
='$DEFAULT_wxUSE_FINDREPLDLG
8291 eval "$ac_cv_use_finddlg"
8292 if test "$no_cache" != 1; then
8293 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8296 if test "$wxUSE_FINDREPLDLG" = yes; then
8297 echo "$as_me:$LINENO: result: yes" >&5
8298 echo "${ECHO_T}yes" >&6
8300 echo "$as_me:$LINENO: result: no" >&5
8301 echo "${ECHO_T}no" >&6
8306 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8307 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8309 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8310 if test "${enable_fontdlg+set}" = set; then
8311 enableval="$enable_fontdlg"
8313 if test "$enableval" = yes; then
8314 ac_cv_use_fontdlg='wxUSE_FONTDLG
=yes'
8316 ac_cv_use_fontdlg='wxUSE_FONTDLG
=no
'
8321 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8322 if test "x$LINE" != x ; then
8323 eval "DEFAULT_$LINE"
8328 ac_cv_use_fontdlg='wxUSE_FONTDLG
='$DEFAULT_wxUSE_FONTDLG
8332 eval "$ac_cv_use_fontdlg"
8333 if test "$no_cache" != 1; then
8334 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8337 if test "$wxUSE_FONTDLG" = yes; then
8338 echo "$as_me:$LINENO: result: yes" >&5
8339 echo "${ECHO_T}yes" >&6
8341 echo "$as_me:$LINENO: result: no" >&5
8342 echo "${ECHO_T}no" >&6
8347 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8348 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8350 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8351 if test "${enable_dirdlg+set}" = set; then
8352 enableval="$enable_dirdlg"
8354 if test "$enableval" = yes; then
8355 ac_cv_use_dirdlg='wxUSE_DIRDLG
=yes'
8357 ac_cv_use_dirdlg='wxUSE_DIRDLG
=no
'
8362 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8363 if test "x$LINE" != x ; then
8364 eval "DEFAULT_$LINE"
8369 ac_cv_use_dirdlg='wxUSE_DIRDLG
='$DEFAULT_wxUSE_DIRDLG
8373 eval "$ac_cv_use_dirdlg"
8374 if test "$no_cache" != 1; then
8375 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8378 if test "$wxUSE_DIRDLG" = yes; then
8379 echo "$as_me:$LINENO: result: yes" >&5
8380 echo "${ECHO_T}yes" >&6
8382 echo "$as_me:$LINENO: result: no" >&5
8383 echo "${ECHO_T}no" >&6
8388 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8389 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8391 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8392 if test "${enable_msgdlg+set}" = set; then
8393 enableval="$enable_msgdlg"
8395 if test "$enableval" = yes; then
8396 ac_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
8398 ac_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
8403 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8404 if test "x$LINE" != x ; then
8405 eval "DEFAULT_$LINE"
8410 ac_cv_use_msgdlg='wxUSE_MSGDLG
='$DEFAULT_wxUSE_MSGDLG
8414 eval "$ac_cv_use_msgdlg"
8415 if test "$no_cache" != 1; then
8416 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8419 if test "$wxUSE_MSGDLG" = yes; then
8420 echo "$as_me:$LINENO: result: yes" >&5
8421 echo "${ECHO_T}yes" >&6
8423 echo "$as_me:$LINENO: result: no" >&5
8424 echo "${ECHO_T}no" >&6
8429 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8430 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8432 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8433 if test "${enable_numberdlg+set}" = set; then
8434 enableval="$enable_numberdlg"
8436 if test "$enableval" = yes; then
8437 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=yes'
8439 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=no
'
8444 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8445 if test "x$LINE" != x ; then
8446 eval "DEFAULT_$LINE"
8451 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
='$DEFAULT_wxUSE_NUMBERDLG
8455 eval "$ac_cv_use_numberdlg"
8456 if test "$no_cache" != 1; then
8457 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8460 if test "$wxUSE_NUMBERDLG" = yes; then
8461 echo "$as_me:$LINENO: result: yes" >&5
8462 echo "${ECHO_T}yes" >&6
8464 echo "$as_me:$LINENO: result: no" >&5
8465 echo "${ECHO_T}no" >&6
8470 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8471 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8473 # Check whether --enable-splash or --disable-splash was given.
8474 if test "${enable_splash+set}" = set; then
8475 enableval="$enable_splash"
8477 if test "$enableval" = yes; then
8478 ac_cv_use_splash='wxUSE_SPLASH
=yes'
8480 ac_cv_use_splash='wxUSE_SPLASH
=no
'
8485 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8486 if test "x$LINE" != x ; then
8487 eval "DEFAULT_$LINE"
8492 ac_cv_use_splash='wxUSE_SPLASH
='$DEFAULT_wxUSE_SPLASH
8496 eval "$ac_cv_use_splash"
8497 if test "$no_cache" != 1; then
8498 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8501 if test "$wxUSE_SPLASH" = yes; then
8502 echo "$as_me:$LINENO: result: yes" >&5
8503 echo "${ECHO_T}yes" >&6
8505 echo "$as_me:$LINENO: result: no" >&5
8506 echo "${ECHO_T}no" >&6
8511 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8512 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8514 # Check whether --enable-textdlg or --disable-textdlg was given.
8515 if test "${enable_textdlg+set}" = set; then
8516 enableval="$enable_textdlg"
8518 if test "$enableval" = yes; then
8519 ac_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
8521 ac_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
8526 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8527 if test "x$LINE" != x ; then
8528 eval "DEFAULT_$LINE"
8533 ac_cv_use_textdlg='wxUSE_TEXTDLG
='$DEFAULT_wxUSE_TEXTDLG
8537 eval "$ac_cv_use_textdlg"
8538 if test "$no_cache" != 1; then
8539 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8542 if test "$wxUSE_TEXTDLG" = yes; then
8543 echo "$as_me:$LINENO: result: yes" >&5
8544 echo "${ECHO_T}yes" >&6
8546 echo "$as_me:$LINENO: result: no" >&5
8547 echo "${ECHO_T}no" >&6
8552 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8553 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8555 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8556 if test "${enable_tipdlg+set}" = set; then
8557 enableval="$enable_tipdlg"
8559 if test "$enableval" = yes; then
8560 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=yes'
8562 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=no
'
8567 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8568 if test "x$LINE" != x ; then
8569 eval "DEFAULT_$LINE"
8574 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
='$DEFAULT_wxUSE_STARTUP_TIPS
8578 eval "$ac_cv_use_tipdlg"
8579 if test "$no_cache" != 1; then
8580 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8583 if test "$wxUSE_STARTUP_TIPS" = yes; then
8584 echo "$as_me:$LINENO: result: yes" >&5
8585 echo "${ECHO_T}yes" >&6
8587 echo "$as_me:$LINENO: result: no" >&5
8588 echo "${ECHO_T}no" >&6
8593 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8594 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8596 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8597 if test "${enable_progressdlg+set}" = set; then
8598 enableval="$enable_progressdlg"
8600 if test "$enableval" = yes; then
8601 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=yes'
8603 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=no
'
8608 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8609 if test "x$LINE" != x ; then
8610 eval "DEFAULT_$LINE"
8615 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
='$DEFAULT_wxUSE_PROGRESSDLG
8619 eval "$ac_cv_use_progressdlg"
8620 if test "$no_cache" != 1; then
8621 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8624 if test "$wxUSE_PROGRESSDLG" = yes; then
8625 echo "$as_me:$LINENO: result: yes" >&5
8626 echo "${ECHO_T}yes" >&6
8628 echo "$as_me:$LINENO: result: no" >&5
8629 echo "${ECHO_T}no" >&6
8634 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
8635 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
8637 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8638 if test "${enable_wizarddlg+set}" = set; then
8639 enableval="$enable_wizarddlg"
8641 if test "$enableval" = yes; then
8642 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
8644 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
8649 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8650 if test "x$LINE" != x ; then
8651 eval "DEFAULT_$LINE"
8656 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
='$DEFAULT_wxUSE_WIZARDDLG
8660 eval "$ac_cv_use_wizarddlg"
8661 if test "$no_cache" != 1; then
8662 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8665 if test "$wxUSE_WIZARDDLG" = yes; then
8666 echo "$as_me:$LINENO: result: yes" >&5
8667 echo "${ECHO_T}yes" >&6
8669 echo "$as_me:$LINENO: result: no" >&5
8670 echo "${ECHO_T}no" >&6
8677 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
8678 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
8680 # Check whether --enable-menus or --disable-menus was given.
8681 if test "${enable_menus+set}" = set; then
8682 enableval="$enable_menus"
8684 if test "$enableval" = yes; then
8685 ac_cv_use_menus='wxUSE_MENUS
=yes'
8687 ac_cv_use_menus='wxUSE_MENUS
=no
'
8692 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8693 if test "x$LINE" != x ; then
8694 eval "DEFAULT_$LINE"
8699 ac_cv_use_menus='wxUSE_MENUS
='$DEFAULT_wxUSE_MENUS
8703 eval "$ac_cv_use_menus"
8704 if test "$no_cache" != 1; then
8705 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8708 if test "$wxUSE_MENUS" = yes; then
8709 echo "$as_me:$LINENO: result: yes" >&5
8710 echo "${ECHO_T}yes" >&6
8712 echo "$as_me:$LINENO: result: no" >&5
8713 echo "${ECHO_T}no" >&6
8718 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
8719 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
8721 # Check whether --enable-miniframe or --disable-miniframe was given.
8722 if test "${enable_miniframe+set}" = set; then
8723 enableval="$enable_miniframe"
8725 if test "$enableval" = yes; then
8726 ac_cv_use_miniframe='wxUSE_MINIFRAME
=yes'
8728 ac_cv_use_miniframe='wxUSE_MINIFRAME
=no
'
8733 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8734 if test "x$LINE" != x ; then
8735 eval "DEFAULT_$LINE"
8740 ac_cv_use_miniframe='wxUSE_MINIFRAME
='$DEFAULT_wxUSE_MINIFRAME
8744 eval "$ac_cv_use_miniframe"
8745 if test "$no_cache" != 1; then
8746 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8749 if test "$wxUSE_MINIFRAME" = yes; then
8750 echo "$as_me:$LINENO: result: yes" >&5
8751 echo "${ECHO_T}yes" >&6
8753 echo "$as_me:$LINENO: result: no" >&5
8754 echo "${ECHO_T}no" >&6
8759 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
8760 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
8762 # Check whether --enable-tooltips or --disable-tooltips was given.
8763 if test "${enable_tooltips+set}" = set; then
8764 enableval="$enable_tooltips"
8766 if test "$enableval" = yes; then
8767 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
8769 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
8774 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8775 if test "x$LINE" != x ; then
8776 eval "DEFAULT_$LINE"
8781 ac_cv_use_tooltips='wxUSE_TOOLTIPS
='$DEFAULT_wxUSE_TOOLTIPS
8785 eval "$ac_cv_use_tooltips"
8786 if test "$no_cache" != 1; then
8787 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8790 if test "$wxUSE_TOOLTIPS" = yes; then
8791 echo "$as_me:$LINENO: result: yes" >&5
8792 echo "${ECHO_T}yes" >&6
8794 echo "$as_me:$LINENO: result: no" >&5
8795 echo "${ECHO_T}no" >&6
8800 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
8801 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
8803 # Check whether --enable-splines or --disable-splines was given.
8804 if test "${enable_splines+set}" = set; then
8805 enableval="$enable_splines"
8807 if test "$enableval" = yes; then
8808 ac_cv_use_splines='wxUSE_SPLINES
=yes'
8810 ac_cv_use_splines='wxUSE_SPLINES
=no
'
8815 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8816 if test "x$LINE" != x ; then
8817 eval "DEFAULT_$LINE"
8822 ac_cv_use_splines='wxUSE_SPLINES
='$DEFAULT_wxUSE_SPLINES
8826 eval "$ac_cv_use_splines"
8827 if test "$no_cache" != 1; then
8828 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8831 if test "$wxUSE_SPLINES" = yes; then
8832 echo "$as_me:$LINENO: result: yes" >&5
8833 echo "${ECHO_T}yes" >&6
8835 echo "$as_me:$LINENO: result: no" >&5
8836 echo "${ECHO_T}no" >&6
8841 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
8842 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
8844 # Check whether --enable-validators or --disable-validators was given.
8845 if test "${enable_validators+set}" = set; then
8846 enableval="$enable_validators"
8848 if test "$enableval" = yes; then
8849 ac_cv_use_validators='wxUSE_VALIDATORS
=yes'
8851 ac_cv_use_validators='wxUSE_VALIDATORS
=no
'
8856 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8857 if test "x$LINE" != x ; then
8858 eval "DEFAULT_$LINE"
8863 ac_cv_use_validators='wxUSE_VALIDATORS
='$DEFAULT_wxUSE_VALIDATORS
8867 eval "$ac_cv_use_validators"
8868 if test "$no_cache" != 1; then
8869 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8872 if test "$wxUSE_VALIDATORS" = yes; then
8873 echo "$as_me:$LINENO: result: yes" >&5
8874 echo "${ECHO_T}yes" >&6
8876 echo "$as_me:$LINENO: result: no" >&5
8877 echo "${ECHO_T}no" >&6
8882 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
8883 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
8885 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8886 if test "${enable_busyinfo+set}" = set; then
8887 enableval="$enable_busyinfo"
8889 if test "$enableval" = yes; then
8890 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=yes'
8892 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=no
'
8897 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8898 if test "x$LINE" != x ; then
8899 eval "DEFAULT_$LINE"
8904 ac_cv_use_busyinfo='wxUSE_BUSYINFO
='$DEFAULT_wxUSE_BUSYINFO
8908 eval "$ac_cv_use_busyinfo"
8909 if test "$no_cache" != 1; then
8910 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8913 if test "$wxUSE_BUSYINFO" = yes; then
8914 echo "$as_me:$LINENO: result: yes" >&5
8915 echo "${ECHO_T}yes" >&6
8917 echo "$as_me:$LINENO: result: no" >&5
8918 echo "${ECHO_T}no" >&6
8923 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
8924 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
8926 # Check whether --enable-joystick or --disable-joystick was given.
8927 if test "${enable_joystick+set}" = set; then
8928 enableval="$enable_joystick"
8930 if test "$enableval" = yes; then
8931 ac_cv_use_joystick='wxUSE_JOYSTICK
=yes'
8933 ac_cv_use_joystick='wxUSE_JOYSTICK
=no
'
8938 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8939 if test "x$LINE" != x ; then
8940 eval "DEFAULT_$LINE"
8945 ac_cv_use_joystick='wxUSE_JOYSTICK
='$DEFAULT_wxUSE_JOYSTICK
8949 eval "$ac_cv_use_joystick"
8950 if test "$no_cache" != 1; then
8951 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8954 if test "$wxUSE_JOYSTICK" = yes; then
8955 echo "$as_me:$LINENO: result: yes" >&5
8956 echo "${ECHO_T}yes" >&6
8958 echo "$as_me:$LINENO: result: no" >&5
8959 echo "${ECHO_T}no" >&6
8964 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
8965 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
8967 # Check whether --enable-metafile or --disable-metafile was given.
8968 if test "${enable_metafile+set}" = set; then
8969 enableval="$enable_metafile"
8971 if test "$enableval" = yes; then
8972 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
8974 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
8979 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8980 if test "x$LINE" != x ; then
8981 eval "DEFAULT_$LINE"
8986 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
8990 eval "$ac_cv_use_metafile"
8991 if test "$no_cache" != 1; then
8992 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8995 if test "$wxUSE_METAFILE" = yes; then
8996 echo "$as_me:$LINENO: result: yes" >&5
8997 echo "${ECHO_T}yes" >&6
8999 echo "$as_me:$LINENO: result: no" >&5
9000 echo "${ECHO_T}no" >&6
9005 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9006 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9008 # Check whether --enable-dragimage or --disable-dragimage was given.
9009 if test "${enable_dragimage+set}" = set; then
9010 enableval="$enable_dragimage"
9012 if test "$enableval" = yes; then
9013 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=yes'
9015 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=no
'
9020 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9021 if test "x$LINE" != x ; then
9022 eval "DEFAULT_$LINE"
9027 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
='$DEFAULT_wxUSE_DRAGIMAGE
9031 eval "$ac_cv_use_dragimage"
9032 if test "$no_cache" != 1; then
9033 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9036 if test "$wxUSE_DRAGIMAGE" = yes; then
9037 echo "$as_me:$LINENO: result: yes" >&5
9038 echo "${ECHO_T}yes" >&6
9040 echo "$as_me:$LINENO: result: no" >&5
9041 echo "${ECHO_T}no" >&6
9046 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9047 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9049 # Check whether --enable-accessibility or --disable-accessibility was given.
9050 if test "${enable_accessibility+set}" = set; then
9051 enableval="$enable_accessibility"
9053 if test "$enableval" = yes; then
9054 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=yes'
9056 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=no
'
9061 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9062 if test "x$LINE" != x ; then
9063 eval "DEFAULT_$LINE"
9068 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
='$DEFAULT_wxUSE_ACCESSIBILITY
9072 eval "$ac_cv_use_accessibility"
9073 if test "$no_cache" != 1; then
9074 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9077 if test "$wxUSE_ACCESSIBILITY" = yes; then
9078 echo "$as_me:$LINENO: result: yes" >&5
9079 echo "${ECHO_T}yes" >&6
9081 echo "$as_me:$LINENO: result: no" >&5
9082 echo "${ECHO_T}no" >&6
9089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9090 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9092 # Check whether --enable-palette or --disable-palette was given.
9093 if test "${enable_palette+set}" = set; then
9094 enableval="$enable_palette"
9096 if test "$enableval" = yes; then
9097 ac_cv_use_palette='wxUSE_PALETTE
=yes'
9099 ac_cv_use_palette='wxUSE_PALETTE
=no
'
9104 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9105 if test "x$LINE" != x ; then
9106 eval "DEFAULT_$LINE"
9111 ac_cv_use_palette='wxUSE_PALETTE
='$DEFAULT_wxUSE_PALETTE
9115 eval "$ac_cv_use_palette"
9116 if test "$no_cache" != 1; then
9117 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9120 if test "$wxUSE_PALETTE" = yes; then
9121 echo "$as_me:$LINENO: result: yes" >&5
9122 echo "${ECHO_T}yes" >&6
9124 echo "$as_me:$LINENO: result: no" >&5
9125 echo "${ECHO_T}no" >&6
9130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9131 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9133 # Check whether --enable-image or --disable-image was given.
9134 if test "${enable_image+set}" = set; then
9135 enableval="$enable_image"
9137 if test "$enableval" = yes; then
9138 ac_cv_use_image='wxUSE_IMAGE
=yes'
9140 ac_cv_use_image='wxUSE_IMAGE
=no
'
9145 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9146 if test "x$LINE" != x ; then
9147 eval "DEFAULT_$LINE"
9152 ac_cv_use_image='wxUSE_IMAGE
='$DEFAULT_wxUSE_IMAGE
9156 eval "$ac_cv_use_image"
9157 if test "$no_cache" != 1; then
9158 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9161 if test "$wxUSE_IMAGE" = yes; then
9162 echo "$as_me:$LINENO: result: yes" >&5
9163 echo "${ECHO_T}yes" >&6
9165 echo "$as_me:$LINENO: result: no" >&5
9166 echo "${ECHO_T}no" >&6
9171 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9172 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9174 # Check whether --enable-gif or --disable-gif was given.
9175 if test "${enable_gif+set}" = set; then
9176 enableval="$enable_gif"
9178 if test "$enableval" = yes; then
9179 ac_cv_use_gif='wxUSE_GIF
=yes'
9181 ac_cv_use_gif='wxUSE_GIF
=no
'
9186 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9187 if test "x$LINE" != x ; then
9188 eval "DEFAULT_$LINE"
9193 ac_cv_use_gif='wxUSE_GIF
='$DEFAULT_wxUSE_GIF
9197 eval "$ac_cv_use_gif"
9198 if test "$no_cache" != 1; then
9199 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9202 if test "$wxUSE_GIF" = yes; then
9203 echo "$as_me:$LINENO: result: yes" >&5
9204 echo "${ECHO_T}yes" >&6
9206 echo "$as_me:$LINENO: result: no" >&5
9207 echo "${ECHO_T}no" >&6
9212 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9213 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9215 # Check whether --enable-pcx or --disable-pcx was given.
9216 if test "${enable_pcx+set}" = set; then
9217 enableval="$enable_pcx"
9219 if test "$enableval" = yes; then
9220 ac_cv_use_pcx='wxUSE_PCX
=yes'
9222 ac_cv_use_pcx='wxUSE_PCX
=no
'
9227 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9228 if test "x$LINE" != x ; then
9229 eval "DEFAULT_$LINE"
9234 ac_cv_use_pcx='wxUSE_PCX
='$DEFAULT_wxUSE_PCX
9238 eval "$ac_cv_use_pcx"
9239 if test "$no_cache" != 1; then
9240 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9243 if test "$wxUSE_PCX" = yes; then
9244 echo "$as_me:$LINENO: result: yes" >&5
9245 echo "${ECHO_T}yes" >&6
9247 echo "$as_me:$LINENO: result: no" >&5
9248 echo "${ECHO_T}no" >&6
9253 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9254 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9256 # Check whether --enable-iff or --disable-iff was given.
9257 if test "${enable_iff+set}" = set; then
9258 enableval="$enable_iff"
9260 if test "$enableval" = yes; then
9261 ac_cv_use_iff='wxUSE_IFF
=yes'
9263 ac_cv_use_iff='wxUSE_IFF
=no
'
9268 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9269 if test "x$LINE" != x ; then
9270 eval "DEFAULT_$LINE"
9275 ac_cv_use_iff='wxUSE_IFF
='$DEFAULT_wxUSE_IFF
9279 eval "$ac_cv_use_iff"
9280 if test "$no_cache" != 1; then
9281 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9284 if test "$wxUSE_IFF" = yes; then
9285 echo "$as_me:$LINENO: result: yes" >&5
9286 echo "${ECHO_T}yes" >&6
9288 echo "$as_me:$LINENO: result: no" >&5
9289 echo "${ECHO_T}no" >&6
9294 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9295 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9297 # Check whether --enable-pnm or --disable-pnm was given.
9298 if test "${enable_pnm+set}" = set; then
9299 enableval="$enable_pnm"
9301 if test "$enableval" = yes; then
9302 ac_cv_use_pnm='wxUSE_PNM
=yes'
9304 ac_cv_use_pnm='wxUSE_PNM
=no
'
9309 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9310 if test "x$LINE" != x ; then
9311 eval "DEFAULT_$LINE"
9316 ac_cv_use_pnm='wxUSE_PNM
='$DEFAULT_wxUSE_PNM
9320 eval "$ac_cv_use_pnm"
9321 if test "$no_cache" != 1; then
9322 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9325 if test "$wxUSE_PNM" = yes; then
9326 echo "$as_me:$LINENO: result: yes" >&5
9327 echo "${ECHO_T}yes" >&6
9329 echo "$as_me:$LINENO: result: no" >&5
9330 echo "${ECHO_T}no" >&6
9335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9336 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9338 # Check whether --enable-xpm or --disable-xpm was given.
9339 if test "${enable_xpm+set}" = set; then
9340 enableval="$enable_xpm"
9342 if test "$enableval" = yes; then
9343 ac_cv_use_xpm='wxUSE_XPM
=yes'
9345 ac_cv_use_xpm='wxUSE_XPM
=no
'
9350 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9351 if test "x$LINE" != x ; then
9352 eval "DEFAULT_$LINE"
9357 ac_cv_use_xpm='wxUSE_XPM
='$DEFAULT_wxUSE_XPM
9361 eval "$ac_cv_use_xpm"
9362 if test "$no_cache" != 1; then
9363 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9366 if test "$wxUSE_XPM" = yes; then
9367 echo "$as_me:$LINENO: result: yes" >&5
9368 echo "${ECHO_T}yes" >&6
9370 echo "$as_me:$LINENO: result: no" >&5
9371 echo "${ECHO_T}no" >&6
9376 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9377 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9379 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9380 if test "${enable_ico_cur+set}" = set; then
9381 enableval="$enable_ico_cur"
9383 if test "$enableval" = yes; then
9384 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=yes'
9386 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=no
'
9391 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9392 if test "x$LINE" != x ; then
9393 eval "DEFAULT_$LINE"
9398 ac_cv_use_ico_cur='wxUSE_ICO_CUR
='$DEFAULT_wxUSE_ICO_CUR
9402 eval "$ac_cv_use_ico_cur"
9403 if test "$no_cache" != 1; then
9404 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9407 if test "$wxUSE_ICO_CUR" = yes; then
9408 echo "$as_me:$LINENO: result: yes" >&5
9409 echo "${ECHO_T}yes" >&6
9411 echo "$as_me:$LINENO: result: no" >&5
9412 echo "${ECHO_T}no" >&6
9421 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9422 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9424 # Check whether --enable-official_build or --disable-official_build was given.
9425 if test "${enable_official_build+set}" = set; then
9426 enableval="$enable_official_build"
9428 if test "$enableval" = yes; then
9429 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
9431 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
9436 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9437 if test "x$LINE" != x ; then
9438 eval "DEFAULT_$LINE"
9443 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
='$DEFAULT_wxUSE_OFFICIAL_BUILD
9447 eval "$ac_cv_use_official_build"
9448 if test "$no_cache" != 1; then
9449 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9452 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9453 echo "$as_me:$LINENO: result: yes" >&5
9454 echo "${ECHO_T}yes" >&6
9456 echo "$as_me:$LINENO: result: no" >&5
9457 echo "${ECHO_T}no" >&6
9460 # Check whether --enable-vendor or --disable-vendor was given.
9461 if test "${enable_vendor+set}" = set; then
9462 enableval="$enable_vendor"
9465 if test "x$VENDOR" = "x"; then
9470 *-pc-os2_emx | *-pc-os2-emx )
9480 echo "saving argument cache $wx_arg_cache_file"
9481 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9485 echo "$as_me:$LINENO: checking for toolkit" >&5
9486 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9488 # In Wine, we need to default to MSW, not GTK or MOTIF
9489 if test "$wxUSE_WINE" = "yes"; then
9490 DEFAULT_DEFAULT_wxUSE_GTK=0
9491 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9492 DEFAULT_DEFAULT_wxUSE_MSW=1
9495 if test "$wxUSE_GUI" = "yes"; then
9497 if test "$USE_BEOS" = 1; then
9498 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9499 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9500 { (exit 1); exit 1; }; }
9503 if test "$TOOLKIT_GIVEN" = 1; then
9504 for toolkit in `echo $ALL_TOOLKITS`; do
9506 eval "value=\$${var}"
9507 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9510 for toolkit in `echo $ALL_TOOLKITS`; do
9511 if test "$has_toolkit_in_cache" != 1; then
9512 var=DEFAULT_DEFAULT_wxUSE_$toolkit
9514 var=DEFAULT_wxUSE_$toolkit
9516 eval "wxUSE_$toolkit=\$${var}"
9520 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9521 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9522 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9525 *-pc-os2_emx | *-pc-os2-emx )
9526 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9529 case "$NUM_TOOLKITS" in
9533 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9534 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9535 { (exit 1); exit 1; }; }
9538 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9539 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9540 { (exit 1); exit 1; }; }
9543 for toolkit in `echo $ALL_TOOLKITS`; do
9545 eval "value=\$${var}"
9546 if test "x$value" != x; then
9547 cache_var=CACHE_$toolkit
9548 eval "cache=\$${cache_var}"
9549 if test "$cache" = 1; then
9550 echo "$var=$value" >> ${wx_arg_cache_file}
9552 if test "$value" = 1; then
9553 toolkit_echo=`echo $toolkit | tr [A-Z] [a-z]`
9554 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9555 echo "${ECHO_T}$toolkit_echo" >&6
9560 if test "x$host_alias" != "x"; then
9561 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9562 echo "${ECHO_T}base ($host_alias hosted) only" >&6
9564 echo "$as_me:$LINENO: result: base only" >&5
9565 echo "${ECHO_T}base only" >&6
9573 if test "$wxUSE_MSW" = 1 ; then
9584 if test "$wxUSE_WINE" = "yes"; then
9591 if test "$wants_win32" = 1 ; then
9594 cat >>confdefs.h <<\_ACEOF
9598 cat >>confdefs.h <<\_ACEOF
9602 cat >>confdefs.h <<\_ACEOF
9603 #define __WINDOWS__ 1
9606 cat >>confdefs.h <<\_ACEOF
9607 #define __GNUWIN32__ 1
9610 cat >>confdefs.h <<\_ACEOF
9614 cat >>confdefs.h <<\_ACEOF
9615 #define WINVER 0x0400
9619 if test "$doesnt_want_win32" = 1 ; then
9624 if test "$USE_UNIX" = 1 ; then
9626 cat >>confdefs.h <<\_ACEOF
9633 cat >confcache <<\_ACEOF
9634 # This file is a shell script that caches the results of configure
9635 # tests run on this system so they can be shared between configure
9636 # scripts and configure runs, see configure's option
--config-cache.
9637 # It is not useful on other systems. If it contains results you don't
9638 # want to keep, you may remove or edit it.
9640 # config.status only pays attention to the cache file if you give it
9641 # the --recheck option to rerun configure.
9643 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9644 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9649 # The following way of writing the cache mishandles newlines in values,
9650 # but we know of no workaround that is simple, portable, and efficient.
9651 # So, don't put newlines in cache variables' values.
9652 # Ultrix sh set writes to stderr and can't be redirected directly,
9653 # and sets the high bit in the cache file unless we assign to the vars.
9656 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9658 # `set' does not quote correctly, so add quotes (double-quote
9659 # substitution turns \\\\ into \\, and sed turns \\ into \).
9662 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9665 # `set' quotes correctly as required by POSIX, so do not add quotes.
9667 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9674 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9676 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9678 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
9679 if test -w $cache_file; then
9680 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9681 cat confcache
>$cache_file
9683 echo "not updating unwritable cache $cache_file"
9688 if test "$build" != "$host" ; then
9689 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
9693 RANLIB
=$host_alias-ranlib
9694 DLLTOOL
=$host_alias-dlltool
9695 RESCOMP
=$host_alias-windres
9698 STRIP
=$host_alias-strip
9700 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
9701 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
9702 { (exit 1); exit 1; }; }
9708 ac_cpp
='$CPP $CPPFLAGS'
9709 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9710 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9711 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9712 if test -n "$ac_tool_prefix"; then
9713 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9714 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
9715 echo "$as_me:$LINENO: checking for $ac_word" >&5
9716 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9717 if test "${ac_cv_prog_CC+set}" = set; then
9718 echo $ECHO_N "(cached) $ECHO_C" >&6
9720 if test -n "$CC"; then
9721 ac_cv_prog_CC
="$CC" # Let the user override the test.
9723 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9727 test -z "$as_dir" && as_dir
=.
9728 for ac_exec_ext
in '' $ac_executable_extensions; do
9729 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9730 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
9731 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9740 if test -n "$CC"; then
9741 echo "$as_me:$LINENO: result: $CC" >&5
9742 echo "${ECHO_T}$CC" >&6
9744 echo "$as_me:$LINENO: result: no" >&5
9745 echo "${ECHO_T}no" >&6
9749 if test -z "$ac_cv_prog_CC"; then
9751 # Extract the first word of "gcc", so it can be a program name with args.
9752 set dummy gcc
; ac_word
=$2
9753 echo "$as_me:$LINENO: checking for $ac_word" >&5
9754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9755 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9756 echo $ECHO_N "(cached) $ECHO_C" >&6
9758 if test -n "$ac_ct_CC"; then
9759 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
9761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9765 test -z "$as_dir" && as_dir
=.
9766 for ac_exec_ext
in '' $ac_executable_extensions; do
9767 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9768 ac_cv_prog_ac_ct_CC
="gcc"
9769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9777 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
9778 if test -n "$ac_ct_CC"; then
9779 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9780 echo "${ECHO_T}$ac_ct_CC" >&6
9782 echo "$as_me:$LINENO: result: no" >&5
9783 echo "${ECHO_T}no" >&6
9791 if test -z "$CC"; then
9792 if test -n "$ac_tool_prefix"; then
9793 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
9794 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
9795 echo "$as_me:$LINENO: checking for $ac_word" >&5
9796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9797 if test "${ac_cv_prog_CC+set}" = set; then
9798 echo $ECHO_N "(cached) $ECHO_C" >&6
9800 if test -n "$CC"; then
9801 ac_cv_prog_CC
="$CC" # Let the user override the test.
9803 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9807 test -z "$as_dir" && as_dir
=.
9808 for ac_exec_ext
in '' $ac_executable_extensions; do
9809 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9810 ac_cv_prog_CC
="${ac_tool_prefix}cc"
9811 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9820 if test -n "$CC"; then
9821 echo "$as_me:$LINENO: result: $CC" >&5
9822 echo "${ECHO_T}$CC" >&6
9824 echo "$as_me:$LINENO: result: no" >&5
9825 echo "${ECHO_T}no" >&6
9829 if test -z "$ac_cv_prog_CC"; then
9831 # Extract the first word of "cc", so it can be a program name with args.
9832 set dummy cc
; ac_word
=$2
9833 echo "$as_me:$LINENO: checking for $ac_word" >&5
9834 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9835 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9836 echo $ECHO_N "(cached) $ECHO_C" >&6
9838 if test -n "$ac_ct_CC"; then
9839 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
9841 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9845 test -z "$as_dir" && as_dir
=.
9846 for ac_exec_ext
in '' $ac_executable_extensions; do
9847 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9848 ac_cv_prog_ac_ct_CC
="cc"
9849 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9857 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
9858 if test -n "$ac_ct_CC"; then
9859 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9860 echo "${ECHO_T}$ac_ct_CC" >&6
9862 echo "$as_me:$LINENO: result: no" >&5
9863 echo "${ECHO_T}no" >&6
9872 if test -z "$CC"; then
9873 # Extract the first word of "cc", so it can be a program name with args.
9874 set dummy cc
; ac_word
=$2
9875 echo "$as_me:$LINENO: checking for $ac_word" >&5
9876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9877 if test "${ac_cv_prog_CC+set}" = set; then
9878 echo $ECHO_N "(cached) $ECHO_C" >&6
9880 if test -n "$CC"; then
9881 ac_cv_prog_CC
="$CC" # Let the user override the test.
9884 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9888 test -z "$as_dir" && as_dir
=.
9889 for ac_exec_ext
in '' $ac_executable_extensions; do
9890 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9891 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
9892 ac_prog_rejected
=yes
9896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9902 if test $ac_prog_rejected = yes; then
9903 # We found a bogon in the path, so make sure we never use it.
9904 set dummy
$ac_cv_prog_CC
9906 if test $# != 0; then
9907 # We chose a different compiler from the bogus one.
9908 # However, it has the same basename, so the bogon will be chosen
9909 # first if we set CC to just the basename; use the full file name.
9911 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
9917 if test -n "$CC"; then
9918 echo "$as_me:$LINENO: result: $CC" >&5
9919 echo "${ECHO_T}$CC" >&6
9921 echo "$as_me:$LINENO: result: no" >&5
9922 echo "${ECHO_T}no" >&6
9926 if test -z "$CC"; then
9927 if test -n "$ac_tool_prefix"; then
9930 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9931 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
9932 echo "$as_me:$LINENO: checking for $ac_word" >&5
9933 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9934 if test "${ac_cv_prog_CC+set}" = set; then
9935 echo $ECHO_N "(cached) $ECHO_C" >&6
9937 if test -n "$CC"; then
9938 ac_cv_prog_CC
="$CC" # Let the user override the test.
9940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9944 test -z "$as_dir" && as_dir
=.
9945 for ac_exec_ext
in '' $ac_executable_extensions; do
9946 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9947 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
9948 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9957 if test -n "$CC"; then
9958 echo "$as_me:$LINENO: result: $CC" >&5
9959 echo "${ECHO_T}$CC" >&6
9961 echo "$as_me:$LINENO: result: no" >&5
9962 echo "${ECHO_T}no" >&6
9965 test -n "$CC" && break
9968 if test -z "$CC"; then
9972 # Extract the first word of "$ac_prog", so it can be a program name with args.
9973 set dummy
$ac_prog; ac_word
=$2
9974 echo "$as_me:$LINENO: checking for $ac_word" >&5
9975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9976 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9977 echo $ECHO_N "(cached) $ECHO_C" >&6
9979 if test -n "$ac_ct_CC"; then
9980 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
9982 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9986 test -z "$as_dir" && as_dir
=.
9987 for ac_exec_ext
in '' $ac_executable_extensions; do
9988 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9989 ac_cv_prog_ac_ct_CC
="$ac_prog"
9990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9998 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
9999 if test -n "$ac_ct_CC"; then
10000 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10001 echo "${ECHO_T}$ac_ct_CC" >&6
10003 echo "$as_me:$LINENO: result: no" >&5
10004 echo "${ECHO_T}no" >&6
10007 test -n "$ac_ct_CC" && break
10016 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10017 See \`config.log' for more details." >&5
10018 echo "$as_me: error: no acceptable C compiler found in \$PATH
10019 See \`config.log' for more details." >&2;}
10020 { (exit 1); exit 1; }; }
10022 # Provide some information about the compiler.
10023 echo "$as_me:$LINENO:" \
10024 "checking for C compiler version" >&5
10025 ac_compiler
=`set X $ac_compile; echo $2`
10026 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10027 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10030 (exit $ac_status); }
10031 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10032 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10035 (exit $ac_status); }
10036 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10037 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10040 (exit $ac_status); }
10042 cat >conftest.
$ac_ext <<_ACEOF
10043 #line $LINENO "configure"
10046 cat confdefs.h
>>conftest.
$ac_ext
10047 cat >>conftest.
$ac_ext <<_ACEOF
10048 /* end confdefs.h. */
10058 ac_clean_files_save
=$ac_clean_files
10059 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
10060 # Try to create an executable without -o first, disregard a.out.
10061 # It will help us diagnose broken compilers, and finding out an intuition
10063 echo "$as_me:$LINENO: checking for C compiler default output" >&5
10064 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
10065 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10066 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10067 (eval $ac_link_default) 2>&5
10069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10070 (exit $ac_status); }; then
10071 # Find the output, starting from the most likely. This scheme is
10072 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10075 # Be careful to initialize this variable, since it used to be cached.
10076 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10078 # b.out is created by i960 compilers.
10079 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10081 test -f "$ac_file" || continue
10083 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10086 # This is the source file.
10089 # We found the default executable, but exeext='' is most
10093 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10094 # FIXME: I believe we export ac_cv_exeext for Libtool,
10095 # but it would be cool to find out if it's true. Does anybody
10096 # maintain Libtool? --akim.
10097 export ac_cv_exeext
10104 echo "$as_me: failed program was:" >&5
10105 sed 's/^/| /' conftest.
$ac_ext >&5
10107 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10108 See \`config.log' for more details." >&5
10109 echo "$as_me: error: C compiler cannot create executables
10110 See \`config.log' for more details." >&2;}
10111 { (exit 77); exit 77; }; }
10114 ac_exeext
=$ac_cv_exeext
10115 echo "$as_me:$LINENO: result: $ac_file" >&5
10116 echo "${ECHO_T}$ac_file" >&6
10118 # Check the compiler produces executables we can run. If not, either
10119 # the compiler is broken, or we cross compile.
10120 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10121 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10122 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10123 # If not cross compiling, check that we can run a simple program.
10124 if test "$cross_compiling" != yes; then
10125 if { ac_try
='./$ac_file'
10126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10127 (eval $ac_try) 2>&5
10129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10130 (exit $ac_status); }; }; then
10133 if test "$cross_compiling" = maybe
; then
10134 cross_compiling
=yes
10136 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10137 If you meant to cross compile, use \`--host'.
10138 See \`config.log' for more details." >&5
10139 echo "$as_me: error: cannot run C compiled programs.
10140 If you meant to cross compile, use \`--host'.
10141 See \`config.log' for more details." >&2;}
10142 { (exit 1); exit 1; }; }
10146 echo "$as_me:$LINENO: result: yes" >&5
10147 echo "${ECHO_T}yes" >&6
10149 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
10150 ac_clean_files
=$ac_clean_files_save
10151 # Check the compiler produces executables we can run. If not, either
10152 # the compiler is broken, or we cross compile.
10153 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10154 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10155 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10156 echo "${ECHO_T}$cross_compiling" >&6
10158 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10159 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10161 (eval $ac_link) 2>&5
10163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10164 (exit $ac_status); }; then
10165 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10166 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10167 # work properly (i.e., refer to `conftest.exe'), while it won't with
10169 for ac_file
in conftest.exe conftest conftest.
*; do
10170 test -f "$ac_file" || continue
10172 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
10173 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10174 export ac_cv_exeext
10180 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10181 See \`config.log' for more details." >&5
10182 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10183 See \`config.log' for more details." >&2;}
10184 { (exit 1); exit 1; }; }
10187 rm -f conftest
$ac_cv_exeext
10188 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10189 echo "${ECHO_T}$ac_cv_exeext" >&6
10191 rm -f conftest.
$ac_ext
10192 EXEEXT
=$ac_cv_exeext
10194 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10195 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10196 if test "${ac_cv_objext+set}" = set; then
10197 echo $ECHO_N "(cached) $ECHO_C" >&6
10199 cat >conftest.
$ac_ext <<_ACEOF
10200 #line $LINENO "configure"
10203 cat confdefs.h
>>conftest.
$ac_ext
10204 cat >>conftest.
$ac_ext <<_ACEOF
10205 /* end confdefs.h. */
10215 rm -f conftest.o conftest.obj
10216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10217 (eval $ac_compile) 2>&5
10219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10220 (exit $ac_status); }; then
10221 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10223 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
10224 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
10229 echo "$as_me: failed program was:" >&5
10230 sed 's/^/| /' conftest.
$ac_ext >&5
10232 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10233 See \`config.log' for more details." >&5
10234 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10235 See \`config.log' for more details." >&2;}
10236 { (exit 1); exit 1; }; }
10239 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
10241 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10242 echo "${ECHO_T}$ac_cv_objext" >&6
10243 OBJEXT
=$ac_cv_objext
10245 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10246 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10247 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10248 echo $ECHO_N "(cached) $ECHO_C" >&6
10250 cat >conftest.
$ac_ext <<_ACEOF
10251 #line $LINENO "configure"
10254 cat confdefs.h
>>conftest.
$ac_ext
10255 cat >>conftest.
$ac_ext <<_ACEOF
10256 /* end confdefs.h. */
10269 rm -f conftest.
$ac_objext
10270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10271 (eval $ac_compile) 2>&5
10273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10274 (exit $ac_status); } &&
10275 { ac_try
='test -s conftest.$ac_objext'
10276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10277 (eval $ac_try) 2>&5
10279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10280 (exit $ac_status); }; }; then
10281 ac_compiler_gnu
=yes
10283 echo "$as_me: failed program was:" >&5
10284 sed 's/^/| /' conftest.
$ac_ext >&5
10288 rm -f conftest.
$ac_objext conftest.
$ac_ext
10289 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
10292 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10293 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10294 GCC
=`test $ac_compiler_gnu = yes && echo yes`
10295 ac_test_CFLAGS
=${CFLAGS+set}
10296 ac_save_CFLAGS
=$CFLAGS
10298 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10299 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10300 if test "${ac_cv_prog_cc_g+set}" = set; then
10301 echo $ECHO_N "(cached) $ECHO_C" >&6
10303 cat >conftest.
$ac_ext <<_ACEOF
10304 #line $LINENO "configure"
10307 cat confdefs.h
>>conftest.
$ac_ext
10308 cat >>conftest.
$ac_ext <<_ACEOF
10309 /* end confdefs.h. */
10319 rm -f conftest.
$ac_objext
10320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10321 (eval $ac_compile) 2>&5
10323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10324 (exit $ac_status); } &&
10325 { ac_try
='test -s conftest.$ac_objext'
10326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10327 (eval $ac_try) 2>&5
10329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10330 (exit $ac_status); }; }; then
10331 ac_cv_prog_cc_g
=yes
10333 echo "$as_me: failed program was:" >&5
10334 sed 's/^/| /' conftest.
$ac_ext >&5
10338 rm -f conftest.
$ac_objext conftest.
$ac_ext
10340 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10341 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10342 if test "$ac_test_CFLAGS" = set; then
10343 CFLAGS
=$ac_save_CFLAGS
10344 elif test $ac_cv_prog_cc_g = yes; then
10345 if test "$GCC" = yes; then
10351 if test "$GCC" = yes; then
10357 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10358 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10359 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10360 echo $ECHO_N "(cached) $ECHO_C" >&6
10362 ac_cv_prog_cc_stdc
=no
10364 cat >conftest.
$ac_ext <<_ACEOF
10365 #line $LINENO "configure"
10368 cat confdefs.h
>>conftest.
$ac_ext
10369 cat >>conftest.
$ac_ext <<_ACEOF
10370 /* end confdefs.h. */
10371 #include <stdarg.h>
10373 #include <sys/types.h>
10374 #include <sys/stat.h>
10375 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10376 struct buf { int x; };
10377 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10378 static char *e (p, i)
10384 static char *f (char * (*g) (char **, int), char **p, ...)
10389 s = g (p, va_arg (v,int));
10393 int test (int i, double x);
10394 struct s1 {int (*f) (int a);};
10395 struct s2 {int (*f) (double a);};
10396 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10402 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10407 # Don't try gcc -ansi; that turns off useful extensions and
10408 # breaks some systems' header files.
10409 # AIX -qlanglvl=ansi
10410 # Ultrix and OSF/1 -std1
10411 # HP-UX 10.20 and later -Ae
10412 # HP-UX older versions -Aa -D_HPUX_SOURCE
10413 # SVR4 -Xc -D__EXTENSIONS__
10414 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10416 CC
="$ac_save_CC $ac_arg"
10417 rm -f conftest.
$ac_objext
10418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10419 (eval $ac_compile) 2>&5
10421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10422 (exit $ac_status); } &&
10423 { ac_try
='test -s conftest.$ac_objext'
10424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10425 (eval $ac_try) 2>&5
10427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10428 (exit $ac_status); }; }; then
10429 ac_cv_prog_cc_stdc
=$ac_arg
10432 echo "$as_me: failed program was:" >&5
10433 sed 's/^/| /' conftest.
$ac_ext >&5
10436 rm -f conftest.
$ac_objext
10438 rm -f conftest.
$ac_ext conftest.
$ac_objext
10443 case "x$ac_cv_prog_cc_stdc" in
10445 echo "$as_me:$LINENO: result: none needed" >&5
10446 echo "${ECHO_T}none needed" >&6 ;;
10448 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10449 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10450 CC
="$CC $ac_cv_prog_cc_stdc" ;;
10453 # Some people use a C++ compiler to compile C. Since we use `exit',
10454 # in C++ we need to declare it. In case someone uses the same compiler
10455 # for both compiling C and C++ we need to have the C++ compiler decide
10456 # the declaration of exit, since it's the most demanding environment.
10457 cat >conftest.
$ac_ext <<_ACEOF
10458 #ifndef __cplusplus
10462 rm -f conftest.
$ac_objext
10463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10464 (eval $ac_compile) 2>&5
10466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10467 (exit $ac_status); } &&
10468 { ac_try
='test -s conftest.$ac_objext'
10469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10470 (eval $ac_try) 2>&5
10472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10473 (exit $ac_status); }; }; then
10474 for ac_declaration
in \
10476 '#include <stdlib.h>' \
10477 'extern "C" void std::exit (int) throw (); using std::exit;' \
10478 'extern "C" void std::exit (int); using std::exit;' \
10479 'extern "C" void exit (int) throw ();' \
10480 'extern "C" void exit (int);' \
10483 cat >conftest.
$ac_ext <<_ACEOF
10484 #line $LINENO "configure"
10487 cat confdefs.h
>>conftest.
$ac_ext
10488 cat >>conftest.
$ac_ext <<_ACEOF
10489 /* end confdefs.h. */
10490 #include <stdlib.h>
10500 rm -f conftest.
$ac_objext
10501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10502 (eval $ac_compile) 2>&5
10504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10505 (exit $ac_status); } &&
10506 { ac_try
='test -s conftest.$ac_objext'
10507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10508 (eval $ac_try) 2>&5
10510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10511 (exit $ac_status); }; }; then
10514 echo "$as_me: failed program was:" >&5
10515 sed 's/^/| /' conftest.
$ac_ext >&5
10519 rm -f conftest.
$ac_objext conftest.
$ac_ext
10520 cat >conftest.
$ac_ext <<_ACEOF
10521 #line $LINENO "configure"
10524 cat confdefs.h
>>conftest.
$ac_ext
10525 cat >>conftest.
$ac_ext <<_ACEOF
10526 /* end confdefs.h. */
10536 rm -f conftest.
$ac_objext
10537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10538 (eval $ac_compile) 2>&5
10540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10541 (exit $ac_status); } &&
10542 { ac_try
='test -s conftest.$ac_objext'
10543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10544 (eval $ac_try) 2>&5
10546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10547 (exit $ac_status); }; }; then
10550 echo "$as_me: failed program was:" >&5
10551 sed 's/^/| /' conftest.
$ac_ext >&5
10554 rm -f conftest.
$ac_objext conftest.
$ac_ext
10557 if test -n "$ac_declaration"; then
10558 echo '#ifdef __cplusplus' >>confdefs.h
10559 echo $ac_declaration >>confdefs.h
10560 echo '#endif' >>confdefs.h
10564 echo "$as_me: failed program was:" >&5
10565 sed 's/^/| /' conftest.
$ac_ext >&5
10568 rm -f conftest.
$ac_objext conftest.
$ac_ext
10570 ac_cpp
='$CPP $CPPFLAGS'
10571 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10572 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10573 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10578 ac_cpp
='$CPP $CPPFLAGS'
10579 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10580 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10581 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10582 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10583 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10584 # On Suns, sometimes $CPP names a directory.
10585 if test -n "$CPP" && test -d "$CPP"; then
10588 if test -z "$CPP"; then
10589 if test "${ac_cv_prog_CPP+set}" = set; then
10590 echo $ECHO_N "(cached) $ECHO_C" >&6
10592 # Double quotes because CPP needs to be expanded
10593 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10595 ac_preproc_ok
=false
10596 for ac_c_preproc_warn_flag
in '' yes
10598 # Use a header file that comes with gcc, so configuring glibc
10599 # with a fresh cross-compiler works.
10600 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10601 # <limits.h> exists even on freestanding compilers.
10602 # On the NeXT, cc -E runs the code through the compiler's parser,
10603 # not just through cpp. "Syntax error" is here to catch this case.
10604 cat >conftest.
$ac_ext <<_ACEOF
10605 #line $LINENO "configure"
10608 cat confdefs.h
>>conftest.
$ac_ext
10609 cat >>conftest.
$ac_ext <<_ACEOF
10610 /* end confdefs.h. */
10612 # include <limits.h>
10614 # include <assert.h>
10618 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10619 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10621 grep -v '^ *+' conftest.er1
>conftest.err
10623 cat conftest.err
>&5
10624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10625 (exit $ac_status); } >/dev
/null
; then
10626 if test -s conftest.err
; then
10627 ac_cpp_err
=$ac_c_preproc_warn_flag
10634 if test -z "$ac_cpp_err"; then
10637 echo "$as_me: failed program was:" >&5
10638 sed 's/^/| /' conftest.
$ac_ext >&5
10640 # Broken: fails on valid input.
10643 rm -f conftest.err conftest.
$ac_ext
10645 # OK, works on sane cases. Now check whether non-existent headers
10646 # can be detected and how.
10647 cat >conftest.
$ac_ext <<_ACEOF
10648 #line $LINENO "configure"
10651 cat confdefs.h
>>conftest.
$ac_ext
10652 cat >>conftest.
$ac_ext <<_ACEOF
10653 /* end confdefs.h. */
10654 #include <ac_nonexistent.h>
10656 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10657 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10659 grep -v '^ *+' conftest.er1
>conftest.err
10661 cat conftest.err
>&5
10662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10663 (exit $ac_status); } >/dev
/null
; then
10664 if test -s conftest.err
; then
10665 ac_cpp_err
=$ac_c_preproc_warn_flag
10672 if test -z "$ac_cpp_err"; then
10673 # Broken: success on invalid input.
10676 echo "$as_me: failed program was:" >&5
10677 sed 's/^/| /' conftest.
$ac_ext >&5
10679 # Passes both tests.
10683 rm -f conftest.err conftest.
$ac_ext
10686 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10687 rm -f conftest.err conftest.
$ac_ext
10688 if $ac_preproc_ok; then
10693 ac_cv_prog_CPP
=$CPP
10696 CPP
=$ac_cv_prog_CPP
10698 ac_cv_prog_CPP
=$CPP
10700 echo "$as_me:$LINENO: result: $CPP" >&5
10701 echo "${ECHO_T}$CPP" >&6
10702 ac_preproc_ok
=false
10703 for ac_c_preproc_warn_flag
in '' yes
10705 # Use a header file that comes with gcc, so configuring glibc
10706 # with a fresh cross-compiler works.
10707 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10708 # <limits.h> exists even on freestanding compilers.
10709 # On the NeXT, cc -E runs the code through the compiler's parser,
10710 # not just through cpp. "Syntax error" is here to catch this case.
10711 cat >conftest.
$ac_ext <<_ACEOF
10712 #line $LINENO "configure"
10715 cat confdefs.h
>>conftest.
$ac_ext
10716 cat >>conftest.
$ac_ext <<_ACEOF
10717 /* end confdefs.h. */
10719 # include <limits.h>
10721 # include <assert.h>
10725 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10726 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10728 grep -v '^ *+' conftest.er1
>conftest.err
10730 cat conftest.err
>&5
10731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10732 (exit $ac_status); } >/dev
/null
; then
10733 if test -s conftest.err
; then
10734 ac_cpp_err
=$ac_c_preproc_warn_flag
10741 if test -z "$ac_cpp_err"; then
10744 echo "$as_me: failed program was:" >&5
10745 sed 's/^/| /' conftest.
$ac_ext >&5
10747 # Broken: fails on valid input.
10750 rm -f conftest.err conftest.
$ac_ext
10752 # OK, works on sane cases. Now check whether non-existent headers
10753 # can be detected and how.
10754 cat >conftest.
$ac_ext <<_ACEOF
10755 #line $LINENO "configure"
10758 cat confdefs.h
>>conftest.
$ac_ext
10759 cat >>conftest.
$ac_ext <<_ACEOF
10760 /* end confdefs.h. */
10761 #include <ac_nonexistent.h>
10763 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10764 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10766 grep -v '^ *+' conftest.er1
>conftest.err
10768 cat conftest.err
>&5
10769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10770 (exit $ac_status); } >/dev
/null
; then
10771 if test -s conftest.err
; then
10772 ac_cpp_err
=$ac_c_preproc_warn_flag
10779 if test -z "$ac_cpp_err"; then
10780 # Broken: success on invalid input.
10783 echo "$as_me: failed program was:" >&5
10784 sed 's/^/| /' conftest.
$ac_ext >&5
10786 # Passes both tests.
10790 rm -f conftest.err conftest.
$ac_ext
10793 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10794 rm -f conftest.err conftest.
$ac_ext
10795 if $ac_preproc_ok; then
10798 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
10799 See \`config.log' for more details." >&5
10800 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
10801 See \`config.log' for more details." >&2;}
10802 { (exit 1); exit 1; }; }
10806 ac_cpp
='$CPP $CPPFLAGS'
10807 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10808 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10809 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10812 echo "$as_me:$LINENO: checking for egrep" >&5
10813 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
10814 if test "${ac_cv_prog_egrep+set}" = set; then
10815 echo $ECHO_N "(cached) $ECHO_C" >&6
10817 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
10818 then ac_cv_prog_egrep
='grep -E'
10819 else ac_cv_prog_egrep
='egrep'
10822 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
10823 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
10824 EGREP
=$ac_cv_prog_egrep
10827 if test $ac_cv_c_compiler_gnu = yes; then
10828 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
10829 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
10830 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
10831 echo $ECHO_N "(cached) $ECHO_C" >&6
10833 ac_pattern
="Autoconf.*'x'"
10834 cat >conftest.
$ac_ext <<_ACEOF
10835 #line $LINENO "configure"
10838 cat confdefs.h
>>conftest.
$ac_ext
10839 cat >>conftest.
$ac_ext <<_ACEOF
10840 /* end confdefs.h. */
10844 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10845 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
10846 ac_cv_prog_gcc_traditional
=yes
10848 ac_cv_prog_gcc_traditional
=no
10853 if test $ac_cv_prog_gcc_traditional = no
; then
10854 cat >conftest.
$ac_ext <<_ACEOF
10855 #line $LINENO "configure"
10858 cat confdefs.h
>>conftest.
$ac_ext
10859 cat >>conftest.
$ac_ext <<_ACEOF
10860 /* end confdefs.h. */
10861 #include <termio.h>
10864 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10865 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
10866 ac_cv_prog_gcc_traditional
=yes
10872 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
10873 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
10874 if test $ac_cv_prog_gcc_traditional = yes; then
10875 CC
="$CC -traditional"
10883 ac_cpp
='$CXXCPP $CPPFLAGS'
10884 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10885 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10886 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10889 CXXFLAGS
=${CXXFLAGS:=}
10891 ac_cpp
='$CXXCPP $CPPFLAGS'
10892 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10893 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10894 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10895 if test -n "$ac_tool_prefix"; then
10896 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
10898 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10899 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10900 echo "$as_me:$LINENO: checking for $ac_word" >&5
10901 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10902 if test "${ac_cv_prog_CXX+set}" = set; then
10903 echo $ECHO_N "(cached) $ECHO_C" >&6
10905 if test -n "$CXX"; then
10906 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
10908 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10909 for as_dir
in $PATH
10912 test -z "$as_dir" && as_dir
=.
10913 for ac_exec_ext
in '' $ac_executable_extensions; do
10914 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10915 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
10916 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10924 CXX
=$ac_cv_prog_CXX
10925 if test -n "$CXX"; then
10926 echo "$as_me:$LINENO: result: $CXX" >&5
10927 echo "${ECHO_T}$CXX" >&6
10929 echo "$as_me:$LINENO: result: no" >&5
10930 echo "${ECHO_T}no" >&6
10933 test -n "$CXX" && break
10936 if test -z "$CXX"; then
10938 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
10940 # Extract the first word of "$ac_prog", so it can be a program name with args.
10941 set dummy
$ac_prog; ac_word
=$2
10942 echo "$as_me:$LINENO: checking for $ac_word" >&5
10943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10944 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
10945 echo $ECHO_N "(cached) $ECHO_C" >&6
10947 if test -n "$ac_ct_CXX"; then
10948 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
10950 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10951 for as_dir
in $PATH
10954 test -z "$as_dir" && as_dir
=.
10955 for ac_exec_ext
in '' $ac_executable_extensions; do
10956 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10957 ac_cv_prog_ac_ct_CXX
="$ac_prog"
10958 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10966 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
10967 if test -n "$ac_ct_CXX"; then
10968 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
10969 echo "${ECHO_T}$ac_ct_CXX" >&6
10971 echo "$as_me:$LINENO: result: no" >&5
10972 echo "${ECHO_T}no" >&6
10975 test -n "$ac_ct_CXX" && break
10977 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
10983 # Provide some information about the compiler.
10984 echo "$as_me:$LINENO:" \
10985 "checking for C++ compiler version" >&5
10986 ac_compiler
=`set X $ac_compile; echo $2`
10987 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10988 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10991 (exit $ac_status); }
10992 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10993 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10996 (exit $ac_status); }
10997 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10998 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11001 (exit $ac_status); }
11003 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11004 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11005 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11006 echo $ECHO_N "(cached) $ECHO_C" >&6
11008 cat >conftest.
$ac_ext <<_ACEOF
11009 #line $LINENO "configure"
11012 cat confdefs.h
>>conftest.
$ac_ext
11013 cat >>conftest.
$ac_ext <<_ACEOF
11014 /* end confdefs.h. */
11027 rm -f conftest.
$ac_objext
11028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11029 (eval $ac_compile) 2>&5
11031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11032 (exit $ac_status); } &&
11033 { ac_try
='test -s conftest.$ac_objext'
11034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11035 (eval $ac_try) 2>&5
11037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11038 (exit $ac_status); }; }; then
11039 ac_compiler_gnu
=yes
11041 echo "$as_me: failed program was:" >&5
11042 sed 's/^/| /' conftest.
$ac_ext >&5
11046 rm -f conftest.
$ac_objext conftest.
$ac_ext
11047 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11050 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11051 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11052 GXX
=`test $ac_compiler_gnu = yes && echo yes`
11053 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11054 ac_save_CXXFLAGS
=$CXXFLAGS
11056 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11057 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11058 if test "${ac_cv_prog_cxx_g+set}" = set; then
11059 echo $ECHO_N "(cached) $ECHO_C" >&6
11061 cat >conftest.
$ac_ext <<_ACEOF
11062 #line $LINENO "configure"
11065 cat confdefs.h
>>conftest.
$ac_ext
11066 cat >>conftest.
$ac_ext <<_ACEOF
11067 /* end confdefs.h. */
11077 rm -f conftest.
$ac_objext
11078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11079 (eval $ac_compile) 2>&5
11081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11082 (exit $ac_status); } &&
11083 { ac_try
='test -s conftest.$ac_objext'
11084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11085 (eval $ac_try) 2>&5
11087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11088 (exit $ac_status); }; }; then
11089 ac_cv_prog_cxx_g
=yes
11091 echo "$as_me: failed program was:" >&5
11092 sed 's/^/| /' conftest.
$ac_ext >&5
11094 ac_cv_prog_cxx_g
=no
11096 rm -f conftest.
$ac_objext conftest.
$ac_ext
11098 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11099 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11100 if test "$ac_test_CXXFLAGS" = set; then
11101 CXXFLAGS
=$ac_save_CXXFLAGS
11102 elif test $ac_cv_prog_cxx_g = yes; then
11103 if test "$GXX" = yes; then
11109 if test "$GXX" = yes; then
11115 for ac_declaration
in \
11117 '#include <stdlib.h>' \
11118 'extern "C" void std::exit (int) throw (); using std::exit;' \
11119 'extern "C" void std::exit (int); using std::exit;' \
11120 'extern "C" void exit (int) throw ();' \
11121 'extern "C" void exit (int);' \
11124 cat >conftest.
$ac_ext <<_ACEOF
11125 #line $LINENO "configure"
11128 cat confdefs.h
>>conftest.
$ac_ext
11129 cat >>conftest.
$ac_ext <<_ACEOF
11130 /* end confdefs.h. */
11131 #include <stdlib.h>
11141 rm -f conftest.
$ac_objext
11142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11143 (eval $ac_compile) 2>&5
11145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11146 (exit $ac_status); } &&
11147 { ac_try
='test -s conftest.$ac_objext'
11148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11149 (eval $ac_try) 2>&5
11151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11152 (exit $ac_status); }; }; then
11155 echo "$as_me: failed program was:" >&5
11156 sed 's/^/| /' conftest.
$ac_ext >&5
11160 rm -f conftest.
$ac_objext conftest.
$ac_ext
11161 cat >conftest.
$ac_ext <<_ACEOF
11162 #line $LINENO "configure"
11165 cat confdefs.h
>>conftest.
$ac_ext
11166 cat >>conftest.
$ac_ext <<_ACEOF
11167 /* end confdefs.h. */
11177 rm -f conftest.
$ac_objext
11178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11179 (eval $ac_compile) 2>&5
11181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11182 (exit $ac_status); } &&
11183 { ac_try
='test -s conftest.$ac_objext'
11184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11185 (eval $ac_try) 2>&5
11187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11188 (exit $ac_status); }; }; then
11191 echo "$as_me: failed program was:" >&5
11192 sed 's/^/| /' conftest.
$ac_ext >&5
11195 rm -f conftest.
$ac_objext conftest.
$ac_ext
11198 if test -n "$ac_declaration"; then
11199 echo '#ifdef __cplusplus' >>confdefs.h
11200 echo $ac_declaration >>confdefs.h
11201 echo '#endif' >>confdefs.h
11205 ac_cpp
='$CXXCPP $CPPFLAGS'
11206 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11207 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11208 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11212 ac_cpp
='$CPP $CPPFLAGS'
11213 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11214 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11215 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11218 if test -n "$ac_tool_prefix"; then
11219 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11220 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
11221 echo "$as_me:$LINENO: checking for $ac_word" >&5
11222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11223 if test "${ac_cv_prog_RANLIB+set}" = set; then
11224 echo $ECHO_N "(cached) $ECHO_C" >&6
11226 if test -n "$RANLIB"; then
11227 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
11229 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11230 for as_dir
in $PATH
11233 test -z "$as_dir" && as_dir
=.
11234 for ac_exec_ext
in '' $ac_executable_extensions; do
11235 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11236 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
11237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11245 RANLIB
=$ac_cv_prog_RANLIB
11246 if test -n "$RANLIB"; then
11247 echo "$as_me:$LINENO: result: $RANLIB" >&5
11248 echo "${ECHO_T}$RANLIB" >&6
11250 echo "$as_me:$LINENO: result: no" >&5
11251 echo "${ECHO_T}no" >&6
11255 if test -z "$ac_cv_prog_RANLIB"; then
11256 ac_ct_RANLIB
=$RANLIB
11257 # Extract the first word of "ranlib", so it can be a program name with args.
11258 set dummy ranlib
; ac_word
=$2
11259 echo "$as_me:$LINENO: checking for $ac_word" >&5
11260 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11261 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11262 echo $ECHO_N "(cached) $ECHO_C" >&6
11264 if test -n "$ac_ct_RANLIB"; then
11265 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
11267 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11268 for as_dir
in $PATH
11271 test -z "$as_dir" && as_dir
=.
11272 for ac_exec_ext
in '' $ac_executable_extensions; do
11273 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11274 ac_cv_prog_ac_ct_RANLIB
="ranlib"
11275 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11281 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
11284 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
11285 if test -n "$ac_ct_RANLIB"; then
11286 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11287 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11289 echo "$as_me:$LINENO: result: no" >&5
11290 echo "${ECHO_T}no" >&6
11293 RANLIB
=$ac_ct_RANLIB
11295 RANLIB
="$ac_cv_prog_RANLIB"
11299 # Extract the first word of "ar", so it can be a program name with args.
11300 set dummy
ar; ac_word
=$2
11301 echo "$as_me:$LINENO: checking for $ac_word" >&5
11302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11303 if test "${ac_cv_prog_AR+set}" = set; then
11304 echo $ECHO_N "(cached) $ECHO_C" >&6
11306 if test -n "$AR"; then
11307 ac_cv_prog_AR
="$AR" # Let the user override the test.
11309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11310 for as_dir
in $PATH
11313 test -z "$as_dir" && as_dir
=.
11314 for ac_exec_ext
in '' $ac_executable_extensions; do
11315 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11326 if test -n "$AR"; then
11327 echo "$as_me:$LINENO: result: $AR" >&5
11328 echo "${ECHO_T}$AR" >&6
11330 echo "$as_me:$LINENO: result: no" >&5
11331 echo "${ECHO_T}no" >&6
11334 if test "x$AR" = "x" ; then
11335 { { echo "$as_me:$LINENO: error: ar is needed to build wxWindows" >&5
11336 echo "$as_me: error: ar is needed to build wxWindows" >&2;}
11337 { (exit 1); exit 1; }; }
11340 # Find a good install program. We prefer a C program (faster),
11341 # so one script is as good as another. But avoid the broken or
11342 # incompatible versions:
11343 # SysV /etc/install, /usr/sbin/install
11344 # SunOS /usr/etc/install
11345 # IRIX /sbin/install
11347 # AmigaOS /C/install, which installs bootblocks on floppy discs
11348 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11349 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11350 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11351 # ./install, which can be erroneously created by make from ./install.sh.
11352 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11353 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11354 if test -z "$INSTALL"; then
11355 if test "${ac_cv_path_install+set}" = set; then
11356 echo $ECHO_N "(cached) $ECHO_C" >&6
11358 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11359 for as_dir
in $PATH
11362 test -z "$as_dir" && as_dir
=.
11363 # Account for people who put trailing slashes in PATH elements.
11365 .
/ | .
// | /cC
/* | \
11366 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
11369 # OSF1 and SCO ODT 3.0 have their own names for install.
11370 # Don't use installbsd from OSF since it installs stuff as root
11372 for ac_prog
in ginstall scoinst
install; do
11373 for ac_exec_ext
in '' $ac_executable_extensions; do
11374 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11375 if test $ac_prog = install &&
11376 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11377 # AIX install. It has an incompatible calling convention.
11379 elif test $ac_prog = install &&
11380 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11381 # program-specific install script used by HP pwplus--don't use.
11384 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
11396 if test "${ac_cv_path_install+set}" = set; then
11397 INSTALL
=$ac_cv_path_install
11399 # As a last resort, use the slow shell script. We don't cache a
11400 # path for INSTALL within a source directory, because that will
11401 # break other packages using the cache if that directory is
11402 # removed, or if the path is relative.
11403 INSTALL
=$ac_install_sh
11406 echo "$as_me:$LINENO: result: $INSTALL" >&5
11407 echo "${ECHO_T}$INSTALL" >&6
11409 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11410 # It thinks the first close brace ends the variable substitution.
11411 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
11413 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
11415 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
11421 ?
:* ) # Drive letter, considered as absolute.
11424 INSTALL
=`pwd`/${INSTALL} ;;
11429 INSTALL_DIR
="mkdir"
11432 *) INSTALL_DIR
="$INSTALL -d"
11439 powerpc
-*-darwin* )
11440 INSTALL_PROGRAM
="cp -fp"
11441 INSTALL_DATA
="cp -fp"
11447 # Extract the first word of "strip", so it can be a program name with args.
11448 set dummy strip
; ac_word
=$2
11449 echo "$as_me:$LINENO: checking for $ac_word" >&5
11450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11451 if test "${ac_cv_prog_STRIP+set}" = set; then
11452 echo $ECHO_N "(cached) $ECHO_C" >&6
11454 if test -n "$STRIP"; then
11455 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
11457 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11458 for as_dir
in $PATH
11461 test -z "$as_dir" && as_dir
=.
11462 for ac_exec_ext
in '' $ac_executable_extensions; do
11463 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11464 ac_cv_prog_STRIP
="strip"
11465 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11471 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
11474 STRIP
=$ac_cv_prog_STRIP
11475 if test -n "$STRIP"; then
11476 echo "$as_me:$LINENO: result: $STRIP" >&5
11477 echo "${ECHO_T}$STRIP" >&6
11479 echo "$as_me:$LINENO: result: no" >&5
11480 echo "${ECHO_T}no" >&6
11484 echo "$as_me:$LINENO: checking if make is GNU make" >&5
11485 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11486 if test "${wx_cv_prog_makeisgnu+set}" = set; then
11487 echo $ECHO_N "(cached) $ECHO_C" >&6
11490 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
11491 egrep -s GNU
> /dev
/null
); then
11492 wx_cv_prog_makeisgnu
="yes"
11494 wx_cv_prog_makeisgnu
="no"
11498 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11499 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11501 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11509 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11510 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11511 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11512 if test "${wx_cv_prog_makevpath+set}" = set; then
11513 echo $ECHO_N "(cached) $ECHO_C" >&6
11516 cat - << EOF > confMake
11522 if test ! -d sub
; then
11525 echo dummy
> sub
/file
11526 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
11528 rm -f sub
/file check final_file confMake
11530 if test "$RESULT" = 0; then
11531 wx_cv_prog_makevpath
="yes"
11533 wx_cv_prog_makevpath
="no"
11537 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11538 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11540 if test "x$wx_cv_prog_makevpath" != "xyes"; then
11541 { { echo "$as_me:$LINENO: error:
11542 You need a make-utility that is able to use the variable
11544 If your version of make does not support VPATH correctly,
11545 please install GNU-make (possibly as gmake), and start
11546 configure with the following command:
11547 export MAKE=gmake; ./configure for sh-type shells
11548 setenv MAKE gmake; ./configure for csh-type shells
11549 Also please do remember to use gmake in this case every time
11550 you are trying to compile.
11552 echo "$as_me: error:
11553 You need a make-utility that is able to use the variable
11555 If your version of make does not support VPATH correctly,
11556 please install GNU-make (possibly as gmake), and start
11557 configure with the following command:
11558 export MAKE=gmake; ./configure for sh-type shells
11559 setenv MAKE gmake; ./configure for csh-type shells
11560 Also please do remember to use gmake in this case every time
11561 you are trying to compile.
11563 { (exit 1); exit 1; }; }
11565 echo "$as_me:$LINENO: checking whether ln -s works" >&5
11566 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11568 if test "$LN_S" = "ln -s"; then
11569 echo "$as_me:$LINENO: result: yes" >&5
11570 echo "${ECHO_T}yes" >&6
11572 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11573 echo "${ECHO_T}no, using $LN_S" >&6
11578 *-pc-os2_emx | *-pc-os2-emx )
11579 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11580 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11581 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11582 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11583 echo $ECHO_N "(cached) $ECHO_C" >&6
11585 ac_check_lib_save_LIBS
=$LIBS
11586 LIBS
="-lcExt $LIBS"
11587 cat >conftest.
$ac_ext <<_ACEOF
11588 #line $LINENO "configure"
11591 cat confdefs.h
>>conftest.
$ac_ext
11592 cat >>conftest.
$ac_ext <<_ACEOF
11593 /* end confdefs.h. */
11595 /* Override any gcc2 internal prototype to avoid an error. */
11599 /* We use char because int might match the return type of a gcc2
11600 builtin and then its argument prototype would still apply. */
11610 rm -f conftest.
$ac_objext conftest
$ac_exeext
11611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11612 (eval $ac_link) 2>&5
11614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11615 (exit $ac_status); } &&
11616 { ac_try
='test -s conftest$ac_exeext'
11617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11618 (eval $ac_try) 2>&5
11620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11621 (exit $ac_status); }; }; then
11622 ac_cv_lib_cExt_drand48
=yes
11624 echo "$as_me: failed program was:" >&5
11625 sed 's/^/| /' conftest.
$ac_ext >&5
11627 ac_cv_lib_cExt_drand48
=no
11629 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11630 LIBS
=$ac_check_lib_save_LIBS
11632 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
11633 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
11634 if test $ac_cv_lib_cExt_drand48 = yes; then
11635 LIBS
="$LIBS -lcExt"
11639 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
11645 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
11646 echo "$as_me:$LINENO: checking for strings.h" >&5
11647 echo $ECHO_N "checking for strings.h... $ECHO_C" >&6
11648 if test "${ac_cv_header_strings_h+set}" = set; then
11649 echo $ECHO_N "(cached) $ECHO_C" >&6
11651 ac_cv_header_strings_h
=no
11653 echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5
11654 echo "${ECHO_T}$ac_cv_header_strings_h" >&6
11655 if test "$ac_cv_header_strings_h" = "no"; then
11656 echo "$as_me:$LINENO: result: forced no into cache" >&5
11657 echo "${ECHO_T}forced no into cache" >&6
11659 { echo "$as_me:$LINENO: WARNING: strings.h is not compatible with Mac OS X" >&5
11660 echo "$as_me: WARNING: strings.h is not compatible with Mac OS X" >&2;}
11663 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11664 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11665 if test "${ac_cv_header_stdc+set}" = set; then
11666 echo $ECHO_N "(cached) $ECHO_C" >&6
11668 cat >conftest.
$ac_ext <<_ACEOF
11669 #line $LINENO "configure"
11672 cat confdefs.h
>>conftest.
$ac_ext
11673 cat >>conftest.
$ac_ext <<_ACEOF
11674 /* end confdefs.h. */
11675 #include <stdlib.h>
11676 #include <stdarg.h>
11677 #include <string.h>
11688 rm -f conftest.
$ac_objext
11689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11690 (eval $ac_compile) 2>&5
11692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11693 (exit $ac_status); } &&
11694 { ac_try
='test -s conftest.$ac_objext'
11695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11696 (eval $ac_try) 2>&5
11698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11699 (exit $ac_status); }; }; then
11700 ac_cv_header_stdc
=yes
11702 echo "$as_me: failed program was:" >&5
11703 sed 's/^/| /' conftest.
$ac_ext >&5
11705 ac_cv_header_stdc
=no
11707 rm -f conftest.
$ac_objext conftest.
$ac_ext
11709 if test $ac_cv_header_stdc = yes; then
11710 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11711 cat >conftest.
$ac_ext <<_ACEOF
11712 #line $LINENO "configure"
11715 cat confdefs.h
>>conftest.
$ac_ext
11716 cat >>conftest.
$ac_ext <<_ACEOF
11717 /* end confdefs.h. */
11718 #include <string.h>
11721 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11722 $EGREP "memchr" >/dev
/null
2>&1; then
11725 ac_cv_header_stdc
=no
11731 if test $ac_cv_header_stdc = yes; then
11732 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11733 cat >conftest.
$ac_ext <<_ACEOF
11734 #line $LINENO "configure"
11737 cat confdefs.h
>>conftest.
$ac_ext
11738 cat >>conftest.
$ac_ext <<_ACEOF
11739 /* end confdefs.h. */
11740 #include <stdlib.h>
11743 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11744 $EGREP "free" >/dev
/null
2>&1; then
11747 ac_cv_header_stdc
=no
11753 if test $ac_cv_header_stdc = yes; then
11754 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11755 if test "$cross_compiling" = yes; then
11758 cat >conftest.
$ac_ext <<_ACEOF
11759 #line $LINENO "configure"
11762 cat confdefs.h
>>conftest.
$ac_ext
11763 cat >>conftest.
$ac_ext <<_ACEOF
11764 /* end confdefs.h. */
11766 #if ((' ' & 0x0FF) == 0x020)
11767 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11768 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11770 # define ISLOWER(c) \
11771 (('a' <= (c) && (c) <= 'i') \
11772 || ('j' <= (c) && (c) <= 'r') \
11773 || ('s' <= (c) && (c) <= 'z'))
11774 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11777 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11782 for (i = 0; i < 256; i++)
11783 if (XOR (islower (i), ISLOWER (i))
11784 || toupper (i) != TOUPPER (i))
11789 rm -f conftest
$ac_exeext
11790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11791 (eval $ac_link) 2>&5
11793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11794 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11796 (eval $ac_try) 2>&5
11798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11799 (exit $ac_status); }; }; then
11802 echo "$as_me: program exited with status $ac_status" >&5
11803 echo "$as_me: failed program was:" >&5
11804 sed 's/^/| /' conftest.
$ac_ext >&5
11806 ( exit $ac_status )
11807 ac_cv_header_stdc
=no
11809 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11813 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
11814 echo "${ECHO_T}$ac_cv_header_stdc" >&6
11815 if test $ac_cv_header_stdc = yes; then
11817 cat >>confdefs.h
<<\_ACEOF
11818 #define STDC_HEADERS 1
11823 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
11833 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
11834 inttypes.h stdint.h unistd.h
11836 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11837 echo "$as_me:$LINENO: checking for $ac_header" >&5
11838 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11839 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11840 echo $ECHO_N "(cached) $ECHO_C" >&6
11842 cat >conftest.
$ac_ext <<_ACEOF
11843 #line $LINENO "configure"
11846 cat confdefs.h
>>conftest.
$ac_ext
11847 cat >>conftest.
$ac_ext <<_ACEOF
11848 /* end confdefs.h. */
11849 $ac_includes_default
11851 #include <$ac_header>
11853 rm -f conftest.
$ac_objext
11854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11855 (eval $ac_compile) 2>&5
11857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11858 (exit $ac_status); } &&
11859 { ac_try
='test -s conftest.$ac_objext'
11860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11861 (eval $ac_try) 2>&5
11863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11864 (exit $ac_status); }; }; then
11865 eval "$as_ac_Header=yes"
11867 echo "$as_me: failed program was:" >&5
11868 sed 's/^/| /' conftest.
$ac_ext >&5
11870 eval "$as_ac_Header=no"
11872 rm -f conftest.
$ac_objext conftest.
$ac_ext
11874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11875 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11876 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11877 cat >>confdefs.h
<<_ACEOF
11878 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11887 for ac_header
in strings.h
11889 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11890 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11891 echo "$as_me:$LINENO: checking for $ac_header" >&5
11892 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11893 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11894 echo $ECHO_N "(cached) $ECHO_C" >&6
11896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11897 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11899 # Is the header compilable?
11900 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11901 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
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 $ac_includes_default
11910 #include <$ac_header>
11912 rm -f conftest.
$ac_objext
11913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11914 (eval $ac_compile) 2>&5
11916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11917 (exit $ac_status); } &&
11918 { ac_try
='test -s conftest.$ac_objext'
11919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11920 (eval $ac_try) 2>&5
11922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11923 (exit $ac_status); }; }; then
11924 ac_header_compiler
=yes
11926 echo "$as_me: failed program was:" >&5
11927 sed 's/^/| /' conftest.
$ac_ext >&5
11929 ac_header_compiler
=no
11931 rm -f conftest.
$ac_objext conftest.
$ac_ext
11932 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11933 echo "${ECHO_T}$ac_header_compiler" >&6
11935 # Is the header present?
11936 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11937 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11938 cat >conftest.
$ac_ext <<_ACEOF
11939 #line $LINENO "configure"
11942 cat confdefs.h
>>conftest.
$ac_ext
11943 cat >>conftest.
$ac_ext <<_ACEOF
11944 /* end confdefs.h. */
11945 #include <$ac_header>
11947 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11948 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11950 grep -v '^ *+' conftest.er1
>conftest.err
11952 cat conftest.err
>&5
11953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11954 (exit $ac_status); } >/dev
/null
; then
11955 if test -s conftest.err
; then
11956 ac_cpp_err
=$ac_c_preproc_warn_flag
11963 if test -z "$ac_cpp_err"; then
11964 ac_header_preproc
=yes
11966 echo "$as_me: failed program was:" >&5
11967 sed 's/^/| /' conftest.
$ac_ext >&5
11969 ac_header_preproc
=no
11971 rm -f conftest.err conftest.
$ac_ext
11972 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11973 echo "${ECHO_T}$ac_header_preproc" >&6
11975 # So? What about this header?
11976 case $ac_header_compiler:$ac_header_preproc in
11978 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11979 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11980 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11981 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11984 ## ------------------------------------ ##
11985 ## Report this to bug-autoconf@gnu.org. ##
11986 ## ------------------------------------ ##
11989 sed "s/^/$as_me: WARNING: /" >&2
11992 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11993 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11994 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11995 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11996 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11997 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12000 ## ------------------------------------ ##
12001 ## Report this to bug-autoconf@gnu.org. ##
12002 ## ------------------------------------ ##
12005 sed "s/^/$as_me: WARNING: /" >&2
12008 echo "$as_me:$LINENO: checking for $ac_header" >&5
12009 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12010 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12011 echo $ECHO_N "(cached) $ECHO_C" >&6
12013 eval "$as_ac_Header=$ac_header_preproc"
12015 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12016 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12019 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12020 cat >>confdefs.h
<<_ACEOF
12021 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12030 for ac_header
in stdlib.h
12032 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12033 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12034 echo "$as_me:$LINENO: checking for $ac_header" >&5
12035 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12036 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12037 echo $ECHO_N "(cached) $ECHO_C" >&6
12039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12040 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12042 # Is the header compilable?
12043 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12044 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12045 cat >conftest.
$ac_ext <<_ACEOF
12046 #line $LINENO "configure"
12049 cat confdefs.h
>>conftest.
$ac_ext
12050 cat >>conftest.
$ac_ext <<_ACEOF
12051 /* end confdefs.h. */
12052 $ac_includes_default
12053 #include <$ac_header>
12055 rm -f conftest.
$ac_objext
12056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12057 (eval $ac_compile) 2>&5
12059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12060 (exit $ac_status); } &&
12061 { ac_try
='test -s conftest.$ac_objext'
12062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12063 (eval $ac_try) 2>&5
12065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12066 (exit $ac_status); }; }; then
12067 ac_header_compiler
=yes
12069 echo "$as_me: failed program was:" >&5
12070 sed 's/^/| /' conftest.
$ac_ext >&5
12072 ac_header_compiler
=no
12074 rm -f conftest.
$ac_objext conftest.
$ac_ext
12075 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12076 echo "${ECHO_T}$ac_header_compiler" >&6
12078 # Is the header present?
12079 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12080 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12081 cat >conftest.
$ac_ext <<_ACEOF
12082 #line $LINENO "configure"
12085 cat confdefs.h
>>conftest.
$ac_ext
12086 cat >>conftest.
$ac_ext <<_ACEOF
12087 /* end confdefs.h. */
12088 #include <$ac_header>
12090 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12091 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12093 grep -v '^ *+' conftest.er1
>conftest.err
12095 cat conftest.err
>&5
12096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12097 (exit $ac_status); } >/dev
/null
; then
12098 if test -s conftest.err
; then
12099 ac_cpp_err
=$ac_c_preproc_warn_flag
12106 if test -z "$ac_cpp_err"; then
12107 ac_header_preproc
=yes
12109 echo "$as_me: failed program was:" >&5
12110 sed 's/^/| /' conftest.
$ac_ext >&5
12112 ac_header_preproc
=no
12114 rm -f conftest.err conftest.
$ac_ext
12115 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12116 echo "${ECHO_T}$ac_header_preproc" >&6
12118 # So? What about this header?
12119 case $ac_header_compiler:$ac_header_preproc in
12121 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12122 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12123 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12124 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12127 ## ------------------------------------ ##
12128 ## Report this to bug-autoconf@gnu.org. ##
12129 ## ------------------------------------ ##
12132 sed "s/^/$as_me: WARNING: /" >&2
12135 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12136 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12137 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12138 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12139 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12140 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12143 ## ------------------------------------ ##
12144 ## Report this to bug-autoconf@gnu.org. ##
12145 ## ------------------------------------ ##
12148 sed "s/^/$as_me: WARNING: /" >&2
12151 echo "$as_me:$LINENO: checking for $ac_header" >&5
12152 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12153 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12154 echo $ECHO_N "(cached) $ECHO_C" >&6
12156 eval "$as_ac_Header=$ac_header_preproc"
12158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12159 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12162 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12163 cat >>confdefs.h
<<_ACEOF
12164 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12172 for ac_header
in malloc.h
12174 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12175 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12176 echo "$as_me:$LINENO: checking for $ac_header" >&5
12177 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12178 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12179 echo $ECHO_N "(cached) $ECHO_C" >&6
12181 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12182 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12184 # Is the header compilable?
12185 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12186 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12187 cat >conftest.
$ac_ext <<_ACEOF
12188 #line $LINENO "configure"
12191 cat confdefs.h
>>conftest.
$ac_ext
12192 cat >>conftest.
$ac_ext <<_ACEOF
12193 /* end confdefs.h. */
12194 $ac_includes_default
12195 #include <$ac_header>
12197 rm -f conftest.
$ac_objext
12198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12199 (eval $ac_compile) 2>&5
12201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12202 (exit $ac_status); } &&
12203 { ac_try
='test -s conftest.$ac_objext'
12204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12205 (eval $ac_try) 2>&5
12207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12208 (exit $ac_status); }; }; then
12209 ac_header_compiler
=yes
12211 echo "$as_me: failed program was:" >&5
12212 sed 's/^/| /' conftest.
$ac_ext >&5
12214 ac_header_compiler
=no
12216 rm -f conftest.
$ac_objext conftest.
$ac_ext
12217 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12218 echo "${ECHO_T}$ac_header_compiler" >&6
12220 # Is the header present?
12221 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12222 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12223 cat >conftest.
$ac_ext <<_ACEOF
12224 #line $LINENO "configure"
12227 cat confdefs.h
>>conftest.
$ac_ext
12228 cat >>conftest.
$ac_ext <<_ACEOF
12229 /* end confdefs.h. */
12230 #include <$ac_header>
12232 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12233 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12235 grep -v '^ *+' conftest.er1
>conftest.err
12237 cat conftest.err
>&5
12238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12239 (exit $ac_status); } >/dev
/null
; then
12240 if test -s conftest.err
; then
12241 ac_cpp_err
=$ac_c_preproc_warn_flag
12248 if test -z "$ac_cpp_err"; then
12249 ac_header_preproc
=yes
12251 echo "$as_me: failed program was:" >&5
12252 sed 's/^/| /' conftest.
$ac_ext >&5
12254 ac_header_preproc
=no
12256 rm -f conftest.err conftest.
$ac_ext
12257 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12258 echo "${ECHO_T}$ac_header_preproc" >&6
12260 # So? What about this header?
12261 case $ac_header_compiler:$ac_header_preproc in
12263 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12264 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12265 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12266 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12269 ## ------------------------------------ ##
12270 ## Report this to bug-autoconf@gnu.org. ##
12271 ## ------------------------------------ ##
12274 sed "s/^/$as_me: WARNING: /" >&2
12277 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12278 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12279 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12280 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12281 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12282 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12285 ## ------------------------------------ ##
12286 ## Report this to bug-autoconf@gnu.org. ##
12287 ## ------------------------------------ ##
12290 sed "s/^/$as_me: WARNING: /" >&2
12293 echo "$as_me:$LINENO: checking for $ac_header" >&5
12294 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12295 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12296 echo $ECHO_N "(cached) $ECHO_C" >&6
12298 eval "$as_ac_Header=$ac_header_preproc"
12300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12301 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12304 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12305 cat >>confdefs.h
<<_ACEOF
12306 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12314 for ac_header
in unistd.h
12316 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12317 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12318 echo "$as_me:$LINENO: checking for $ac_header" >&5
12319 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12320 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12321 echo $ECHO_N "(cached) $ECHO_C" >&6
12323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12324 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12326 # Is the header compilable?
12327 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12328 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12329 cat >conftest.
$ac_ext <<_ACEOF
12330 #line $LINENO "configure"
12333 cat confdefs.h
>>conftest.
$ac_ext
12334 cat >>conftest.
$ac_ext <<_ACEOF
12335 /* end confdefs.h. */
12336 $ac_includes_default
12337 #include <$ac_header>
12339 rm -f conftest.
$ac_objext
12340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12341 (eval $ac_compile) 2>&5
12343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12344 (exit $ac_status); } &&
12345 { ac_try
='test -s conftest.$ac_objext'
12346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12347 (eval $ac_try) 2>&5
12349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12350 (exit $ac_status); }; }; then
12351 ac_header_compiler
=yes
12353 echo "$as_me: failed program was:" >&5
12354 sed 's/^/| /' conftest.
$ac_ext >&5
12356 ac_header_compiler
=no
12358 rm -f conftest.
$ac_objext conftest.
$ac_ext
12359 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12360 echo "${ECHO_T}$ac_header_compiler" >&6
12362 # Is the header present?
12363 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12364 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12365 cat >conftest.
$ac_ext <<_ACEOF
12366 #line $LINENO "configure"
12369 cat confdefs.h
>>conftest.
$ac_ext
12370 cat >>conftest.
$ac_ext <<_ACEOF
12371 /* end confdefs.h. */
12372 #include <$ac_header>
12374 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12375 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12377 grep -v '^ *+' conftest.er1
>conftest.err
12379 cat conftest.err
>&5
12380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12381 (exit $ac_status); } >/dev
/null
; then
12382 if test -s conftest.err
; then
12383 ac_cpp_err
=$ac_c_preproc_warn_flag
12390 if test -z "$ac_cpp_err"; then
12391 ac_header_preproc
=yes
12393 echo "$as_me: failed program was:" >&5
12394 sed 's/^/| /' conftest.
$ac_ext >&5
12396 ac_header_preproc
=no
12398 rm -f conftest.err conftest.
$ac_ext
12399 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12400 echo "${ECHO_T}$ac_header_preproc" >&6
12402 # So? What about this header?
12403 case $ac_header_compiler:$ac_header_preproc in
12405 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12406 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12407 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12408 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12411 ## ------------------------------------ ##
12412 ## Report this to bug-autoconf@gnu.org. ##
12413 ## ------------------------------------ ##
12416 sed "s/^/$as_me: WARNING: /" >&2
12419 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12420 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12421 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12422 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12423 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12424 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12427 ## ------------------------------------ ##
12428 ## Report this to bug-autoconf@gnu.org. ##
12429 ## ------------------------------------ ##
12432 sed "s/^/$as_me: WARNING: /" >&2
12435 echo "$as_me:$LINENO: checking for $ac_header" >&5
12436 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12437 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12438 echo $ECHO_N "(cached) $ECHO_C" >&6
12440 eval "$as_ac_Header=$ac_header_preproc"
12442 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12443 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12446 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12447 cat >>confdefs.h
<<_ACEOF
12448 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12456 for ac_header
in wchar.h
12458 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12459 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12460 echo "$as_me:$LINENO: checking for $ac_header" >&5
12461 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12462 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12463 echo $ECHO_N "(cached) $ECHO_C" >&6
12465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12466 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12468 # Is the header compilable?
12469 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12470 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12471 cat >conftest.
$ac_ext <<_ACEOF
12472 #line $LINENO "configure"
12475 cat confdefs.h
>>conftest.
$ac_ext
12476 cat >>conftest.
$ac_ext <<_ACEOF
12477 /* end confdefs.h. */
12478 $ac_includes_default
12479 #include <$ac_header>
12481 rm -f conftest.
$ac_objext
12482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12483 (eval $ac_compile) 2>&5
12485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12486 (exit $ac_status); } &&
12487 { ac_try
='test -s conftest.$ac_objext'
12488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12489 (eval $ac_try) 2>&5
12491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12492 (exit $ac_status); }; }; then
12493 ac_header_compiler
=yes
12495 echo "$as_me: failed program was:" >&5
12496 sed 's/^/| /' conftest.
$ac_ext >&5
12498 ac_header_compiler
=no
12500 rm -f conftest.
$ac_objext conftest.
$ac_ext
12501 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12502 echo "${ECHO_T}$ac_header_compiler" >&6
12504 # Is the header present?
12505 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12506 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12507 cat >conftest.
$ac_ext <<_ACEOF
12508 #line $LINENO "configure"
12511 cat confdefs.h
>>conftest.
$ac_ext
12512 cat >>conftest.
$ac_ext <<_ACEOF
12513 /* end confdefs.h. */
12514 #include <$ac_header>
12516 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12517 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12519 grep -v '^ *+' conftest.er1
>conftest.err
12521 cat conftest.err
>&5
12522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12523 (exit $ac_status); } >/dev
/null
; then
12524 if test -s conftest.err
; then
12525 ac_cpp_err
=$ac_c_preproc_warn_flag
12532 if test -z "$ac_cpp_err"; then
12533 ac_header_preproc
=yes
12535 echo "$as_me: failed program was:" >&5
12536 sed 's/^/| /' conftest.
$ac_ext >&5
12538 ac_header_preproc
=no
12540 rm -f conftest.err conftest.
$ac_ext
12541 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12542 echo "${ECHO_T}$ac_header_preproc" >&6
12544 # So? What about this header?
12545 case $ac_header_compiler:$ac_header_preproc in
12547 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12548 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12549 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12550 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12553 ## ------------------------------------ ##
12554 ## Report this to bug-autoconf@gnu.org. ##
12555 ## ------------------------------------ ##
12558 sed "s/^/$as_me: WARNING: /" >&2
12561 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12562 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12563 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12564 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12565 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12566 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12569 ## ------------------------------------ ##
12570 ## Report this to bug-autoconf@gnu.org. ##
12571 ## ------------------------------------ ##
12574 sed "s/^/$as_me: WARNING: /" >&2
12577 echo "$as_me:$LINENO: checking for $ac_header" >&5
12578 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12579 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12580 echo $ECHO_N "(cached) $ECHO_C" >&6
12582 eval "$as_ac_Header=$ac_header_preproc"
12584 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12585 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12588 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12589 cat >>confdefs.h
<<_ACEOF
12590 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12598 if test "$ac_cv_header_wchar_h" != "yes"; then
12600 for ac_header
in wcstr.h
12602 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12603 if eval "test \"\${$as_ac_Header+set}\" = set"; then
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 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12610 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12612 # Is the header compilable?
12613 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12614 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12615 cat >conftest.
$ac_ext <<_ACEOF
12616 #line $LINENO "configure"
12619 cat confdefs.h
>>conftest.
$ac_ext
12620 cat >>conftest.
$ac_ext <<_ACEOF
12621 /* end confdefs.h. */
12622 $ac_includes_default
12623 #include <$ac_header>
12625 rm -f conftest.
$ac_objext
12626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12627 (eval $ac_compile) 2>&5
12629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12630 (exit $ac_status); } &&
12631 { ac_try
='test -s conftest.$ac_objext'
12632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12633 (eval $ac_try) 2>&5
12635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12636 (exit $ac_status); }; }; then
12637 ac_header_compiler
=yes
12639 echo "$as_me: failed program was:" >&5
12640 sed 's/^/| /' conftest.
$ac_ext >&5
12642 ac_header_compiler
=no
12644 rm -f conftest.
$ac_objext conftest.
$ac_ext
12645 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12646 echo "${ECHO_T}$ac_header_compiler" >&6
12648 # Is the header present?
12649 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12650 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12651 cat >conftest.
$ac_ext <<_ACEOF
12652 #line $LINENO "configure"
12655 cat confdefs.h
>>conftest.
$ac_ext
12656 cat >>conftest.
$ac_ext <<_ACEOF
12657 /* end confdefs.h. */
12658 #include <$ac_header>
12660 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12661 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12663 grep -v '^ *+' conftest.er1
>conftest.err
12665 cat conftest.err
>&5
12666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12667 (exit $ac_status); } >/dev
/null
; then
12668 if test -s conftest.err
; then
12669 ac_cpp_err
=$ac_c_preproc_warn_flag
12676 if test -z "$ac_cpp_err"; then
12677 ac_header_preproc
=yes
12679 echo "$as_me: failed program was:" >&5
12680 sed 's/^/| /' conftest.
$ac_ext >&5
12682 ac_header_preproc
=no
12684 rm -f conftest.err conftest.
$ac_ext
12685 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12686 echo "${ECHO_T}$ac_header_preproc" >&6
12688 # So? What about this header?
12689 case $ac_header_compiler:$ac_header_preproc in
12691 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12692 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12693 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12694 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12697 ## ------------------------------------ ##
12698 ## Report this to bug-autoconf@gnu.org. ##
12699 ## ------------------------------------ ##
12702 sed "s/^/$as_me: WARNING: /" >&2
12705 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12706 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12707 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12708 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12709 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12710 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12713 ## ------------------------------------ ##
12714 ## Report this to bug-autoconf@gnu.org. ##
12715 ## ------------------------------------ ##
12718 sed "s/^/$as_me: WARNING: /" >&2
12721 echo "$as_me:$LINENO: checking for $ac_header" >&5
12722 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12723 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12724 echo $ECHO_N "(cached) $ECHO_C" >&6
12726 eval "$as_ac_Header=$ac_header_preproc"
12728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12729 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12732 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12733 cat >>confdefs.h
<<_ACEOF
12734 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12744 for ac_header
in fnmatch.h
12746 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12747 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12748 echo "$as_me:$LINENO: checking for $ac_header" >&5
12749 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12750 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12751 echo $ECHO_N "(cached) $ECHO_C" >&6
12753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12754 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12756 # Is the header compilable?
12757 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12758 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12759 cat >conftest.
$ac_ext <<_ACEOF
12760 #line $LINENO "configure"
12763 cat confdefs.h
>>conftest.
$ac_ext
12764 cat >>conftest.
$ac_ext <<_ACEOF
12765 /* end confdefs.h. */
12766 $ac_includes_default
12767 #include <$ac_header>
12769 rm -f conftest.
$ac_objext
12770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12771 (eval $ac_compile) 2>&5
12773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12774 (exit $ac_status); } &&
12775 { ac_try
='test -s conftest.$ac_objext'
12776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12777 (eval $ac_try) 2>&5
12779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12780 (exit $ac_status); }; }; then
12781 ac_header_compiler
=yes
12783 echo "$as_me: failed program was:" >&5
12784 sed 's/^/| /' conftest.
$ac_ext >&5
12786 ac_header_compiler
=no
12788 rm -f conftest.
$ac_objext conftest.
$ac_ext
12789 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12790 echo "${ECHO_T}$ac_header_compiler" >&6
12792 # Is the header present?
12793 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12794 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12795 cat >conftest.
$ac_ext <<_ACEOF
12796 #line $LINENO "configure"
12799 cat confdefs.h
>>conftest.
$ac_ext
12800 cat >>conftest.
$ac_ext <<_ACEOF
12801 /* end confdefs.h. */
12802 #include <$ac_header>
12804 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12805 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12807 grep -v '^ *+' conftest.er1
>conftest.err
12809 cat conftest.err
>&5
12810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12811 (exit $ac_status); } >/dev
/null
; then
12812 if test -s conftest.err
; then
12813 ac_cpp_err
=$ac_c_preproc_warn_flag
12820 if test -z "$ac_cpp_err"; then
12821 ac_header_preproc
=yes
12823 echo "$as_me: failed program was:" >&5
12824 sed 's/^/| /' conftest.
$ac_ext >&5
12826 ac_header_preproc
=no
12828 rm -f conftest.err conftest.
$ac_ext
12829 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12830 echo "${ECHO_T}$ac_header_preproc" >&6
12832 # So? What about this header?
12833 case $ac_header_compiler:$ac_header_preproc in
12835 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12836 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12837 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12838 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12841 ## ------------------------------------ ##
12842 ## Report this to bug-autoconf@gnu.org. ##
12843 ## ------------------------------------ ##
12846 sed "s/^/$as_me: WARNING: /" >&2
12849 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12850 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12851 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12852 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12853 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12854 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12857 ## ------------------------------------ ##
12858 ## Report this to bug-autoconf@gnu.org. ##
12859 ## ------------------------------------ ##
12862 sed "s/^/$as_me: WARNING: /" >&2
12865 echo "$as_me:$LINENO: checking for $ac_header" >&5
12866 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12867 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12868 echo $ECHO_N "(cached) $ECHO_C" >&6
12870 eval "$as_ac_Header=$ac_header_preproc"
12872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12873 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12876 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12877 cat >>confdefs.h
<<_ACEOF
12878 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12886 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
12888 for ac_func
in fnmatch
12890 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12891 echo "$as_me:$LINENO: checking for $ac_func" >&5
12892 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12893 if eval "test \"\${$as_ac_var+set}\" = set"; then
12894 echo $ECHO_N "(cached) $ECHO_C" >&6
12896 cat >conftest.
$ac_ext <<_ACEOF
12897 #line $LINENO "configure"
12900 cat confdefs.h
>>conftest.
$ac_ext
12901 cat >>conftest.
$ac_ext <<_ACEOF
12902 /* end confdefs.h. */
12903 /* System header to define __stub macros and hopefully few prototypes,
12904 which can conflict with char $ac_func (); below.
12905 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12906 <limits.h> exists even on freestanding compilers. */
12908 # include <limits.h>
12910 # include <assert.h>
12912 /* Override any gcc2 internal prototype to avoid an error. */
12917 /* We use char because int might match the return type of a gcc2
12918 builtin and then its argument prototype would still apply. */
12920 /* The GNU C library defines this for functions which it implements
12921 to always fail with ENOSYS. Some functions are actually named
12922 something starting with __ and the normal name is an alias. */
12923 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12926 char (*f) () = $ac_func;
12935 return f != $ac_func;
12940 rm -f conftest.
$ac_objext conftest
$ac_exeext
12941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12942 (eval $ac_link) 2>&5
12944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12945 (exit $ac_status); } &&
12946 { ac_try
='test -s conftest$ac_exeext'
12947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12948 (eval $ac_try) 2>&5
12950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12951 (exit $ac_status); }; }; then
12952 eval "$as_ac_var=yes"
12954 echo "$as_me: failed program was:" >&5
12955 sed 's/^/| /' conftest.
$ac_ext >&5
12957 eval "$as_ac_var=no"
12959 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12962 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12963 if test `eval echo '${'$as_ac_var'}'` = yes; then
12964 cat >>confdefs.h
<<_ACEOF
12965 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12974 for ac_header
in langinfo.h
12976 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12977 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12978 echo "$as_me:$LINENO: checking for $ac_header" >&5
12979 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12980 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12981 echo $ECHO_N "(cached) $ECHO_C" >&6
12983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12984 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12986 # Is the header compilable?
12987 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12988 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12989 cat >conftest.
$ac_ext <<_ACEOF
12990 #line $LINENO "configure"
12993 cat confdefs.h
>>conftest.
$ac_ext
12994 cat >>conftest.
$ac_ext <<_ACEOF
12995 /* end confdefs.h. */
12996 $ac_includes_default
12997 #include <$ac_header>
12999 rm -f conftest.
$ac_objext
13000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13001 (eval $ac_compile) 2>&5
13003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13004 (exit $ac_status); } &&
13005 { ac_try
='test -s conftest.$ac_objext'
13006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13007 (eval $ac_try) 2>&5
13009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13010 (exit $ac_status); }; }; then
13011 ac_header_compiler
=yes
13013 echo "$as_me: failed program was:" >&5
13014 sed 's/^/| /' conftest.
$ac_ext >&5
13016 ac_header_compiler
=no
13018 rm -f conftest.
$ac_objext conftest.
$ac_ext
13019 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13020 echo "${ECHO_T}$ac_header_compiler" >&6
13022 # Is the header present?
13023 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13024 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13025 cat >conftest.
$ac_ext <<_ACEOF
13026 #line $LINENO "configure"
13029 cat confdefs.h
>>conftest.
$ac_ext
13030 cat >>conftest.
$ac_ext <<_ACEOF
13031 /* end confdefs.h. */
13032 #include <$ac_header>
13034 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13035 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13037 grep -v '^ *+' conftest.er1
>conftest.err
13039 cat conftest.err
>&5
13040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13041 (exit $ac_status); } >/dev
/null
; then
13042 if test -s conftest.err
; then
13043 ac_cpp_err
=$ac_c_preproc_warn_flag
13050 if test -z "$ac_cpp_err"; then
13051 ac_header_preproc
=yes
13053 echo "$as_me: failed program was:" >&5
13054 sed 's/^/| /' conftest.
$ac_ext >&5
13056 ac_header_preproc
=no
13058 rm -f conftest.err conftest.
$ac_ext
13059 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13060 echo "${ECHO_T}$ac_header_preproc" >&6
13062 # So? What about this header?
13063 case $ac_header_compiler:$ac_header_preproc in
13065 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13066 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13067 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13068 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13071 ## ------------------------------------ ##
13072 ## Report this to bug-autoconf@gnu.org. ##
13073 ## ------------------------------------ ##
13076 sed "s/^/$as_me: WARNING: /" >&2
13079 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13080 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13081 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13082 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13083 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13084 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13087 ## ------------------------------------ ##
13088 ## Report this to bug-autoconf@gnu.org. ##
13089 ## ------------------------------------ ##
13092 sed "s/^/$as_me: WARNING: /" >&2
13095 echo "$as_me:$LINENO: checking for $ac_header" >&5
13096 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13097 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13098 echo $ECHO_N "(cached) $ECHO_C" >&6
13100 eval "$as_ac_Header=$ac_header_preproc"
13102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13103 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13106 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13107 cat >>confdefs.h
<<_ACEOF
13108 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13117 *-pc-os2_emx | *-pc-os2-emx )
13118 if test $ac_cv_header_langinfo_h = "yes"; then
13119 LIBS
="$LIBS -lintl"
13124 if test "$wxUSE_GUI" = "yes"; then
13125 if test "$wxUSE_UNIX" = "yes"; then
13127 for ac_header
in X
11/Xlib.h
13129 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13130 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13131 echo "$as_me:$LINENO: checking for $ac_header" >&5
13132 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13133 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13134 echo $ECHO_N "(cached) $ECHO_C" >&6
13136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13137 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13139 # Is the header compilable?
13140 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13141 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13142 cat >conftest.
$ac_ext <<_ACEOF
13143 #line $LINENO "configure"
13146 cat confdefs.h
>>conftest.
$ac_ext
13147 cat >>conftest.
$ac_ext <<_ACEOF
13148 /* end confdefs.h. */
13149 $ac_includes_default
13150 #include <$ac_header>
13152 rm -f conftest.
$ac_objext
13153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13154 (eval $ac_compile) 2>&5
13156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13157 (exit $ac_status); } &&
13158 { ac_try
='test -s conftest.$ac_objext'
13159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13160 (eval $ac_try) 2>&5
13162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13163 (exit $ac_status); }; }; then
13164 ac_header_compiler
=yes
13166 echo "$as_me: failed program was:" >&5
13167 sed 's/^/| /' conftest.
$ac_ext >&5
13169 ac_header_compiler
=no
13171 rm -f conftest.
$ac_objext conftest.
$ac_ext
13172 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13173 echo "${ECHO_T}$ac_header_compiler" >&6
13175 # Is the header present?
13176 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13177 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13178 cat >conftest.
$ac_ext <<_ACEOF
13179 #line $LINENO "configure"
13182 cat confdefs.h
>>conftest.
$ac_ext
13183 cat >>conftest.
$ac_ext <<_ACEOF
13184 /* end confdefs.h. */
13185 #include <$ac_header>
13187 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13188 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13190 grep -v '^ *+' conftest.er1
>conftest.err
13192 cat conftest.err
>&5
13193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13194 (exit $ac_status); } >/dev
/null
; then
13195 if test -s conftest.err
; then
13196 ac_cpp_err
=$ac_c_preproc_warn_flag
13203 if test -z "$ac_cpp_err"; then
13204 ac_header_preproc
=yes
13206 echo "$as_me: failed program was:" >&5
13207 sed 's/^/| /' conftest.
$ac_ext >&5
13209 ac_header_preproc
=no
13211 rm -f conftest.err conftest.
$ac_ext
13212 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13213 echo "${ECHO_T}$ac_header_preproc" >&6
13215 # So? What about this header?
13216 case $ac_header_compiler:$ac_header_preproc in
13218 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13219 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13220 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13221 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13224 ## ------------------------------------ ##
13225 ## Report this to bug-autoconf@gnu.org. ##
13226 ## ------------------------------------ ##
13229 sed "s/^/$as_me: WARNING: /" >&2
13232 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13233 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13234 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13235 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&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: checking for $ac_header" >&5
13249 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13250 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13251 echo $ECHO_N "(cached) $ECHO_C" >&6
13253 eval "$as_ac_Header=$ac_header_preproc"
13255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13256 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13259 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13260 cat >>confdefs.h
<<_ACEOF
13261 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13269 for ac_header
in X
11/XKBlib.h
13271 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13272 echo "$as_me:$LINENO: checking for $ac_header" >&5
13273 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13274 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13275 echo $ECHO_N "(cached) $ECHO_C" >&6
13277 cat >conftest.
$ac_ext <<_ACEOF
13278 #line $LINENO "configure"
13281 cat confdefs.h
>>conftest.
$ac_ext
13282 cat >>conftest.
$ac_ext <<_ACEOF
13283 /* end confdefs.h. */
13285 #if HAVE_X11_XLIB_H
13286 #include <X11/Xlib.h>
13290 #include <$ac_header>
13292 rm -f conftest.
$ac_objext
13293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13294 (eval $ac_compile) 2>&5
13296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13297 (exit $ac_status); } &&
13298 { ac_try
='test -s conftest.$ac_objext'
13299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13300 (eval $ac_try) 2>&5
13302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13303 (exit $ac_status); }; }; then
13304 eval "$as_ac_Header=yes"
13306 echo "$as_me: failed program was:" >&5
13307 sed 's/^/| /' conftest.
$ac_ext >&5
13309 eval "$as_ac_Header=no"
13311 rm -f conftest.
$ac_objext conftest.
$ac_ext
13313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13314 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13315 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13316 cat >>confdefs.h
<<_ACEOF
13317 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13328 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13329 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13330 if test "${ac_cv_c_const+set}" = set; then
13331 echo $ECHO_N "(cached) $ECHO_C" >&6
13333 cat >conftest.
$ac_ext <<_ACEOF
13334 #line $LINENO "configure"
13337 cat confdefs.h
>>conftest.
$ac_ext
13338 cat >>conftest.
$ac_ext <<_ACEOF
13339 /* end confdefs.h. */
13344 /* FIXME: Include the comments suggested by Paul. */
13345 #ifndef __cplusplus
13346 /* Ultrix mips cc rejects this. */
13347 typedef int charset[2];
13349 /* SunOS 4.1.1 cc rejects this. */
13350 char const *const *ccp;
13352 /* NEC SVR4.0.2 mips cc rejects this. */
13353 struct point {int x, y;};
13354 static struct point const zero = {0,0};
13355 /* AIX XL C 1.02.0.0 rejects this.
13356 It does not let you subtract one const X* pointer from another in
13357 an arm of an if-expression whose if-part is not a constant
13359 const char *g = "string";
13360 ccp = &g + (g ? g-g : 0);
13361 /* HPUX 7.0 cc rejects these. */
13364 ccp = (char const *const *) p;
13365 { /* SCO 3.2v4 cc rejects this. */
13367 char const *s = 0 ? (char *) 0 : (char const *) 0;
13371 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13372 int x[] = {25, 17};
13373 const int *foo = &x[0];
13376 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13377 typedef const int *iptr;
13381 { /* AIX XL C 1.02.0.0 rejects this saying
13382 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13383 struct s { int j; const int *ap[3]; };
13384 struct s *b; b->j = 5;
13386 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13387 const int foo = 10;
13395 rm -f conftest.
$ac_objext
13396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13397 (eval $ac_compile) 2>&5
13399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13400 (exit $ac_status); } &&
13401 { ac_try
='test -s conftest.$ac_objext'
13402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13403 (eval $ac_try) 2>&5
13405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13406 (exit $ac_status); }; }; then
13409 echo "$as_me: failed program was:" >&5
13410 sed 's/^/| /' conftest.
$ac_ext >&5
13414 rm -f conftest.
$ac_objext conftest.
$ac_ext
13416 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13417 echo "${ECHO_T}$ac_cv_c_const" >&6
13418 if test $ac_cv_c_const = no
; then
13420 cat >>confdefs.h
<<\_ACEOF
13426 echo "$as_me:$LINENO: checking for inline" >&5
13427 echo $ECHO_N "checking for inline... $ECHO_C" >&6
13428 if test "${ac_cv_c_inline+set}" = set; then
13429 echo $ECHO_N "(cached) $ECHO_C" >&6
13432 for ac_kw
in inline __inline__ __inline
; do
13433 cat >conftest.
$ac_ext <<_ACEOF
13434 #line $LINENO "configure"
13437 cat confdefs.h
>>conftest.
$ac_ext
13438 cat >>conftest.
$ac_ext <<_ACEOF
13439 /* end confdefs.h. */
13440 #ifndef __cplusplus
13442 static $ac_kw foo_t static_foo () {return 0; }
13443 $ac_kw foo_t foo () {return 0; }
13447 rm -f conftest.
$ac_objext
13448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13449 (eval $ac_compile) 2>&5
13451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13452 (exit $ac_status); } &&
13453 { ac_try
='test -s conftest.$ac_objext'
13454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13455 (eval $ac_try) 2>&5
13457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13458 (exit $ac_status); }; }; then
13459 ac_cv_c_inline
=$ac_kw; break
13461 echo "$as_me: failed program was:" >&5
13462 sed 's/^/| /' conftest.
$ac_ext >&5
13465 rm -f conftest.
$ac_objext conftest.
$ac_ext
13469 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13470 echo "${ECHO_T}$ac_cv_c_inline" >&6
13471 case $ac_cv_c_inline in
13474 cat >>confdefs.h
<<\_ACEOF
13478 *) cat >>confdefs.h
<<_ACEOF
13479 #define inline $ac_cv_c_inline
13485 echo "$as_me:$LINENO: checking for char" >&5
13486 echo $ECHO_N "checking for char... $ECHO_C" >&6
13487 if test "${ac_cv_type_char+set}" = set; then
13488 echo $ECHO_N "(cached) $ECHO_C" >&6
13490 cat >conftest.
$ac_ext <<_ACEOF
13491 #line $LINENO "configure"
13494 cat confdefs.h
>>conftest.
$ac_ext
13495 cat >>conftest.
$ac_ext <<_ACEOF
13496 /* end confdefs.h. */
13497 $ac_includes_default
13509 rm -f conftest.
$ac_objext
13510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13511 (eval $ac_compile) 2>&5
13513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13514 (exit $ac_status); } &&
13515 { ac_try
='test -s conftest.$ac_objext'
13516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13517 (eval $ac_try) 2>&5
13519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13520 (exit $ac_status); }; }; then
13521 ac_cv_type_char
=yes
13523 echo "$as_me: failed program was:" >&5
13524 sed 's/^/| /' conftest.
$ac_ext >&5
13528 rm -f conftest.
$ac_objext conftest.
$ac_ext
13530 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13531 echo "${ECHO_T}$ac_cv_type_char" >&6
13533 echo "$as_me:$LINENO: checking size of char" >&5
13534 echo $ECHO_N "checking size of char... $ECHO_C" >&6
13535 if test "${ac_cv_sizeof_char+set}" = set; then
13536 echo $ECHO_N "(cached) $ECHO_C" >&6
13538 if test "$ac_cv_type_char" = yes; then
13539 # The cast to unsigned long works around a bug in the HP C Compiler
13540 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13541 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13542 # This bug is HP SR number 8606223364.
13543 if test "$cross_compiling" = yes; then
13544 # Depending upon the size, compute the lo and hi bounds.
13545 cat >conftest.
$ac_ext <<_ACEOF
13546 #line $LINENO "configure"
13549 cat confdefs.h
>>conftest.
$ac_ext
13550 cat >>conftest.
$ac_ext <<_ACEOF
13551 /* end confdefs.h. */
13552 $ac_includes_default
13556 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13563 rm -f conftest.
$ac_objext
13564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13565 (eval $ac_compile) 2>&5
13567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13568 (exit $ac_status); } &&
13569 { ac_try
='test -s conftest.$ac_objext'
13570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13571 (eval $ac_try) 2>&5
13573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13574 (exit $ac_status); }; }; then
13577 cat >conftest.
$ac_ext <<_ACEOF
13578 #line $LINENO "configure"
13581 cat confdefs.h
>>conftest.
$ac_ext
13582 cat >>conftest.
$ac_ext <<_ACEOF
13583 /* end confdefs.h. */
13584 $ac_includes_default
13588 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13595 rm -f conftest.
$ac_objext
13596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13597 (eval $ac_compile) 2>&5
13599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13600 (exit $ac_status); } &&
13601 { ac_try
='test -s conftest.$ac_objext'
13602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13603 (eval $ac_try) 2>&5
13605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13606 (exit $ac_status); }; }; then
13607 ac_hi
=$ac_mid; break
13609 echo "$as_me: failed program was:" >&5
13610 sed 's/^/| /' conftest.
$ac_ext >&5
13612 ac_lo
=`expr $ac_mid + 1`
13613 if test $ac_lo -le $ac_mid; then
13617 ac_mid
=`expr 2 '*' $ac_mid + 1`
13619 rm -f conftest.
$ac_objext conftest.
$ac_ext
13622 echo "$as_me: failed program was:" >&5
13623 sed 's/^/| /' conftest.
$ac_ext >&5
13625 cat >conftest.
$ac_ext <<_ACEOF
13626 #line $LINENO "configure"
13629 cat confdefs.h
>>conftest.
$ac_ext
13630 cat >>conftest.
$ac_ext <<_ACEOF
13631 /* end confdefs.h. */
13632 $ac_includes_default
13636 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
13643 rm -f conftest.
$ac_objext
13644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13645 (eval $ac_compile) 2>&5
13647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13648 (exit $ac_status); } &&
13649 { ac_try
='test -s conftest.$ac_objext'
13650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13651 (eval $ac_try) 2>&5
13653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13654 (exit $ac_status); }; }; then
13657 cat >conftest.
$ac_ext <<_ACEOF
13658 #line $LINENO "configure"
13661 cat confdefs.h
>>conftest.
$ac_ext
13662 cat >>conftest.
$ac_ext <<_ACEOF
13663 /* end confdefs.h. */
13664 $ac_includes_default
13668 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
13675 rm -f conftest.
$ac_objext
13676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13677 (eval $ac_compile) 2>&5
13679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13680 (exit $ac_status); } &&
13681 { ac_try
='test -s conftest.$ac_objext'
13682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13683 (eval $ac_try) 2>&5
13685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13686 (exit $ac_status); }; }; then
13687 ac_lo
=$ac_mid; break
13689 echo "$as_me: failed program was:" >&5
13690 sed 's/^/| /' conftest.
$ac_ext >&5
13692 ac_hi
=`expr '(' $ac_mid ')' - 1`
13693 if test $ac_mid -le $ac_hi; then
13697 ac_mid
=`expr 2 '*' $ac_mid`
13699 rm -f conftest.
$ac_objext conftest.
$ac_ext
13702 echo "$as_me: failed program was:" >&5
13703 sed 's/^/| /' conftest.
$ac_ext >&5
13707 rm -f conftest.
$ac_objext conftest.
$ac_ext
13709 rm -f conftest.
$ac_objext conftest.
$ac_ext
13710 # Binary search between lo and hi bounds.
13711 while test "x$ac_lo" != "x$ac_hi"; do
13712 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13713 cat >conftest.
$ac_ext <<_ACEOF
13714 #line $LINENO "configure"
13717 cat confdefs.h
>>conftest.
$ac_ext
13718 cat >>conftest.
$ac_ext <<_ACEOF
13719 /* end confdefs.h. */
13720 $ac_includes_default
13724 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13731 rm -f conftest.
$ac_objext
13732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13733 (eval $ac_compile) 2>&5
13735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13736 (exit $ac_status); } &&
13737 { ac_try
='test -s conftest.$ac_objext'
13738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13739 (eval $ac_try) 2>&5
13741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13742 (exit $ac_status); }; }; then
13745 echo "$as_me: failed program was:" >&5
13746 sed 's/^/| /' conftest.
$ac_ext >&5
13748 ac_lo
=`expr '(' $ac_mid ')' + 1`
13750 rm -f conftest.
$ac_objext conftest.
$ac_ext
13753 ?
*) ac_cv_sizeof_char
=$ac_lo;;
13754 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13755 See \`config.log' for more details." >&5
13756 echo "$as_me: error: cannot compute sizeof (char), 77
13757 See \`config.log' for more details." >&2;}
13758 { (exit 1); exit 1; }; } ;;
13761 if test "$cross_compiling" = yes; then
13762 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13763 See \`config.log' for more details." >&5
13764 echo "$as_me: error: cannot run test program while cross compiling
13765 See \`config.log' for more details." >&2;}
13766 { (exit 1); exit 1; }; }
13768 cat >conftest.
$ac_ext <<_ACEOF
13769 #line $LINENO "configure"
13772 cat confdefs.h
>>conftest.
$ac_ext
13773 cat >>conftest.
$ac_ext <<_ACEOF
13774 /* end confdefs.h. */
13775 $ac_includes_default
13776 long longval () { return (long) (sizeof (char)); }
13777 unsigned long ulongval () { return (long) (sizeof (char)); }
13779 #include <stdlib.h>
13784 FILE *f = fopen ("conftest.val", "w");
13787 if (((long) (sizeof (char))) < 0)
13789 long i = longval ();
13790 if (i != ((long) (sizeof (char))))
13792 fprintf (f, "%ld\n", i);
13796 unsigned long i = ulongval ();
13797 if (i != ((long) (sizeof (char))))
13799 fprintf (f, "%lu\n", i);
13801 exit (ferror (f) || fclose (f) != 0);
13807 rm -f conftest
$ac_exeext
13808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13809 (eval $ac_link) 2>&5
13811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13812 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13814 (eval $ac_try) 2>&5
13816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13817 (exit $ac_status); }; }; then
13818 ac_cv_sizeof_char
=`cat conftest.val`
13820 echo "$as_me: program exited with status $ac_status" >&5
13821 echo "$as_me: failed program was:" >&5
13822 sed 's/^/| /' conftest.
$ac_ext >&5
13824 ( exit $ac_status )
13825 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13826 See \`config.log' for more details." >&5
13827 echo "$as_me: error: cannot compute sizeof (char), 77
13828 See \`config.log' for more details." >&2;}
13829 { (exit 1); exit 1; }; }
13831 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13836 ac_cv_sizeof_char
=0
13839 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
13840 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
13841 cat >>confdefs.h
<<_ACEOF
13842 #define SIZEOF_CHAR $ac_cv_sizeof_char
13846 echo "$as_me:$LINENO: checking for short" >&5
13847 echo $ECHO_N "checking for short... $ECHO_C" >&6
13848 if test "${ac_cv_type_short+set}" = set; then
13849 echo $ECHO_N "(cached) $ECHO_C" >&6
13851 cat >conftest.
$ac_ext <<_ACEOF
13852 #line $LINENO "configure"
13855 cat confdefs.h
>>conftest.
$ac_ext
13856 cat >>conftest.
$ac_ext <<_ACEOF
13857 /* end confdefs.h. */
13858 $ac_includes_default
13864 if (sizeof (short))
13870 rm -f conftest.
$ac_objext
13871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13872 (eval $ac_compile) 2>&5
13874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13875 (exit $ac_status); } &&
13876 { ac_try
='test -s conftest.$ac_objext'
13877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13878 (eval $ac_try) 2>&5
13880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13881 (exit $ac_status); }; }; then
13882 ac_cv_type_short
=yes
13884 echo "$as_me: failed program was:" >&5
13885 sed 's/^/| /' conftest.
$ac_ext >&5
13887 ac_cv_type_short
=no
13889 rm -f conftest.
$ac_objext conftest.
$ac_ext
13891 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
13892 echo "${ECHO_T}$ac_cv_type_short" >&6
13894 echo "$as_me:$LINENO: checking size of short" >&5
13895 echo $ECHO_N "checking size of short... $ECHO_C" >&6
13896 if test "${ac_cv_sizeof_short+set}" = set; then
13897 echo $ECHO_N "(cached) $ECHO_C" >&6
13899 if test "$ac_cv_type_short" = yes; then
13900 # The cast to unsigned long works around a bug in the HP C Compiler
13901 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13902 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13903 # This bug is HP SR number 8606223364.
13904 if test "$cross_compiling" = yes; then
13905 # Depending upon the size, compute the lo and hi bounds.
13906 cat >conftest.
$ac_ext <<_ACEOF
13907 #line $LINENO "configure"
13910 cat confdefs.h
>>conftest.
$ac_ext
13911 cat >>conftest.
$ac_ext <<_ACEOF
13912 /* end confdefs.h. */
13913 $ac_includes_default
13917 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
13924 rm -f conftest.
$ac_objext
13925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13926 (eval $ac_compile) 2>&5
13928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13929 (exit $ac_status); } &&
13930 { ac_try
='test -s conftest.$ac_objext'
13931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13932 (eval $ac_try) 2>&5
13934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13935 (exit $ac_status); }; }; then
13938 cat >conftest.
$ac_ext <<_ACEOF
13939 #line $LINENO "configure"
13942 cat confdefs.h
>>conftest.
$ac_ext
13943 cat >>conftest.
$ac_ext <<_ACEOF
13944 /* end confdefs.h. */
13945 $ac_includes_default
13949 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
13956 rm -f conftest.
$ac_objext
13957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13958 (eval $ac_compile) 2>&5
13960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13961 (exit $ac_status); } &&
13962 { ac_try
='test -s conftest.$ac_objext'
13963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13964 (eval $ac_try) 2>&5
13966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13967 (exit $ac_status); }; }; then
13968 ac_hi
=$ac_mid; break
13970 echo "$as_me: failed program was:" >&5
13971 sed 's/^/| /' conftest.
$ac_ext >&5
13973 ac_lo
=`expr $ac_mid + 1`
13974 if test $ac_lo -le $ac_mid; then
13978 ac_mid
=`expr 2 '*' $ac_mid + 1`
13980 rm -f conftest.
$ac_objext conftest.
$ac_ext
13983 echo "$as_me: failed program was:" >&5
13984 sed 's/^/| /' conftest.
$ac_ext >&5
13986 cat >conftest.
$ac_ext <<_ACEOF
13987 #line $LINENO "configure"
13990 cat confdefs.h
>>conftest.
$ac_ext
13991 cat >>conftest.
$ac_ext <<_ACEOF
13992 /* end confdefs.h. */
13993 $ac_includes_default
13997 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14004 rm -f conftest.
$ac_objext
14005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14006 (eval $ac_compile) 2>&5
14008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14009 (exit $ac_status); } &&
14010 { ac_try
='test -s conftest.$ac_objext'
14011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14012 (eval $ac_try) 2>&5
14014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14015 (exit $ac_status); }; }; then
14018 cat >conftest.
$ac_ext <<_ACEOF
14019 #line $LINENO "configure"
14022 cat confdefs.h
>>conftest.
$ac_ext
14023 cat >>conftest.
$ac_ext <<_ACEOF
14024 /* end confdefs.h. */
14025 $ac_includes_default
14029 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14036 rm -f conftest.
$ac_objext
14037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14038 (eval $ac_compile) 2>&5
14040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14041 (exit $ac_status); } &&
14042 { ac_try
='test -s conftest.$ac_objext'
14043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14044 (eval $ac_try) 2>&5
14046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14047 (exit $ac_status); }; }; then
14048 ac_lo
=$ac_mid; break
14050 echo "$as_me: failed program was:" >&5
14051 sed 's/^/| /' conftest.
$ac_ext >&5
14053 ac_hi
=`expr '(' $ac_mid ')' - 1`
14054 if test $ac_mid -le $ac_hi; then
14058 ac_mid
=`expr 2 '*' $ac_mid`
14060 rm -f conftest.
$ac_objext conftest.
$ac_ext
14063 echo "$as_me: failed program was:" >&5
14064 sed 's/^/| /' conftest.
$ac_ext >&5
14068 rm -f conftest.
$ac_objext conftest.
$ac_ext
14070 rm -f conftest.
$ac_objext conftest.
$ac_ext
14071 # Binary search between lo and hi bounds.
14072 while test "x$ac_lo" != "x$ac_hi"; do
14073 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14074 cat >conftest.
$ac_ext <<_ACEOF
14075 #line $LINENO "configure"
14078 cat confdefs.h
>>conftest.
$ac_ext
14079 cat >>conftest.
$ac_ext <<_ACEOF
14080 /* end confdefs.h. */
14081 $ac_includes_default
14085 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14092 rm -f conftest.
$ac_objext
14093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14094 (eval $ac_compile) 2>&5
14096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14097 (exit $ac_status); } &&
14098 { ac_try
='test -s conftest.$ac_objext'
14099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14100 (eval $ac_try) 2>&5
14102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14103 (exit $ac_status); }; }; then
14106 echo "$as_me: failed program was:" >&5
14107 sed 's/^/| /' conftest.
$ac_ext >&5
14109 ac_lo
=`expr '(' $ac_mid ')' + 1`
14111 rm -f conftest.
$ac_objext conftest.
$ac_ext
14114 ?
*) ac_cv_sizeof_short
=$ac_lo;;
14115 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14116 See \`config.log' for more details." >&5
14117 echo "$as_me: error: cannot compute sizeof (short), 77
14118 See \`config.log' for more details." >&2;}
14119 { (exit 1); exit 1; }; } ;;
14122 if test "$cross_compiling" = yes; then
14123 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14124 See \`config.log' for more details." >&5
14125 echo "$as_me: error: cannot run test program while cross compiling
14126 See \`config.log' for more details." >&2;}
14127 { (exit 1); exit 1; }; }
14129 cat >conftest.
$ac_ext <<_ACEOF
14130 #line $LINENO "configure"
14133 cat confdefs.h
>>conftest.
$ac_ext
14134 cat >>conftest.
$ac_ext <<_ACEOF
14135 /* end confdefs.h. */
14136 $ac_includes_default
14137 long longval () { return (long) (sizeof (short)); }
14138 unsigned long ulongval () { return (long) (sizeof (short)); }
14140 #include <stdlib.h>
14145 FILE *f = fopen ("conftest.val", "w");
14148 if (((long) (sizeof (short))) < 0)
14150 long i = longval ();
14151 if (i != ((long) (sizeof (short))))
14153 fprintf (f, "%ld\n", i);
14157 unsigned long i = ulongval ();
14158 if (i != ((long) (sizeof (short))))
14160 fprintf (f, "%lu\n", i);
14162 exit (ferror (f) || fclose (f) != 0);
14168 rm -f conftest
$ac_exeext
14169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14170 (eval $ac_link) 2>&5
14172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14173 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14175 (eval $ac_try) 2>&5
14177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14178 (exit $ac_status); }; }; then
14179 ac_cv_sizeof_short
=`cat conftest.val`
14181 echo "$as_me: program exited with status $ac_status" >&5
14182 echo "$as_me: failed program was:" >&5
14183 sed 's/^/| /' conftest.
$ac_ext >&5
14185 ( exit $ac_status )
14186 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14187 See \`config.log' for more details." >&5
14188 echo "$as_me: error: cannot compute sizeof (short), 77
14189 See \`config.log' for more details." >&2;}
14190 { (exit 1); exit 1; }; }
14192 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14197 ac_cv_sizeof_short
=0
14200 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14201 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14202 cat >>confdefs.h
<<_ACEOF
14203 #define SIZEOF_SHORT $ac_cv_sizeof_short
14207 echo "$as_me:$LINENO: checking for void *" >&5
14208 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14209 if test "${ac_cv_type_void_p+set}" = set; then
14210 echo $ECHO_N "(cached) $ECHO_C" >&6
14212 cat >conftest.
$ac_ext <<_ACEOF
14213 #line $LINENO "configure"
14216 cat confdefs.h
>>conftest.
$ac_ext
14217 cat >>conftest.
$ac_ext <<_ACEOF
14218 /* end confdefs.h. */
14219 $ac_includes_default
14225 if (sizeof (void *))
14231 rm -f conftest.
$ac_objext
14232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14233 (eval $ac_compile) 2>&5
14235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14236 (exit $ac_status); } &&
14237 { ac_try
='test -s conftest.$ac_objext'
14238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14239 (eval $ac_try) 2>&5
14241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14242 (exit $ac_status); }; }; then
14243 ac_cv_type_void_p
=yes
14245 echo "$as_me: failed program was:" >&5
14246 sed 's/^/| /' conftest.
$ac_ext >&5
14248 ac_cv_type_void_p
=no
14250 rm -f conftest.
$ac_objext conftest.
$ac_ext
14252 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14253 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14255 echo "$as_me:$LINENO: checking size of void *" >&5
14256 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14257 if test "${ac_cv_sizeof_void_p+set}" = set; then
14258 echo $ECHO_N "(cached) $ECHO_C" >&6
14260 if test "$ac_cv_type_void_p" = yes; then
14261 # The cast to unsigned long works around a bug in the HP C Compiler
14262 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14263 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14264 # This bug is HP SR number 8606223364.
14265 if test "$cross_compiling" = yes; then
14266 # Depending upon the size, compute the lo and hi bounds.
14267 cat >conftest.
$ac_ext <<_ACEOF
14268 #line $LINENO "configure"
14271 cat confdefs.h
>>conftest.
$ac_ext
14272 cat >>conftest.
$ac_ext <<_ACEOF
14273 /* end confdefs.h. */
14274 $ac_includes_default
14278 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14285 rm -f conftest.
$ac_objext
14286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14287 (eval $ac_compile) 2>&5
14289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14290 (exit $ac_status); } &&
14291 { ac_try
='test -s conftest.$ac_objext'
14292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14293 (eval $ac_try) 2>&5
14295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14296 (exit $ac_status); }; }; then
14299 cat >conftest.
$ac_ext <<_ACEOF
14300 #line $LINENO "configure"
14303 cat confdefs.h
>>conftest.
$ac_ext
14304 cat >>conftest.
$ac_ext <<_ACEOF
14305 /* end confdefs.h. */
14306 $ac_includes_default
14310 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14317 rm -f conftest.
$ac_objext
14318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14319 (eval $ac_compile) 2>&5
14321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14322 (exit $ac_status); } &&
14323 { ac_try
='test -s conftest.$ac_objext'
14324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14325 (eval $ac_try) 2>&5
14327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14328 (exit $ac_status); }; }; then
14329 ac_hi
=$ac_mid; break
14331 echo "$as_me: failed program was:" >&5
14332 sed 's/^/| /' conftest.
$ac_ext >&5
14334 ac_lo
=`expr $ac_mid + 1`
14335 if test $ac_lo -le $ac_mid; then
14339 ac_mid
=`expr 2 '*' $ac_mid + 1`
14341 rm -f conftest.
$ac_objext conftest.
$ac_ext
14344 echo "$as_me: failed program was:" >&5
14345 sed 's/^/| /' conftest.
$ac_ext >&5
14347 cat >conftest.
$ac_ext <<_ACEOF
14348 #line $LINENO "configure"
14351 cat confdefs.h
>>conftest.
$ac_ext
14352 cat >>conftest.
$ac_ext <<_ACEOF
14353 /* end confdefs.h. */
14354 $ac_includes_default
14358 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14365 rm -f conftest.
$ac_objext
14366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14367 (eval $ac_compile) 2>&5
14369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14370 (exit $ac_status); } &&
14371 { ac_try
='test -s conftest.$ac_objext'
14372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14373 (eval $ac_try) 2>&5
14375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14376 (exit $ac_status); }; }; then
14379 cat >conftest.
$ac_ext <<_ACEOF
14380 #line $LINENO "configure"
14383 cat confdefs.h
>>conftest.
$ac_ext
14384 cat >>conftest.
$ac_ext <<_ACEOF
14385 /* end confdefs.h. */
14386 $ac_includes_default
14390 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14397 rm -f conftest.
$ac_objext
14398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14399 (eval $ac_compile) 2>&5
14401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14402 (exit $ac_status); } &&
14403 { ac_try
='test -s conftest.$ac_objext'
14404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14405 (eval $ac_try) 2>&5
14407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14408 (exit $ac_status); }; }; then
14409 ac_lo
=$ac_mid; break
14411 echo "$as_me: failed program was:" >&5
14412 sed 's/^/| /' conftest.
$ac_ext >&5
14414 ac_hi
=`expr '(' $ac_mid ')' - 1`
14415 if test $ac_mid -le $ac_hi; then
14419 ac_mid
=`expr 2 '*' $ac_mid`
14421 rm -f conftest.
$ac_objext conftest.
$ac_ext
14424 echo "$as_me: failed program was:" >&5
14425 sed 's/^/| /' conftest.
$ac_ext >&5
14429 rm -f conftest.
$ac_objext conftest.
$ac_ext
14431 rm -f conftest.
$ac_objext conftest.
$ac_ext
14432 # Binary search between lo and hi bounds.
14433 while test "x$ac_lo" != "x$ac_hi"; do
14434 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14435 cat >conftest.
$ac_ext <<_ACEOF
14436 #line $LINENO "configure"
14439 cat confdefs.h
>>conftest.
$ac_ext
14440 cat >>conftest.
$ac_ext <<_ACEOF
14441 /* end confdefs.h. */
14442 $ac_includes_default
14446 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14453 rm -f conftest.
$ac_objext
14454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14455 (eval $ac_compile) 2>&5
14457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14458 (exit $ac_status); } &&
14459 { ac_try
='test -s conftest.$ac_objext'
14460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14461 (eval $ac_try) 2>&5
14463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14464 (exit $ac_status); }; }; then
14467 echo "$as_me: failed program was:" >&5
14468 sed 's/^/| /' conftest.
$ac_ext >&5
14470 ac_lo
=`expr '(' $ac_mid ')' + 1`
14472 rm -f conftest.
$ac_objext conftest.
$ac_ext
14475 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
14476 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14477 See \`config.log' for more details." >&5
14478 echo "$as_me: error: cannot compute sizeof (void *), 77
14479 See \`config.log' for more details." >&2;}
14480 { (exit 1); exit 1; }; } ;;
14483 if test "$cross_compiling" = yes; then
14484 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14485 See \`config.log' for more details." >&5
14486 echo "$as_me: error: cannot run test program while cross compiling
14487 See \`config.log' for more details." >&2;}
14488 { (exit 1); exit 1; }; }
14490 cat >conftest.
$ac_ext <<_ACEOF
14491 #line $LINENO "configure"
14494 cat confdefs.h
>>conftest.
$ac_ext
14495 cat >>conftest.
$ac_ext <<_ACEOF
14496 /* end confdefs.h. */
14497 $ac_includes_default
14498 long longval () { return (long) (sizeof (void *)); }
14499 unsigned long ulongval () { return (long) (sizeof (void *)); }
14501 #include <stdlib.h>
14506 FILE *f = fopen ("conftest.val", "w");
14509 if (((long) (sizeof (void *))) < 0)
14511 long i = longval ();
14512 if (i != ((long) (sizeof (void *))))
14514 fprintf (f, "%ld\n", i);
14518 unsigned long i = ulongval ();
14519 if (i != ((long) (sizeof (void *))))
14521 fprintf (f, "%lu\n", i);
14523 exit (ferror (f) || fclose (f) != 0);
14529 rm -f conftest
$ac_exeext
14530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14531 (eval $ac_link) 2>&5
14533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14534 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14536 (eval $ac_try) 2>&5
14538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14539 (exit $ac_status); }; }; then
14540 ac_cv_sizeof_void_p
=`cat conftest.val`
14542 echo "$as_me: program exited with status $ac_status" >&5
14543 echo "$as_me: failed program was:" >&5
14544 sed 's/^/| /' conftest.
$ac_ext >&5
14546 ( exit $ac_status )
14547 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14548 See \`config.log' for more details." >&5
14549 echo "$as_me: error: cannot compute sizeof (void *), 77
14550 See \`config.log' for more details." >&2;}
14551 { (exit 1); exit 1; }; }
14553 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14558 ac_cv_sizeof_void_p
=0
14561 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14562 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14563 cat >>confdefs.h
<<_ACEOF
14564 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14568 echo "$as_me:$LINENO: checking for int" >&5
14569 echo $ECHO_N "checking for int... $ECHO_C" >&6
14570 if test "${ac_cv_type_int+set}" = set; then
14571 echo $ECHO_N "(cached) $ECHO_C" >&6
14573 cat >conftest.
$ac_ext <<_ACEOF
14574 #line $LINENO "configure"
14577 cat confdefs.h
>>conftest.
$ac_ext
14578 cat >>conftest.
$ac_ext <<_ACEOF
14579 /* end confdefs.h. */
14580 $ac_includes_default
14592 rm -f conftest.
$ac_objext
14593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14594 (eval $ac_compile) 2>&5
14596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14597 (exit $ac_status); } &&
14598 { ac_try
='test -s conftest.$ac_objext'
14599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14600 (eval $ac_try) 2>&5
14602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14603 (exit $ac_status); }; }; then
14606 echo "$as_me: failed program was:" >&5
14607 sed 's/^/| /' conftest.
$ac_ext >&5
14611 rm -f conftest.
$ac_objext conftest.
$ac_ext
14613 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14614 echo "${ECHO_T}$ac_cv_type_int" >&6
14616 echo "$as_me:$LINENO: checking size of int" >&5
14617 echo $ECHO_N "checking size of int... $ECHO_C" >&6
14618 if test "${ac_cv_sizeof_int+set}" = set; then
14619 echo $ECHO_N "(cached) $ECHO_C" >&6
14621 if test "$ac_cv_type_int" = yes; then
14622 # The cast to unsigned long works around a bug in the HP C Compiler
14623 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14624 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14625 # This bug is HP SR number 8606223364.
14626 if test "$cross_compiling" = yes; then
14627 # Depending upon the size, compute the lo and hi bounds.
14628 cat >conftest.
$ac_ext <<_ACEOF
14629 #line $LINENO "configure"
14632 cat confdefs.h
>>conftest.
$ac_ext
14633 cat >>conftest.
$ac_ext <<_ACEOF
14634 /* end confdefs.h. */
14635 $ac_includes_default
14639 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14646 rm -f conftest.
$ac_objext
14647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14648 (eval $ac_compile) 2>&5
14650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14651 (exit $ac_status); } &&
14652 { ac_try
='test -s conftest.$ac_objext'
14653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14654 (eval $ac_try) 2>&5
14656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14657 (exit $ac_status); }; }; then
14660 cat >conftest.
$ac_ext <<_ACEOF
14661 #line $LINENO "configure"
14664 cat confdefs.h
>>conftest.
$ac_ext
14665 cat >>conftest.
$ac_ext <<_ACEOF
14666 /* end confdefs.h. */
14667 $ac_includes_default
14671 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14678 rm -f conftest.
$ac_objext
14679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14680 (eval $ac_compile) 2>&5
14682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14683 (exit $ac_status); } &&
14684 { ac_try
='test -s conftest.$ac_objext'
14685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14686 (eval $ac_try) 2>&5
14688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14689 (exit $ac_status); }; }; then
14690 ac_hi
=$ac_mid; break
14692 echo "$as_me: failed program was:" >&5
14693 sed 's/^/| /' conftest.
$ac_ext >&5
14695 ac_lo
=`expr $ac_mid + 1`
14696 if test $ac_lo -le $ac_mid; then
14700 ac_mid
=`expr 2 '*' $ac_mid + 1`
14702 rm -f conftest.
$ac_objext conftest.
$ac_ext
14705 echo "$as_me: failed program was:" >&5
14706 sed 's/^/| /' conftest.
$ac_ext >&5
14708 cat >conftest.
$ac_ext <<_ACEOF
14709 #line $LINENO "configure"
14712 cat confdefs.h
>>conftest.
$ac_ext
14713 cat >>conftest.
$ac_ext <<_ACEOF
14714 /* end confdefs.h. */
14715 $ac_includes_default
14719 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
14726 rm -f conftest.
$ac_objext
14727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14728 (eval $ac_compile) 2>&5
14730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14731 (exit $ac_status); } &&
14732 { ac_try
='test -s conftest.$ac_objext'
14733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14734 (eval $ac_try) 2>&5
14736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14737 (exit $ac_status); }; }; then
14740 cat >conftest.
$ac_ext <<_ACEOF
14741 #line $LINENO "configure"
14744 cat confdefs.h
>>conftest.
$ac_ext
14745 cat >>conftest.
$ac_ext <<_ACEOF
14746 /* end confdefs.h. */
14747 $ac_includes_default
14751 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
14758 rm -f conftest.
$ac_objext
14759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14760 (eval $ac_compile) 2>&5
14762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14763 (exit $ac_status); } &&
14764 { ac_try
='test -s conftest.$ac_objext'
14765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14766 (eval $ac_try) 2>&5
14768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14769 (exit $ac_status); }; }; then
14770 ac_lo
=$ac_mid; break
14772 echo "$as_me: failed program was:" >&5
14773 sed 's/^/| /' conftest.
$ac_ext >&5
14775 ac_hi
=`expr '(' $ac_mid ')' - 1`
14776 if test $ac_mid -le $ac_hi; then
14780 ac_mid
=`expr 2 '*' $ac_mid`
14782 rm -f conftest.
$ac_objext conftest.
$ac_ext
14785 echo "$as_me: failed program was:" >&5
14786 sed 's/^/| /' conftest.
$ac_ext >&5
14790 rm -f conftest.
$ac_objext conftest.
$ac_ext
14792 rm -f conftest.
$ac_objext conftest.
$ac_ext
14793 # Binary search between lo and hi bounds.
14794 while test "x$ac_lo" != "x$ac_hi"; do
14795 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14796 cat >conftest.
$ac_ext <<_ACEOF
14797 #line $LINENO "configure"
14800 cat confdefs.h
>>conftest.
$ac_ext
14801 cat >>conftest.
$ac_ext <<_ACEOF
14802 /* end confdefs.h. */
14803 $ac_includes_default
14807 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14814 rm -f conftest.
$ac_objext
14815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14816 (eval $ac_compile) 2>&5
14818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14819 (exit $ac_status); } &&
14820 { ac_try
='test -s conftest.$ac_objext'
14821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14822 (eval $ac_try) 2>&5
14824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14825 (exit $ac_status); }; }; then
14828 echo "$as_me: failed program was:" >&5
14829 sed 's/^/| /' conftest.
$ac_ext >&5
14831 ac_lo
=`expr '(' $ac_mid ')' + 1`
14833 rm -f conftest.
$ac_objext conftest.
$ac_ext
14836 ?
*) ac_cv_sizeof_int
=$ac_lo;;
14837 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
14838 See \`config.log' for more details." >&5
14839 echo "$as_me: error: cannot compute sizeof (int), 77
14840 See \`config.log' for more details." >&2;}
14841 { (exit 1); exit 1; }; } ;;
14844 if test "$cross_compiling" = yes; then
14845 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14846 See \`config.log' for more details." >&5
14847 echo "$as_me: error: cannot run test program while cross compiling
14848 See \`config.log' for more details." >&2;}
14849 { (exit 1); exit 1; }; }
14851 cat >conftest.
$ac_ext <<_ACEOF
14852 #line $LINENO "configure"
14855 cat confdefs.h
>>conftest.
$ac_ext
14856 cat >>conftest.
$ac_ext <<_ACEOF
14857 /* end confdefs.h. */
14858 $ac_includes_default
14859 long longval () { return (long) (sizeof (int)); }
14860 unsigned long ulongval () { return (long) (sizeof (int)); }
14862 #include <stdlib.h>
14867 FILE *f = fopen ("conftest.val", "w");
14870 if (((long) (sizeof (int))) < 0)
14872 long i = longval ();
14873 if (i != ((long) (sizeof (int))))
14875 fprintf (f, "%ld\n", i);
14879 unsigned long i = ulongval ();
14880 if (i != ((long) (sizeof (int))))
14882 fprintf (f, "%lu\n", i);
14884 exit (ferror (f) || fclose (f) != 0);
14890 rm -f conftest
$ac_exeext
14891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14892 (eval $ac_link) 2>&5
14894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14895 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14897 (eval $ac_try) 2>&5
14899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14900 (exit $ac_status); }; }; then
14901 ac_cv_sizeof_int
=`cat conftest.val`
14903 echo "$as_me: program exited with status $ac_status" >&5
14904 echo "$as_me: failed program was:" >&5
14905 sed 's/^/| /' conftest.
$ac_ext >&5
14907 ( exit $ac_status )
14908 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
14909 See \`config.log' for more details." >&5
14910 echo "$as_me: error: cannot compute sizeof (int), 77
14911 See \`config.log' for more details." >&2;}
14912 { (exit 1); exit 1; }; }
14914 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14922 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
14923 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
14924 cat >>confdefs.h
<<_ACEOF
14925 #define SIZEOF_INT $ac_cv_sizeof_int
14929 echo "$as_me:$LINENO: checking for long" >&5
14930 echo $ECHO_N "checking for long... $ECHO_C" >&6
14931 if test "${ac_cv_type_long+set}" = set; then
14932 echo $ECHO_N "(cached) $ECHO_C" >&6
14934 cat >conftest.
$ac_ext <<_ACEOF
14935 #line $LINENO "configure"
14938 cat confdefs.h
>>conftest.
$ac_ext
14939 cat >>conftest.
$ac_ext <<_ACEOF
14940 /* end confdefs.h. */
14941 $ac_includes_default
14953 rm -f conftest.
$ac_objext
14954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14955 (eval $ac_compile) 2>&5
14957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14958 (exit $ac_status); } &&
14959 { ac_try
='test -s conftest.$ac_objext'
14960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14961 (eval $ac_try) 2>&5
14963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14964 (exit $ac_status); }; }; then
14965 ac_cv_type_long
=yes
14967 echo "$as_me: failed program was:" >&5
14968 sed 's/^/| /' conftest.
$ac_ext >&5
14972 rm -f conftest.
$ac_objext conftest.
$ac_ext
14974 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
14975 echo "${ECHO_T}$ac_cv_type_long" >&6
14977 echo "$as_me:$LINENO: checking size of long" >&5
14978 echo $ECHO_N "checking size of long... $ECHO_C" >&6
14979 if test "${ac_cv_sizeof_long+set}" = set; then
14980 echo $ECHO_N "(cached) $ECHO_C" >&6
14982 if test "$ac_cv_type_long" = yes; then
14983 # The cast to unsigned long works around a bug in the HP C Compiler
14984 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14985 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14986 # This bug is HP SR number 8606223364.
14987 if test "$cross_compiling" = yes; then
14988 # Depending upon the size, compute the lo and hi bounds.
14989 cat >conftest.
$ac_ext <<_ACEOF
14990 #line $LINENO "configure"
14993 cat confdefs.h
>>conftest.
$ac_ext
14994 cat >>conftest.
$ac_ext <<_ACEOF
14995 /* end confdefs.h. */
14996 $ac_includes_default
15000 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15007 rm -f conftest.
$ac_objext
15008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15009 (eval $ac_compile) 2>&5
15011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15012 (exit $ac_status); } &&
15013 { ac_try
='test -s conftest.$ac_objext'
15014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15015 (eval $ac_try) 2>&5
15017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15018 (exit $ac_status); }; }; then
15021 cat >conftest.
$ac_ext <<_ACEOF
15022 #line $LINENO "configure"
15025 cat confdefs.h
>>conftest.
$ac_ext
15026 cat >>conftest.
$ac_ext <<_ACEOF
15027 /* end confdefs.h. */
15028 $ac_includes_default
15032 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15039 rm -f conftest.
$ac_objext
15040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15041 (eval $ac_compile) 2>&5
15043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15044 (exit $ac_status); } &&
15045 { ac_try
='test -s conftest.$ac_objext'
15046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15047 (eval $ac_try) 2>&5
15049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15050 (exit $ac_status); }; }; then
15051 ac_hi
=$ac_mid; break
15053 echo "$as_me: failed program was:" >&5
15054 sed 's/^/| /' conftest.
$ac_ext >&5
15056 ac_lo
=`expr $ac_mid + 1`
15057 if test $ac_lo -le $ac_mid; then
15061 ac_mid
=`expr 2 '*' $ac_mid + 1`
15063 rm -f conftest.
$ac_objext conftest.
$ac_ext
15066 echo "$as_me: failed program was:" >&5
15067 sed 's/^/| /' conftest.
$ac_ext >&5
15069 cat >conftest.
$ac_ext <<_ACEOF
15070 #line $LINENO "configure"
15073 cat confdefs.h
>>conftest.
$ac_ext
15074 cat >>conftest.
$ac_ext <<_ACEOF
15075 /* end confdefs.h. */
15076 $ac_includes_default
15080 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15087 rm -f conftest.
$ac_objext
15088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15089 (eval $ac_compile) 2>&5
15091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15092 (exit $ac_status); } &&
15093 { ac_try
='test -s conftest.$ac_objext'
15094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15095 (eval $ac_try) 2>&5
15097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15098 (exit $ac_status); }; }; then
15101 cat >conftest.
$ac_ext <<_ACEOF
15102 #line $LINENO "configure"
15105 cat confdefs.h
>>conftest.
$ac_ext
15106 cat >>conftest.
$ac_ext <<_ACEOF
15107 /* end confdefs.h. */
15108 $ac_includes_default
15112 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15119 rm -f conftest.
$ac_objext
15120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15121 (eval $ac_compile) 2>&5
15123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15124 (exit $ac_status); } &&
15125 { ac_try
='test -s conftest.$ac_objext'
15126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15127 (eval $ac_try) 2>&5
15129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15130 (exit $ac_status); }; }; then
15131 ac_lo
=$ac_mid; break
15133 echo "$as_me: failed program was:" >&5
15134 sed 's/^/| /' conftest.
$ac_ext >&5
15136 ac_hi
=`expr '(' $ac_mid ')' - 1`
15137 if test $ac_mid -le $ac_hi; then
15141 ac_mid
=`expr 2 '*' $ac_mid`
15143 rm -f conftest.
$ac_objext conftest.
$ac_ext
15146 echo "$as_me: failed program was:" >&5
15147 sed 's/^/| /' conftest.
$ac_ext >&5
15151 rm -f conftest.
$ac_objext conftest.
$ac_ext
15153 rm -f conftest.
$ac_objext conftest.
$ac_ext
15154 # Binary search between lo and hi bounds.
15155 while test "x$ac_lo" != "x$ac_hi"; do
15156 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15157 cat >conftest.
$ac_ext <<_ACEOF
15158 #line $LINENO "configure"
15161 cat confdefs.h
>>conftest.
$ac_ext
15162 cat >>conftest.
$ac_ext <<_ACEOF
15163 /* end confdefs.h. */
15164 $ac_includes_default
15168 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15175 rm -f conftest.
$ac_objext
15176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15177 (eval $ac_compile) 2>&5
15179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15180 (exit $ac_status); } &&
15181 { ac_try
='test -s conftest.$ac_objext'
15182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15183 (eval $ac_try) 2>&5
15185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15186 (exit $ac_status); }; }; then
15189 echo "$as_me: failed program was:" >&5
15190 sed 's/^/| /' conftest.
$ac_ext >&5
15192 ac_lo
=`expr '(' $ac_mid ')' + 1`
15194 rm -f conftest.
$ac_objext conftest.
$ac_ext
15197 ?
*) ac_cv_sizeof_long
=$ac_lo;;
15198 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15199 See \`config.log' for more details." >&5
15200 echo "$as_me: error: cannot compute sizeof (long), 77
15201 See \`config.log' for more details." >&2;}
15202 { (exit 1); exit 1; }; } ;;
15205 if test "$cross_compiling" = yes; then
15206 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15207 See \`config.log' for more details." >&5
15208 echo "$as_me: error: cannot run test program while cross compiling
15209 See \`config.log' for more details." >&2;}
15210 { (exit 1); exit 1; }; }
15212 cat >conftest.
$ac_ext <<_ACEOF
15213 #line $LINENO "configure"
15216 cat confdefs.h
>>conftest.
$ac_ext
15217 cat >>conftest.
$ac_ext <<_ACEOF
15218 /* end confdefs.h. */
15219 $ac_includes_default
15220 long longval () { return (long) (sizeof (long)); }
15221 unsigned long ulongval () { return (long) (sizeof (long)); }
15223 #include <stdlib.h>
15228 FILE *f = fopen ("conftest.val", "w");
15231 if (((long) (sizeof (long))) < 0)
15233 long i = longval ();
15234 if (i != ((long) (sizeof (long))))
15236 fprintf (f, "%ld\n", i);
15240 unsigned long i = ulongval ();
15241 if (i != ((long) (sizeof (long))))
15243 fprintf (f, "%lu\n", i);
15245 exit (ferror (f) || fclose (f) != 0);
15251 rm -f conftest
$ac_exeext
15252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15253 (eval $ac_link) 2>&5
15255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15256 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15258 (eval $ac_try) 2>&5
15260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15261 (exit $ac_status); }; }; then
15262 ac_cv_sizeof_long
=`cat conftest.val`
15264 echo "$as_me: program exited with status $ac_status" >&5
15265 echo "$as_me: failed program was:" >&5
15266 sed 's/^/| /' conftest.
$ac_ext >&5
15268 ( exit $ac_status )
15269 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15270 See \`config.log' for more details." >&5
15271 echo "$as_me: error: cannot compute sizeof (long), 77
15272 See \`config.log' for more details." >&2;}
15273 { (exit 1); exit 1; }; }
15275 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15280 ac_cv_sizeof_long
=0
15283 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15284 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15285 cat >>confdefs.h
<<_ACEOF
15286 #define SIZEOF_LONG $ac_cv_sizeof_long
15293 echo "$as_me:$LINENO: checking for long long" >&5
15294 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15295 if test "${ac_cv_type_long_long+set}" = set; then
15296 echo $ECHO_N "(cached) $ECHO_C" >&6
15298 cat >conftest.
$ac_ext <<_ACEOF
15299 #line $LINENO "configure"
15302 cat confdefs.h
>>conftest.
$ac_ext
15303 cat >>conftest.
$ac_ext <<_ACEOF
15304 /* end confdefs.h. */
15305 $ac_includes_default
15309 if ((long long *) 0)
15311 if (sizeof (long long))
15317 rm -f conftest.
$ac_objext
15318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15319 (eval $ac_compile) 2>&5
15321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15322 (exit $ac_status); } &&
15323 { ac_try
='test -s conftest.$ac_objext'
15324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15325 (eval $ac_try) 2>&5
15327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15328 (exit $ac_status); }; }; then
15329 ac_cv_type_long_long
=yes
15331 echo "$as_me: failed program was:" >&5
15332 sed 's/^/| /' conftest.
$ac_ext >&5
15334 ac_cv_type_long_long
=no
15336 rm -f conftest.
$ac_objext conftest.
$ac_ext
15338 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15339 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15341 echo "$as_me:$LINENO: checking size of long long" >&5
15342 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15343 if test "${ac_cv_sizeof_long_long+set}" = set; then
15344 echo $ECHO_N "(cached) $ECHO_C" >&6
15346 if test "$ac_cv_type_long_long" = yes; then
15347 # The cast to unsigned long works around a bug in the HP C Compiler
15348 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15349 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15350 # This bug is HP SR number 8606223364.
15351 if test "$cross_compiling" = yes; then
15352 # Depending upon the size, compute the lo and hi bounds.
15353 cat >conftest.
$ac_ext <<_ACEOF
15354 #line $LINENO "configure"
15357 cat confdefs.h
>>conftest.
$ac_ext
15358 cat >>conftest.
$ac_ext <<_ACEOF
15359 /* end confdefs.h. */
15360 $ac_includes_default
15364 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15371 rm -f conftest.
$ac_objext
15372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15373 (eval $ac_compile) 2>&5
15375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15376 (exit $ac_status); } &&
15377 { ac_try
='test -s conftest.$ac_objext'
15378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15379 (eval $ac_try) 2>&5
15381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15382 (exit $ac_status); }; }; then
15385 cat >conftest.
$ac_ext <<_ACEOF
15386 #line $LINENO "configure"
15389 cat confdefs.h
>>conftest.
$ac_ext
15390 cat >>conftest.
$ac_ext <<_ACEOF
15391 /* end confdefs.h. */
15392 $ac_includes_default
15396 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15403 rm -f conftest.
$ac_objext
15404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15405 (eval $ac_compile) 2>&5
15407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15408 (exit $ac_status); } &&
15409 { ac_try
='test -s conftest.$ac_objext'
15410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15411 (eval $ac_try) 2>&5
15413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15414 (exit $ac_status); }; }; then
15415 ac_hi
=$ac_mid; break
15417 echo "$as_me: failed program was:" >&5
15418 sed 's/^/| /' conftest.
$ac_ext >&5
15420 ac_lo
=`expr $ac_mid + 1`
15421 if test $ac_lo -le $ac_mid; then
15425 ac_mid
=`expr 2 '*' $ac_mid + 1`
15427 rm -f conftest.
$ac_objext conftest.
$ac_ext
15430 echo "$as_me: failed program was:" >&5
15431 sed 's/^/| /' conftest.
$ac_ext >&5
15433 cat >conftest.
$ac_ext <<_ACEOF
15434 #line $LINENO "configure"
15437 cat confdefs.h
>>conftest.
$ac_ext
15438 cat >>conftest.
$ac_ext <<_ACEOF
15439 /* end confdefs.h. */
15440 $ac_includes_default
15444 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15451 rm -f conftest.
$ac_objext
15452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15453 (eval $ac_compile) 2>&5
15455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15456 (exit $ac_status); } &&
15457 { ac_try
='test -s conftest.$ac_objext'
15458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15459 (eval $ac_try) 2>&5
15461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15462 (exit $ac_status); }; }; then
15465 cat >conftest.
$ac_ext <<_ACEOF
15466 #line $LINENO "configure"
15469 cat confdefs.h
>>conftest.
$ac_ext
15470 cat >>conftest.
$ac_ext <<_ACEOF
15471 /* end confdefs.h. */
15472 $ac_includes_default
15476 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15483 rm -f conftest.
$ac_objext
15484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15485 (eval $ac_compile) 2>&5
15487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15488 (exit $ac_status); } &&
15489 { ac_try
='test -s conftest.$ac_objext'
15490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15491 (eval $ac_try) 2>&5
15493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15494 (exit $ac_status); }; }; then
15495 ac_lo
=$ac_mid; break
15497 echo "$as_me: failed program was:" >&5
15498 sed 's/^/| /' conftest.
$ac_ext >&5
15500 ac_hi
=`expr '(' $ac_mid ')' - 1`
15501 if test $ac_mid -le $ac_hi; then
15505 ac_mid
=`expr 2 '*' $ac_mid`
15507 rm -f conftest.
$ac_objext conftest.
$ac_ext
15510 echo "$as_me: failed program was:" >&5
15511 sed 's/^/| /' conftest.
$ac_ext >&5
15515 rm -f conftest.
$ac_objext conftest.
$ac_ext
15517 rm -f conftest.
$ac_objext conftest.
$ac_ext
15518 # Binary search between lo and hi bounds.
15519 while test "x$ac_lo" != "x$ac_hi"; do
15520 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15521 cat >conftest.
$ac_ext <<_ACEOF
15522 #line $LINENO "configure"
15525 cat confdefs.h
>>conftest.
$ac_ext
15526 cat >>conftest.
$ac_ext <<_ACEOF
15527 /* end confdefs.h. */
15528 $ac_includes_default
15532 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15539 rm -f conftest.
$ac_objext
15540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15541 (eval $ac_compile) 2>&5
15543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15544 (exit $ac_status); } &&
15545 { ac_try
='test -s conftest.$ac_objext'
15546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15547 (eval $ac_try) 2>&5
15549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15550 (exit $ac_status); }; }; then
15553 echo "$as_me: failed program was:" >&5
15554 sed 's/^/| /' conftest.
$ac_ext >&5
15556 ac_lo
=`expr '(' $ac_mid ')' + 1`
15558 rm -f conftest.
$ac_objext conftest.
$ac_ext
15561 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
15562 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15563 See \`config.log' for more details." >&5
15564 echo "$as_me: error: cannot compute sizeof (long long), 77
15565 See \`config.log' for more details." >&2;}
15566 { (exit 1); exit 1; }; } ;;
15569 if test "$cross_compiling" = yes; then
15570 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15571 See \`config.log' for more details." >&5
15572 echo "$as_me: error: cannot run test program while cross compiling
15573 See \`config.log' for more details." >&2;}
15574 { (exit 1); exit 1; }; }
15576 cat >conftest.
$ac_ext <<_ACEOF
15577 #line $LINENO "configure"
15580 cat confdefs.h
>>conftest.
$ac_ext
15581 cat >>conftest.
$ac_ext <<_ACEOF
15582 /* end confdefs.h. */
15583 $ac_includes_default
15584 long longval () { return (long) (sizeof (long long)); }
15585 unsigned long ulongval () { return (long) (sizeof (long long)); }
15587 #include <stdlib.h>
15592 FILE *f = fopen ("conftest.val", "w");
15595 if (((long) (sizeof (long long))) < 0)
15597 long i = longval ();
15598 if (i != ((long) (sizeof (long long))))
15600 fprintf (f, "%ld\n", i);
15604 unsigned long i = ulongval ();
15605 if (i != ((long) (sizeof (long long))))
15607 fprintf (f, "%lu\n", i);
15609 exit (ferror (f) || fclose (f) != 0);
15615 rm -f conftest
$ac_exeext
15616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15617 (eval $ac_link) 2>&5
15619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15620 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15622 (eval $ac_try) 2>&5
15624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15625 (exit $ac_status); }; }; then
15626 ac_cv_sizeof_long_long
=`cat conftest.val`
15628 echo "$as_me: program exited with status $ac_status" >&5
15629 echo "$as_me: failed program was:" >&5
15630 sed 's/^/| /' conftest.
$ac_ext >&5
15632 ( exit $ac_status )
15633 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15634 See \`config.log' for more details." >&5
15635 echo "$as_me: error: cannot compute sizeof (long long), 77
15636 See \`config.log' for more details." >&2;}
15637 { (exit 1); exit 1; }; }
15639 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15644 ac_cv_sizeof_long_long
=0
15647 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
15648 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
15649 cat >>confdefs.h
<<_ACEOF
15650 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15656 echo "$as_me:$LINENO: checking for long long" >&5
15657 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15658 if test "${ac_cv_type_long_long+set}" = set; then
15659 echo $ECHO_N "(cached) $ECHO_C" >&6
15661 cat >conftest.
$ac_ext <<_ACEOF
15662 #line $LINENO "configure"
15665 cat confdefs.h
>>conftest.
$ac_ext
15666 cat >>conftest.
$ac_ext <<_ACEOF
15667 /* end confdefs.h. */
15668 $ac_includes_default
15672 if ((long long *) 0)
15674 if (sizeof (long long))
15680 rm -f conftest.
$ac_objext
15681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15682 (eval $ac_compile) 2>&5
15684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15685 (exit $ac_status); } &&
15686 { ac_try
='test -s conftest.$ac_objext'
15687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15688 (eval $ac_try) 2>&5
15690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15691 (exit $ac_status); }; }; then
15692 ac_cv_type_long_long
=yes
15694 echo "$as_me: failed program was:" >&5
15695 sed 's/^/| /' conftest.
$ac_ext >&5
15697 ac_cv_type_long_long
=no
15699 rm -f conftest.
$ac_objext conftest.
$ac_ext
15701 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15702 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15704 echo "$as_me:$LINENO: checking size of long long" >&5
15705 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15706 if test "${ac_cv_sizeof_long_long+set}" = set; then
15707 echo $ECHO_N "(cached) $ECHO_C" >&6
15709 if test "$ac_cv_type_long_long" = yes; then
15710 # The cast to unsigned long works around a bug in the HP C Compiler
15711 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15712 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15713 # This bug is HP SR number 8606223364.
15714 if test "$cross_compiling" = yes; then
15715 # Depending upon the size, compute the lo and hi bounds.
15716 cat >conftest.
$ac_ext <<_ACEOF
15717 #line $LINENO "configure"
15720 cat confdefs.h
>>conftest.
$ac_ext
15721 cat >>conftest.
$ac_ext <<_ACEOF
15722 /* end confdefs.h. */
15723 $ac_includes_default
15727 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15734 rm -f conftest.
$ac_objext
15735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15736 (eval $ac_compile) 2>&5
15738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15739 (exit $ac_status); } &&
15740 { ac_try
='test -s conftest.$ac_objext'
15741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15742 (eval $ac_try) 2>&5
15744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15745 (exit $ac_status); }; }; then
15748 cat >conftest.
$ac_ext <<_ACEOF
15749 #line $LINENO "configure"
15752 cat confdefs.h
>>conftest.
$ac_ext
15753 cat >>conftest.
$ac_ext <<_ACEOF
15754 /* end confdefs.h. */
15755 $ac_includes_default
15759 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15766 rm -f conftest.
$ac_objext
15767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15768 (eval $ac_compile) 2>&5
15770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15771 (exit $ac_status); } &&
15772 { ac_try
='test -s conftest.$ac_objext'
15773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15774 (eval $ac_try) 2>&5
15776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15777 (exit $ac_status); }; }; then
15778 ac_hi
=$ac_mid; break
15780 echo "$as_me: failed program was:" >&5
15781 sed 's/^/| /' conftest.
$ac_ext >&5
15783 ac_lo
=`expr $ac_mid + 1`
15784 if test $ac_lo -le $ac_mid; then
15788 ac_mid
=`expr 2 '*' $ac_mid + 1`
15790 rm -f conftest.
$ac_objext conftest.
$ac_ext
15793 echo "$as_me: failed program was:" >&5
15794 sed 's/^/| /' conftest.
$ac_ext >&5
15796 cat >conftest.
$ac_ext <<_ACEOF
15797 #line $LINENO "configure"
15800 cat confdefs.h
>>conftest.
$ac_ext
15801 cat >>conftest.
$ac_ext <<_ACEOF
15802 /* end confdefs.h. */
15803 $ac_includes_default
15807 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15814 rm -f conftest.
$ac_objext
15815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15816 (eval $ac_compile) 2>&5
15818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15819 (exit $ac_status); } &&
15820 { ac_try
='test -s conftest.$ac_objext'
15821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15822 (eval $ac_try) 2>&5
15824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15825 (exit $ac_status); }; }; then
15828 cat >conftest.
$ac_ext <<_ACEOF
15829 #line $LINENO "configure"
15832 cat confdefs.h
>>conftest.
$ac_ext
15833 cat >>conftest.
$ac_ext <<_ACEOF
15834 /* end confdefs.h. */
15835 $ac_includes_default
15839 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15846 rm -f conftest.
$ac_objext
15847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15848 (eval $ac_compile) 2>&5
15850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15851 (exit $ac_status); } &&
15852 { ac_try
='test -s conftest.$ac_objext'
15853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15854 (eval $ac_try) 2>&5
15856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15857 (exit $ac_status); }; }; then
15858 ac_lo
=$ac_mid; break
15860 echo "$as_me: failed program was:" >&5
15861 sed 's/^/| /' conftest.
$ac_ext >&5
15863 ac_hi
=`expr '(' $ac_mid ')' - 1`
15864 if test $ac_mid -le $ac_hi; then
15868 ac_mid
=`expr 2 '*' $ac_mid`
15870 rm -f conftest.
$ac_objext conftest.
$ac_ext
15873 echo "$as_me: failed program was:" >&5
15874 sed 's/^/| /' conftest.
$ac_ext >&5
15878 rm -f conftest.
$ac_objext conftest.
$ac_ext
15880 rm -f conftest.
$ac_objext conftest.
$ac_ext
15881 # Binary search between lo and hi bounds.
15882 while test "x$ac_lo" != "x$ac_hi"; do
15883 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15884 cat >conftest.
$ac_ext <<_ACEOF
15885 #line $LINENO "configure"
15888 cat confdefs.h
>>conftest.
$ac_ext
15889 cat >>conftest.
$ac_ext <<_ACEOF
15890 /* end confdefs.h. */
15891 $ac_includes_default
15895 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15902 rm -f conftest.
$ac_objext
15903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15904 (eval $ac_compile) 2>&5
15906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15907 (exit $ac_status); } &&
15908 { ac_try
='test -s conftest.$ac_objext'
15909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15910 (eval $ac_try) 2>&5
15912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15913 (exit $ac_status); }; }; then
15916 echo "$as_me: failed program was:" >&5
15917 sed 's/^/| /' conftest.
$ac_ext >&5
15919 ac_lo
=`expr '(' $ac_mid ')' + 1`
15921 rm -f conftest.
$ac_objext conftest.
$ac_ext
15924 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
15925 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15926 See \`config.log' for more details." >&5
15927 echo "$as_me: error: cannot compute sizeof (long long), 77
15928 See \`config.log' for more details." >&2;}
15929 { (exit 1); exit 1; }; } ;;
15932 if test "$cross_compiling" = yes; then
15933 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15934 See \`config.log' for more details." >&5
15935 echo "$as_me: error: cannot run test program while cross compiling
15936 See \`config.log' for more details." >&2;}
15937 { (exit 1); exit 1; }; }
15939 cat >conftest.
$ac_ext <<_ACEOF
15940 #line $LINENO "configure"
15943 cat confdefs.h
>>conftest.
$ac_ext
15944 cat >>conftest.
$ac_ext <<_ACEOF
15945 /* end confdefs.h. */
15946 $ac_includes_default
15947 long longval () { return (long) (sizeof (long long)); }
15948 unsigned long ulongval () { return (long) (sizeof (long long)); }
15950 #include <stdlib.h>
15955 FILE *f = fopen ("conftest.val", "w");
15958 if (((long) (sizeof (long long))) < 0)
15960 long i = longval ();
15961 if (i != ((long) (sizeof (long long))))
15963 fprintf (f, "%ld\n", i);
15967 unsigned long i = ulongval ();
15968 if (i != ((long) (sizeof (long long))))
15970 fprintf (f, "%lu\n", i);
15972 exit (ferror (f) || fclose (f) != 0);
15978 rm -f conftest
$ac_exeext
15979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15980 (eval $ac_link) 2>&5
15982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15983 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15985 (eval $ac_try) 2>&5
15987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15988 (exit $ac_status); }; }; then
15989 ac_cv_sizeof_long_long
=`cat conftest.val`
15991 echo "$as_me: program exited with status $ac_status" >&5
15992 echo "$as_me: failed program was:" >&5
15993 sed 's/^/| /' conftest.
$ac_ext >&5
15995 ( exit $ac_status )
15996 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15997 See \`config.log' for more details." >&5
15998 echo "$as_me: error: cannot compute sizeof (long long), 77
15999 See \`config.log' for more details." >&2;}
16000 { (exit 1); exit 1; }; }
16002 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16007 ac_cv_sizeof_long_long
=0
16010 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16011 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16012 cat >>confdefs.h
<<_ACEOF
16013 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16017 if test "$ac_cv_sizeof_long_long" != "0"; then
16018 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
16022 echo "$as_me:$LINENO: checking for long long" >&5
16023 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16024 if test "${ac_cv_type_long_long+set}" = set; then
16025 echo $ECHO_N "(cached) $ECHO_C" >&6
16027 cat >conftest.
$ac_ext <<_ACEOF
16028 #line $LINENO "configure"
16031 cat confdefs.h
>>conftest.
$ac_ext
16032 cat >>conftest.
$ac_ext <<_ACEOF
16033 /* end confdefs.h. */
16034 $ac_includes_default
16038 if ((long long *) 0)
16040 if (sizeof (long long))
16046 rm -f conftest.
$ac_objext
16047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16048 (eval $ac_compile) 2>&5
16050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16051 (exit $ac_status); } &&
16052 { ac_try
='test -s conftest.$ac_objext'
16053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16054 (eval $ac_try) 2>&5
16056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16057 (exit $ac_status); }; }; then
16058 ac_cv_type_long_long
=yes
16060 echo "$as_me: failed program was:" >&5
16061 sed 's/^/| /' conftest.
$ac_ext >&5
16063 ac_cv_type_long_long
=no
16065 rm -f conftest.
$ac_objext conftest.
$ac_ext
16067 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16068 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16070 echo "$as_me:$LINENO: checking size of long long" >&5
16071 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16072 if test "${ac_cv_sizeof_long_long+set}" = set; then
16073 echo $ECHO_N "(cached) $ECHO_C" >&6
16075 if test "$ac_cv_type_long_long" = yes; then
16076 # The cast to unsigned long works around a bug in the HP C Compiler
16077 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16078 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16079 # This bug is HP SR number 8606223364.
16080 if test "$cross_compiling" = yes; then
16081 # Depending upon the size, compute the lo and hi bounds.
16082 cat >conftest.
$ac_ext <<_ACEOF
16083 #line $LINENO "configure"
16086 cat confdefs.h
>>conftest.
$ac_ext
16087 cat >>conftest.
$ac_ext <<_ACEOF
16088 /* end confdefs.h. */
16089 $ac_includes_default
16093 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16100 rm -f conftest.
$ac_objext
16101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16102 (eval $ac_compile) 2>&5
16104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16105 (exit $ac_status); } &&
16106 { ac_try
='test -s conftest.$ac_objext'
16107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16108 (eval $ac_try) 2>&5
16110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16111 (exit $ac_status); }; }; then
16114 cat >conftest.
$ac_ext <<_ACEOF
16115 #line $LINENO "configure"
16118 cat confdefs.h
>>conftest.
$ac_ext
16119 cat >>conftest.
$ac_ext <<_ACEOF
16120 /* end confdefs.h. */
16121 $ac_includes_default
16125 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16132 rm -f conftest.
$ac_objext
16133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16134 (eval $ac_compile) 2>&5
16136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16137 (exit $ac_status); } &&
16138 { ac_try
='test -s conftest.$ac_objext'
16139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16140 (eval $ac_try) 2>&5
16142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16143 (exit $ac_status); }; }; then
16144 ac_hi
=$ac_mid; break
16146 echo "$as_me: failed program was:" >&5
16147 sed 's/^/| /' conftest.
$ac_ext >&5
16149 ac_lo
=`expr $ac_mid + 1`
16150 if test $ac_lo -le $ac_mid; then
16154 ac_mid
=`expr 2 '*' $ac_mid + 1`
16156 rm -f conftest.
$ac_objext conftest.
$ac_ext
16159 echo "$as_me: failed program was:" >&5
16160 sed 's/^/| /' conftest.
$ac_ext >&5
16162 cat >conftest.
$ac_ext <<_ACEOF
16163 #line $LINENO "configure"
16166 cat confdefs.h
>>conftest.
$ac_ext
16167 cat >>conftest.
$ac_ext <<_ACEOF
16168 /* end confdefs.h. */
16169 $ac_includes_default
16173 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16180 rm -f conftest.
$ac_objext
16181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16182 (eval $ac_compile) 2>&5
16184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16185 (exit $ac_status); } &&
16186 { ac_try
='test -s conftest.$ac_objext'
16187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16188 (eval $ac_try) 2>&5
16190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16191 (exit $ac_status); }; }; then
16194 cat >conftest.
$ac_ext <<_ACEOF
16195 #line $LINENO "configure"
16198 cat confdefs.h
>>conftest.
$ac_ext
16199 cat >>conftest.
$ac_ext <<_ACEOF
16200 /* end confdefs.h. */
16201 $ac_includes_default
16205 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16212 rm -f conftest.
$ac_objext
16213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16214 (eval $ac_compile) 2>&5
16216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16217 (exit $ac_status); } &&
16218 { ac_try
='test -s conftest.$ac_objext'
16219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16220 (eval $ac_try) 2>&5
16222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16223 (exit $ac_status); }; }; then
16224 ac_lo
=$ac_mid; break
16226 echo "$as_me: failed program was:" >&5
16227 sed 's/^/| /' conftest.
$ac_ext >&5
16229 ac_hi
=`expr '(' $ac_mid ')' - 1`
16230 if test $ac_mid -le $ac_hi; then
16234 ac_mid
=`expr 2 '*' $ac_mid`
16236 rm -f conftest.
$ac_objext conftest.
$ac_ext
16239 echo "$as_me: failed program was:" >&5
16240 sed 's/^/| /' conftest.
$ac_ext >&5
16244 rm -f conftest.
$ac_objext conftest.
$ac_ext
16246 rm -f conftest.
$ac_objext conftest.
$ac_ext
16247 # Binary search between lo and hi bounds.
16248 while test "x$ac_lo" != "x$ac_hi"; do
16249 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16250 cat >conftest.
$ac_ext <<_ACEOF
16251 #line $LINENO "configure"
16254 cat confdefs.h
>>conftest.
$ac_ext
16255 cat >>conftest.
$ac_ext <<_ACEOF
16256 /* end confdefs.h. */
16257 $ac_includes_default
16261 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16268 rm -f conftest.
$ac_objext
16269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16270 (eval $ac_compile) 2>&5
16272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16273 (exit $ac_status); } &&
16274 { ac_try
='test -s conftest.$ac_objext'
16275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16276 (eval $ac_try) 2>&5
16278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16279 (exit $ac_status); }; }; then
16282 echo "$as_me: failed program was:" >&5
16283 sed 's/^/| /' conftest.
$ac_ext >&5
16285 ac_lo
=`expr '(' $ac_mid ')' + 1`
16287 rm -f conftest.
$ac_objext conftest.
$ac_ext
16290 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
16291 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16292 See \`config.log' for more details." >&5
16293 echo "$as_me: error: cannot compute sizeof (long long), 77
16294 See \`config.log' for more details." >&2;}
16295 { (exit 1); exit 1; }; } ;;
16298 if test "$cross_compiling" = yes; then
16299 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16300 See \`config.log' for more details." >&5
16301 echo "$as_me: error: cannot run test program while cross compiling
16302 See \`config.log' for more details." >&2;}
16303 { (exit 1); exit 1; }; }
16305 cat >conftest.
$ac_ext <<_ACEOF
16306 #line $LINENO "configure"
16309 cat confdefs.h
>>conftest.
$ac_ext
16310 cat >>conftest.
$ac_ext <<_ACEOF
16311 /* end confdefs.h. */
16312 $ac_includes_default
16313 long longval () { return (long) (sizeof (long long)); }
16314 unsigned long ulongval () { return (long) (sizeof (long long)); }
16316 #include <stdlib.h>
16321 FILE *f = fopen ("conftest.val", "w");
16324 if (((long) (sizeof (long long))) < 0)
16326 long i = longval ();
16327 if (i != ((long) (sizeof (long long))))
16329 fprintf (f, "%ld\n", i);
16333 unsigned long i = ulongval ();
16334 if (i != ((long) (sizeof (long long))))
16336 fprintf (f, "%lu\n", i);
16338 exit (ferror (f) || fclose (f) != 0);
16344 rm -f conftest
$ac_exeext
16345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16346 (eval $ac_link) 2>&5
16348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16349 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16351 (eval $ac_try) 2>&5
16353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16354 (exit $ac_status); }; }; then
16355 ac_cv_sizeof_long_long
=`cat conftest.val`
16357 echo "$as_me: program exited with status $ac_status" >&5
16358 echo "$as_me: failed program was:" >&5
16359 sed 's/^/| /' conftest.
$ac_ext >&5
16361 ( exit $ac_status )
16362 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16363 See \`config.log' for more details." >&5
16364 echo "$as_me: error: cannot compute sizeof (long long), 77
16365 See \`config.log' for more details." >&2;}
16366 { (exit 1); exit 1; }; }
16368 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16373 ac_cv_sizeof_long_long
=0
16376 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16377 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16378 cat >>confdefs.h
<<_ACEOF
16379 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16385 echo "$as_me:$LINENO: checking size of wchar_t" >&5
16386 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
16387 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
16388 echo $ECHO_N "(cached) $ECHO_C" >&6
16391 if test "$cross_compiling" = yes; then
16395 wx_cv_sizeof_wchar_t
=0
16398 wx_cv_sizeof_wchar_t
=4
16404 cat >conftest.
$ac_ext <<_ACEOF
16405 #line $LINENO "configure"
16408 cat confdefs.h
>>conftest.
$ac_ext
16409 cat >>conftest.
$ac_ext <<_ACEOF
16410 /* end confdefs.h. */
16412 /* DJGPP only has fake wchar_t: */
16414 # error "fake wchar_t"
16416 #ifdef HAVE_WCHAR_H
16418 # include <stddef.h>
16420 # include <wchar.h>
16422 #ifdef HAVE_STDLIB_H
16423 # include <stdlib.h>
16428 FILE *f=fopen("conftestval", "w");
16430 fprintf(f, "%i", sizeof(wchar_t));
16435 rm -f conftest
$ac_exeext
16436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16437 (eval $ac_link) 2>&5
16439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16440 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16442 (eval $ac_try) 2>&5
16444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16445 (exit $ac_status); }; }; then
16446 wx_cv_sizeof_wchar_t
=`cat conftestval`
16448 echo "$as_me: program exited with status $ac_status" >&5
16449 echo "$as_me: failed program was:" >&5
16450 sed 's/^/| /' conftest.
$ac_ext >&5
16452 ( exit $ac_status )
16453 wx_cv_sizeof_wchar_t
=0
16455 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16459 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
16460 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
16462 cat >>confdefs.h
<<_ACEOF
16463 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
16467 # Check whether --enable-largefile or --disable-largefile was given.
16468 if test "${enable_largefile+set}" = set; then
16469 enableval
="$enable_largefile"
16472 if test "$enable_largefile" != no
; then
16475 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16476 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
16477 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
16478 echo $ECHO_N "(cached) $ECHO_C" >&6
16481 cat >conftest.
$ac_ext <<_ACEOF
16482 #line $LINENO "configure"
16485 cat confdefs.h
>>conftest.
$ac_ext
16486 cat >>conftest.
$ac_ext <<_ACEOF
16487 /* end confdefs.h. */
16488 #define _FILE_OFFSET_BITS 64
16489 #include <sys/types.h>
16494 unsigned int field: sizeof(off_t) == 8;
16501 rm -f conftest.
$ac_objext
16502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16503 (eval $ac_compile) 2>&5
16505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16506 (exit $ac_status); } &&
16507 { ac_try
='test -s conftest.$ac_objext'
16508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16509 (eval $ac_try) 2>&5
16511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16512 (exit $ac_status); }; }; then
16513 ac_cv_sys_file_offset_bits
=64
16515 echo "$as_me: failed program was:" >&5
16516 sed 's/^/| /' conftest.
$ac_ext >&5
16518 ac_cv_sys_file_offset_bits
=no
16520 rm -f conftest.
$ac_objext conftest.
$ac_ext
16524 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
16525 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
16527 if test "$ac_cv_sys_file_offset_bits" != no
; then
16529 cat >>confdefs.h
<<_ACEOF
16530 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16535 if test "x$wx_largefile" != "xyes"; then
16537 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
16538 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
16539 if test "${ac_cv_sys_large_files+set}" = set; then
16540 echo $ECHO_N "(cached) $ECHO_C" >&6
16543 cat >conftest.
$ac_ext <<_ACEOF
16544 #line $LINENO "configure"
16547 cat confdefs.h
>>conftest.
$ac_ext
16548 cat >>conftest.
$ac_ext <<_ACEOF
16549 /* end confdefs.h. */
16550 #define _LARGE_FILES 1
16551 #include <sys/types.h>
16556 unsigned int field: sizeof(off_t) == 8;
16563 rm -f conftest.
$ac_objext
16564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16565 (eval $ac_compile) 2>&5
16567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16568 (exit $ac_status); } &&
16569 { ac_try
='test -s conftest.$ac_objext'
16570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16571 (eval $ac_try) 2>&5
16573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16574 (exit $ac_status); }; }; then
16575 ac_cv_sys_large_files
=1
16577 echo "$as_me: failed program was:" >&5
16578 sed 's/^/| /' conftest.
$ac_ext >&5
16580 ac_cv_sys_large_files
=no
16582 rm -f conftest.
$ac_objext conftest.
$ac_ext
16586 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
16587 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
16589 if test "$ac_cv_sys_large_files" != no
; then
16591 cat >>confdefs.h
<<_ACEOF
16592 #define _LARGE_FILES $ac_cv_sys_large_files
16599 echo "$as_me:$LINENO: checking if large file support is available" >&5
16600 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
16601 if test "x$wx_largefile" = "xyes"; then
16602 cat >>confdefs.h
<<\_ACEOF
16603 #define HAVE_LARGEFILE_SUPPORT 1
16607 echo "$as_me:$LINENO: result: $wx_largefile" >&5
16608 echo "${ECHO_T}$wx_largefile" >&6
16612 if test "x$wx_largefile" = "xyes"; then
16613 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
16614 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
16616 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
16618 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
16621 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16622 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16623 if test "${ac_cv_c_bigendian+set}" = set; then
16624 echo $ECHO_N "(cached) $ECHO_C" >&6
16626 ac_cv_c_bigendian
=unknown
16627 # See if sys/param.h defines the BYTE_ORDER macro.
16628 cat >conftest.
$ac_ext <<_ACEOF
16629 #line $LINENO "configure"
16632 cat confdefs.h
>>conftest.
$ac_ext
16633 cat >>conftest.
$ac_ext <<_ACEOF
16634 /* end confdefs.h. */
16635 #include <sys/types.h>
16636 #include <sys/param.h>
16641 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16642 bogus endian macros
16648 rm -f conftest.
$ac_objext
16649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16650 (eval $ac_compile) 2>&5
16652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16653 (exit $ac_status); } &&
16654 { ac_try
='test -s conftest.$ac_objext'
16655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16656 (eval $ac_try) 2>&5
16658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16659 (exit $ac_status); }; }; then
16660 # It does; now see whether it defined to BIG_ENDIAN or not.
16661 cat >conftest.
$ac_ext <<_ACEOF
16662 #line $LINENO "configure"
16665 cat confdefs.h
>>conftest.
$ac_ext
16666 cat >>conftest.
$ac_ext <<_ACEOF
16667 /* end confdefs.h. */
16668 #include <sys/types.h>
16669 #include <sys/param.h>
16674 #if BYTE_ORDER != BIG_ENDIAN
16681 rm -f conftest.
$ac_objext
16682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16683 (eval $ac_compile) 2>&5
16685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16686 (exit $ac_status); } &&
16687 { ac_try
='test -s conftest.$ac_objext'
16688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16689 (eval $ac_try) 2>&5
16691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16692 (exit $ac_status); }; }; then
16693 ac_cv_c_bigendian
=yes
16695 echo "$as_me: failed program was:" >&5
16696 sed 's/^/| /' conftest.
$ac_ext >&5
16698 ac_cv_c_bigendian
=no
16700 rm -f conftest.
$ac_objext conftest.
$ac_ext
16702 echo "$as_me: failed program was:" >&5
16703 sed 's/^/| /' conftest.
$ac_ext >&5
16706 rm -f conftest.
$ac_objext conftest.
$ac_ext
16707 if test $ac_cv_c_bigendian = unknown
; then
16708 if test "$cross_compiling" = yes; then
16709 ac_cv_c_bigendian
=unknown
16711 cat >conftest.
$ac_ext <<_ACEOF
16712 #line $LINENO "configure"
16715 cat confdefs.h
>>conftest.
$ac_ext
16716 cat >>conftest.
$ac_ext <<_ACEOF
16717 /* end confdefs.h. */
16719 /* Are we little or big endian? From Harbison&Steele. */
16723 char c[sizeof (long)];
16726 exit (u.c[sizeof (long) - 1] == 1);
16729 rm -f conftest
$ac_exeext
16730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16731 (eval $ac_link) 2>&5
16733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16734 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16736 (eval $ac_try) 2>&5
16738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16739 (exit $ac_status); }; }; then
16740 ac_cv_c_bigendian
=no
16742 echo "$as_me: program exited with status $ac_status" >&5
16743 echo "$as_me: failed program was:" >&5
16744 sed 's/^/| /' conftest.
$ac_ext >&5
16746 ( exit $ac_status )
16747 ac_cv_c_bigendian
=yes
16749 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16753 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
16754 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
16755 if test $ac_cv_c_bigendian = unknown
; then
16756 { 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
16757 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;}
16759 if test $ac_cv_c_bigendian = yes; then
16760 cat >>confdefs.h
<<\_ACEOF
16761 #define WORDS_BIGENDIAN 1
16769 ac_cpp
='$CXXCPP $CPPFLAGS'
16770 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16771 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16772 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16773 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16774 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16775 if test -z "$CXXCPP"; then
16776 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16777 echo $ECHO_N "(cached) $ECHO_C" >&6
16779 # Double quotes because CXXCPP needs to be expanded
16780 for CXXCPP
in "$CXX -E" "/lib/cpp"
16782 ac_preproc_ok
=false
16783 for ac_cxx_preproc_warn_flag
in '' yes
16785 # Use a header file that comes with gcc, so configuring glibc
16786 # with a fresh cross-compiler works.
16787 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16788 # <limits.h> exists even on freestanding compilers.
16789 # On the NeXT, cc -E runs the code through the compiler's parser,
16790 # not just through cpp. "Syntax error" is here to catch this case.
16791 cat >conftest.
$ac_ext <<_ACEOF
16792 #line $LINENO "configure"
16795 cat confdefs.h
>>conftest.
$ac_ext
16796 cat >>conftest.
$ac_ext <<_ACEOF
16797 /* end confdefs.h. */
16799 # include <limits.h>
16801 # include <assert.h>
16805 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16806 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16808 grep -v '^ *+' conftest.er1
>conftest.err
16810 cat conftest.err
>&5
16811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16812 (exit $ac_status); } >/dev
/null
; then
16813 if test -s conftest.err
; then
16814 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16821 if test -z "$ac_cpp_err"; then
16824 echo "$as_me: failed program was:" >&5
16825 sed 's/^/| /' conftest.
$ac_ext >&5
16827 # Broken: fails on valid input.
16830 rm -f conftest.err conftest.
$ac_ext
16832 # OK, works on sane cases. Now check whether non-existent headers
16833 # can be detected and how.
16834 cat >conftest.
$ac_ext <<_ACEOF
16835 #line $LINENO "configure"
16838 cat confdefs.h
>>conftest.
$ac_ext
16839 cat >>conftest.
$ac_ext <<_ACEOF
16840 /* end confdefs.h. */
16841 #include <ac_nonexistent.h>
16843 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16844 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16846 grep -v '^ *+' conftest.er1
>conftest.err
16848 cat conftest.err
>&5
16849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16850 (exit $ac_status); } >/dev
/null
; then
16851 if test -s conftest.err
; then
16852 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16859 if test -z "$ac_cpp_err"; then
16860 # Broken: success on invalid input.
16863 echo "$as_me: failed program was:" >&5
16864 sed 's/^/| /' conftest.
$ac_ext >&5
16866 # Passes both tests.
16870 rm -f conftest.err conftest.
$ac_ext
16873 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16874 rm -f conftest.err conftest.
$ac_ext
16875 if $ac_preproc_ok; then
16880 ac_cv_prog_CXXCPP
=$CXXCPP
16883 CXXCPP
=$ac_cv_prog_CXXCPP
16885 ac_cv_prog_CXXCPP
=$CXXCPP
16887 echo "$as_me:$LINENO: result: $CXXCPP" >&5
16888 echo "${ECHO_T}$CXXCPP" >&6
16889 ac_preproc_ok
=false
16890 for ac_cxx_preproc_warn_flag
in '' yes
16892 # Use a header file that comes with gcc, so configuring glibc
16893 # with a fresh cross-compiler works.
16894 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16895 # <limits.h> exists even on freestanding compilers.
16896 # On the NeXT, cc -E runs the code through the compiler's parser,
16897 # not just through cpp. "Syntax error" is here to catch this case.
16898 cat >conftest.
$ac_ext <<_ACEOF
16899 #line $LINENO "configure"
16902 cat confdefs.h
>>conftest.
$ac_ext
16903 cat >>conftest.
$ac_ext <<_ACEOF
16904 /* end confdefs.h. */
16906 # include <limits.h>
16908 # include <assert.h>
16912 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16913 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16915 grep -v '^ *+' conftest.er1
>conftest.err
16917 cat conftest.err
>&5
16918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16919 (exit $ac_status); } >/dev
/null
; then
16920 if test -s conftest.err
; then
16921 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16928 if test -z "$ac_cpp_err"; then
16931 echo "$as_me: failed program was:" >&5
16932 sed 's/^/| /' conftest.
$ac_ext >&5
16934 # Broken: fails on valid input.
16937 rm -f conftest.err conftest.
$ac_ext
16939 # OK, works on sane cases. Now check whether non-existent headers
16940 # can be detected and how.
16941 cat >conftest.
$ac_ext <<_ACEOF
16942 #line $LINENO "configure"
16945 cat confdefs.h
>>conftest.
$ac_ext
16946 cat >>conftest.
$ac_ext <<_ACEOF
16947 /* end confdefs.h. */
16948 #include <ac_nonexistent.h>
16950 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16951 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16953 grep -v '^ *+' conftest.er1
>conftest.err
16955 cat conftest.err
>&5
16956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16957 (exit $ac_status); } >/dev
/null
; then
16958 if test -s conftest.err
; then
16959 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16966 if test -z "$ac_cpp_err"; then
16967 # Broken: success on invalid input.
16970 echo "$as_me: failed program was:" >&5
16971 sed 's/^/| /' conftest.
$ac_ext >&5
16973 # Passes both tests.
16977 rm -f conftest.err conftest.
$ac_ext
16980 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16981 rm -f conftest.err conftest.
$ac_ext
16982 if $ac_preproc_ok; then
16985 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16986 See \`config.log' for more details." >&5
16987 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16988 See \`config.log' for more details." >&2;}
16989 { (exit 1); exit 1; }; }
16993 ac_cpp
='$CXXCPP $CPPFLAGS'
16994 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16995 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16996 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17000 if test "$cross_compiling" = "yes"; then
17001 cat >>confdefs.h
<<\_ACEOF
17002 #define wxUSE_IOSTREAMH 1
17009 ac_cpp
='$CXXCPP $CPPFLAGS'
17010 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17011 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17012 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17016 for ac_header
in iostream
17018 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17019 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17020 echo "$as_me:$LINENO: checking for $ac_header" >&5
17021 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17022 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17023 echo $ECHO_N "(cached) $ECHO_C" >&6
17025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17026 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17028 # Is the header compilable?
17029 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17030 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17031 cat >conftest.
$ac_ext <<_ACEOF
17032 #line $LINENO "configure"
17035 cat confdefs.h
>>conftest.
$ac_ext
17036 cat >>conftest.
$ac_ext <<_ACEOF
17037 /* end confdefs.h. */
17038 $ac_includes_default
17039 #include <$ac_header>
17041 rm -f conftest.
$ac_objext
17042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17043 (eval $ac_compile) 2>&5
17045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17046 (exit $ac_status); } &&
17047 { ac_try
='test -s conftest.$ac_objext'
17048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17049 (eval $ac_try) 2>&5
17051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17052 (exit $ac_status); }; }; then
17053 ac_header_compiler
=yes
17055 echo "$as_me: failed program was:" >&5
17056 sed 's/^/| /' conftest.
$ac_ext >&5
17058 ac_header_compiler
=no
17060 rm -f conftest.
$ac_objext conftest.
$ac_ext
17061 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17062 echo "${ECHO_T}$ac_header_compiler" >&6
17064 # Is the header present?
17065 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17066 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
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. */
17074 #include <$ac_header>
17076 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17077 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17079 grep -v '^ *+' conftest.er1
>conftest.err
17081 cat conftest.err
>&5
17082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17083 (exit $ac_status); } >/dev
/null
; then
17084 if test -s conftest.err
; then
17085 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17092 if test -z "$ac_cpp_err"; then
17093 ac_header_preproc
=yes
17095 echo "$as_me: failed program was:" >&5
17096 sed 's/^/| /' conftest.
$ac_ext >&5
17098 ac_header_preproc
=no
17100 rm -f conftest.err conftest.
$ac_ext
17101 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17102 echo "${ECHO_T}$ac_header_preproc" >&6
17104 # So? What about this header?
17105 case $ac_header_compiler:$ac_header_preproc in
17107 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17108 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17109 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17110 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17113 ## ------------------------------------ ##
17114 ## Report this to bug-autoconf@gnu.org. ##
17115 ## ------------------------------------ ##
17118 sed "s/^/$as_me: WARNING: /" >&2
17121 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17122 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17123 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17124 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17125 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17126 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17129 ## ------------------------------------ ##
17130 ## Report this to bug-autoconf@gnu.org. ##
17131 ## ------------------------------------ ##
17134 sed "s/^/$as_me: WARNING: /" >&2
17137 echo "$as_me:$LINENO: checking for $ac_header" >&5
17138 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17139 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17140 echo $ECHO_N "(cached) $ECHO_C" >&6
17142 eval "$as_ac_Header=$ac_header_preproc"
17144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17145 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17148 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17149 cat >>confdefs.h
<<_ACEOF
17150 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17158 if test "$ac_cv_header_iostream" = "yes" ; then
17161 cat >>confdefs.h
<<\_ACEOF
17162 #define wxUSE_IOSTREAMH 1
17168 ac_cpp
='$CPP $CPPFLAGS'
17169 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17170 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17171 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17177 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
17178 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
17179 if test "${wx_cv_cpp_bool+set}" = set; then
17180 echo $ECHO_N "(cached) $ECHO_C" >&6
17186 ac_cpp
='$CXXCPP $CPPFLAGS'
17187 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17188 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17189 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17192 cat >conftest.
$ac_ext <<_ACEOF
17193 #line $LINENO "configure"
17196 cat confdefs.h
>>conftest.
$ac_ext
17197 cat >>conftest.
$ac_ext <<_ACEOF
17198 /* end confdefs.h. */
17213 rm -f conftest.
$ac_objext
17214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17215 (eval $ac_compile) 2>&5
17217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17218 (exit $ac_status); } &&
17219 { ac_try
='test -s conftest.$ac_objext'
17220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17221 (eval $ac_try) 2>&5
17223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17224 (exit $ac_status); }; }; then
17229 echo "$as_me: failed program was:" >&5
17230 sed 's/^/| /' conftest.
$ac_ext >&5
17237 rm -f conftest.
$ac_objext conftest.
$ac_ext
17240 ac_cpp
='$CPP $CPPFLAGS'
17241 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17242 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17243 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17247 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
17248 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
17250 if test "$wx_cv_cpp_bool" = "yes"; then
17251 cat >>confdefs.h
<<\_ACEOF
17252 #define HAVE_BOOL 1
17259 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
17260 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
17261 if test "${wx_cv_explicit+set}" = set; then
17262 echo $ECHO_N "(cached) $ECHO_C" >&6
17268 ac_cpp
='$CXXCPP $CPPFLAGS'
17269 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17270 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17271 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17274 cat >conftest.
$ac_ext <<_ACEOF
17275 #line $LINENO "configure"
17278 cat confdefs.h
>>conftest.
$ac_ext
17279 cat >>conftest.
$ac_ext <<_ACEOF
17280 /* end confdefs.h. */
17282 class Foo { public: explicit Foo(int) {} };
17294 rm -f conftest.
$ac_objext
17295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17296 (eval $ac_compile) 2>&5
17298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17299 (exit $ac_status); } &&
17300 { ac_try
='test -s conftest.$ac_objext'
17301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17302 (eval $ac_try) 2>&5
17304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17305 (exit $ac_status); }; }; then
17307 cat >conftest.
$ac_ext <<_ACEOF
17308 #line $LINENO "configure"
17311 cat confdefs.h
>>conftest.
$ac_ext
17312 cat >>conftest.
$ac_ext <<_ACEOF
17313 /* end confdefs.h. */
17315 class Foo { public: explicit Foo(int) {} };
17316 static void TakeFoo(const Foo& foo) { }
17329 rm -f conftest.
$ac_objext
17330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17331 (eval $ac_compile) 2>&5
17333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17334 (exit $ac_status); } &&
17335 { ac_try
='test -s conftest.$ac_objext'
17336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17337 (eval $ac_try) 2>&5
17339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17340 (exit $ac_status); }; }; then
17343 echo "$as_me: failed program was:" >&5
17344 sed 's/^/| /' conftest.
$ac_ext >&5
17349 rm -f conftest.
$ac_objext conftest.
$ac_ext
17352 echo "$as_me: failed program was:" >&5
17353 sed 's/^/| /' conftest.
$ac_ext >&5
17358 rm -f conftest.
$ac_objext conftest.
$ac_ext
17361 ac_cpp
='$CPP $CPPFLAGS'
17362 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17363 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17364 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17368 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
17369 echo "${ECHO_T}$wx_cv_explicit" >&6
17371 if test "$wx_cv_explicit" = "yes"; then
17372 cat >>confdefs.h
<<\_ACEOF
17373 #define HAVE_EXPLICIT 1
17379 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
17380 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
17381 if test "${ac_cv_cxx_const_cast+set}" = set; then
17382 echo $ECHO_N "(cached) $ECHO_C" >&6
17387 ac_cpp
='$CXXCPP $CPPFLAGS'
17388 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17389 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17390 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17392 cat >conftest.
$ac_ext <<_ACEOF
17393 #line $LINENO "configure"
17396 cat confdefs.h
>>conftest.
$ac_ext
17397 cat >>conftest.
$ac_ext <<_ACEOF
17398 /* end confdefs.h. */
17403 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
17408 rm -f conftest.
$ac_objext
17409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17410 (eval $ac_compile) 2>&5
17412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17413 (exit $ac_status); } &&
17414 { ac_try
='test -s conftest.$ac_objext'
17415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17416 (eval $ac_try) 2>&5
17418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17419 (exit $ac_status); }; }; then
17420 ac_cv_cxx_const_cast
=yes
17422 echo "$as_me: failed program was:" >&5
17423 sed 's/^/| /' conftest.
$ac_ext >&5
17425 ac_cv_cxx_const_cast
=no
17427 rm -f conftest.
$ac_objext conftest.
$ac_ext
17429 ac_cpp
='$CPP $CPPFLAGS'
17430 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17431 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17432 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17436 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
17437 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
17438 if test "$ac_cv_cxx_const_cast" = yes; then
17440 cat >>confdefs.h
<<\_ACEOF
17441 #define HAVE_CONST_CAST
17447 if test "$wxUSE_STL" = "yes"; then
17449 ac_cpp
='$CXXCPP $CPPFLAGS'
17450 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17451 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17452 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17455 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
17456 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
17457 cat >conftest.
$ac_ext <<_ACEOF
17458 #line $LINENO "configure"
17461 cat confdefs.h
>>conftest.
$ac_ext
17462 cat >>conftest.
$ac_ext <<_ACEOF
17463 /* end confdefs.h. */
17465 #include <functional>
17466 #include <algorithm>
17472 std::vector<int> moo;
17473 std::list<int> foo;
17474 std::vector<int>::iterator it =
17475 std::find_if(moo.begin(), moo.end(),
17476 std::bind2nd(std::less<int>(), 3));
17481 rm -f conftest.
$ac_objext
17482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17483 (eval $ac_compile) 2>&5
17485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17486 (exit $ac_status); } &&
17487 { ac_try
='test -s conftest.$ac_objext'
17488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17489 (eval $ac_try) 2>&5
17491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17492 (exit $ac_status); }; }; then
17493 echo "$as_me:$LINENO: result: yes" >&5
17494 echo "${ECHO_T}yes" >&6
17496 echo "$as_me: failed program was:" >&5
17497 sed 's/^/| /' conftest.
$ac_ext >&5
17499 echo "$as_me:$LINENO: result: no" >&5
17500 echo "${ECHO_T}no" >&6
17501 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
17502 echo "$as_me: error: Basic STL functionality missing" >&2;}
17503 { (exit 1); exit 1; }; }
17505 rm -f conftest.
$ac_objext conftest.
$ac_ext
17507 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
17508 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
17509 cat >conftest.
$ac_ext <<_ACEOF
17510 #line $LINENO "configure"
17513 cat confdefs.h
>>conftest.
$ac_ext
17514 cat >>conftest.
$ac_ext <<_ACEOF
17515 /* end confdefs.h. */
17525 rm -f conftest.
$ac_objext
17526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17527 (eval $ac_compile) 2>&5
17529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17530 (exit $ac_status); } &&
17531 { ac_try
='test -s conftest.$ac_objext'
17532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17533 (eval $ac_try) 2>&5
17535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17536 (exit $ac_status); }; }; then
17537 echo "$as_me:$LINENO: result: yes" >&5
17538 echo "${ECHO_T}yes" >&6
17539 cat >>confdefs.h
<<\_ACEOF
17540 #define HAVE_STD_WSTRING 1
17544 echo "$as_me: failed program was:" >&5
17545 sed 's/^/| /' conftest.
$ac_ext >&5
17547 echo "$as_me:$LINENO: result: no" >&5
17548 echo "${ECHO_T}no" >&6
17550 rm -f conftest.
$ac_objext conftest.
$ac_ext
17552 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
17553 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
17554 cat >conftest.
$ac_ext <<_ACEOF
17555 #line $LINENO "configure"
17558 cat confdefs.h
>>conftest.
$ac_ext
17559 cat >>conftest.
$ac_ext <<_ACEOF
17560 /* end confdefs.h. */
17565 std::string foo, bar;
17567 foo.compare(1, 1, bar);
17568 foo.compare(1, 1, bar, 1, 1);
17570 foo.compare(1, 1, "");
17571 foo.compare(1, 1, "", 2);
17576 rm -f conftest.
$ac_objext
17577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17578 (eval $ac_compile) 2>&5
17580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17581 (exit $ac_status); } &&
17582 { ac_try
='test -s conftest.$ac_objext'
17583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17584 (eval $ac_try) 2>&5
17586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17587 (exit $ac_status); }; }; then
17588 echo "$as_me:$LINENO: result: yes" >&5
17589 echo "${ECHO_T}yes" >&6
17590 cat >>confdefs.h
<<\_ACEOF
17591 #define HAVE_STD_STRING_COMPARE 1
17595 echo "$as_me: failed program was:" >&5
17596 sed 's/^/| /' conftest.
$ac_ext >&5
17598 echo "$as_me:$LINENO: result: no" >&5
17599 echo "${ECHO_T}no" >&6
17601 rm -f conftest.
$ac_objext conftest.
$ac_ext
17604 ac_cpp
='$CPP $CPPFLAGS'
17605 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17606 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17607 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17613 /usr/local/include \
17615 /usr/Motif-1.2/include \
17616 /usr/Motif-2.1/include \
17618 /usr/include/Motif1.2 \
17619 /opt/xpm/include/X11 \
17620 /opt/GBxpm/include/ \
17621 /opt/GBxpm/X11/include/ \
17623 /usr/Motif1.2/include \
17625 /usr/openwin/include \
17629 /usr/X11R6/include \
17630 /usr/X11R6.4/include \
17631 /usr/X11R5/include \
17632 /usr/X11R4/include \
17634 /usr/include/X11R6 \
17635 /usr/include/X11R5 \
17636 /usr/include/X11R4 \
17638 /usr/local/X11R6/include \
17639 /usr/local/X11R5/include \
17640 /usr/local/X11R4/include \
17642 /usr/local/include/X11R6 \
17643 /usr/local/include/X11R5 \
17644 /usr/local/include/X11R4 \
17648 /usr/local/X11/include \
17649 /usr/local/include/X11 \
17651 /usr/X386/include \
17652 /usr/x386/include \
17653 /usr/XFree86/include/X11 \
17655 X:/XFree86/include \
17656 X:/XFree86/include/X11 \
17659 /usr/local/include/gtk \
17660 /usr/include/glib \
17661 /usr/local/include/glib \
17664 /usr/local/include/qt \
17666 /usr/include/windows \
17667 /usr/include/wine \
17668 /usr/local/include/wine \
17670 /usr/unsupported/include \
17671 /usr/athena/include \
17672 /usr/local/x11r5/include \
17673 /usr/lpp/Xamples/include \
17675 /usr/openwin/share/include"
17677 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
17680 cat >confcache
<<\_ACEOF
17681 # This file is a shell script that caches the results of configure
17682 # tests run on this system so they can be shared between configure
17683 # scripts and configure runs, see configure's option --config-cache.
17684 # It is not useful on other systems. If it contains results you don't
17685 # want to keep, you may remove or edit it.
17687 # config.status only pays attention to the cache file if you give it
17688 # the --recheck option to rerun configure.
17690 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17691 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17692 # following values.
17696 # The following way of writing the cache mishandles newlines in values,
17697 # but we know of no workaround that is simple, portable, and efficient.
17698 # So, don't put newlines in cache variables' values.
17699 # Ultrix sh set writes to stderr and can't be redirected directly,
17700 # and sets the high bit in the cache file unless we assign to the vars.
17703 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17705 # `set' does not quote correctly, so add quotes (double-quote
17706 # substitution turns \\\\ into \\, and sed turns \\ into \).
17709 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17712 # `set' quotes correctly as required by POSIX, so do not add quotes.
17714 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17721 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17723 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17725 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
17726 if test -w $cache_file; then
17727 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
17728 cat confcache
>$cache_file
17730 echo "not updating unwritable cache $cache_file"
17735 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
17736 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
17737 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
17738 if test "${wx_cv_lib_glibc21+set}" = set; then
17739 echo $ECHO_N "(cached) $ECHO_C" >&6
17742 cat >conftest.
$ac_ext <<_ACEOF
17743 #line $LINENO "configure"
17746 cat confdefs.h
>>conftest.
$ac_ext
17747 cat >>conftest.
$ac_ext <<_ACEOF
17748 /* end confdefs.h. */
17749 #include <features.h>
17754 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
17755 #error not glibc2.1
17762 rm -f conftest.
$ac_objext
17763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17764 (eval $ac_compile) 2>&5
17766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17767 (exit $ac_status); } &&
17768 { ac_try
='test -s conftest.$ac_objext'
17769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17770 (eval $ac_try) 2>&5
17772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17773 (exit $ac_status); }; }; then
17775 wx_cv_lib_glibc21
=yes
17778 echo "$as_me: failed program was:" >&5
17779 sed 's/^/| /' conftest.
$ac_ext >&5
17782 wx_cv_lib_glibc21
=no
17786 rm -f conftest.
$ac_objext conftest.
$ac_ext
17789 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
17790 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
17791 if test "$wx_cv_lib_glibc21" = "yes"; then
17792 cat >>confdefs.h
<<\_ACEOF
17793 #define wxHAVE_GLIBC2 1
17799 if test "x$wx_cv_lib_glibc21" = "xyes"; then
17800 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
17801 cat >>confdefs.h
<<\_ACEOF
17802 #define _GNU_SOURCE 1
17811 if test "$wxUSE_REGEX" != "no"; then
17812 cat >>confdefs.h
<<\_ACEOF
17813 #define wxUSE_REGEX 1
17817 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
17818 if test "${ac_cv_header_regex_h+set}" = set; then
17819 echo "$as_me:$LINENO: checking for regex.h" >&5
17820 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
17821 if test "${ac_cv_header_regex_h+set}" = set; then
17822 echo $ECHO_N "(cached) $ECHO_C" >&6
17824 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
17825 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
17827 # Is the header compilable?
17828 echo "$as_me:$LINENO: checking regex.h usability" >&5
17829 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
17830 cat >conftest.
$ac_ext <<_ACEOF
17831 #line $LINENO "configure"
17834 cat confdefs.h
>>conftest.
$ac_ext
17835 cat >>conftest.
$ac_ext <<_ACEOF
17836 /* end confdefs.h. */
17837 $ac_includes_default
17840 rm -f conftest.
$ac_objext
17841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17842 (eval $ac_compile) 2>&5
17844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17845 (exit $ac_status); } &&
17846 { ac_try
='test -s conftest.$ac_objext'
17847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17848 (eval $ac_try) 2>&5
17850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17851 (exit $ac_status); }; }; then
17852 ac_header_compiler
=yes
17854 echo "$as_me: failed program was:" >&5
17855 sed 's/^/| /' conftest.
$ac_ext >&5
17857 ac_header_compiler
=no
17859 rm -f conftest.
$ac_objext conftest.
$ac_ext
17860 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17861 echo "${ECHO_T}$ac_header_compiler" >&6
17863 # Is the header present?
17864 echo "$as_me:$LINENO: checking regex.h presence" >&5
17865 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
17866 cat >conftest.
$ac_ext <<_ACEOF
17867 #line $LINENO "configure"
17870 cat confdefs.h
>>conftest.
$ac_ext
17871 cat >>conftest.
$ac_ext <<_ACEOF
17872 /* end confdefs.h. */
17875 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17876 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17878 grep -v '^ *+' conftest.er1
>conftest.err
17880 cat conftest.err
>&5
17881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17882 (exit $ac_status); } >/dev
/null
; then
17883 if test -s conftest.err
; then
17884 ac_cpp_err
=$ac_c_preproc_warn_flag
17891 if test -z "$ac_cpp_err"; then
17892 ac_header_preproc
=yes
17894 echo "$as_me: failed program was:" >&5
17895 sed 's/^/| /' conftest.
$ac_ext >&5
17897 ac_header_preproc
=no
17899 rm -f conftest.err conftest.
$ac_ext
17900 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17901 echo "${ECHO_T}$ac_header_preproc" >&6
17903 # So? What about this header?
17904 case $ac_header_compiler:$ac_header_preproc in
17906 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
17907 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
17908 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
17909 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
17912 ## ------------------------------------ ##
17913 ## Report this to bug-autoconf@gnu.org. ##
17914 ## ------------------------------------ ##
17917 sed "s/^/$as_me: WARNING: /" >&2
17920 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
17921 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
17922 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
17923 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
17924 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
17925 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
17928 ## ------------------------------------ ##
17929 ## Report this to bug-autoconf@gnu.org. ##
17930 ## ------------------------------------ ##
17933 sed "s/^/$as_me: WARNING: /" >&2
17936 echo "$as_me:$LINENO: checking for regex.h" >&5
17937 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
17938 if test "${ac_cv_header_regex_h+set}" = set; then
17939 echo $ECHO_N "(cached) $ECHO_C" >&6
17941 ac_cv_header_regex_h
=$ac_header_preproc
17943 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
17944 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
17947 if test $ac_cv_header_regex_h = yes; then
17949 for ac_func
in regcomp
17951 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17952 echo "$as_me:$LINENO: checking for $ac_func" >&5
17953 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17954 if eval "test \"\${$as_ac_var+set}\" = set"; then
17955 echo $ECHO_N "(cached) $ECHO_C" >&6
17957 cat >conftest.
$ac_ext <<_ACEOF
17958 #line $LINENO "configure"
17961 cat confdefs.h
>>conftest.
$ac_ext
17962 cat >>conftest.
$ac_ext <<_ACEOF
17963 /* end confdefs.h. */
17964 /* System header to define __stub macros and hopefully few prototypes,
17965 which can conflict with char $ac_func (); below.
17966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17967 <limits.h> exists even on freestanding compilers. */
17969 # include <limits.h>
17971 # include <assert.h>
17973 /* Override any gcc2 internal prototype to avoid an error. */
17978 /* We use char because int might match the return type of a gcc2
17979 builtin and then its argument prototype would still apply. */
17981 /* The GNU C library defines this for functions which it implements
17982 to always fail with ENOSYS. Some functions are actually named
17983 something starting with __ and the normal name is an alias. */
17984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17987 char (*f) () = $ac_func;
17996 return f != $ac_func;
18001 rm -f conftest.
$ac_objext conftest
$ac_exeext
18002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18003 (eval $ac_link) 2>&5
18005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18006 (exit $ac_status); } &&
18007 { ac_try
='test -s conftest$ac_exeext'
18008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18009 (eval $ac_try) 2>&5
18011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18012 (exit $ac_status); }; }; then
18013 eval "$as_ac_var=yes"
18015 echo "$as_me: failed program was:" >&5
18016 sed 's/^/| /' conftest.
$ac_ext >&5
18018 eval "$as_ac_var=no"
18020 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18023 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18024 if test `eval echo '${'$as_ac_var'}'` = yes; then
18025 cat >>confdefs.h
<<_ACEOF
18026 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18036 if test "x$ac_cv_func_regcomp" != "xyes"; then
18037 if test "$wxUSE_REGEX" = "sys" ; then
18038 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
18039 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
18040 { (exit 1); exit 1; }; }
18042 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
18043 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
18044 wxUSE_REGEX
=builtin
18051 if test "$wxUSE_REGEX" = "builtin" ; then
18052 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
18059 if test "$wxUSE_ZLIB" != "no" ; then
18060 cat >>confdefs.h
<<\_ACEOF
18061 #define wxUSE_ZLIB 1
18065 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
18066 if test "$USE_DARWIN" = 1; then
18067 system_zlib_h_ok
="yes"
18069 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
18070 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
18071 if test "${ac_cv_header_zlib_h+set}" = set; then
18072 echo $ECHO_N "(cached) $ECHO_C" >&6
18074 if test "$cross_compiling" = yes; then
18075 unset ac_cv_header_zlib_h
18078 cat >conftest.
$ac_ext <<_ACEOF
18079 #line $LINENO "configure"
18082 cat confdefs.h
>>conftest.
$ac_ext
18083 cat >>conftest.
$ac_ext <<_ACEOF
18084 /* end confdefs.h. */
18091 FILE *f=fopen("conftestval", "w");
18094 ZLIB_VERSION[0] == '1' &&
18095 (ZLIB_VERSION[2] > '1' ||
18096 (ZLIB_VERSION[2] == '1' &&
18097 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
18102 rm -f conftest
$ac_exeext
18103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18104 (eval $ac_link) 2>&5
18106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18107 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18109 (eval $ac_try) 2>&5
18111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18112 (exit $ac_status); }; }; then
18113 ac_cv_header_zlib_h
=`cat conftestval`
18115 echo "$as_me: program exited with status $ac_status" >&5
18116 echo "$as_me: failed program was:" >&5
18117 sed 's/^/| /' conftest.
$ac_ext >&5
18119 ( exit $ac_status )
18120 ac_cv_header_zlib_h
=no
18122 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18126 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18127 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18128 if test "${ac_cv_header_zlib_h+set}" = set; then
18129 echo "$as_me:$LINENO: checking for zlib.h" >&5
18130 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18131 if test "${ac_cv_header_zlib_h+set}" = set; then
18132 echo $ECHO_N "(cached) $ECHO_C" >&6
18134 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18135 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18137 # Is the header compilable?
18138 echo "$as_me:$LINENO: checking zlib.h usability" >&5
18139 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
18140 cat >conftest.
$ac_ext <<_ACEOF
18141 #line $LINENO "configure"
18144 cat confdefs.h
>>conftest.
$ac_ext
18145 cat >>conftest.
$ac_ext <<_ACEOF
18146 /* end confdefs.h. */
18147 $ac_includes_default
18150 rm -f conftest.
$ac_objext
18151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18152 (eval $ac_compile) 2>&5
18154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18155 (exit $ac_status); } &&
18156 { ac_try
='test -s conftest.$ac_objext'
18157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18158 (eval $ac_try) 2>&5
18160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18161 (exit $ac_status); }; }; then
18162 ac_header_compiler
=yes
18164 echo "$as_me: failed program was:" >&5
18165 sed 's/^/| /' conftest.
$ac_ext >&5
18167 ac_header_compiler
=no
18169 rm -f conftest.
$ac_objext conftest.
$ac_ext
18170 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18171 echo "${ECHO_T}$ac_header_compiler" >&6
18173 # Is the header present?
18174 echo "$as_me:$LINENO: checking zlib.h presence" >&5
18175 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
18176 cat >conftest.
$ac_ext <<_ACEOF
18177 #line $LINENO "configure"
18180 cat confdefs.h
>>conftest.
$ac_ext
18181 cat >>conftest.
$ac_ext <<_ACEOF
18182 /* end confdefs.h. */
18185 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18186 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18188 grep -v '^ *+' conftest.er1
>conftest.err
18190 cat conftest.err
>&5
18191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18192 (exit $ac_status); } >/dev
/null
; then
18193 if test -s conftest.err
; then
18194 ac_cpp_err
=$ac_c_preproc_warn_flag
18201 if test -z "$ac_cpp_err"; then
18202 ac_header_preproc
=yes
18204 echo "$as_me: failed program was:" >&5
18205 sed 's/^/| /' conftest.
$ac_ext >&5
18207 ac_header_preproc
=no
18209 rm -f conftest.err conftest.
$ac_ext
18210 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18211 echo "${ECHO_T}$ac_header_preproc" >&6
18213 # So? What about this header?
18214 case $ac_header_compiler:$ac_header_preproc in
18216 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
18217 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18218 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18219 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18222 ## ------------------------------------ ##
18223 ## Report this to bug-autoconf@gnu.org. ##
18224 ## ------------------------------------ ##
18227 sed "s/^/$as_me: WARNING: /" >&2
18230 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
18231 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
18232 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
18233 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
18234 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18235 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18238 ## ------------------------------------ ##
18239 ## Report this to bug-autoconf@gnu.org. ##
18240 ## ------------------------------------ ##
18243 sed "s/^/$as_me: WARNING: /" >&2
18246 echo "$as_me:$LINENO: checking for zlib.h" >&5
18247 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18248 if test "${ac_cv_header_zlib_h+set}" = set; then
18249 echo $ECHO_N "(cached) $ECHO_C" >&6
18251 ac_cv_header_zlib_h
=$ac_header_preproc
18253 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18254 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18260 system_zlib_h_ok
=$ac_cv_header_zlib_h
18263 if test "$system_zlib_h_ok" = "yes"; then
18264 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
18265 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
18266 if test "${ac_cv_lib_z_deflate+set}" = set; then
18267 echo $ECHO_N "(cached) $ECHO_C" >&6
18269 ac_check_lib_save_LIBS
=$LIBS
18271 cat >conftest.
$ac_ext <<_ACEOF
18272 #line $LINENO "configure"
18275 cat confdefs.h
>>conftest.
$ac_ext
18276 cat >>conftest.
$ac_ext <<_ACEOF
18277 /* end confdefs.h. */
18279 /* Override any gcc2 internal prototype to avoid an error. */
18283 /* We use char because int might match the return type of a gcc2
18284 builtin and then its argument prototype would still apply. */
18294 rm -f conftest.
$ac_objext conftest
$ac_exeext
18295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18296 (eval $ac_link) 2>&5
18298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18299 (exit $ac_status); } &&
18300 { ac_try
='test -s conftest$ac_exeext'
18301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18302 (eval $ac_try) 2>&5
18304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18305 (exit $ac_status); }; }; then
18306 ac_cv_lib_z_deflate
=yes
18308 echo "$as_me: failed program was:" >&5
18309 sed 's/^/| /' conftest.
$ac_ext >&5
18311 ac_cv_lib_z_deflate
=no
18313 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18314 LIBS
=$ac_check_lib_save_LIBS
18316 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
18317 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
18318 if test $ac_cv_lib_z_deflate = yes; then
18324 if test "x$ZLIB_LINK" = "x" ; then
18325 if test "$wxUSE_ZLIB" = "sys" ; then
18326 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
18327 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
18328 { (exit 1); exit 1; }; }
18330 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
18331 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
18339 if test "$wxUSE_ZLIB" = "builtin" ; then
18340 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
18347 if test "$wxUSE_LIBPNG" != "no" ; then
18348 cat >>confdefs.h
<<\_ACEOF
18349 #define wxUSE_LIBPNG 1
18353 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
18354 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
18355 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
18359 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
18360 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
18361 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
18362 wxUSE_LIBPNG
=builtin
18365 if test "$wxUSE_MGL" != 1 ; then
18366 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
18367 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
18368 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
18369 if test "${ac_cv_header_png_h+set}" = set; then
18370 echo $ECHO_N "(cached) $ECHO_C" >&6
18372 if test "$cross_compiling" = yes; then
18373 unset ac_cv_header_png_h
18376 cat >conftest.
$ac_ext <<_ACEOF
18377 #line $LINENO "configure"
18380 cat confdefs.h
>>conftest.
$ac_ext
18381 cat >>conftest.
$ac_ext <<_ACEOF
18382 /* end confdefs.h. */
18389 FILE *f=fopen("conftestval", "w");
18392 PNG_LIBPNG_VER > 90 ? "yes" : "no");
18397 rm -f conftest
$ac_exeext
18398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18399 (eval $ac_link) 2>&5
18401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18402 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18404 (eval $ac_try) 2>&5
18406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18407 (exit $ac_status); }; }; then
18408 ac_cv_header_png_h
=`cat conftestval`
18410 echo "$as_me: program exited with status $ac_status" >&5
18411 echo "$as_me: failed program was:" >&5
18412 sed 's/^/| /' conftest.
$ac_ext >&5
18414 ( exit $ac_status )
18415 ac_cv_header_png_h
=no
18417 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18421 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18422 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18423 if test "${ac_cv_header_png_h+set}" = set; then
18424 echo "$as_me:$LINENO: checking for png.h" >&5
18425 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18426 if test "${ac_cv_header_png_h+set}" = set; then
18427 echo $ECHO_N "(cached) $ECHO_C" >&6
18429 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18430 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18432 # Is the header compilable?
18433 echo "$as_me:$LINENO: checking png.h usability" >&5
18434 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
18435 cat >conftest.
$ac_ext <<_ACEOF
18436 #line $LINENO "configure"
18439 cat confdefs.h
>>conftest.
$ac_ext
18440 cat >>conftest.
$ac_ext <<_ACEOF
18441 /* end confdefs.h. */
18442 $ac_includes_default
18445 rm -f conftest.
$ac_objext
18446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18447 (eval $ac_compile) 2>&5
18449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18450 (exit $ac_status); } &&
18451 { ac_try
='test -s conftest.$ac_objext'
18452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18453 (eval $ac_try) 2>&5
18455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18456 (exit $ac_status); }; }; then
18457 ac_header_compiler
=yes
18459 echo "$as_me: failed program was:" >&5
18460 sed 's/^/| /' conftest.
$ac_ext >&5
18462 ac_header_compiler
=no
18464 rm -f conftest.
$ac_objext conftest.
$ac_ext
18465 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18466 echo "${ECHO_T}$ac_header_compiler" >&6
18468 # Is the header present?
18469 echo "$as_me:$LINENO: checking png.h presence" >&5
18470 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
18471 cat >conftest.
$ac_ext <<_ACEOF
18472 #line $LINENO "configure"
18475 cat confdefs.h
>>conftest.
$ac_ext
18476 cat >>conftest.
$ac_ext <<_ACEOF
18477 /* end confdefs.h. */
18480 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18481 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18483 grep -v '^ *+' conftest.er1
>conftest.err
18485 cat conftest.err
>&5
18486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18487 (exit $ac_status); } >/dev
/null
; then
18488 if test -s conftest.err
; then
18489 ac_cpp_err
=$ac_c_preproc_warn_flag
18496 if test -z "$ac_cpp_err"; then
18497 ac_header_preproc
=yes
18499 echo "$as_me: failed program was:" >&5
18500 sed 's/^/| /' conftest.
$ac_ext >&5
18502 ac_header_preproc
=no
18504 rm -f conftest.err conftest.
$ac_ext
18505 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18506 echo "${ECHO_T}$ac_header_preproc" >&6
18508 # So? What about this header?
18509 case $ac_header_compiler:$ac_header_preproc in
18511 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
18512 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18513 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18514 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18517 ## ------------------------------------ ##
18518 ## Report this to bug-autoconf@gnu.org. ##
18519 ## ------------------------------------ ##
18522 sed "s/^/$as_me: WARNING: /" >&2
18525 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
18526 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
18527 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
18528 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
18529 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18530 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18533 ## ------------------------------------ ##
18534 ## Report this to bug-autoconf@gnu.org. ##
18535 ## ------------------------------------ ##
18538 sed "s/^/$as_me: WARNING: /" >&2
18541 echo "$as_me:$LINENO: checking for png.h" >&5
18542 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18543 if test "${ac_cv_header_png_h+set}" = set; then
18544 echo $ECHO_N "(cached) $ECHO_C" >&6
18546 ac_cv_header_png_h
=$ac_header_preproc
18548 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18549 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18555 if test "$ac_cv_header_png_h" = "yes"; then
18556 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
18557 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
18558 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
18559 echo $ECHO_N "(cached) $ECHO_C" >&6
18561 ac_check_lib_save_LIBS
=$LIBS
18562 LIBS
="-lpng -lz -lm $LIBS"
18563 cat >conftest.
$ac_ext <<_ACEOF
18564 #line $LINENO "configure"
18567 cat confdefs.h
>>conftest.
$ac_ext
18568 cat >>conftest.
$ac_ext <<_ACEOF
18569 /* end confdefs.h. */
18571 /* Override any gcc2 internal prototype to avoid an error. */
18575 /* We use char because int might match the return type of a gcc2
18576 builtin and then its argument prototype would still apply. */
18577 char png_check_sig ();
18586 rm -f conftest.
$ac_objext conftest
$ac_exeext
18587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18588 (eval $ac_link) 2>&5
18590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18591 (exit $ac_status); } &&
18592 { ac_try
='test -s conftest$ac_exeext'
18593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18594 (eval $ac_try) 2>&5
18596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18597 (exit $ac_status); }; }; then
18598 ac_cv_lib_png_png_check_sig
=yes
18600 echo "$as_me: failed program was:" >&5
18601 sed 's/^/| /' conftest.
$ac_ext >&5
18603 ac_cv_lib_png_png_check_sig
=no
18605 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18606 LIBS
=$ac_check_lib_save_LIBS
18608 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
18609 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
18610 if test $ac_cv_lib_png_png_check_sig = yes; then
18616 if test "x$PNG_LINK" = "x" ; then
18617 if test "$wxUSE_LIBPNG" = "sys" ; then
18618 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
18619 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
18620 { (exit 1); exit 1; }; }
18622 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
18623 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
18624 wxUSE_LIBPNG
=builtin
18632 if test "$wxUSE_LIBPNG" = "builtin" ; then
18633 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
18636 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
18642 if test "$wxUSE_LIBJPEG" != "no" ; then
18643 cat >>confdefs.h
<<\_ACEOF
18644 #define wxUSE_LIBJPEG 1
18648 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
18649 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
18650 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
18654 if test "$wxUSE_MGL" != 1 ; then
18655 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
18656 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
18657 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
18658 if test "${ac_cv_header_jpeglib_h+set}" = set; then
18659 echo $ECHO_N "(cached) $ECHO_C" >&6
18661 cat >conftest.
$ac_ext <<_ACEOF
18662 #line $LINENO "configure"
18665 cat confdefs.h
>>conftest.
$ac_ext
18666 cat >>conftest.
$ac_ext <<_ACEOF
18667 /* end confdefs.h. */
18669 #undef HAVE_STDLIB_H
18671 #include <jpeglib.h>
18682 rm -f conftest.
$ac_objext
18683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18684 (eval $ac_compile) 2>&5
18686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18687 (exit $ac_status); } &&
18688 { ac_try
='test -s conftest.$ac_objext'
18689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18690 (eval $ac_try) 2>&5
18692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18693 (exit $ac_status); }; }; then
18694 ac_cv_header_jpeglib_h
=yes
18696 echo "$as_me: failed program was:" >&5
18697 sed 's/^/| /' conftest.
$ac_ext >&5
18699 ac_cv_header_jpeglib_h
=no
18702 rm -f conftest.
$ac_objext conftest.
$ac_ext
18706 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
18707 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
18709 if test "$ac_cv_header_jpeglib_h" = "yes"; then
18710 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
18711 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
18712 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
18713 echo $ECHO_N "(cached) $ECHO_C" >&6
18715 ac_check_lib_save_LIBS
=$LIBS
18716 LIBS
="-ljpeg $LIBS"
18717 cat >conftest.
$ac_ext <<_ACEOF
18718 #line $LINENO "configure"
18721 cat confdefs.h
>>conftest.
$ac_ext
18722 cat >>conftest.
$ac_ext <<_ACEOF
18723 /* end confdefs.h. */
18725 /* Override any gcc2 internal prototype to avoid an error. */
18729 /* We use char because int might match the return type of a gcc2
18730 builtin and then its argument prototype would still apply. */
18731 char jpeg_read_header ();
18735 jpeg_read_header ();
18740 rm -f conftest.
$ac_objext conftest
$ac_exeext
18741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18742 (eval $ac_link) 2>&5
18744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18745 (exit $ac_status); } &&
18746 { ac_try
='test -s conftest$ac_exeext'
18747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18748 (eval $ac_try) 2>&5
18750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18751 (exit $ac_status); }; }; then
18752 ac_cv_lib_jpeg_jpeg_read_header
=yes
18754 echo "$as_me: failed program was:" >&5
18755 sed 's/^/| /' conftest.
$ac_ext >&5
18757 ac_cv_lib_jpeg_jpeg_read_header
=no
18759 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18760 LIBS
=$ac_check_lib_save_LIBS
18762 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
18763 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
18764 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
18765 JPEG_LINK
=" -ljpeg"
18770 if test "x$JPEG_LINK" = "x" ; then
18771 if test "$wxUSE_LIBJPEG" = "sys" ; then
18772 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
18773 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
18774 { (exit 1); exit 1; }; }
18776 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
18777 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
18778 wxUSE_LIBJPEG
=builtin
18786 if test "$wxUSE_LIBJPEG" = "builtin" ; then
18787 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
18794 TIFF_PREREQ_LINKS
=-lm
18795 if test "$wxUSE_LIBTIFF" != "no" ; then
18796 cat >>confdefs.h
<<\_ACEOF
18797 #define wxUSE_LIBTIFF 1
18801 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
18802 if test "$wxUSE_LIBJPEG" = "sys"; then
18803 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
18805 if test "$wxUSE_ZLIB" = "sys"; then
18806 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
18808 if test "${ac_cv_header_tiffio_h+set}" = set; then
18809 echo "$as_me:$LINENO: checking for tiffio.h" >&5
18810 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
18811 if test "${ac_cv_header_tiffio_h+set}" = set; then
18812 echo $ECHO_N "(cached) $ECHO_C" >&6
18814 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
18815 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
18817 # Is the header compilable?
18818 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
18819 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
18820 cat >conftest.
$ac_ext <<_ACEOF
18821 #line $LINENO "configure"
18824 cat confdefs.h
>>conftest.
$ac_ext
18825 cat >>conftest.
$ac_ext <<_ACEOF
18826 /* end confdefs.h. */
18827 $ac_includes_default
18828 #include <tiffio.h>
18830 rm -f conftest.
$ac_objext
18831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18832 (eval $ac_compile) 2>&5
18834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18835 (exit $ac_status); } &&
18836 { ac_try
='test -s conftest.$ac_objext'
18837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18838 (eval $ac_try) 2>&5
18840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18841 (exit $ac_status); }; }; then
18842 ac_header_compiler
=yes
18844 echo "$as_me: failed program was:" >&5
18845 sed 's/^/| /' conftest.
$ac_ext >&5
18847 ac_header_compiler
=no
18849 rm -f conftest.
$ac_objext conftest.
$ac_ext
18850 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18851 echo "${ECHO_T}$ac_header_compiler" >&6
18853 # Is the header present?
18854 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
18855 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
18856 cat >conftest.
$ac_ext <<_ACEOF
18857 #line $LINENO "configure"
18860 cat confdefs.h
>>conftest.
$ac_ext
18861 cat >>conftest.
$ac_ext <<_ACEOF
18862 /* end confdefs.h. */
18863 #include <tiffio.h>
18865 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18866 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18868 grep -v '^ *+' conftest.er1
>conftest.err
18870 cat conftest.err
>&5
18871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18872 (exit $ac_status); } >/dev
/null
; then
18873 if test -s conftest.err
; then
18874 ac_cpp_err
=$ac_c_preproc_warn_flag
18881 if test -z "$ac_cpp_err"; then
18882 ac_header_preproc
=yes
18884 echo "$as_me: failed program was:" >&5
18885 sed 's/^/| /' conftest.
$ac_ext >&5
18887 ac_header_preproc
=no
18889 rm -f conftest.err conftest.
$ac_ext
18890 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18891 echo "${ECHO_T}$ac_header_preproc" >&6
18893 # So? What about this header?
18894 case $ac_header_compiler:$ac_header_preproc in
18896 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
18897 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18898 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
18899 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
18902 ## ------------------------------------ ##
18903 ## Report this to bug-autoconf@gnu.org. ##
18904 ## ------------------------------------ ##
18907 sed "s/^/$as_me: WARNING: /" >&2
18910 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
18911 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
18912 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
18913 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
18914 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
18915 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
18918 ## ------------------------------------ ##
18919 ## Report this to bug-autoconf@gnu.org. ##
18920 ## ------------------------------------ ##
18923 sed "s/^/$as_me: WARNING: /" >&2
18926 echo "$as_me:$LINENO: checking for tiffio.h" >&5
18927 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
18928 if test "${ac_cv_header_tiffio_h+set}" = set; then
18929 echo $ECHO_N "(cached) $ECHO_C" >&6
18931 ac_cv_header_tiffio_h
=$ac_header_preproc
18933 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
18934 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
18937 if test $ac_cv_header_tiffio_h = yes; then
18938 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
18939 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
18940 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
18941 echo $ECHO_N "(cached) $ECHO_C" >&6
18943 ac_check_lib_save_LIBS
=$LIBS
18944 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
18945 cat >conftest.
$ac_ext <<_ACEOF
18946 #line $LINENO "configure"
18949 cat confdefs.h
>>conftest.
$ac_ext
18950 cat >>conftest.
$ac_ext <<_ACEOF
18951 /* end confdefs.h. */
18953 /* Override any gcc2 internal prototype to avoid an error. */
18957 /* We use char because int might match the return type of a gcc2
18958 builtin and then its argument prototype would still apply. */
18968 rm -f conftest.
$ac_objext conftest
$ac_exeext
18969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18970 (eval $ac_link) 2>&5
18972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18973 (exit $ac_status); } &&
18974 { ac_try
='test -s conftest$ac_exeext'
18975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18976 (eval $ac_try) 2>&5
18978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18979 (exit $ac_status); }; }; then
18980 ac_cv_lib_tiff_TIFFError
=yes
18982 echo "$as_me: failed program was:" >&5
18983 sed 's/^/| /' conftest.
$ac_ext >&5
18985 ac_cv_lib_tiff_TIFFError
=no
18987 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18988 LIBS
=$ac_check_lib_save_LIBS
18990 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
18991 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
18992 if test $ac_cv_lib_tiff_TIFFError = yes; then
18993 TIFF_LINK
=" -ltiff"
19001 if test "x$TIFF_LINK" = "x" ; then
19002 if test "$wxUSE_LIBTIFF" = "sys" ; then
19003 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
19004 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
19005 { (exit 1); exit 1; }; }
19007 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
19008 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
19009 wxUSE_LIBTIFF
=builtin
19016 if test "$wxUSE_LIBTIFF" = "builtin" ; then
19017 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
19022 if test "$wxUSE_EXPAT" != "no"; then
19024 cat >>confdefs.h
<<\_ACEOF
19025 #define wxUSE_EXPAT 1
19028 cat >>confdefs.h
<<\_ACEOF
19029 #define wxUSE_XML 1
19033 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
19034 if test "${ac_cv_header_expat_h+set}" = set; then
19035 echo "$as_me:$LINENO: checking for expat.h" >&5
19036 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19037 if test "${ac_cv_header_expat_h+set}" = set; then
19038 echo $ECHO_N "(cached) $ECHO_C" >&6
19040 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19041 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19043 # Is the header compilable?
19044 echo "$as_me:$LINENO: checking expat.h usability" >&5
19045 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
19046 cat >conftest.
$ac_ext <<_ACEOF
19047 #line $LINENO "configure"
19050 cat confdefs.h
>>conftest.
$ac_ext
19051 cat >>conftest.
$ac_ext <<_ACEOF
19052 /* end confdefs.h. */
19053 $ac_includes_default
19056 rm -f conftest.
$ac_objext
19057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19058 (eval $ac_compile) 2>&5
19060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19061 (exit $ac_status); } &&
19062 { ac_try
='test -s conftest.$ac_objext'
19063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19064 (eval $ac_try) 2>&5
19066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19067 (exit $ac_status); }; }; then
19068 ac_header_compiler
=yes
19070 echo "$as_me: failed program was:" >&5
19071 sed 's/^/| /' conftest.
$ac_ext >&5
19073 ac_header_compiler
=no
19075 rm -f conftest.
$ac_objext conftest.
$ac_ext
19076 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19077 echo "${ECHO_T}$ac_header_compiler" >&6
19079 # Is the header present?
19080 echo "$as_me:$LINENO: checking expat.h presence" >&5
19081 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
19082 cat >conftest.
$ac_ext <<_ACEOF
19083 #line $LINENO "configure"
19086 cat confdefs.h
>>conftest.
$ac_ext
19087 cat >>conftest.
$ac_ext <<_ACEOF
19088 /* end confdefs.h. */
19091 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19092 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19094 grep -v '^ *+' conftest.er1
>conftest.err
19096 cat conftest.err
>&5
19097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19098 (exit $ac_status); } >/dev
/null
; then
19099 if test -s conftest.err
; then
19100 ac_cpp_err
=$ac_c_preproc_warn_flag
19107 if test -z "$ac_cpp_err"; then
19108 ac_header_preproc
=yes
19110 echo "$as_me: failed program was:" >&5
19111 sed 's/^/| /' conftest.
$ac_ext >&5
19113 ac_header_preproc
=no
19115 rm -f conftest.err conftest.
$ac_ext
19116 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19117 echo "${ECHO_T}$ac_header_preproc" >&6
19119 # So? What about this header?
19120 case $ac_header_compiler:$ac_header_preproc in
19122 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
19123 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19124 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19125 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19128 ## ------------------------------------ ##
19129 ## Report this to bug-autoconf@gnu.org. ##
19130 ## ------------------------------------ ##
19133 sed "s/^/$as_me: WARNING: /" >&2
19136 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
19137 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
19138 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
19139 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
19140 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19141 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19144 ## ------------------------------------ ##
19145 ## Report this to bug-autoconf@gnu.org. ##
19146 ## ------------------------------------ ##
19149 sed "s/^/$as_me: WARNING: /" >&2
19152 echo "$as_me:$LINENO: checking for expat.h" >&5
19153 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19154 if test "${ac_cv_header_expat_h+set}" = set; then
19155 echo $ECHO_N "(cached) $ECHO_C" >&6
19157 ac_cv_header_expat_h
=$ac_header_preproc
19159 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19160 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19163 if test $ac_cv_header_expat_h = yes; then
19168 if test "x$found_expat_h" = "x1"; then
19169 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
19170 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
19171 if test "${wx_cv_expat_is_not_broken+set}" = set; then
19172 echo $ECHO_N "(cached) $ECHO_C" >&6
19178 ac_cpp
='$CXXCPP $CPPFLAGS'
19179 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19180 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19181 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19183 cat >conftest.
$ac_ext <<_ACEOF
19184 #line $LINENO "configure"
19187 cat confdefs.h
>>conftest.
$ac_ext
19188 cat >>conftest.
$ac_ext <<_ACEOF
19189 /* end confdefs.h. */
19199 rm -f conftest.
$ac_objext
19200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19201 (eval $ac_compile) 2>&5
19203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19204 (exit $ac_status); } &&
19205 { ac_try
='test -s conftest.$ac_objext'
19206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19207 (eval $ac_try) 2>&5
19209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19210 (exit $ac_status); }; }; then
19211 wx_cv_expat_is_not_broken
=yes
19213 echo "$as_me: failed program was:" >&5
19214 sed 's/^/| /' conftest.
$ac_ext >&5
19216 wx_cv_expat_is_not_broken
=no
19219 rm -f conftest.
$ac_objext conftest.
$ac_ext
19221 ac_cpp
='$CPP $CPPFLAGS'
19222 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19223 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19224 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19229 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
19230 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
19231 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
19232 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
19233 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
19234 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
19235 echo $ECHO_N "(cached) $ECHO_C" >&6
19237 ac_check_lib_save_LIBS
=$LIBS
19238 LIBS
="-lexpat $LIBS"
19239 cat >conftest.
$ac_ext <<_ACEOF
19240 #line $LINENO "configure"
19243 cat confdefs.h
>>conftest.
$ac_ext
19244 cat >>conftest.
$ac_ext <<_ACEOF
19245 /* end confdefs.h. */
19247 /* Override any gcc2 internal prototype to avoid an error. */
19251 /* We use char because int might match the return type of a gcc2
19252 builtin and then its argument prototype would still apply. */
19253 char XML_ParserCreate ();
19257 XML_ParserCreate ();
19262 rm -f conftest.
$ac_objext conftest
$ac_exeext
19263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19264 (eval $ac_link) 2>&5
19266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19267 (exit $ac_status); } &&
19268 { ac_try
='test -s conftest$ac_exeext'
19269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19270 (eval $ac_try) 2>&5
19272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19273 (exit $ac_status); }; }; then
19274 ac_cv_lib_expat_XML_ParserCreate
=yes
19276 echo "$as_me: failed program was:" >&5
19277 sed 's/^/| /' conftest.
$ac_ext >&5
19279 ac_cv_lib_expat_XML_ParserCreate
=no
19281 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19282 LIBS
=$ac_check_lib_save_LIBS
19284 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
19285 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
19286 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
19287 EXPAT_LINK
=" -lexpat"
19292 if test "x$EXPAT_LINK" = "x" ; then
19293 if test "$wxUSE_EXPAT" = "sys" ; then
19294 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
19295 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
19296 { (exit 1); exit 1; }; }
19298 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
19299 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
19300 wxUSE_EXPAT
=builtin
19306 if test "$wxUSE_EXPAT" = "builtin" ; then
19309 subdirs
="$subdirs src/expat"
19323 if test "$USE_WIN32" = 1 ; then
19325 for ac_header
in w32api.h
19327 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19328 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19329 echo "$as_me:$LINENO: checking for $ac_header" >&5
19330 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19331 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19332 echo $ECHO_N "(cached) $ECHO_C" >&6
19334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19335 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19337 # Is the header compilable?
19338 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19339 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19340 cat >conftest.
$ac_ext <<_ACEOF
19341 #line $LINENO "configure"
19344 cat confdefs.h
>>conftest.
$ac_ext
19345 cat >>conftest.
$ac_ext <<_ACEOF
19346 /* end confdefs.h. */
19347 $ac_includes_default
19348 #include <$ac_header>
19350 rm -f conftest.
$ac_objext
19351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19352 (eval $ac_compile) 2>&5
19354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19355 (exit $ac_status); } &&
19356 { ac_try
='test -s conftest.$ac_objext'
19357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19358 (eval $ac_try) 2>&5
19360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19361 (exit $ac_status); }; }; then
19362 ac_header_compiler
=yes
19364 echo "$as_me: failed program was:" >&5
19365 sed 's/^/| /' conftest.
$ac_ext >&5
19367 ac_header_compiler
=no
19369 rm -f conftest.
$ac_objext conftest.
$ac_ext
19370 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19371 echo "${ECHO_T}$ac_header_compiler" >&6
19373 # Is the header present?
19374 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19375 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19376 cat >conftest.
$ac_ext <<_ACEOF
19377 #line $LINENO "configure"
19380 cat confdefs.h
>>conftest.
$ac_ext
19381 cat >>conftest.
$ac_ext <<_ACEOF
19382 /* end confdefs.h. */
19383 #include <$ac_header>
19385 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19386 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19388 grep -v '^ *+' conftest.er1
>conftest.err
19390 cat conftest.err
>&5
19391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19392 (exit $ac_status); } >/dev
/null
; then
19393 if test -s conftest.err
; then
19394 ac_cpp_err
=$ac_c_preproc_warn_flag
19401 if test -z "$ac_cpp_err"; then
19402 ac_header_preproc
=yes
19404 echo "$as_me: failed program was:" >&5
19405 sed 's/^/| /' conftest.
$ac_ext >&5
19407 ac_header_preproc
=no
19409 rm -f conftest.err conftest.
$ac_ext
19410 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19411 echo "${ECHO_T}$ac_header_preproc" >&6
19413 # So? What about this header?
19414 case $ac_header_compiler:$ac_header_preproc in
19416 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19417 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19418 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19419 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19422 ## ------------------------------------ ##
19423 ## Report this to bug-autoconf@gnu.org. ##
19424 ## ------------------------------------ ##
19427 sed "s/^/$as_me: WARNING: /" >&2
19430 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19431 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19432 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19433 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19434 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19435 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19438 ## ------------------------------------ ##
19439 ## Report this to bug-autoconf@gnu.org. ##
19440 ## ------------------------------------ ##
19443 sed "s/^/$as_me: WARNING: /" >&2
19446 echo "$as_me:$LINENO: checking for $ac_header" >&5
19447 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19448 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19449 echo $ECHO_N "(cached) $ECHO_C" >&6
19451 eval "$as_ac_Header=$ac_header_preproc"
19453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19454 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19457 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19458 cat >>confdefs.h
<<_ACEOF
19459 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19466 if test "${ac_cv_header_windows_h+set}" = set; then
19467 echo "$as_me:$LINENO: checking for windows.h" >&5
19468 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19469 if test "${ac_cv_header_windows_h+set}" = set; then
19470 echo $ECHO_N "(cached) $ECHO_C" >&6
19472 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19473 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19475 # Is the header compilable?
19476 echo "$as_me:$LINENO: checking windows.h usability" >&5
19477 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
19478 cat >conftest.
$ac_ext <<_ACEOF
19479 #line $LINENO "configure"
19482 cat confdefs.h
>>conftest.
$ac_ext
19483 cat >>conftest.
$ac_ext <<_ACEOF
19484 /* end confdefs.h. */
19485 $ac_includes_default
19486 #include <windows.h>
19488 rm -f conftest.
$ac_objext
19489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19490 (eval $ac_compile) 2>&5
19492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19493 (exit $ac_status); } &&
19494 { ac_try
='test -s conftest.$ac_objext'
19495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19496 (eval $ac_try) 2>&5
19498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19499 (exit $ac_status); }; }; then
19500 ac_header_compiler
=yes
19502 echo "$as_me: failed program was:" >&5
19503 sed 's/^/| /' conftest.
$ac_ext >&5
19505 ac_header_compiler
=no
19507 rm -f conftest.
$ac_objext conftest.
$ac_ext
19508 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19509 echo "${ECHO_T}$ac_header_compiler" >&6
19511 # Is the header present?
19512 echo "$as_me:$LINENO: checking windows.h presence" >&5
19513 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
19514 cat >conftest.
$ac_ext <<_ACEOF
19515 #line $LINENO "configure"
19518 cat confdefs.h
>>conftest.
$ac_ext
19519 cat >>conftest.
$ac_ext <<_ACEOF
19520 /* end confdefs.h. */
19521 #include <windows.h>
19523 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19524 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19526 grep -v '^ *+' conftest.er1
>conftest.err
19528 cat conftest.err
>&5
19529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19530 (exit $ac_status); } >/dev
/null
; then
19531 if test -s conftest.err
; then
19532 ac_cpp_err
=$ac_c_preproc_warn_flag
19539 if test -z "$ac_cpp_err"; then
19540 ac_header_preproc
=yes
19542 echo "$as_me: failed program was:" >&5
19543 sed 's/^/| /' conftest.
$ac_ext >&5
19545 ac_header_preproc
=no
19547 rm -f conftest.err conftest.
$ac_ext
19548 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19549 echo "${ECHO_T}$ac_header_preproc" >&6
19551 # So? What about this header?
19552 case $ac_header_compiler:$ac_header_preproc in
19554 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
19555 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19556 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19557 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19560 ## ------------------------------------ ##
19561 ## Report this to bug-autoconf@gnu.org. ##
19562 ## ------------------------------------ ##
19565 sed "s/^/$as_me: WARNING: /" >&2
19568 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
19569 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
19570 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
19571 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
19572 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19573 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19576 ## ------------------------------------ ##
19577 ## Report this to bug-autoconf@gnu.org. ##
19578 ## ------------------------------------ ##
19581 sed "s/^/$as_me: WARNING: /" >&2
19584 echo "$as_me:$LINENO: checking for windows.h" >&5
19585 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19586 if test "${ac_cv_header_windows_h+set}" = set; then
19587 echo $ECHO_N "(cached) $ECHO_C" >&6
19589 ac_cv_header_windows_h
=$ac_header_preproc
19591 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19592 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19595 if test $ac_cv_header_windows_h = yes; then
19599 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
19600 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
19601 { (exit 1); exit 1; }; }
19607 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
19609 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
19610 LIBS
="$LIBS -loleacc"
19615 LIBS
="$LIBS -lkernel32 -luser32"
19616 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
19619 if test "$wxUSE_ODBC" = "sys" ; then
19622 if test "$wxUSE_ODBC" = "yes" ; then
19623 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
19624 cat >>confdefs.h
<<\_ACEOF
19625 #define wxUSE_ODBC 1
19630 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
19631 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
19633 WIN32INSTALL
=win32install
19636 if test "$wxUSE_GUI" = "yes"; then
19645 if test "$wxUSE_MSW" = 1 ; then
19651 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
19655 if test "$wxUSE_GTK" = 1; then
19656 echo "$as_me:$LINENO: checking for GTK+ version" >&5
19657 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
19659 gtk_version_cached
=1
19660 if test "${wx_cv_lib_gtk+set}" = set; then
19661 echo $ECHO_N "(cached) $ECHO_C" >&6
19664 gtk_version_cached
=0
19665 echo "$as_me:$LINENO: result: " >&5
19666 echo "${ECHO_T}" >&6
19669 if test "$wxUSE_THREADS" = "yes"; then
19670 GTK_MODULES
=gthread
19674 if test "x$wxUSE_GTK2" = "xyes"; then
19675 # Check whether --enable-gtktest or --disable-gtktest was given.
19676 if test "${enable_gtktest+set}" = set; then
19677 enableval
="$enable_gtktest"
19683 pkg_config_args
=gtk
+-2.0
19684 for module
in .
$GTK_MODULES
19688 pkg_config_args
="$pkg_config_args gthread-2.0"
19695 # Extract the first word of "pkg-config", so it can be a program name with args.
19696 set dummy pkg
-config; ac_word
=$2
19697 echo "$as_me:$LINENO: checking for $ac_word" >&5
19698 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19699 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19700 echo $ECHO_N "(cached) $ECHO_C" >&6
19702 case $PKG_CONFIG in
19704 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
19707 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19708 for as_dir
in $PATH
19711 test -z "$as_dir" && as_dir
=.
19712 for ac_exec_ext
in '' $ac_executable_extensions; do
19713 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19714 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
19715 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19721 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
19725 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
19727 if test -n "$PKG_CONFIG"; then
19728 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19729 echo "${ECHO_T}$PKG_CONFIG" >&6
19731 echo "$as_me:$LINENO: result: no" >&5
19732 echo "${ECHO_T}no" >&6
19736 if test x
$PKG_CONFIG != xno
; then
19737 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
19740 echo *** pkg
-config too old
; version
0.7 or better required.
19748 min_gtk_version
=2.0.0
19749 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
19750 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
19752 if test x
$PKG_CONFIG != xno
; then
19753 ## don't try to run the test against uninstalled libtool libs
19754 if $PKG_CONFIG --uninstalled $pkg_config_args; then
19755 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
19759 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
19766 if test x
"$no_gtk" = x
; then
19767 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
19768 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
19769 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
19770 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
19771 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
19772 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
19773 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
19774 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
19775 if test "x$enable_gtktest" = "xyes" ; then
19776 ac_save_CFLAGS
="$CFLAGS"
19777 ac_save_LIBS
="$LIBS"
19778 CFLAGS
="$CFLAGS $GTK_CFLAGS"
19779 LIBS
="$GTK_LIBS $LIBS"
19781 if test "$cross_compiling" = yes; then
19782 echo $ac_n "cross compiling; assumed OK... $ac_c"
19784 cat >conftest.
$ac_ext <<_ACEOF
19785 #line $LINENO "configure"
19788 cat confdefs.h
>>conftest.
$ac_ext
19789 cat >>conftest.
$ac_ext <<_ACEOF
19790 /* end confdefs.h. */
19792 #include <gtk/gtk.h>
19794 #include <stdlib.h>
19799 int major, minor, micro;
19802 system ("touch conf.gtktest");
19804 /* HP/UX 9 (%@#!) writes to sscanf strings */
19805 tmp_version = g_strdup("$min_gtk_version");
19806 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
19807 printf("%s, bad version string\n", "$min_gtk_version");
19811 if ((gtk_major_version != $gtk_config_major_version) ||
19812 (gtk_minor_version != $gtk_config_minor_version) ||
19813 (gtk_micro_version != $gtk_config_micro_version))
19815 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
19816 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
19817 gtk_major_version, gtk_minor_version, gtk_micro_version);
19818 printf ("*** was found! If pkg-config was correct, then it is best\n");
19819 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
19820 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
19821 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
19822 printf("*** required on your system.\n");
19823 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
19824 printf("*** to point to the correct configuration files\n");
19826 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
19827 (gtk_minor_version != GTK_MINOR_VERSION) ||
19828 (gtk_micro_version != GTK_MICRO_VERSION))
19830 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
19831 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
19832 printf("*** library (version %d.%d.%d)\n",
19833 gtk_major_version, gtk_minor_version, gtk_micro_version);
19837 if ((gtk_major_version > major) ||
19838 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
19839 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
19845 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
19846 gtk_major_version, gtk_minor_version, gtk_micro_version);
19847 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
19848 major, minor, micro);
19849 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
19851 printf("*** If you have already installed a sufficiently new version, this error\n");
19852 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
19853 printf("*** being found. The easiest way to fix this is to remove the old version\n");
19854 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
19855 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
19856 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
19857 printf("*** so that the correct libraries are found at run-time))\n");
19864 rm -f conftest
$ac_exeext
19865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19866 (eval $ac_link) 2>&5
19868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19869 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19871 (eval $ac_try) 2>&5
19873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19874 (exit $ac_status); }; }; then
19877 echo "$as_me: program exited with status $ac_status" >&5
19878 echo "$as_me: failed program was:" >&5
19879 sed 's/^/| /' conftest.
$ac_ext >&5
19881 ( exit $ac_status )
19884 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19886 CFLAGS
="$ac_save_CFLAGS"
19887 LIBS
="$ac_save_LIBS"
19890 if test "x$no_gtk" = x
; then
19891 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
19892 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
19895 echo "$as_me:$LINENO: result: no" >&5
19896 echo "${ECHO_T}no" >&6
19897 if test "$PKG_CONFIG" = "no" ; then
19898 echo "*** A new enough version of pkg-config was not found."
19899 echo "*** See http://pkgconfig.sourceforge.net"
19901 if test -f conf.gtktest
; then
19904 echo "*** Could not run GTK+ test program, checking why..."
19905 ac_save_CFLAGS
="$CFLAGS"
19906 ac_save_LIBS
="$LIBS"
19907 CFLAGS
="$CFLAGS $GTK_CFLAGS"
19908 LIBS
="$LIBS $GTK_LIBS"
19909 cat >conftest.
$ac_ext <<_ACEOF
19910 #line $LINENO "configure"
19913 cat confdefs.h
>>conftest.
$ac_ext
19914 cat >>conftest.
$ac_ext <<_ACEOF
19915 /* end confdefs.h. */
19917 #include <gtk/gtk.h>
19923 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
19928 rm -f conftest.
$ac_objext conftest
$ac_exeext
19929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19930 (eval $ac_link) 2>&5
19932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19933 (exit $ac_status); } &&
19934 { ac_try
='test -s conftest$ac_exeext'
19935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19936 (eval $ac_try) 2>&5
19938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19939 (exit $ac_status); }; }; then
19940 echo "*** The test program compiled, but did not run. This usually means"
19941 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
19942 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
19943 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
19944 echo "*** to the installed location Also, make sure you have run ldconfig if that"
19945 echo "*** is required on your system"
19947 echo "*** If you have an old version installed, it is best to remove it, although"
19948 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
19950 echo "$as_me: failed program was:" >&5
19951 sed 's/^/| /' conftest.
$ac_ext >&5
19953 echo "*** The test program failed to compile or link. See the file config.log for the"
19954 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
19956 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19957 CFLAGS
="$ac_save_CFLAGS"
19958 LIBS
="$ac_save_LIBS"
19971 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
19972 if test "${with_gtk_prefix+set}" = set; then
19973 withval
="$with_gtk_prefix"
19974 gtk_config_prefix
="$withval"
19976 gtk_config_prefix
=""
19979 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
19980 if test "${with_gtk_exec_prefix+set}" = set; then
19981 withval
="$with_gtk_exec_prefix"
19982 gtk_config_exec_prefix
="$withval"
19984 gtk_config_exec_prefix
=""
19986 # Check whether --enable-gtktest or --disable-gtktest was given.
19987 if test "${enable_gtktest+set}" = set; then
19988 enableval
="$enable_gtktest"
19994 for module
in .
$GTK_MODULES
19998 gtk_config_args
="$gtk_config_args gthread"
20003 if test x
$gtk_config_exec_prefix != x
; then
20004 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20005 if test x
${GTK_CONFIG+set} != xset
; then
20006 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
20009 if test x
$gtk_config_prefix != x
; then
20010 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
20011 if test x
${GTK_CONFIG+set} != xset
; then
20012 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
20016 # Extract the first word of "gtk-config", so it can be a program name with args.
20017 set dummy gtk
-config; ac_word
=$2
20018 echo "$as_me:$LINENO: checking for $ac_word" >&5
20019 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20020 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20021 echo $ECHO_N "(cached) $ECHO_C" >&6
20023 case $GTK_CONFIG in
20025 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
20028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20029 for as_dir
in $PATH
20032 test -z "$as_dir" && as_dir
=.
20033 for ac_exec_ext
in '' $ac_executable_extensions; do
20034 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20035 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20042 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
20046 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
20048 if test -n "$GTK_CONFIG"; then
20049 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20050 echo "${ECHO_T}$GTK_CONFIG" >&6
20052 echo "$as_me:$LINENO: result: no" >&5
20053 echo "${ECHO_T}no" >&6
20056 min_gtk_version
=1.2.7
20057 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20058 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20060 if test "$GTK_CONFIG" = "no" ; then
20063 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
20064 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
20065 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
20066 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20067 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
20068 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20069 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
20070 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20071 if test "x$enable_gtktest" = "xyes" ; then
20072 ac_save_CFLAGS
="$CFLAGS"
20073 ac_save_LIBS
="$LIBS"
20074 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20075 LIBS
="$GTK_LIBS $LIBS"
20077 if test "$cross_compiling" = yes; then
20078 echo $ac_n "cross compiling; assumed OK... $ac_c"
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>
20090 #include <stdlib.h>
20095 int major, minor, micro;
20098 system ("touch conf.gtktest");
20100 /* HP/UX 9 (%@#!) writes to sscanf strings */
20101 tmp_version = g_strdup("$min_gtk_version");
20102 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
20103 printf("%s, bad version string\n", "$min_gtk_version");
20107 if ((gtk_major_version != $gtk_config_major_version) ||
20108 (gtk_minor_version != $gtk_config_minor_version) ||
20109 (gtk_micro_version != $gtk_config_micro_version))
20111 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20112 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20113 gtk_major_version, gtk_minor_version, gtk_micro_version);
20114 printf ("*** was found! If gtk-config was correct, then it is best\n");
20115 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20116 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20117 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20118 printf("*** required on your system.\n");
20119 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20120 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20121 printf("*** before re-running configure\n");
20123 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20124 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20125 (gtk_minor_version != GTK_MINOR_VERSION) ||
20126 (gtk_micro_version != GTK_MICRO_VERSION))
20128 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20129 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20130 printf("*** library (version %d.%d.%d)\n",
20131 gtk_major_version, gtk_minor_version, gtk_micro_version);
20133 #endif /* defined (GTK_MAJOR_VERSION) ... */
20136 if ((gtk_major_version > major) ||
20137 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20138 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20144 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20145 gtk_major_version, gtk_minor_version, gtk_micro_version);
20146 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20147 major, minor, micro);
20148 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20150 printf("*** If you have already installed a sufficiently new version, this error\n");
20151 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20152 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20153 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20154 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20155 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20156 printf("*** so that the correct libraries are found at run-time))\n");
20163 rm -f conftest
$ac_exeext
20164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20165 (eval $ac_link) 2>&5
20167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20168 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20170 (eval $ac_try) 2>&5
20172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20173 (exit $ac_status); }; }; then
20176 echo "$as_me: program exited with status $ac_status" >&5
20177 echo "$as_me: failed program was:" >&5
20178 sed 's/^/| /' conftest.
$ac_ext >&5
20180 ( exit $ac_status )
20183 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20185 CFLAGS
="$ac_save_CFLAGS"
20186 LIBS
="$ac_save_LIBS"
20189 if test "x$no_gtk" = x
; then
20190 echo "$as_me:$LINENO: result: yes" >&5
20191 echo "${ECHO_T}yes" >&6
20192 wx_cv_lib_gtk
=1.2.7
20194 echo "$as_me:$LINENO: result: no" >&5
20195 echo "${ECHO_T}no" >&6
20196 if test "$GTK_CONFIG" = "no" ; then
20197 echo "*** The gtk-config script installed by GTK could not be found"
20198 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20199 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20200 echo "*** full path to gtk-config."
20202 if test -f conf.gtktest
; then
20205 echo "*** Could not run GTK test program, checking why..."
20206 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20207 LIBS
="$LIBS $GTK_LIBS"
20208 cat >conftest.
$ac_ext <<_ACEOF
20209 #line $LINENO "configure"
20212 cat confdefs.h
>>conftest.
$ac_ext
20213 cat >>conftest.
$ac_ext <<_ACEOF
20214 /* end confdefs.h. */
20216 #include <gtk/gtk.h>
20222 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20227 rm -f conftest.
$ac_objext conftest
$ac_exeext
20228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20229 (eval $ac_link) 2>&5
20231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20232 (exit $ac_status); } &&
20233 { ac_try
='test -s conftest$ac_exeext'
20234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20235 (eval $ac_try) 2>&5
20237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20238 (exit $ac_status); }; }; then
20239 echo "*** The test program compiled, but did not run. This usually means"
20240 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20241 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20242 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20243 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20244 echo "*** is required on your system"
20246 echo "*** If you have an old version installed, it is best to remove it, although"
20247 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20249 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20250 echo "*** came with the system with the command"
20252 echo "*** rpm --erase --nodeps gtk gtk-devel"
20254 echo "$as_me: failed program was:" >&5
20255 sed 's/^/| /' conftest.
$ac_ext >&5
20257 echo "*** The test program failed to compile or link. See the file config.log for the"
20258 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20259 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20260 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20262 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20263 CFLAGS
="$ac_save_CFLAGS"
20264 LIBS
="$ac_save_LIBS"
20276 if test -z "$wx_cv_lib_gtk"; then
20278 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20279 if test "${with_gtk_prefix+set}" = set; then
20280 withval
="$with_gtk_prefix"
20281 gtk_config_prefix
="$withval"
20283 gtk_config_prefix
=""
20286 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20287 if test "${with_gtk_exec_prefix+set}" = set; then
20288 withval
="$with_gtk_exec_prefix"
20289 gtk_config_exec_prefix
="$withval"
20291 gtk_config_exec_prefix
=""
20293 # Check whether --enable-gtktest or --disable-gtktest was given.
20294 if test "${enable_gtktest+set}" = set; then
20295 enableval
="$enable_gtktest"
20301 for module
in .
$GTK_MODULES
20305 gtk_config_args
="$gtk_config_args gthread"
20310 if test x
$gtk_config_exec_prefix != x
; then
20311 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20312 if test x
${GTK_CONFIG+set} != xset
; then
20313 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
20316 if test x
$gtk_config_prefix != x
; then
20317 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
20318 if test x
${GTK_CONFIG+set} != xset
; then
20319 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
20323 # Extract the first word of "gtk-config", so it can be a program name with args.
20324 set dummy gtk
-config; ac_word
=$2
20325 echo "$as_me:$LINENO: checking for $ac_word" >&5
20326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20327 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20328 echo $ECHO_N "(cached) $ECHO_C" >&6
20330 case $GTK_CONFIG in
20332 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
20335 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20336 for as_dir
in $PATH
20339 test -z "$as_dir" && as_dir
=.
20340 for ac_exec_ext
in '' $ac_executable_extensions; do
20341 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20342 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20349 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
20353 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
20355 if test -n "$GTK_CONFIG"; then
20356 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20357 echo "${ECHO_T}$GTK_CONFIG" >&6
20359 echo "$as_me:$LINENO: result: no" >&5
20360 echo "${ECHO_T}no" >&6
20363 min_gtk_version
=1.2.3
20364 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20365 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20367 if test "$GTK_CONFIG" = "no" ; then
20370 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
20371 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
20372 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
20373 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20374 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
20375 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20376 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
20377 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20378 if test "x$enable_gtktest" = "xyes" ; then
20379 ac_save_CFLAGS
="$CFLAGS"
20380 ac_save_LIBS
="$LIBS"
20381 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20382 LIBS
="$GTK_LIBS $LIBS"
20384 if test "$cross_compiling" = yes; then
20385 echo $ac_n "cross compiling; assumed OK... $ac_c"
20387 cat >conftest.
$ac_ext <<_ACEOF
20388 #line $LINENO "configure"
20391 cat confdefs.h
>>conftest.
$ac_ext
20392 cat >>conftest.
$ac_ext <<_ACEOF
20393 /* end confdefs.h. */
20395 #include <gtk/gtk.h>
20397 #include <stdlib.h>
20402 int major, minor, micro;
20405 system ("touch conf.gtktest");
20407 /* HP/UX 9 (%@#!) writes to sscanf strings */
20408 tmp_version = g_strdup("$min_gtk_version");
20409 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
20410 printf("%s, bad version string\n", "$min_gtk_version");
20414 if ((gtk_major_version != $gtk_config_major_version) ||
20415 (gtk_minor_version != $gtk_config_minor_version) ||
20416 (gtk_micro_version != $gtk_config_micro_version))
20418 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20419 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20420 gtk_major_version, gtk_minor_version, gtk_micro_version);
20421 printf ("*** was found! If gtk-config was correct, then it is best\n");
20422 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20423 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20424 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20425 printf("*** required on your system.\n");
20426 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20427 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20428 printf("*** before re-running configure\n");
20430 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20431 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20432 (gtk_minor_version != GTK_MINOR_VERSION) ||
20433 (gtk_micro_version != GTK_MICRO_VERSION))
20435 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20436 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20437 printf("*** library (version %d.%d.%d)\n",
20438 gtk_major_version, gtk_minor_version, gtk_micro_version);
20440 #endif /* defined (GTK_MAJOR_VERSION) ... */
20443 if ((gtk_major_version > major) ||
20444 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20445 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20451 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20452 gtk_major_version, gtk_minor_version, gtk_micro_version);
20453 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20454 major, minor, micro);
20455 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20457 printf("*** If you have already installed a sufficiently new version, this error\n");
20458 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20459 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20460 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20461 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20462 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20463 printf("*** so that the correct libraries are found at run-time))\n");
20470 rm -f conftest
$ac_exeext
20471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20472 (eval $ac_link) 2>&5
20474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20475 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20477 (eval $ac_try) 2>&5
20479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20480 (exit $ac_status); }; }; then
20483 echo "$as_me: program exited with status $ac_status" >&5
20484 echo "$as_me: failed program was:" >&5
20485 sed 's/^/| /' conftest.
$ac_ext >&5
20487 ( exit $ac_status )
20490 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20492 CFLAGS
="$ac_save_CFLAGS"
20493 LIBS
="$ac_save_LIBS"
20496 if test "x$no_gtk" = x
; then
20497 echo "$as_me:$LINENO: result: yes" >&5
20498 echo "${ECHO_T}yes" >&6
20499 wx_cv_lib_gtk
=1.2.3
20501 echo "$as_me:$LINENO: result: no" >&5
20502 echo "${ECHO_T}no" >&6
20503 if test "$GTK_CONFIG" = "no" ; then
20504 echo "*** The gtk-config script installed by GTK could not be found"
20505 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20506 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20507 echo "*** full path to gtk-config."
20509 if test -f conf.gtktest
; then
20512 echo "*** Could not run GTK test program, checking why..."
20513 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20514 LIBS
="$LIBS $GTK_LIBS"
20515 cat >conftest.
$ac_ext <<_ACEOF
20516 #line $LINENO "configure"
20519 cat confdefs.h
>>conftest.
$ac_ext
20520 cat >>conftest.
$ac_ext <<_ACEOF
20521 /* end confdefs.h. */
20523 #include <gtk/gtk.h>
20529 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20534 rm -f conftest.
$ac_objext conftest
$ac_exeext
20535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20536 (eval $ac_link) 2>&5
20538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20539 (exit $ac_status); } &&
20540 { ac_try
='test -s conftest$ac_exeext'
20541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20542 (eval $ac_try) 2>&5
20544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20545 (exit $ac_status); }; }; then
20546 echo "*** The test program compiled, but did not run. This usually means"
20547 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20548 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20549 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20550 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20551 echo "*** is required on your system"
20553 echo "*** If you have an old version installed, it is best to remove it, although"
20554 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20556 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20557 echo "*** came with the system with the command"
20559 echo "*** rpm --erase --nodeps gtk gtk-devel"
20561 echo "$as_me: failed program was:" >&5
20562 sed 's/^/| /' conftest.
$ac_ext >&5
20564 echo "*** The test program failed to compile or link. See the file config.log for the"
20565 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20566 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20567 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20569 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20570 CFLAGS
="$ac_save_CFLAGS"
20571 LIBS
="$ac_save_LIBS"
20585 if test -z "$wx_cv_lib_gtk"; then
20588 wx_cv_cflags_gtk
=$GTK_CFLAGS
20589 wx_cv_libs_gtk
=$GTK_LIBS
20596 if test "$gtk_version_cached" = 1; then
20597 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
20598 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
20601 case "$wx_cv_lib_gtk" in
20610 *) { { echo "$as_me:$LINENO: error:
20611 Please check that gtk-config is in path, the directory
20612 where GTK+ libraries are installed (returned by
20613 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20614 equivalent variable and GTK+ is version 1.2.3 or above.
20616 echo "$as_me: error:
20617 Please check that gtk-config is in path, the directory
20618 where GTK+ libraries are installed (returned by
20619 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20620 equivalent variable and GTK+ is version 1.2.3 or above.
20622 { (exit 1); exit 1; }; }
20626 if test "$WXGTK20" = 1; then
20627 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
20631 if test -z "$PKG_CONFIG"; then
20632 # Extract the first word of "pkg-config", so it can be a program name with args.
20633 set dummy pkg
-config; ac_word
=$2
20634 echo "$as_me:$LINENO: checking for $ac_word" >&5
20635 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20636 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20637 echo $ECHO_N "(cached) $ECHO_C" >&6
20639 case $PKG_CONFIG in
20641 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20644 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20645 for as_dir
in $PATH
20648 test -z "$as_dir" && as_dir
=.
20649 for ac_exec_ext
in '' $ac_executable_extensions; do
20650 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20651 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20652 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20658 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
20662 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20664 if test -n "$PKG_CONFIG"; then
20665 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20666 echo "${ECHO_T}$PKG_CONFIG" >&6
20668 echo "$as_me:$LINENO: result: no" >&5
20669 echo "${ECHO_T}no" >&6
20674 if test "$PKG_CONFIG" = "no" ; then
20675 echo "*** The pkg-config script could not be found. Make sure it is"
20676 echo "*** in your path, or set the PKG_CONFIG environment variable"
20677 echo "*** to the full path to pkg-config."
20678 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20680 PKG_CONFIG_MIN_VERSION
=0.9.0
20681 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20682 echo "$as_me:$LINENO: checking for pangoft2" >&5
20683 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
20685 if $PKG_CONFIG --exists "pangoft2" ; then
20686 echo "$as_me:$LINENO: result: yes" >&5
20687 echo "${ECHO_T}yes" >&6
20690 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
20691 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
20692 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
20693 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
20694 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
20696 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
20697 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
20698 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
20699 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
20700 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
20704 ## If we have a custom action on failure, don't print errors, but
20705 ## do set a variable so people can do so.
20706 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
20713 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20714 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20718 if test $succeeded = yes; then
20720 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
20721 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
20725 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
20726 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
20727 wxUSE_PRINTING_ARCHITECTURE
="no"
20734 if test "$wxUSE_UNICODE" = "yes"; then
20735 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
20736 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
20741 if test "$USE_DARWIN" != 1; then
20743 for ac_func
in poll
20745 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20746 echo "$as_me:$LINENO: checking for $ac_func" >&5
20747 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20748 if eval "test \"\${$as_ac_var+set}\" = set"; then
20749 echo $ECHO_N "(cached) $ECHO_C" >&6
20751 cat >conftest.
$ac_ext <<_ACEOF
20752 #line $LINENO "configure"
20755 cat confdefs.h
>>conftest.
$ac_ext
20756 cat >>conftest.
$ac_ext <<_ACEOF
20757 /* end confdefs.h. */
20758 /* System header to define __stub macros and hopefully few prototypes,
20759 which can conflict with char $ac_func (); below.
20760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20761 <limits.h> exists even on freestanding compilers. */
20763 # include <limits.h>
20765 # include <assert.h>
20767 /* Override any gcc2 internal prototype to avoid an error. */
20772 /* We use char because int might match the return type of a gcc2
20773 builtin and then its argument prototype would still apply. */
20775 /* The GNU C library defines this for functions which it implements
20776 to always fail with ENOSYS. Some functions are actually named
20777 something starting with __ and the normal name is an alias. */
20778 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20781 char (*f) () = $ac_func;
20790 return f != $ac_func;
20795 rm -f conftest.
$ac_objext conftest
$ac_exeext
20796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20797 (eval $ac_link) 2>&5
20799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20800 (exit $ac_status); } &&
20801 { ac_try
='test -s conftest$ac_exeext'
20802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20803 (eval $ac_try) 2>&5
20805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20806 (exit $ac_status); }; }; then
20807 eval "$as_ac_var=yes"
20809 echo "$as_me: failed program was:" >&5
20810 sed 's/^/| /' conftest.
$ac_ext >&5
20812 eval "$as_ac_var=no"
20814 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20817 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20818 if test `eval echo '${'$as_ac_var'}'` = yes; then
20819 cat >>confdefs.h
<<_ACEOF
20820 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20828 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
20829 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
20831 AFMINSTALL
=afminstall
20835 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
20836 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
20837 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
20838 echo $ECHO_N "(cached) $ECHO_C" >&6
20840 ac_check_lib_save_LIBS
=$LIBS
20842 cat >conftest.
$ac_ext <<_ACEOF
20843 #line $LINENO "configure"
20846 cat confdefs.h
>>conftest.
$ac_ext
20847 cat >>conftest.
$ac_ext <<_ACEOF
20848 /* end confdefs.h. */
20850 /* Override any gcc2 internal prototype to avoid an error. */
20854 /* We use char because int might match the return type of a gcc2
20855 builtin and then its argument prototype would still apply. */
20856 char gdk_im_open ();
20865 rm -f conftest.
$ac_objext conftest
$ac_exeext
20866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20867 (eval $ac_link) 2>&5
20869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20870 (exit $ac_status); } &&
20871 { ac_try
='test -s conftest$ac_exeext'
20872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20873 (eval $ac_try) 2>&5
20875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20876 (exit $ac_status); }; }; then
20877 ac_cv_lib_gdk_gdk_im_open
=yes
20879 echo "$as_me: failed program was:" >&5
20880 sed 's/^/| /' conftest.
$ac_ext >&5
20882 ac_cv_lib_gdk_gdk_im_open
=no
20884 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20885 LIBS
=$ac_check_lib_save_LIBS
20887 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
20888 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
20889 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
20890 cat >>confdefs.h
<<\_ACEOF
20898 if test "$wxUSE_MGL" = 1; then
20899 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
20900 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
20901 if test "x$MGL_ROOT" = x
; then
20902 echo "$as_me:$LINENO: result: not found" >&5
20903 echo "${ECHO_T}not found" >&6
20904 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
20905 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
20906 { (exit 1); exit 1; }; }
20908 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
20909 echo "${ECHO_T}$MGL_ROOT" >&6
20912 echo "$as_me:$LINENO: checking for libmgl location" >&5
20913 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
20916 if test "x$wxUSE_SHARED" = xyes
; then
20917 mgl_os_candidates
="linux/gcc/glibc.so linux/gcc/glibc"
20919 mgl_os_candidates
="linux/gcc/glibc linux/gcc/glibc.so"
20923 mgl_os_candidates
="dos32/dj2"
20926 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
20927 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
20928 { (exit 1); exit 1; }; }
20934 for mgl_os_i
in $mgl_os_candidates ; do
20935 if test "x$mgl_os" = x
; then
20936 if test "$wxUSE_DEBUG_FLAG" = yes ; then
20937 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
20938 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
20943 if test "x$mgl_lib_type" = x
; then
20944 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
20945 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
20946 mgl_lib_type
=release
20953 if test "x$mgl_os" = x
; then
20954 echo "$as_me:$LINENO: result: not found" >&5
20955 echo "${ECHO_T}not found" >&6
20956 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
20957 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
20958 { (exit 1); exit 1; }; }
20960 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
20961 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
20963 wxUSE_UNIVERSAL
="yes"
20965 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
20966 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
20968 AFMINSTALL
=afminstall
20973 if test "$wxUSE_MICROWIN" = 1; then
20974 echo "$as_me:$LINENO: checking for MicroWindows" >&5
20975 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
20976 if test "x$MICROWINDOWS" = x
; then
20977 echo "$as_me:$LINENO: result: not found" >&5
20978 echo "${ECHO_T}not found" >&6
20979 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
20980 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
20981 { (exit 1); exit 1; }; }
20983 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
20984 echo "${ECHO_T}$MICROWINDOWS" >&6
20987 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
20988 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
20989 echo "${ECHO_T}MicroWindows' libraries found." >&6
20991 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
20992 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
20993 { (exit 1); exit 1; }; }
20996 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
20997 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
20999 wxUSE_UNIVERSAL
="yes"
21001 AFMINSTALL
=afminstall
21003 GUIDIST
=MICROWIN_DIST
21005 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
21008 if test "$wxUSE_X11" = 1; then
21009 echo "$as_me:$LINENO: checking for X" >&5
21010 echo $ECHO_N "checking for X... $ECHO_C" >&6
21013 # Check whether --with-x or --without-x was given.
21014 if test "${with_x+set}" = set; then
21018 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
21019 if test "x$with_x" = xno
; then
21020 # The user explicitly disabled X.
21023 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
21024 # Both variables are already set.
21027 if test "${ac_cv_have_x+set}" = set; then
21028 echo $ECHO_N "(cached) $ECHO_C" >&6
21030 # One or both of the vars are not set, and there is no cached value.
21031 ac_x_includes
=no ac_x_libraries
=no
21032 rm -fr conftest.dir
21033 if mkdir conftest.dir
; then
21035 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
21036 cat >Imakefile
<<'_ACEOF'
21038 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
21040 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
21041 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
21042 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
21043 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
21044 for ac_extension
in a so sl
; do
21045 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
21046 test -f $ac_im_libdir/libX11.
$ac_extension; then
21047 ac_im_usrlibdir
=$ac_im_libdir; break
21050 # Screen out bogus values from the imake configuration. They are
21051 # bogus both because they are the default anyway, and because
21052 # using them would break gcc on systems where it needs fixed includes.
21053 case $ac_im_incroot in
21055 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
21057 case $ac_im_usrlibdir in
21058 /usr
/lib
| /lib
) ;;
21059 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
21063 rm -fr conftest.dir
21066 # Standard set of common directories for X headers.
21067 # Check X11 before X11Rn because it is often a symlink to the current release.
21079 /usr/local/X11/include
21080 /usr/local/X11R6/include
21081 /usr/local/X11R5/include
21082 /usr/local/X11R4/include
21084 /usr/local/include/X11
21085 /usr/local/include/X11R6
21086 /usr/local/include/X11R5
21087 /usr/local/include/X11R4
21091 /usr/XFree86/include/X11
21095 /usr/unsupported/include
21096 /usr/athena/include
21097 /usr/local/x11r5/include
21098 /usr/lpp/Xamples/include
21100 /usr/openwin/include
21101 /usr/openwin/share/include'
21103 if test "$ac_x_includes" = no
; then
21104 # Guess where to find include files, by looking for Intrinsic.h.
21105 # First, try using that file with no special directory specified.
21106 cat >conftest.
$ac_ext <<_ACEOF
21107 #line $LINENO "configure"
21110 cat confdefs.h
>>conftest.
$ac_ext
21111 cat >>conftest.
$ac_ext <<_ACEOF
21112 /* end confdefs.h. */
21113 #include <X11/Intrinsic.h>
21115 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21116 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21118 grep -v '^ *+' conftest.er1
>conftest.err
21120 cat conftest.err
>&5
21121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21122 (exit $ac_status); } >/dev
/null
; then
21123 if test -s conftest.err
; then
21124 ac_cpp_err
=$ac_c_preproc_warn_flag
21131 if test -z "$ac_cpp_err"; then
21132 # We can compile using X headers with no special include directory.
21135 echo "$as_me: failed program was:" >&5
21136 sed 's/^/| /' conftest.
$ac_ext >&5
21138 for ac_dir
in $ac_x_header_dirs; do
21139 if test -r "$ac_dir/X11/Intrinsic.h"; then
21140 ac_x_includes
=$ac_dir
21145 rm -f conftest.err conftest.
$ac_ext
21146 fi # $ac_x_includes = no
21148 if test "$ac_x_libraries" = no
; then
21149 # Check for the libraries.
21150 # See if we find them without any special options.
21151 # Don't add to $LIBS permanently.
21154 cat >conftest.
$ac_ext <<_ACEOF
21155 #line $LINENO "configure"
21158 cat confdefs.h
>>conftest.
$ac_ext
21159 cat >>conftest.
$ac_ext <<_ACEOF
21160 /* end confdefs.h. */
21161 #include <X11/Intrinsic.h>
21170 rm -f conftest.
$ac_objext conftest
$ac_exeext
21171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21172 (eval $ac_link) 2>&5
21174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21175 (exit $ac_status); } &&
21176 { ac_try
='test -s conftest$ac_exeext'
21177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21178 (eval $ac_try) 2>&5
21180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21181 (exit $ac_status); }; }; then
21183 # We can link X programs with no special library path.
21186 echo "$as_me: failed program was:" >&5
21187 sed 's/^/| /' conftest.
$ac_ext >&5
21190 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
21192 # Don't even attempt the hair of trying to link an X program!
21193 for ac_extension
in a so sl
; do
21194 if test -r $ac_dir/libXt.
$ac_extension; then
21195 ac_x_libraries
=$ac_dir
21201 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21202 fi # $ac_x_libraries = no
21204 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
21205 # Didn't find X anywhere. Cache the known absence of X.
21206 ac_cv_have_x
="have_x=no"
21208 # Record where we found X for the cache.
21209 ac_cv_have_x
="have_x=yes \
21210 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
21215 eval "$ac_cv_have_x"
21218 if test "$have_x" != yes; then
21219 echo "$as_me:$LINENO: result: $have_x" >&5
21220 echo "${ECHO_T}$have_x" >&6
21223 # If each of the values was on the command line, it overrides each guess.
21224 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
21225 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
21226 # Update the cache value to reflect the command line values.
21227 ac_cv_have_x
="have_x=yes \
21228 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
21229 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
21230 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
21233 if test "$no_x" = yes; then
21234 # Not all programs may use this symbol, but it does not hurt to define it.
21236 cat >>confdefs.h
<<\_ACEOF
21237 #define X_DISPLAY_MISSING 1
21240 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
21242 if test -n "$x_includes"; then
21243 X_CFLAGS
="$X_CFLAGS -I$x_includes"
21246 # It would also be nice to do this for all -L options, not just this one.
21247 if test -n "$x_libraries"; then
21248 X_LIBS
="$X_LIBS -L$x_libraries"
21249 # For Solaris; some versions of Sun CC require a space after -R and
21250 # others require no space. Words are not sufficient . . . .
21251 case `(uname -sr) 2>/dev/null` in
21253 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
21254 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
21255 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
21256 cat >conftest.
$ac_ext <<_ACEOF
21257 #line $LINENO "configure"
21260 cat confdefs.h
>>conftest.
$ac_ext
21261 cat >>conftest.
$ac_ext <<_ACEOF
21262 /* end confdefs.h. */
21272 rm -f conftest.
$ac_objext conftest
$ac_exeext
21273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21274 (eval $ac_link) 2>&5
21276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21277 (exit $ac_status); } &&
21278 { ac_try
='test -s conftest$ac_exeext'
21279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21280 (eval $ac_try) 2>&5
21282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21283 (exit $ac_status); }; }; then
21286 echo "$as_me: failed program was:" >&5
21287 sed 's/^/| /' conftest.
$ac_ext >&5
21291 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21292 if test $ac_R_nospace = yes; then
21293 echo "$as_me:$LINENO: result: no" >&5
21294 echo "${ECHO_T}no" >&6
21295 X_LIBS
="$X_LIBS -R$x_libraries"
21297 LIBS
="$ac_xsave_LIBS -R $x_libraries"
21298 cat >conftest.
$ac_ext <<_ACEOF
21299 #line $LINENO "configure"
21302 cat confdefs.h
>>conftest.
$ac_ext
21303 cat >>conftest.
$ac_ext <<_ACEOF
21304 /* end confdefs.h. */
21314 rm -f conftest.
$ac_objext conftest
$ac_exeext
21315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21316 (eval $ac_link) 2>&5
21318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21319 (exit $ac_status); } &&
21320 { ac_try
='test -s conftest$ac_exeext'
21321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21322 (eval $ac_try) 2>&5
21324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21325 (exit $ac_status); }; }; then
21328 echo "$as_me: failed program was:" >&5
21329 sed 's/^/| /' conftest.
$ac_ext >&5
21333 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21334 if test $ac_R_space = yes; then
21335 echo "$as_me:$LINENO: result: yes" >&5
21336 echo "${ECHO_T}yes" >&6
21337 X_LIBS
="$X_LIBS -R $x_libraries"
21339 echo "$as_me:$LINENO: result: neither works" >&5
21340 echo "${ECHO_T}neither works" >&6
21343 LIBS
=$ac_xsave_LIBS
21347 # Check for system-dependent libraries X programs must link with.
21348 # Do this before checking for the system-independent R6 libraries
21349 # (-lICE), since we may need -lsocket or whatever for X linking.
21351 if test "$ISC" = yes; then
21352 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
21354 # Martyn Johnson says this is needed for Ultrix, if the X
21355 # libraries were built with DECnet support. And Karl Berry says
21356 # the Alpha needs dnet_stub (dnet does not exist).
21357 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
21358 cat >conftest.
$ac_ext <<_ACEOF
21359 #line $LINENO "configure"
21362 cat confdefs.h
>>conftest.
$ac_ext
21363 cat >>conftest.
$ac_ext <<_ACEOF
21364 /* end confdefs.h. */
21366 /* Override any gcc2 internal prototype to avoid an error. */
21370 /* We use char because int might match the return type of a gcc2
21371 builtin and then its argument prototype would still apply. */
21372 char XOpenDisplay ();
21381 rm -f conftest.
$ac_objext conftest
$ac_exeext
21382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21383 (eval $ac_link) 2>&5
21385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21386 (exit $ac_status); } &&
21387 { ac_try
='test -s conftest$ac_exeext'
21388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21389 (eval $ac_try) 2>&5
21391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21392 (exit $ac_status); }; }; then
21395 echo "$as_me: failed program was:" >&5
21396 sed 's/^/| /' conftest.
$ac_ext >&5
21398 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
21399 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
21400 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
21401 echo $ECHO_N "(cached) $ECHO_C" >&6
21403 ac_check_lib_save_LIBS
=$LIBS
21404 LIBS
="-ldnet $LIBS"
21405 cat >conftest.
$ac_ext <<_ACEOF
21406 #line $LINENO "configure"
21409 cat confdefs.h
>>conftest.
$ac_ext
21410 cat >>conftest.
$ac_ext <<_ACEOF
21411 /* end confdefs.h. */
21413 /* Override any gcc2 internal prototype to avoid an error. */
21417 /* We use char because int might match the return type of a gcc2
21418 builtin and then its argument prototype would still apply. */
21428 rm -f conftest.
$ac_objext conftest
$ac_exeext
21429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21430 (eval $ac_link) 2>&5
21432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21433 (exit $ac_status); } &&
21434 { ac_try
='test -s conftest$ac_exeext'
21435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21436 (eval $ac_try) 2>&5
21438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21439 (exit $ac_status); }; }; then
21440 ac_cv_lib_dnet_dnet_ntoa
=yes
21442 echo "$as_me: failed program was:" >&5
21443 sed 's/^/| /' conftest.
$ac_ext >&5
21445 ac_cv_lib_dnet_dnet_ntoa
=no
21447 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21448 LIBS
=$ac_check_lib_save_LIBS
21450 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
21451 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
21452 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
21453 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
21456 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
21457 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
21458 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
21459 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
21460 echo $ECHO_N "(cached) $ECHO_C" >&6
21462 ac_check_lib_save_LIBS
=$LIBS
21463 LIBS
="-ldnet_stub $LIBS"
21464 cat >conftest.
$ac_ext <<_ACEOF
21465 #line $LINENO "configure"
21468 cat confdefs.h
>>conftest.
$ac_ext
21469 cat >>conftest.
$ac_ext <<_ACEOF
21470 /* end confdefs.h. */
21472 /* Override any gcc2 internal prototype to avoid an error. */
21476 /* We use char because int might match the return type of a gcc2
21477 builtin and then its argument prototype would still apply. */
21487 rm -f conftest.
$ac_objext conftest
$ac_exeext
21488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21489 (eval $ac_link) 2>&5
21491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21492 (exit $ac_status); } &&
21493 { ac_try
='test -s conftest$ac_exeext'
21494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21495 (eval $ac_try) 2>&5
21497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21498 (exit $ac_status); }; }; then
21499 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
21501 echo "$as_me: failed program was:" >&5
21502 sed 's/^/| /' conftest.
$ac_ext >&5
21504 ac_cv_lib_dnet_stub_dnet_ntoa
=no
21506 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21507 LIBS
=$ac_check_lib_save_LIBS
21509 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
21510 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
21511 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
21512 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
21517 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21518 LIBS
="$ac_xsave_LIBS"
21520 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
21521 # to get the SysV transport functions.
21522 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
21524 # The nsl library prevents programs from opening the X display
21525 # on Irix 5.2, according to T.E. Dickey.
21526 # The functions gethostbyname, getservbyname, and inet_addr are
21527 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
21528 echo "$as_me:$LINENO: checking for gethostbyname" >&5
21529 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
21530 if test "${ac_cv_func_gethostbyname+set}" = set; then
21531 echo $ECHO_N "(cached) $ECHO_C" >&6
21533 cat >conftest.
$ac_ext <<_ACEOF
21534 #line $LINENO "configure"
21537 cat confdefs.h
>>conftest.
$ac_ext
21538 cat >>conftest.
$ac_ext <<_ACEOF
21539 /* end confdefs.h. */
21540 /* System header to define __stub macros and hopefully few prototypes,
21541 which can conflict with char gethostbyname (); below.
21542 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21543 <limits.h> exists even on freestanding compilers. */
21545 # include <limits.h>
21547 # include <assert.h>
21549 /* Override any gcc2 internal prototype to avoid an error. */
21554 /* We use char because int might match the return type of a gcc2
21555 builtin and then its argument prototype would still apply. */
21556 char gethostbyname ();
21557 /* The GNU C library defines this for functions which it implements
21558 to always fail with ENOSYS. Some functions are actually named
21559 something starting with __ and the normal name is an alias. */
21560 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
21563 char (*f) () = gethostbyname;
21572 return f != gethostbyname;
21577 rm -f conftest.
$ac_objext conftest
$ac_exeext
21578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21579 (eval $ac_link) 2>&5
21581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21582 (exit $ac_status); } &&
21583 { ac_try
='test -s conftest$ac_exeext'
21584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21585 (eval $ac_try) 2>&5
21587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21588 (exit $ac_status); }; }; then
21589 ac_cv_func_gethostbyname
=yes
21591 echo "$as_me: failed program was:" >&5
21592 sed 's/^/| /' conftest.
$ac_ext >&5
21594 ac_cv_func_gethostbyname
=no
21596 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21598 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
21599 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
21601 if test $ac_cv_func_gethostbyname = no
; then
21602 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
21603 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
21604 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
21605 echo $ECHO_N "(cached) $ECHO_C" >&6
21607 ac_check_lib_save_LIBS
=$LIBS
21609 cat >conftest.
$ac_ext <<_ACEOF
21610 #line $LINENO "configure"
21613 cat confdefs.h
>>conftest.
$ac_ext
21614 cat >>conftest.
$ac_ext <<_ACEOF
21615 /* end confdefs.h. */
21617 /* Override any gcc2 internal prototype to avoid an error. */
21621 /* We use char because int might match the return type of a gcc2
21622 builtin and then its argument prototype would still apply. */
21623 char gethostbyname ();
21632 rm -f conftest.
$ac_objext conftest
$ac_exeext
21633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21634 (eval $ac_link) 2>&5
21636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21637 (exit $ac_status); } &&
21638 { ac_try
='test -s conftest$ac_exeext'
21639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21640 (eval $ac_try) 2>&5
21642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21643 (exit $ac_status); }; }; then
21644 ac_cv_lib_nsl_gethostbyname
=yes
21646 echo "$as_me: failed program was:" >&5
21647 sed 's/^/| /' conftest.
$ac_ext >&5
21649 ac_cv_lib_nsl_gethostbyname
=no
21651 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21652 LIBS
=$ac_check_lib_save_LIBS
21654 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
21655 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
21656 if test $ac_cv_lib_nsl_gethostbyname = yes; then
21657 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
21660 if test $ac_cv_lib_nsl_gethostbyname = no
; then
21661 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
21662 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
21663 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
21664 echo $ECHO_N "(cached) $ECHO_C" >&6
21666 ac_check_lib_save_LIBS
=$LIBS
21668 cat >conftest.
$ac_ext <<_ACEOF
21669 #line $LINENO "configure"
21672 cat confdefs.h
>>conftest.
$ac_ext
21673 cat >>conftest.
$ac_ext <<_ACEOF
21674 /* end confdefs.h. */
21676 /* Override any gcc2 internal prototype to avoid an error. */
21680 /* We use char because int might match the return type of a gcc2
21681 builtin and then its argument prototype would still apply. */
21682 char gethostbyname ();
21691 rm -f conftest.
$ac_objext conftest
$ac_exeext
21692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21693 (eval $ac_link) 2>&5
21695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21696 (exit $ac_status); } &&
21697 { ac_try
='test -s conftest$ac_exeext'
21698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21699 (eval $ac_try) 2>&5
21701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21702 (exit $ac_status); }; }; then
21703 ac_cv_lib_bsd_gethostbyname
=yes
21705 echo "$as_me: failed program was:" >&5
21706 sed 's/^/| /' conftest.
$ac_ext >&5
21708 ac_cv_lib_bsd_gethostbyname
=no
21710 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21711 LIBS
=$ac_check_lib_save_LIBS
21713 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
21714 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
21715 if test $ac_cv_lib_bsd_gethostbyname = yes; then
21716 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
21722 # lieder@skyler.mavd.honeywell.com says without -lsocket,
21723 # socket/setsockopt and other routines are undefined under SCO ODT
21724 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
21725 # on later versions), says Simon Leinen: it contains gethostby*
21726 # variants that don't use the name server (or something). -lsocket
21727 # must be given before -lnsl if both are needed. We assume that
21728 # if connect needs -lnsl, so does gethostbyname.
21729 echo "$as_me:$LINENO: checking for connect" >&5
21730 echo $ECHO_N "checking for connect... $ECHO_C" >&6
21731 if test "${ac_cv_func_connect+set}" = set; then
21732 echo $ECHO_N "(cached) $ECHO_C" >&6
21734 cat >conftest.
$ac_ext <<_ACEOF
21735 #line $LINENO "configure"
21738 cat confdefs.h
>>conftest.
$ac_ext
21739 cat >>conftest.
$ac_ext <<_ACEOF
21740 /* end confdefs.h. */
21741 /* System header to define __stub macros and hopefully few prototypes,
21742 which can conflict with char connect (); below.
21743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21744 <limits.h> exists even on freestanding compilers. */
21746 # include <limits.h>
21748 # include <assert.h>
21750 /* Override any gcc2 internal prototype to avoid an error. */
21755 /* We use char because int might match the return type of a gcc2
21756 builtin and then its argument prototype would still apply. */
21758 /* The GNU C library defines this for functions which it implements
21759 to always fail with ENOSYS. Some functions are actually named
21760 something starting with __ and the normal name is an alias. */
21761 #if defined (__stub_connect) || defined (__stub___connect)
21764 char (*f) () = connect;
21773 return f != connect;
21778 rm -f conftest.
$ac_objext conftest
$ac_exeext
21779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21780 (eval $ac_link) 2>&5
21782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21783 (exit $ac_status); } &&
21784 { ac_try
='test -s conftest$ac_exeext'
21785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21786 (eval $ac_try) 2>&5
21788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21789 (exit $ac_status); }; }; then
21790 ac_cv_func_connect
=yes
21792 echo "$as_me: failed program was:" >&5
21793 sed 's/^/| /' conftest.
$ac_ext >&5
21795 ac_cv_func_connect
=no
21797 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21799 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
21800 echo "${ECHO_T}$ac_cv_func_connect" >&6
21802 if test $ac_cv_func_connect = no
; then
21803 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
21804 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
21805 if test "${ac_cv_lib_socket_connect+set}" = set; then
21806 echo $ECHO_N "(cached) $ECHO_C" >&6
21808 ac_check_lib_save_LIBS
=$LIBS
21809 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
21810 cat >conftest.
$ac_ext <<_ACEOF
21811 #line $LINENO "configure"
21814 cat confdefs.h
>>conftest.
$ac_ext
21815 cat >>conftest.
$ac_ext <<_ACEOF
21816 /* end confdefs.h. */
21818 /* Override any gcc2 internal prototype to avoid an error. */
21822 /* We use char because int might match the return type of a gcc2
21823 builtin and then its argument prototype would still apply. */
21833 rm -f conftest.
$ac_objext conftest
$ac_exeext
21834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21835 (eval $ac_link) 2>&5
21837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21838 (exit $ac_status); } &&
21839 { ac_try
='test -s conftest$ac_exeext'
21840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21841 (eval $ac_try) 2>&5
21843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21844 (exit $ac_status); }; }; then
21845 ac_cv_lib_socket_connect
=yes
21847 echo "$as_me: failed program was:" >&5
21848 sed 's/^/| /' conftest.
$ac_ext >&5
21850 ac_cv_lib_socket_connect
=no
21852 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21853 LIBS
=$ac_check_lib_save_LIBS
21855 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
21856 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
21857 if test $ac_cv_lib_socket_connect = yes; then
21858 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
21863 # Guillermo Gomez says -lposix is necessary on A/UX.
21864 echo "$as_me:$LINENO: checking for remove" >&5
21865 echo $ECHO_N "checking for remove... $ECHO_C" >&6
21866 if test "${ac_cv_func_remove+set}" = set; then
21867 echo $ECHO_N "(cached) $ECHO_C" >&6
21869 cat >conftest.
$ac_ext <<_ACEOF
21870 #line $LINENO "configure"
21873 cat confdefs.h
>>conftest.
$ac_ext
21874 cat >>conftest.
$ac_ext <<_ACEOF
21875 /* end confdefs.h. */
21876 /* System header to define __stub macros and hopefully few prototypes,
21877 which can conflict with char remove (); below.
21878 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21879 <limits.h> exists even on freestanding compilers. */
21881 # include <limits.h>
21883 # include <assert.h>
21885 /* Override any gcc2 internal prototype to avoid an error. */
21890 /* We use char because int might match the return type of a gcc2
21891 builtin and then its argument prototype would still apply. */
21893 /* The GNU C library defines this for functions which it implements
21894 to always fail with ENOSYS. Some functions are actually named
21895 something starting with __ and the normal name is an alias. */
21896 #if defined (__stub_remove) || defined (__stub___remove)
21899 char (*f) () = remove;
21908 return f != remove;
21913 rm -f conftest.
$ac_objext conftest
$ac_exeext
21914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21915 (eval $ac_link) 2>&5
21917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21918 (exit $ac_status); } &&
21919 { ac_try
='test -s conftest$ac_exeext'
21920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21921 (eval $ac_try) 2>&5
21923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21924 (exit $ac_status); }; }; then
21925 ac_cv_func_remove
=yes
21927 echo "$as_me: failed program was:" >&5
21928 sed 's/^/| /' conftest.
$ac_ext >&5
21930 ac_cv_func_remove
=no
21932 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21934 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
21935 echo "${ECHO_T}$ac_cv_func_remove" >&6
21937 if test $ac_cv_func_remove = no
; then
21938 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
21939 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
21940 if test "${ac_cv_lib_posix_remove+set}" = set; then
21941 echo $ECHO_N "(cached) $ECHO_C" >&6
21943 ac_check_lib_save_LIBS
=$LIBS
21944 LIBS
="-lposix $LIBS"
21945 cat >conftest.
$ac_ext <<_ACEOF
21946 #line $LINENO "configure"
21949 cat confdefs.h
>>conftest.
$ac_ext
21950 cat >>conftest.
$ac_ext <<_ACEOF
21951 /* end confdefs.h. */
21953 /* Override any gcc2 internal prototype to avoid an error. */
21957 /* We use char because int might match the return type of a gcc2
21958 builtin and then its argument prototype would still apply. */
21968 rm -f conftest.
$ac_objext conftest
$ac_exeext
21969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21970 (eval $ac_link) 2>&5
21972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21973 (exit $ac_status); } &&
21974 { ac_try
='test -s conftest$ac_exeext'
21975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21976 (eval $ac_try) 2>&5
21978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21979 (exit $ac_status); }; }; then
21980 ac_cv_lib_posix_remove
=yes
21982 echo "$as_me: failed program was:" >&5
21983 sed 's/^/| /' conftest.
$ac_ext >&5
21985 ac_cv_lib_posix_remove
=no
21987 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21988 LIBS
=$ac_check_lib_save_LIBS
21990 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
21991 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
21992 if test $ac_cv_lib_posix_remove = yes; then
21993 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
21998 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
21999 echo "$as_me:$LINENO: checking for shmat" >&5
22000 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
22001 if test "${ac_cv_func_shmat+set}" = set; then
22002 echo $ECHO_N "(cached) $ECHO_C" >&6
22004 cat >conftest.
$ac_ext <<_ACEOF
22005 #line $LINENO "configure"
22008 cat confdefs.h
>>conftest.
$ac_ext
22009 cat >>conftest.
$ac_ext <<_ACEOF
22010 /* end confdefs.h. */
22011 /* System header to define __stub macros and hopefully few prototypes,
22012 which can conflict with char shmat (); below.
22013 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22014 <limits.h> exists even on freestanding compilers. */
22016 # include <limits.h>
22018 # include <assert.h>
22020 /* Override any gcc2 internal prototype to avoid an error. */
22025 /* We use char because int might match the return type of a gcc2
22026 builtin and then its argument prototype would still apply. */
22028 /* The GNU C library defines this for functions which it implements
22029 to always fail with ENOSYS. Some functions are actually named
22030 something starting with __ and the normal name is an alias. */
22031 #if defined (__stub_shmat) || defined (__stub___shmat)
22034 char (*f) () = shmat;
22048 rm -f conftest.
$ac_objext conftest
$ac_exeext
22049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22050 (eval $ac_link) 2>&5
22052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22053 (exit $ac_status); } &&
22054 { ac_try
='test -s conftest$ac_exeext'
22055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22056 (eval $ac_try) 2>&5
22058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22059 (exit $ac_status); }; }; then
22060 ac_cv_func_shmat
=yes
22062 echo "$as_me: failed program was:" >&5
22063 sed 's/^/| /' conftest.
$ac_ext >&5
22065 ac_cv_func_shmat
=no
22067 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22069 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
22070 echo "${ECHO_T}$ac_cv_func_shmat" >&6
22072 if test $ac_cv_func_shmat = no
; then
22073 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
22074 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
22075 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
22076 echo $ECHO_N "(cached) $ECHO_C" >&6
22078 ac_check_lib_save_LIBS
=$LIBS
22080 cat >conftest.
$ac_ext <<_ACEOF
22081 #line $LINENO "configure"
22084 cat confdefs.h
>>conftest.
$ac_ext
22085 cat >>conftest.
$ac_ext <<_ACEOF
22086 /* end confdefs.h. */
22088 /* Override any gcc2 internal prototype to avoid an error. */
22092 /* We use char because int might match the return type of a gcc2
22093 builtin and then its argument prototype would still apply. */
22103 rm -f conftest.
$ac_objext conftest
$ac_exeext
22104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22105 (eval $ac_link) 2>&5
22107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22108 (exit $ac_status); } &&
22109 { ac_try
='test -s conftest$ac_exeext'
22110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22111 (eval $ac_try) 2>&5
22113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22114 (exit $ac_status); }; }; then
22115 ac_cv_lib_ipc_shmat
=yes
22117 echo "$as_me: failed program was:" >&5
22118 sed 's/^/| /' conftest.
$ac_ext >&5
22120 ac_cv_lib_ipc_shmat
=no
22122 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22123 LIBS
=$ac_check_lib_save_LIBS
22125 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
22126 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
22127 if test $ac_cv_lib_ipc_shmat = yes; then
22128 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
22134 # Check for libraries that X11R6 Xt/Xaw programs need.
22135 ac_save_LDFLAGS
=$LDFLAGS
22136 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
22137 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
22138 # check for ICE first), but we must link in the order -lSM -lICE or
22139 # we get undefined symbols. So assume we have SM if we have ICE.
22140 # These have to be linked with before -lX11, unlike the other
22141 # libraries we check for below, so use a different variable.
22142 # John Interrante, Karl Berry
22143 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
22144 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
22145 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
22146 echo $ECHO_N "(cached) $ECHO_C" >&6
22148 ac_check_lib_save_LIBS
=$LIBS
22149 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
22150 cat >conftest.
$ac_ext <<_ACEOF
22151 #line $LINENO "configure"
22154 cat confdefs.h
>>conftest.
$ac_ext
22155 cat >>conftest.
$ac_ext <<_ACEOF
22156 /* end confdefs.h. */
22158 /* Override any gcc2 internal prototype to avoid an error. */
22162 /* We use char because int might match the return type of a gcc2
22163 builtin and then its argument prototype would still apply. */
22164 char IceConnectionNumber ();
22168 IceConnectionNumber ();
22173 rm -f conftest.
$ac_objext conftest
$ac_exeext
22174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22175 (eval $ac_link) 2>&5
22177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22178 (exit $ac_status); } &&
22179 { ac_try
='test -s conftest$ac_exeext'
22180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22181 (eval $ac_try) 2>&5
22183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22184 (exit $ac_status); }; }; then
22185 ac_cv_lib_ICE_IceConnectionNumber
=yes
22187 echo "$as_me: failed program was:" >&5
22188 sed 's/^/| /' conftest.
$ac_ext >&5
22190 ac_cv_lib_ICE_IceConnectionNumber
=no
22192 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22193 LIBS
=$ac_check_lib_save_LIBS
22195 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
22196 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
22197 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
22198 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
22201 LDFLAGS
=$ac_save_LDFLAGS
22206 if test "$no_x" = "yes"; then
22207 { { echo "$as_me:$LINENO: error: X11 not found" >&5
22208 echo "$as_me: error: X11 not found" >&2;}
22209 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
22212 GUI_TK_LIBRARY
="$X_LIBS"
22213 TOOLKIT_INCLUDE
="$X_CFLAGS"
22214 AFMINSTALL
=afminstall
22215 COMPILED_X_PROGRAM
=0
22217 if test "$wxUSE_NANOX" = "yes"; then
22218 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
22219 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
22220 if test "x$MICROWIN" = x
; then
22221 echo "$as_me:$LINENO: result: not found" >&5
22222 echo "${ECHO_T}not found" >&6
22223 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
22224 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
22225 { (exit 1); exit 1; }; }
22227 echo "$as_me:$LINENO: result: $MICROWIN" >&5
22228 echo "${ECHO_T}$MICROWIN" >&6
22229 cat >>confdefs.h
<<\_ACEOF
22230 #define wxUSE_NANOX 1
22237 echo "$as_me:$LINENO: checking for Xpm library" >&5
22238 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
22241 for ac_dir
in $SEARCH_LIB /usr
/lib
;
22243 for ac_extension
in a so sl dylib
; do
22244 if test -f "$ac_dir/libXpm.$ac_extension"; then
22245 ac_find_libraries
=$ac_dir
22251 if test "$ac_find_libraries" != "" ; then
22253 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
22255 if test $result = 0; then
22258 ac_path_to_link
=" -L$ac_find_libraries"
22261 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
22263 cat >>confdefs.h
<<\_ACEOF
22264 #define wxHAVE_LIB_XPM 1
22267 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
22268 echo "${ECHO_T}found at $ac_find_libraries" >&6
22270 cat >conftest.
$ac_ext <<_ACEOF
22271 #line $LINENO "configure"
22274 cat confdefs.h
>>conftest.
$ac_ext
22275 cat >>conftest.
$ac_ext <<_ACEOF
22276 /* end confdefs.h. */
22278 #include <X11/xpm.h>
22285 version = XpmLibraryVersion();
22291 rm -f conftest.
$ac_objext
22292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22293 (eval $ac_compile) 2>&5
22295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22296 (exit $ac_status); } &&
22297 { ac_try
='test -s conftest.$ac_objext'
22298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22299 (eval $ac_try) 2>&5
22301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22302 (exit $ac_status); }; }; then
22305 cat >>confdefs.h
<<\_ACEOF
22306 #define wxHAVE_LIB_XPM 1
22309 echo "$as_me:$LINENO: result: found in default search path" >&5
22310 echo "${ECHO_T}found in default search path" >&6
22311 COMPILED_X_PROGRAM
=0
22314 echo "$as_me: failed program was:" >&5
22315 sed 's/^/| /' conftest.
$ac_ext >&5
22318 echo "$as_me:$LINENO: result: no" >&5
22319 echo "${ECHO_T}no" >&6
22320 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
22321 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
22325 rm -f conftest.
$ac_objext conftest.
$ac_ext
22328 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
22329 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
22330 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
22331 echo $ECHO_N "(cached) $ECHO_C" >&6
22333 ac_check_lib_save_LIBS
=$LIBS
22334 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
22335 cat >conftest.
$ac_ext <<_ACEOF
22336 #line $LINENO "configure"
22339 cat confdefs.h
>>conftest.
$ac_ext
22340 cat >>conftest.
$ac_ext <<_ACEOF
22341 /* end confdefs.h. */
22343 /* Override any gcc2 internal prototype to avoid an error. */
22347 /* We use char because int might match the return type of a gcc2
22348 builtin and then its argument prototype would still apply. */
22349 char XShapeQueryExtension ();
22353 XShapeQueryExtension ();
22358 rm -f conftest.
$ac_objext conftest
$ac_exeext
22359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22360 (eval $ac_link) 2>&5
22362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22363 (exit $ac_status); } &&
22364 { ac_try
='test -s conftest$ac_exeext'
22365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22366 (eval $ac_try) 2>&5
22368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22369 (exit $ac_status); }; }; then
22370 ac_cv_lib_Xext_XShapeQueryExtension
=yes
22372 echo "$as_me: failed program was:" >&5
22373 sed 's/^/| /' conftest.
$ac_ext >&5
22375 ac_cv_lib_Xext_XShapeQueryExtension
=no
22377 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22378 LIBS
=$ac_check_lib_save_LIBS
22380 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
22381 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
22382 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
22384 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
22390 if test "$wxUSE_UNICODE" = "yes"; then
22394 if test -z "$PKG_CONFIG"; then
22395 # Extract the first word of "pkg-config", so it can be a program name with args.
22396 set dummy pkg
-config; ac_word
=$2
22397 echo "$as_me:$LINENO: checking for $ac_word" >&5
22398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22399 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22400 echo $ECHO_N "(cached) $ECHO_C" >&6
22402 case $PKG_CONFIG in
22404 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22407 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22408 for as_dir
in $PATH
22411 test -z "$as_dir" && as_dir
=.
22412 for ac_exec_ext
in '' $ac_executable_extensions; do
22413 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22414 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22415 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22421 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22425 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22427 if test -n "$PKG_CONFIG"; then
22428 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22429 echo "${ECHO_T}$PKG_CONFIG" >&6
22431 echo "$as_me:$LINENO: result: no" >&5
22432 echo "${ECHO_T}no" >&6
22437 if test "$PKG_CONFIG" = "no" ; then
22438 echo "*** The pkg-config script could not be found. Make sure it is"
22439 echo "*** in your path, or set the PKG_CONFIG environment variable"
22440 echo "*** to the full path to pkg-config."
22441 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22443 PKG_CONFIG_MIN_VERSION
=0.9.0
22444 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22445 echo "$as_me:$LINENO: checking for pangox" >&5
22446 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
22448 if $PKG_CONFIG --exists "pangox" ; then
22449 echo "$as_me:$LINENO: result: yes" >&5
22450 echo "${ECHO_T}yes" >&6
22453 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
22454 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
22455 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
22456 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
22457 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
22459 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
22460 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
22461 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
22462 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
22463 echo "${ECHO_T}$PANGOX_LIBS" >&6
22467 ## If we have a custom action on failure, don't print errors, but
22468 ## do set a variable so people can do so.
22469 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
22476 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22477 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22481 if test $succeeded = yes; then
22483 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
22484 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
22488 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
22489 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
22490 { (exit 1); exit 1; }; }
22498 if test -z "$PKG_CONFIG"; then
22499 # Extract the first word of "pkg-config", so it can be a program name with args.
22500 set dummy pkg
-config; ac_word
=$2
22501 echo "$as_me:$LINENO: checking for $ac_word" >&5
22502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22503 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22504 echo $ECHO_N "(cached) $ECHO_C" >&6
22506 case $PKG_CONFIG in
22508 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22511 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22512 for as_dir
in $PATH
22515 test -z "$as_dir" && as_dir
=.
22516 for ac_exec_ext
in '' $ac_executable_extensions; do
22517 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22518 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22519 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22525 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22529 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22531 if test -n "$PKG_CONFIG"; then
22532 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22533 echo "${ECHO_T}$PKG_CONFIG" >&6
22535 echo "$as_me:$LINENO: result: no" >&5
22536 echo "${ECHO_T}no" >&6
22541 if test "$PKG_CONFIG" = "no" ; then
22542 echo "*** The pkg-config script could not be found. Make sure it is"
22543 echo "*** in your path, or set the PKG_CONFIG environment variable"
22544 echo "*** to the full path to pkg-config."
22545 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22547 PKG_CONFIG_MIN_VERSION
=0.9.0
22548 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22549 echo "$as_me:$LINENO: checking for pangoft2" >&5
22550 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22552 if $PKG_CONFIG --exists "pangoft2" ; then
22553 echo "$as_me:$LINENO: result: yes" >&5
22554 echo "${ECHO_T}yes" >&6
22557 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22558 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22559 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
22560 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22561 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22563 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22564 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22565 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
22566 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22567 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22571 ## If we have a custom action on failure, don't print errors, but
22572 ## do set a variable so people can do so.
22573 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22580 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22581 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22585 if test $succeeded = yes; then
22587 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
22588 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22592 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22593 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22594 wxUSE_PRINTING_ARCHITECTURE
="no"
22602 if test -z "$PKG_CONFIG"; then
22603 # Extract the first word of "pkg-config", so it can be a program name with args.
22604 set dummy pkg
-config; ac_word
=$2
22605 echo "$as_me:$LINENO: checking for $ac_word" >&5
22606 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22607 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22608 echo $ECHO_N "(cached) $ECHO_C" >&6
22610 case $PKG_CONFIG in
22612 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22615 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22616 for as_dir
in $PATH
22619 test -z "$as_dir" && as_dir
=.
22620 for ac_exec_ext
in '' $ac_executable_extensions; do
22621 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22622 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22629 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22633 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22635 if test -n "$PKG_CONFIG"; then
22636 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22637 echo "${ECHO_T}$PKG_CONFIG" >&6
22639 echo "$as_me:$LINENO: result: no" >&5
22640 echo "${ECHO_T}no" >&6
22645 if test "$PKG_CONFIG" = "no" ; then
22646 echo "*** The pkg-config script could not be found. Make sure it is"
22647 echo "*** in your path, or set the PKG_CONFIG environment variable"
22648 echo "*** to the full path to pkg-config."
22649 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22651 PKG_CONFIG_MIN_VERSION
=0.9.0
22652 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22653 echo "$as_me:$LINENO: checking for pangoxft" >&5
22654 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
22656 if $PKG_CONFIG --exists "pangoxft" ; then
22657 echo "$as_me:$LINENO: result: yes" >&5
22658 echo "${ECHO_T}yes" >&6
22661 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
22662 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
22663 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
22664 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
22665 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
22667 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
22668 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
22669 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
22670 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
22671 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
22675 ## If we have a custom action on failure, don't print errors, but
22676 ## do set a variable so people can do so.
22677 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
22684 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22685 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22689 if test $succeeded = yes; then
22691 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
22692 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
22696 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
22697 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
22704 wxUSE_UNIVERSAL
="yes"
22706 if test "$wxUSE_NANOX" = "yes"; then
22707 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
22708 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"
22709 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
22711 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11$xpm_link"
22714 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
22719 if test "$wxUSE_MOTIF" = 1; then
22720 if test "$no_x" = yes; then
22721 # Not all programs may use this symbol, but it does not hurt to define it.
22723 cat >>confdefs.h
<<\_ACEOF
22724 #define X_DISPLAY_MISSING 1
22727 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
22729 if test -n "$x_includes"; then
22730 X_CFLAGS
="$X_CFLAGS -I$x_includes"
22733 # It would also be nice to do this for all -L options, not just this one.
22734 if test -n "$x_libraries"; then
22735 X_LIBS
="$X_LIBS -L$x_libraries"
22736 # For Solaris; some versions of Sun CC require a space after -R and
22737 # others require no space. Words are not sufficient . . . .
22738 case `(uname -sr) 2>/dev/null` in
22740 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
22741 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
22742 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
22743 cat >conftest.
$ac_ext <<_ACEOF
22744 #line $LINENO "configure"
22747 cat confdefs.h
>>conftest.
$ac_ext
22748 cat >>conftest.
$ac_ext <<_ACEOF
22749 /* end confdefs.h. */
22759 rm -f conftest.
$ac_objext conftest
$ac_exeext
22760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22761 (eval $ac_link) 2>&5
22763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22764 (exit $ac_status); } &&
22765 { ac_try
='test -s conftest$ac_exeext'
22766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22767 (eval $ac_try) 2>&5
22769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22770 (exit $ac_status); }; }; then
22773 echo "$as_me: failed program was:" >&5
22774 sed 's/^/| /' conftest.
$ac_ext >&5
22778 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22779 if test $ac_R_nospace = yes; then
22780 echo "$as_me:$LINENO: result: no" >&5
22781 echo "${ECHO_T}no" >&6
22782 X_LIBS
="$X_LIBS -R$x_libraries"
22784 LIBS
="$ac_xsave_LIBS -R $x_libraries"
22785 cat >conftest.
$ac_ext <<_ACEOF
22786 #line $LINENO "configure"
22789 cat confdefs.h
>>conftest.
$ac_ext
22790 cat >>conftest.
$ac_ext <<_ACEOF
22791 /* end confdefs.h. */
22801 rm -f conftest.
$ac_objext conftest
$ac_exeext
22802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22803 (eval $ac_link) 2>&5
22805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22806 (exit $ac_status); } &&
22807 { ac_try
='test -s conftest$ac_exeext'
22808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22809 (eval $ac_try) 2>&5
22811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22812 (exit $ac_status); }; }; then
22815 echo "$as_me: failed program was:" >&5
22816 sed 's/^/| /' conftest.
$ac_ext >&5
22820 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22821 if test $ac_R_space = yes; then
22822 echo "$as_me:$LINENO: result: yes" >&5
22823 echo "${ECHO_T}yes" >&6
22824 X_LIBS
="$X_LIBS -R $x_libraries"
22826 echo "$as_me:$LINENO: result: neither works" >&5
22827 echo "${ECHO_T}neither works" >&6
22830 LIBS
=$ac_xsave_LIBS
22834 # Check for system-dependent libraries X programs must link with.
22835 # Do this before checking for the system-independent R6 libraries
22836 # (-lICE), since we may need -lsocket or whatever for X linking.
22838 if test "$ISC" = yes; then
22839 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
22841 # Martyn Johnson says this is needed for Ultrix, if the X
22842 # libraries were built with DECnet support. And Karl Berry says
22843 # the Alpha needs dnet_stub (dnet does not exist).
22844 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
22845 cat >conftest.
$ac_ext <<_ACEOF
22846 #line $LINENO "configure"
22849 cat confdefs.h
>>conftest.
$ac_ext
22850 cat >>conftest.
$ac_ext <<_ACEOF
22851 /* end confdefs.h. */
22853 /* Override any gcc2 internal prototype to avoid an error. */
22857 /* We use char because int might match the return type of a gcc2
22858 builtin and then its argument prototype would still apply. */
22859 char XOpenDisplay ();
22868 rm -f conftest.
$ac_objext conftest
$ac_exeext
22869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22870 (eval $ac_link) 2>&5
22872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22873 (exit $ac_status); } &&
22874 { ac_try
='test -s conftest$ac_exeext'
22875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22876 (eval $ac_try) 2>&5
22878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22879 (exit $ac_status); }; }; then
22882 echo "$as_me: failed program was:" >&5
22883 sed 's/^/| /' conftest.
$ac_ext >&5
22885 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
22886 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
22887 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
22888 echo $ECHO_N "(cached) $ECHO_C" >&6
22890 ac_check_lib_save_LIBS
=$LIBS
22891 LIBS
="-ldnet $LIBS"
22892 cat >conftest.
$ac_ext <<_ACEOF
22893 #line $LINENO "configure"
22896 cat confdefs.h
>>conftest.
$ac_ext
22897 cat >>conftest.
$ac_ext <<_ACEOF
22898 /* end confdefs.h. */
22900 /* Override any gcc2 internal prototype to avoid an error. */
22904 /* We use char because int might match the return type of a gcc2
22905 builtin and then its argument prototype would still apply. */
22915 rm -f conftest.
$ac_objext conftest
$ac_exeext
22916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22917 (eval $ac_link) 2>&5
22919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22920 (exit $ac_status); } &&
22921 { ac_try
='test -s conftest$ac_exeext'
22922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22923 (eval $ac_try) 2>&5
22925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22926 (exit $ac_status); }; }; then
22927 ac_cv_lib_dnet_dnet_ntoa
=yes
22929 echo "$as_me: failed program was:" >&5
22930 sed 's/^/| /' conftest.
$ac_ext >&5
22932 ac_cv_lib_dnet_dnet_ntoa
=no
22934 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22935 LIBS
=$ac_check_lib_save_LIBS
22937 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
22938 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
22939 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
22940 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
22943 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
22944 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
22945 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
22946 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
22947 echo $ECHO_N "(cached) $ECHO_C" >&6
22949 ac_check_lib_save_LIBS
=$LIBS
22950 LIBS
="-ldnet_stub $LIBS"
22951 cat >conftest.
$ac_ext <<_ACEOF
22952 #line $LINENO "configure"
22955 cat confdefs.h
>>conftest.
$ac_ext
22956 cat >>conftest.
$ac_ext <<_ACEOF
22957 /* end confdefs.h. */
22959 /* Override any gcc2 internal prototype to avoid an error. */
22963 /* We use char because int might match the return type of a gcc2
22964 builtin and then its argument prototype would still apply. */
22974 rm -f conftest.
$ac_objext conftest
$ac_exeext
22975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22976 (eval $ac_link) 2>&5
22978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22979 (exit $ac_status); } &&
22980 { ac_try
='test -s conftest$ac_exeext'
22981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22982 (eval $ac_try) 2>&5
22984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22985 (exit $ac_status); }; }; then
22986 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
22988 echo "$as_me: failed program was:" >&5
22989 sed 's/^/| /' conftest.
$ac_ext >&5
22991 ac_cv_lib_dnet_stub_dnet_ntoa
=no
22993 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22994 LIBS
=$ac_check_lib_save_LIBS
22996 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
22997 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
22998 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
22999 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
23004 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23005 LIBS
="$ac_xsave_LIBS"
23007 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23008 # to get the SysV transport functions.
23009 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23011 # The nsl library prevents programs from opening the X display
23012 # on Irix 5.2, according to T.E. Dickey.
23013 # The functions gethostbyname, getservbyname, and inet_addr are
23014 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23015 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23016 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23017 if test "${ac_cv_func_gethostbyname+set}" = set; then
23018 echo $ECHO_N "(cached) $ECHO_C" >&6
23020 cat >conftest.
$ac_ext <<_ACEOF
23021 #line $LINENO "configure"
23024 cat confdefs.h
>>conftest.
$ac_ext
23025 cat >>conftest.
$ac_ext <<_ACEOF
23026 /* end confdefs.h. */
23027 /* System header to define __stub macros and hopefully few prototypes,
23028 which can conflict with char gethostbyname (); below.
23029 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23030 <limits.h> exists even on freestanding compilers. */
23032 # include <limits.h>
23034 # include <assert.h>
23036 /* Override any gcc2 internal prototype to avoid an error. */
23041 /* We use char because int might match the return type of a gcc2
23042 builtin and then its argument prototype would still apply. */
23043 char gethostbyname ();
23044 /* The GNU C library defines this for functions which it implements
23045 to always fail with ENOSYS. Some functions are actually named
23046 something starting with __ and the normal name is an alias. */
23047 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23050 char (*f) () = gethostbyname;
23059 return f != gethostbyname;
23064 rm -f conftest.
$ac_objext conftest
$ac_exeext
23065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23066 (eval $ac_link) 2>&5
23068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23069 (exit $ac_status); } &&
23070 { ac_try
='test -s conftest$ac_exeext'
23071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23072 (eval $ac_try) 2>&5
23074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23075 (exit $ac_status); }; }; then
23076 ac_cv_func_gethostbyname
=yes
23078 echo "$as_me: failed program was:" >&5
23079 sed 's/^/| /' conftest.
$ac_ext >&5
23081 ac_cv_func_gethostbyname
=no
23083 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23085 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23086 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23088 if test $ac_cv_func_gethostbyname = no
; then
23089 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23090 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23091 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23092 echo $ECHO_N "(cached) $ECHO_C" >&6
23094 ac_check_lib_save_LIBS
=$LIBS
23096 cat >conftest.
$ac_ext <<_ACEOF
23097 #line $LINENO "configure"
23100 cat confdefs.h
>>conftest.
$ac_ext
23101 cat >>conftest.
$ac_ext <<_ACEOF
23102 /* end confdefs.h. */
23104 /* Override any gcc2 internal prototype to avoid an error. */
23108 /* We use char because int might match the return type of a gcc2
23109 builtin and then its argument prototype would still apply. */
23110 char gethostbyname ();
23119 rm -f conftest.
$ac_objext conftest
$ac_exeext
23120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23121 (eval $ac_link) 2>&5
23123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23124 (exit $ac_status); } &&
23125 { ac_try
='test -s conftest$ac_exeext'
23126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23127 (eval $ac_try) 2>&5
23129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23130 (exit $ac_status); }; }; then
23131 ac_cv_lib_nsl_gethostbyname
=yes
23133 echo "$as_me: failed program was:" >&5
23134 sed 's/^/| /' conftest.
$ac_ext >&5
23136 ac_cv_lib_nsl_gethostbyname
=no
23138 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23139 LIBS
=$ac_check_lib_save_LIBS
23141 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23142 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
23143 if test $ac_cv_lib_nsl_gethostbyname = yes; then
23144 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
23147 if test $ac_cv_lib_nsl_gethostbyname = no
; then
23148 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23149 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
23150 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23151 echo $ECHO_N "(cached) $ECHO_C" >&6
23153 ac_check_lib_save_LIBS
=$LIBS
23155 cat >conftest.
$ac_ext <<_ACEOF
23156 #line $LINENO "configure"
23159 cat confdefs.h
>>conftest.
$ac_ext
23160 cat >>conftest.
$ac_ext <<_ACEOF
23161 /* end confdefs.h. */
23163 /* Override any gcc2 internal prototype to avoid an error. */
23167 /* We use char because int might match the return type of a gcc2
23168 builtin and then its argument prototype would still apply. */
23169 char gethostbyname ();
23178 rm -f conftest.
$ac_objext conftest
$ac_exeext
23179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23180 (eval $ac_link) 2>&5
23182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23183 (exit $ac_status); } &&
23184 { ac_try
='test -s conftest$ac_exeext'
23185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23186 (eval $ac_try) 2>&5
23188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23189 (exit $ac_status); }; }; then
23190 ac_cv_lib_bsd_gethostbyname
=yes
23192 echo "$as_me: failed program was:" >&5
23193 sed 's/^/| /' conftest.
$ac_ext >&5
23195 ac_cv_lib_bsd_gethostbyname
=no
23197 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23198 LIBS
=$ac_check_lib_save_LIBS
23200 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
23201 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
23202 if test $ac_cv_lib_bsd_gethostbyname = yes; then
23203 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
23209 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23210 # socket/setsockopt and other routines are undefined under SCO ODT
23211 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23212 # on later versions), says Simon Leinen: it contains gethostby*
23213 # variants that don't use the name server (or something). -lsocket
23214 # must be given before -lnsl if both are needed. We assume that
23215 # if connect needs -lnsl, so does gethostbyname.
23216 echo "$as_me:$LINENO: checking for connect" >&5
23217 echo $ECHO_N "checking for connect... $ECHO_C" >&6
23218 if test "${ac_cv_func_connect+set}" = set; then
23219 echo $ECHO_N "(cached) $ECHO_C" >&6
23221 cat >conftest.
$ac_ext <<_ACEOF
23222 #line $LINENO "configure"
23225 cat confdefs.h
>>conftest.
$ac_ext
23226 cat >>conftest.
$ac_ext <<_ACEOF
23227 /* end confdefs.h. */
23228 /* System header to define __stub macros and hopefully few prototypes,
23229 which can conflict with char connect (); below.
23230 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23231 <limits.h> exists even on freestanding compilers. */
23233 # include <limits.h>
23235 # include <assert.h>
23237 /* Override any gcc2 internal prototype to avoid an error. */
23242 /* We use char because int might match the return type of a gcc2
23243 builtin and then its argument prototype would still apply. */
23245 /* The GNU C library defines this for functions which it implements
23246 to always fail with ENOSYS. Some functions are actually named
23247 something starting with __ and the normal name is an alias. */
23248 #if defined (__stub_connect) || defined (__stub___connect)
23251 char (*f) () = connect;
23260 return f != connect;
23265 rm -f conftest.
$ac_objext conftest
$ac_exeext
23266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23267 (eval $ac_link) 2>&5
23269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23270 (exit $ac_status); } &&
23271 { ac_try
='test -s conftest$ac_exeext'
23272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23273 (eval $ac_try) 2>&5
23275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23276 (exit $ac_status); }; }; then
23277 ac_cv_func_connect
=yes
23279 echo "$as_me: failed program was:" >&5
23280 sed 's/^/| /' conftest.
$ac_ext >&5
23282 ac_cv_func_connect
=no
23284 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23286 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23287 echo "${ECHO_T}$ac_cv_func_connect" >&6
23289 if test $ac_cv_func_connect = no
; then
23290 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23291 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23292 if test "${ac_cv_lib_socket_connect+set}" = set; then
23293 echo $ECHO_N "(cached) $ECHO_C" >&6
23295 ac_check_lib_save_LIBS
=$LIBS
23296 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
23297 cat >conftest.
$ac_ext <<_ACEOF
23298 #line $LINENO "configure"
23301 cat confdefs.h
>>conftest.
$ac_ext
23302 cat >>conftest.
$ac_ext <<_ACEOF
23303 /* end confdefs.h. */
23305 /* Override any gcc2 internal prototype to avoid an error. */
23309 /* We use char because int might match the return type of a gcc2
23310 builtin and then its argument prototype would still apply. */
23320 rm -f conftest.
$ac_objext conftest
$ac_exeext
23321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23322 (eval $ac_link) 2>&5
23324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23325 (exit $ac_status); } &&
23326 { ac_try
='test -s conftest$ac_exeext'
23327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23328 (eval $ac_try) 2>&5
23330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23331 (exit $ac_status); }; }; then
23332 ac_cv_lib_socket_connect
=yes
23334 echo "$as_me: failed program was:" >&5
23335 sed 's/^/| /' conftest.
$ac_ext >&5
23337 ac_cv_lib_socket_connect
=no
23339 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23340 LIBS
=$ac_check_lib_save_LIBS
23342 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23343 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23344 if test $ac_cv_lib_socket_connect = yes; then
23345 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
23350 # Guillermo Gomez says -lposix is necessary on A/UX.
23351 echo "$as_me:$LINENO: checking for remove" >&5
23352 echo $ECHO_N "checking for remove... $ECHO_C" >&6
23353 if test "${ac_cv_func_remove+set}" = set; then
23354 echo $ECHO_N "(cached) $ECHO_C" >&6
23356 cat >conftest.
$ac_ext <<_ACEOF
23357 #line $LINENO "configure"
23360 cat confdefs.h
>>conftest.
$ac_ext
23361 cat >>conftest.
$ac_ext <<_ACEOF
23362 /* end confdefs.h. */
23363 /* System header to define __stub macros and hopefully few prototypes,
23364 which can conflict with char remove (); below.
23365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23366 <limits.h> exists even on freestanding compilers. */
23368 # include <limits.h>
23370 # include <assert.h>
23372 /* Override any gcc2 internal prototype to avoid an error. */
23377 /* We use char because int might match the return type of a gcc2
23378 builtin and then its argument prototype would still apply. */
23380 /* The GNU C library defines this for functions which it implements
23381 to always fail with ENOSYS. Some functions are actually named
23382 something starting with __ and the normal name is an alias. */
23383 #if defined (__stub_remove) || defined (__stub___remove)
23386 char (*f) () = remove;
23395 return f != remove;
23400 rm -f conftest.
$ac_objext conftest
$ac_exeext
23401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23402 (eval $ac_link) 2>&5
23404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23405 (exit $ac_status); } &&
23406 { ac_try
='test -s conftest$ac_exeext'
23407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23408 (eval $ac_try) 2>&5
23410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23411 (exit $ac_status); }; }; then
23412 ac_cv_func_remove
=yes
23414 echo "$as_me: failed program was:" >&5
23415 sed 's/^/| /' conftest.
$ac_ext >&5
23417 ac_cv_func_remove
=no
23419 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23421 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23422 echo "${ECHO_T}$ac_cv_func_remove" >&6
23424 if test $ac_cv_func_remove = no
; then
23425 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23426 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23427 if test "${ac_cv_lib_posix_remove+set}" = set; then
23428 echo $ECHO_N "(cached) $ECHO_C" >&6
23430 ac_check_lib_save_LIBS
=$LIBS
23431 LIBS
="-lposix $LIBS"
23432 cat >conftest.
$ac_ext <<_ACEOF
23433 #line $LINENO "configure"
23436 cat confdefs.h
>>conftest.
$ac_ext
23437 cat >>conftest.
$ac_ext <<_ACEOF
23438 /* end confdefs.h. */
23440 /* Override any gcc2 internal prototype to avoid an error. */
23444 /* We use char because int might match the return type of a gcc2
23445 builtin and then its argument prototype would still apply. */
23455 rm -f conftest.
$ac_objext conftest
$ac_exeext
23456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23457 (eval $ac_link) 2>&5
23459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23460 (exit $ac_status); } &&
23461 { ac_try
='test -s conftest$ac_exeext'
23462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23463 (eval $ac_try) 2>&5
23465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23466 (exit $ac_status); }; }; then
23467 ac_cv_lib_posix_remove
=yes
23469 echo "$as_me: failed program was:" >&5
23470 sed 's/^/| /' conftest.
$ac_ext >&5
23472 ac_cv_lib_posix_remove
=no
23474 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23475 LIBS
=$ac_check_lib_save_LIBS
23477 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23478 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23479 if test $ac_cv_lib_posix_remove = yes; then
23480 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
23485 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23486 echo "$as_me:$LINENO: checking for shmat" >&5
23487 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23488 if test "${ac_cv_func_shmat+set}" = set; then
23489 echo $ECHO_N "(cached) $ECHO_C" >&6
23491 cat >conftest.
$ac_ext <<_ACEOF
23492 #line $LINENO "configure"
23495 cat confdefs.h
>>conftest.
$ac_ext
23496 cat >>conftest.
$ac_ext <<_ACEOF
23497 /* end confdefs.h. */
23498 /* System header to define __stub macros and hopefully few prototypes,
23499 which can conflict with char shmat (); below.
23500 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23501 <limits.h> exists even on freestanding compilers. */
23503 # include <limits.h>
23505 # include <assert.h>
23507 /* Override any gcc2 internal prototype to avoid an error. */
23512 /* We use char because int might match the return type of a gcc2
23513 builtin and then its argument prototype would still apply. */
23515 /* The GNU C library defines this for functions which it implements
23516 to always fail with ENOSYS. Some functions are actually named
23517 something starting with __ and the normal name is an alias. */
23518 #if defined (__stub_shmat) || defined (__stub___shmat)
23521 char (*f) () = shmat;
23535 rm -f conftest.
$ac_objext conftest
$ac_exeext
23536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23537 (eval $ac_link) 2>&5
23539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23540 (exit $ac_status); } &&
23541 { ac_try
='test -s conftest$ac_exeext'
23542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23543 (eval $ac_try) 2>&5
23545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23546 (exit $ac_status); }; }; then
23547 ac_cv_func_shmat
=yes
23549 echo "$as_me: failed program was:" >&5
23550 sed 's/^/| /' conftest.
$ac_ext >&5
23552 ac_cv_func_shmat
=no
23554 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23556 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23557 echo "${ECHO_T}$ac_cv_func_shmat" >&6
23559 if test $ac_cv_func_shmat = no
; then
23560 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23561 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23562 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23563 echo $ECHO_N "(cached) $ECHO_C" >&6
23565 ac_check_lib_save_LIBS
=$LIBS
23567 cat >conftest.
$ac_ext <<_ACEOF
23568 #line $LINENO "configure"
23571 cat confdefs.h
>>conftest.
$ac_ext
23572 cat >>conftest.
$ac_ext <<_ACEOF
23573 /* end confdefs.h. */
23575 /* Override any gcc2 internal prototype to avoid an error. */
23579 /* We use char because int might match the return type of a gcc2
23580 builtin and then its argument prototype would still apply. */
23590 rm -f conftest.
$ac_objext conftest
$ac_exeext
23591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23592 (eval $ac_link) 2>&5
23594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23595 (exit $ac_status); } &&
23596 { ac_try
='test -s conftest$ac_exeext'
23597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23598 (eval $ac_try) 2>&5
23600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23601 (exit $ac_status); }; }; then
23602 ac_cv_lib_ipc_shmat
=yes
23604 echo "$as_me: failed program was:" >&5
23605 sed 's/^/| /' conftest.
$ac_ext >&5
23607 ac_cv_lib_ipc_shmat
=no
23609 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23610 LIBS
=$ac_check_lib_save_LIBS
23612 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23613 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23614 if test $ac_cv_lib_ipc_shmat = yes; then
23615 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
23621 # Check for libraries that X11R6 Xt/Xaw programs need.
23622 ac_save_LDFLAGS
=$LDFLAGS
23623 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
23624 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23625 # check for ICE first), but we must link in the order -lSM -lICE or
23626 # we get undefined symbols. So assume we have SM if we have ICE.
23627 # These have to be linked with before -lX11, unlike the other
23628 # libraries we check for below, so use a different variable.
23629 # John Interrante, Karl Berry
23630 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23631 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23632 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23633 echo $ECHO_N "(cached) $ECHO_C" >&6
23635 ac_check_lib_save_LIBS
=$LIBS
23636 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
23637 cat >conftest.
$ac_ext <<_ACEOF
23638 #line $LINENO "configure"
23641 cat confdefs.h
>>conftest.
$ac_ext
23642 cat >>conftest.
$ac_ext <<_ACEOF
23643 /* end confdefs.h. */
23645 /* Override any gcc2 internal prototype to avoid an error. */
23649 /* We use char because int might match the return type of a gcc2
23650 builtin and then its argument prototype would still apply. */
23651 char IceConnectionNumber ();
23655 IceConnectionNumber ();
23660 rm -f conftest.
$ac_objext conftest
$ac_exeext
23661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23662 (eval $ac_link) 2>&5
23664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23665 (exit $ac_status); } &&
23666 { ac_try
='test -s conftest$ac_exeext'
23667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23668 (eval $ac_try) 2>&5
23670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23671 (exit $ac_status); }; }; then
23672 ac_cv_lib_ICE_IceConnectionNumber
=yes
23674 echo "$as_me: failed program was:" >&5
23675 sed 's/^/| /' conftest.
$ac_ext >&5
23677 ac_cv_lib_ICE_IceConnectionNumber
=no
23679 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23680 LIBS
=$ac_check_lib_save_LIBS
23682 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23683 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
23684 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
23685 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
23688 LDFLAGS
=$ac_save_LDFLAGS
23693 if test "$no_x" = "yes"; then
23694 { { echo "$as_me:$LINENO: error: X11 not found" >&5
23695 echo "$as_me: error: X11 not found" >&2;}
23696 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
23699 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//'`
23700 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
23701 AFMINSTALL
=afminstall
23702 COMPILED_X_PROGRAM
=0
23704 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
23705 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
23708 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
23710 if test -f "$ac_dir/Xm/Xm.h"; then
23711 ac_find_includes
=$ac_dir
23716 if test "$ac_find_includes" != "" ; then
23717 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
23718 echo "${ECHO_T}found in $ac_find_includes" >&6
23720 if test "x$ac_find_includes" = "x/usr/include"; then
23721 ac_path_to_include
=""
23723 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
23725 if test $result = 0; then
23726 ac_path_to_include
=""
23728 ac_path_to_include
=" -I$ac_find_includes"
23732 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
23734 cat >conftest.
$ac_ext <<_ACEOF
23735 #line $LINENO "configure"
23738 cat confdefs.h
>>conftest.
$ac_ext
23739 cat >>conftest.
$ac_ext <<_ACEOF
23740 /* end confdefs.h. */
23749 version = xmUseVersion;
23755 rm -f conftest.
$ac_objext
23756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23757 (eval $ac_compile) 2>&5
23759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23760 (exit $ac_status); } &&
23761 { ac_try
='test -s conftest.$ac_objext'
23762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23763 (eval $ac_try) 2>&5
23765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23766 (exit $ac_status); }; }; then
23768 echo "$as_me:$LINENO: result: found in default search path" >&5
23769 echo "${ECHO_T}found in default search path" >&6
23770 COMPILED_X_PROGRAM
=1
23773 echo "$as_me: failed program was:" >&5
23774 sed 's/^/| /' conftest.
$ac_ext >&5
23777 echo "$as_me:$LINENO: result: no" >&5
23778 echo "${ECHO_T}no" >&6
23779 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
23780 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
23781 { (exit 1); exit 1; }; }
23785 rm -f conftest.
$ac_objext conftest.
$ac_ext
23788 if test "$COMPILED_X_PROGRAM" = 0; then
23789 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
23790 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
23793 for ac_dir
in $SEARCH_LIB /usr
/lib
;
23795 for ac_extension
in a so sl dylib
; do
23796 if test -f "$ac_dir/libXm.$ac_extension"; then
23797 ac_find_libraries
=$ac_dir
23803 if test "$ac_find_libraries" != "" ; then
23804 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23805 echo "${ECHO_T}found at $ac_find_libraries" >&6
23808 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
23810 if test $result = 0; then
23813 ac_path_to_link
=" -L$ac_find_libraries"
23816 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
23818 save_CFLAGS
=$CFLAGS
23819 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
23821 cat >conftest.
$ac_ext <<_ACEOF
23822 #line $LINENO "configure"
23825 cat confdefs.h
>>conftest.
$ac_ext
23826 cat >>conftest.
$ac_ext <<_ACEOF
23827 /* end confdefs.h. */
23836 version = xmUseVersion;
23842 rm -f conftest.
$ac_objext
23843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23844 (eval $ac_compile) 2>&5
23846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23847 (exit $ac_status); } &&
23848 { ac_try
='test -s conftest.$ac_objext'
23849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23850 (eval $ac_try) 2>&5
23852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23853 (exit $ac_status); }; }; then
23855 echo "$as_me:$LINENO: result: found in default search path" >&5
23856 echo "${ECHO_T}found in default search path" >&6
23857 COMPILED_X_PROGRAM
=1
23860 echo "$as_me: failed program was:" >&5
23861 sed 's/^/| /' conftest.
$ac_ext >&5
23864 echo "$as_me:$LINENO: result: no" >&5
23865 echo "${ECHO_T}no" >&6
23866 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
23867 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
23868 { (exit 1); exit 1; }; }
23872 rm -f conftest.
$ac_objext conftest.
$ac_ext
23874 CFLAGS
=$save_CFLAGS
23879 echo "$as_me:$LINENO: checking for Xpm library" >&5
23880 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
23883 for ac_dir
in $SEARCH_LIB /usr
/lib
;
23885 for ac_extension
in a so sl dylib
; do
23886 if test -f "$ac_dir/libXpm.$ac_extension"; then
23887 ac_find_libraries
=$ac_dir
23893 if test "$ac_find_libraries" != "" ; then
23895 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
23897 if test $result = 0; then
23900 ac_path_to_link
=" -L$ac_find_libraries"
23903 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
23906 cat >>confdefs.h
<<\_ACEOF
23907 #define wxHAVE_LIB_XPM 1
23910 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23911 echo "${ECHO_T}found at $ac_find_libraries" >&6
23913 save_CFLAGS
=$CFLAGS
23914 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
23916 cat >conftest.
$ac_ext <<_ACEOF
23917 #line $LINENO "configure"
23920 cat confdefs.h
>>conftest.
$ac_ext
23921 cat >>conftest.
$ac_ext <<_ACEOF
23922 /* end confdefs.h. */
23924 #include <X11/xpm.h>
23931 version = XpmLibraryVersion();
23937 rm -f conftest.
$ac_objext
23938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23939 (eval $ac_compile) 2>&5
23941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23942 (exit $ac_status); } &&
23943 { ac_try
='test -s conftest.$ac_objext'
23944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23945 (eval $ac_try) 2>&5
23947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23948 (exit $ac_status); }; }; then
23951 cat >>confdefs.h
<<\_ACEOF
23952 #define wxHAVE_LIB_XPM 1
23955 echo "$as_me:$LINENO: result: found in default search path" >&5
23956 echo "${ECHO_T}found in default search path" >&6
23957 COMPILED_X_PROGRAM
=0
23960 echo "$as_me: failed program was:" >&5
23961 sed 's/^/| /' conftest.
$ac_ext >&5
23964 echo "$as_me:$LINENO: result: no" >&5
23965 echo "${ECHO_T}no" >&6
23966 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
23967 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
23971 rm -f conftest.
$ac_objext conftest.
$ac_ext
23973 CFLAGS
=$save_CFLAGS
23976 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
23977 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
23981 for libp
in "" " -lXp"; do
23982 if test "$libs_found" = "0"; then
23983 for libsm_ice
in " -lSM -lICE"; do
23984 if test "$libs_found" = "0"; then
23986 LIBS
="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
23987 save_CFLAGS
=$CFLAGS
23988 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
23990 cat >conftest.
$ac_ext <<_ACEOF
23991 #line $LINENO "configure"
23994 cat confdefs.h
>>conftest.
$ac_ext
23995 cat >>conftest.
$ac_ext <<_ACEOF
23996 /* end confdefs.h. */
23999 #include <Xm/List.h>
24005 XmString string = NULL;
24008 XmListAddItem(w, string, position);
24014 rm -f conftest.
$ac_objext conftest
$ac_exeext
24015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24016 (eval $ac_link) 2>&5
24018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24019 (exit $ac_status); } &&
24020 { ac_try
='test -s conftest$ac_exeext'
24021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24022 (eval $ac_try) 2>&5
24024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24025 (exit $ac_status); }; }; then
24028 libsm_ice_link
="$libsm_ice"
24029 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
24030 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
24034 echo "$as_me: failed program was:" >&5
24035 sed 's/^/| /' conftest.
$ac_ext >&5
24040 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24043 CFLAGS
=$save_CFLAGS
24049 if test "$libs_found" = "0"; then
24050 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
24051 echo "${ECHO_T}can't find the right libraries" >&6
24052 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
24053 echo "$as_me: error: can't link a simple motif program" >&2;}
24054 { (exit 1); exit 1; }; }
24057 save_CFLAGS
=$CFLAGS
24058 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24059 echo "$as_me:$LINENO: checking for Motif 2" >&5
24060 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
24061 cat >conftest.
$ac_ext <<_ACEOF
24062 #line $LINENO "configure"
24065 cat confdefs.h
>>conftest.
$ac_ext
24066 cat >>conftest.
$ac_ext <<_ACEOF
24067 /* end confdefs.h. */
24075 #if XmVersion < 2000
24076 #error "Not Motif 2"
24083 rm -f conftest.
$ac_objext
24084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24085 (eval $ac_compile) 2>&5
24087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24088 (exit $ac_status); } &&
24089 { ac_try
='test -s conftest.$ac_objext'
24090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24091 (eval $ac_try) 2>&5
24093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24094 (exit $ac_status); }; }; then
24096 cat >>confdefs.h
<<\_ACEOF
24097 #define __WXMOTIF20__ 1
24100 echo "$as_me:$LINENO: result: found" >&5
24101 echo "${ECHO_T}found" >&6
24104 echo "$as_me: failed program was:" >&5
24105 sed 's/^/| /' conftest.
$ac_ext >&5
24108 cat >>confdefs.h
<<\_ACEOF
24109 #define __WXMOTIF20__ 0
24112 echo "$as_me:$LINENO: result: not found" >&5
24113 echo "${ECHO_T}not found" >&6
24116 rm -f conftest.
$ac_objext conftest.
$ac_ext
24117 CFLAGS
=$save_CFLAGS
24119 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
24120 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
24126 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1 &&
24127 test "$wxHAVE_XEXT_LIB" = 1; then
24128 save_CFLAGS
="$CFLAGS"
24129 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24131 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
24132 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
24133 cat >conftest.
$ac_ext <<_ACEOF
24134 #line $LINENO "configure"
24137 cat confdefs.h
>>conftest.
$ac_ext
24138 cat >>conftest.
$ac_ext <<_ACEOF
24139 /* end confdefs.h. */
24141 #include <X11/Xlib.h>
24142 #include <X11/extensions/shape.h>
24148 int dummy1, dummy2;
24149 XShapeQueryExtension((Display*)NULL,
24150 (int*)NULL, (int*)NULL);
24156 rm -f conftest.
$ac_objext
24157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24158 (eval $ac_compile) 2>&5
24160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24161 (exit $ac_status); } &&
24162 { ac_try
='test -s conftest.$ac_objext'
24163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24164 (eval $ac_try) 2>&5
24166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24167 (exit $ac_status); }; }; then
24169 cat >>confdefs.h
<<\_ACEOF
24170 #define HAVE_XSHAPE 1
24173 echo "$as_me:$LINENO: result: found" >&5
24174 echo "${ECHO_T}found" >&6
24177 echo "$as_me: failed program was:" >&5
24178 sed 's/^/| /' conftest.
$ac_ext >&5
24181 echo "$as_me:$LINENO: result: not found" >&5
24182 echo "${ECHO_T}not found" >&6
24185 rm -f conftest.
$ac_objext conftest.
$ac_ext
24186 CFLAGS
="$save_CFLAGS"
24189 if test "$wxUSE_MAC" = 1; then
24190 CPPFLAGS
="$CPPFLAGS -fpascal-strings -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
24192 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
24195 WXBASEPORT
="_carbon"
24198 if test "$wxUSE_COCOA" = 1; then
24199 TOOLKIT_VPATH
="\${top_srcdir}/src/cocoa"
24204 if test "$wxUSE_PM" = 1; then
24207 { echo "$as_me:$LINENO: WARNING: OS/2 threads are not yet supported... disabled" >&5
24208 echo "$as_me: WARNING: OS/2 threads are not yet supported... disabled" >&2;}
24212 if test "$TOOLKIT" = "PM" ; then
24215 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
24218 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
24220 if test "$wxUSE_UNIVERSAL" = "yes"; then
24221 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
24223 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
24224 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
24226 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
24227 if test "$wxUSE_X11" = 1; then
24228 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
24230 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
24232 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
24235 ALL_OBJECTS
="\$(GUIOBJS)"
24236 ALL_SOURCES
="\$(ALL_SOURCES)"
24237 ALL_HEADERS
="\$(ALL_HEADERS)"
24240 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
24242 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
24243 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
24246 if test "$wxUSE_HTML" = "yes"; then
24247 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
24250 if test "$wxUSE_LIBJPEG" = "builtin" ; then
24251 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
24253 if test "$wxUSE_LIBTIFF" = "builtin" ; then
24254 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
24256 if test "$wxUSE_LIBPNG" = "builtin" ; then
24257 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
24260 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
24261 DISTDIR
="wx\$(TOOLKIT)"
24267 if test "$USE_WIN32" = 1 ; then
24268 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
24269 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
24273 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
24274 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
24277 ALL_SOURCES
="\$(ALL_SOURCES)"
24278 ALL_HEADERS
="\$(ALL_HEADERS)"
24280 PORT_FILES
="\${top_srcdir}/src/files.lst"
24282 GUIDIST
="BASE_DIST"
24292 if test "$TOOLKIT" != "MSW" ; then
24294 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
24296 if test "${ac_cv_header_sql_h+set}" = set; then
24297 echo "$as_me:$LINENO: checking for sql.h" >&5
24298 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24299 if test "${ac_cv_header_sql_h+set}" = set; then
24300 echo $ECHO_N "(cached) $ECHO_C" >&6
24302 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24303 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24305 # Is the header compilable?
24306 echo "$as_me:$LINENO: checking sql.h usability" >&5
24307 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
24308 cat >conftest.
$ac_ext <<_ACEOF
24309 #line $LINENO "configure"
24312 cat confdefs.h
>>conftest.
$ac_ext
24313 cat >>conftest.
$ac_ext <<_ACEOF
24314 /* end confdefs.h. */
24315 $ac_includes_default
24318 rm -f conftest.
$ac_objext
24319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24320 (eval $ac_compile) 2>&5
24322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24323 (exit $ac_status); } &&
24324 { ac_try
='test -s conftest.$ac_objext'
24325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24326 (eval $ac_try) 2>&5
24328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24329 (exit $ac_status); }; }; then
24330 ac_header_compiler
=yes
24332 echo "$as_me: failed program was:" >&5
24333 sed 's/^/| /' conftest.
$ac_ext >&5
24335 ac_header_compiler
=no
24337 rm -f conftest.
$ac_objext conftest.
$ac_ext
24338 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24339 echo "${ECHO_T}$ac_header_compiler" >&6
24341 # Is the header present?
24342 echo "$as_me:$LINENO: checking sql.h presence" >&5
24343 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
24344 cat >conftest.
$ac_ext <<_ACEOF
24345 #line $LINENO "configure"
24348 cat confdefs.h
>>conftest.
$ac_ext
24349 cat >>conftest.
$ac_ext <<_ACEOF
24350 /* end confdefs.h. */
24353 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24354 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24356 grep -v '^ *+' conftest.er1
>conftest.err
24358 cat conftest.err
>&5
24359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24360 (exit $ac_status); } >/dev
/null
; then
24361 if test -s conftest.err
; then
24362 ac_cpp_err
=$ac_c_preproc_warn_flag
24369 if test -z "$ac_cpp_err"; then
24370 ac_header_preproc
=yes
24372 echo "$as_me: failed program was:" >&5
24373 sed 's/^/| /' conftest.
$ac_ext >&5
24375 ac_header_preproc
=no
24377 rm -f conftest.err conftest.
$ac_ext
24378 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24379 echo "${ECHO_T}$ac_header_preproc" >&6
24381 # So? What about this header?
24382 case $ac_header_compiler:$ac_header_preproc in
24384 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
24385 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24386 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24387 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24390 ## ------------------------------------ ##
24391 ## Report this to bug-autoconf@gnu.org. ##
24392 ## ------------------------------------ ##
24395 sed "s/^/$as_me: WARNING: /" >&2
24398 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
24399 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
24400 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
24401 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
24402 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24403 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24406 ## ------------------------------------ ##
24407 ## Report this to bug-autoconf@gnu.org. ##
24408 ## ------------------------------------ ##
24411 sed "s/^/$as_me: WARNING: /" >&2
24414 echo "$as_me:$LINENO: checking for sql.h" >&5
24415 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24416 if test "${ac_cv_header_sql_h+set}" = set; then
24417 echo $ECHO_N "(cached) $ECHO_C" >&6
24419 ac_cv_header_sql_h
=$ac_header_preproc
24421 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24422 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24425 if test $ac_cv_header_sql_h = yes; then
24430 if test "x$found_sql_h" = "x1" ; then
24431 echo "$as_me:$LINENO: checking for iodbc in -lSQLAllocEnv" >&5
24432 echo $ECHO_N "checking for iodbc in -lSQLAllocEnv... $ECHO_C" >&6
24433 if test "${ac_cv_lib_SQLAllocEnv_iodbc+set}" = set; then
24434 echo $ECHO_N "(cached) $ECHO_C" >&6
24436 ac_check_lib_save_LIBS
=$LIBS
24437 LIBS
="-lSQLAllocEnv $LIBS"
24438 cat >conftest.
$ac_ext <<_ACEOF
24439 #line $LINENO "configure"
24442 cat confdefs.h
>>conftest.
$ac_ext
24443 cat >>conftest.
$ac_ext <<_ACEOF
24444 /* end confdefs.h. */
24446 /* Override any gcc2 internal prototype to avoid an error. */
24450 /* We use char because int might match the return type of a gcc2
24451 builtin and then its argument prototype would still apply. */
24461 rm -f conftest.
$ac_objext conftest
$ac_exeext
24462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24463 (eval $ac_link) 2>&5
24465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24466 (exit $ac_status); } &&
24467 { ac_try
='test -s conftest$ac_exeext'
24468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24469 (eval $ac_try) 2>&5
24471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24472 (exit $ac_status); }; }; then
24473 ac_cv_lib_SQLAllocEnv_iodbc
=yes
24475 echo "$as_me: failed program was:" >&5
24476 sed 's/^/| /' conftest.
$ac_ext >&5
24478 ac_cv_lib_SQLAllocEnv_iodbc
=no
24480 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24481 LIBS
=$ac_check_lib_save_LIBS
24483 echo "$as_me:$LINENO: result: $ac_cv_lib_SQLAllocEnv_iodbc" >&5
24484 echo "${ECHO_T}$ac_cv_lib_SQLAllocEnv_iodbc" >&6
24485 if test $ac_cv_lib_SQLAllocEnv_iodbc = yes; then
24486 ODBC_LINK
=" -liodbc"
24489 echo "$as_me:$LINENO: checking for unixodbc in -lSQLAllocEnv" >&5
24490 echo $ECHO_N "checking for unixodbc in -lSQLAllocEnv... $ECHO_C" >&6
24491 if test "${ac_cv_lib_SQLAllocEnv_unixodbc+set}" = set; then
24492 echo $ECHO_N "(cached) $ECHO_C" >&6
24494 ac_check_lib_save_LIBS
=$LIBS
24495 LIBS
="-lSQLAllocEnv $LIBS"
24496 cat >conftest.
$ac_ext <<_ACEOF
24497 #line $LINENO "configure"
24500 cat confdefs.h
>>conftest.
$ac_ext
24501 cat >>conftest.
$ac_ext <<_ACEOF
24502 /* end confdefs.h. */
24504 /* Override any gcc2 internal prototype to avoid an error. */
24508 /* We use char because int might match the return type of a gcc2
24509 builtin and then its argument prototype would still apply. */
24519 rm -f conftest.
$ac_objext conftest
$ac_exeext
24520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24521 (eval $ac_link) 2>&5
24523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24524 (exit $ac_status); } &&
24525 { ac_try
='test -s conftest$ac_exeext'
24526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24527 (eval $ac_try) 2>&5
24529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24530 (exit $ac_status); }; }; then
24531 ac_cv_lib_SQLAllocEnv_unixodbc
=yes
24533 echo "$as_me: failed program was:" >&5
24534 sed 's/^/| /' conftest.
$ac_ext >&5
24536 ac_cv_lib_SQLAllocEnv_unixodbc
=no
24538 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24539 LIBS
=$ac_check_lib_save_LIBS
24541 echo "$as_me:$LINENO: result: $ac_cv_lib_SQLAllocEnv_unixodbc" >&5
24542 echo "${ECHO_T}$ac_cv_lib_SQLAllocEnv_unixodbc" >&6
24543 if test $ac_cv_lib_SQLAllocEnv_unixodbc = yes; then
24544 ODBC_LINK
=" -lunixodbc"
24547 echo "$as_me:$LINENO: checking for odbc in -lSQLAllocEnv" >&5
24548 echo $ECHO_N "checking for odbc in -lSQLAllocEnv... $ECHO_C" >&6
24549 if test "${ac_cv_lib_SQLAllocEnv_odbc+set}" = set; then
24550 echo $ECHO_N "(cached) $ECHO_C" >&6
24552 ac_check_lib_save_LIBS
=$LIBS
24553 LIBS
="-lSQLAllocEnv $LIBS"
24554 cat >conftest.
$ac_ext <<_ACEOF
24555 #line $LINENO "configure"
24558 cat confdefs.h
>>conftest.
$ac_ext
24559 cat >>conftest.
$ac_ext <<_ACEOF
24560 /* end confdefs.h. */
24562 /* Override any gcc2 internal prototype to avoid an error. */
24566 /* We use char because int might match the return type of a gcc2
24567 builtin and then its argument prototype would still apply. */
24577 rm -f conftest.
$ac_objext conftest
$ac_exeext
24578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24579 (eval $ac_link) 2>&5
24581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24582 (exit $ac_status); } &&
24583 { ac_try
='test -s conftest$ac_exeext'
24584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24585 (eval $ac_try) 2>&5
24587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24588 (exit $ac_status); }; }; then
24589 ac_cv_lib_SQLAllocEnv_odbc
=yes
24591 echo "$as_me: failed program was:" >&5
24592 sed 's/^/| /' conftest.
$ac_ext >&5
24594 ac_cv_lib_SQLAllocEnv_odbc
=no
24596 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24597 LIBS
=$ac_check_lib_save_LIBS
24599 echo "$as_me:$LINENO: result: $ac_cv_lib_SQLAllocEnv_odbc" >&5
24600 echo "${ECHO_T}$ac_cv_lib_SQLAllocEnv_odbc" >&6
24601 if test $ac_cv_lib_SQLAllocEnv_odbc = yes; then
24602 ODBC_LINK
=" -lodbc"
24612 if test "x$ODBC_LINK" = "x" ; then
24613 if test "$wxUSE_ODBC" = "sys" ; then
24614 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
24615 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
24616 { (exit 1); exit 1; }; }
24618 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
24619 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
24626 if test "$wxUSE_ODBC" != "no" ; then
24627 cat >>confdefs.h
<<\_ACEOF
24628 #define wxUSE_ODBC 1
24631 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
24633 WXODBCFLAG
="-D_IODBC_"
24637 if test "$wxUSE_REGEX" = "builtin" ; then
24638 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
24640 if test "$wxUSE_ZLIB" = "builtin" ; then
24641 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
24646 if test "$wxUSE_OPENGL" = "yes"; then
24647 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
24648 OPENGL_LIBS
="-framework OpenGL -framework AGL"
24649 elif test "$wxUSE_MSW" = 1; then
24650 OPENGL_LIBS
="-lopengl32 -lglu32"
24655 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
24657 if test -f "$ac_dir/GL/gl.h"; then
24658 ac_find_includes
=$ac_dir
24663 if test "$ac_find_includes" != "" ; then
24664 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
24665 echo "${ECHO_T}found in $ac_find_includes" >&6
24667 if test "x$ac_find_includes" = "x/usr/include"; then
24668 ac_path_to_include
=""
24670 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
24672 if test $result = 0; then
24673 ac_path_to_include
=""
24675 ac_path_to_include
=" -I$ac_find_includes"
24679 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
24682 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24683 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24684 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24685 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24686 echo $ECHO_N "(cached) $ECHO_C" >&6
24688 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24689 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24691 # Is the header compilable?
24692 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
24693 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
24694 cat >conftest.
$ac_ext <<_ACEOF
24695 #line $LINENO "configure"
24698 cat confdefs.h
>>conftest.
$ac_ext
24699 cat >>conftest.
$ac_ext <<_ACEOF
24700 /* end confdefs.h. */
24701 $ac_includes_default
24704 rm -f conftest.
$ac_objext
24705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24706 (eval $ac_compile) 2>&5
24708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24709 (exit $ac_status); } &&
24710 { ac_try
='test -s conftest.$ac_objext'
24711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24712 (eval $ac_try) 2>&5
24714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24715 (exit $ac_status); }; }; then
24716 ac_header_compiler
=yes
24718 echo "$as_me: failed program was:" >&5
24719 sed 's/^/| /' conftest.
$ac_ext >&5
24721 ac_header_compiler
=no
24723 rm -f conftest.
$ac_objext conftest.
$ac_ext
24724 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24725 echo "${ECHO_T}$ac_header_compiler" >&6
24727 # Is the header present?
24728 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
24729 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
24730 cat >conftest.
$ac_ext <<_ACEOF
24731 #line $LINENO "configure"
24734 cat confdefs.h
>>conftest.
$ac_ext
24735 cat >>conftest.
$ac_ext <<_ACEOF
24736 /* end confdefs.h. */
24739 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24740 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24742 grep -v '^ *+' conftest.er1
>conftest.err
24744 cat conftest.err
>&5
24745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24746 (exit $ac_status); } >/dev
/null
; then
24747 if test -s conftest.err
; then
24748 ac_cpp_err
=$ac_c_preproc_warn_flag
24755 if test -z "$ac_cpp_err"; then
24756 ac_header_preproc
=yes
24758 echo "$as_me: failed program was:" >&5
24759 sed 's/^/| /' conftest.
$ac_ext >&5
24761 ac_header_preproc
=no
24763 rm -f conftest.err conftest.
$ac_ext
24764 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24765 echo "${ECHO_T}$ac_header_preproc" >&6
24767 # So? What about this header?
24768 case $ac_header_compiler:$ac_header_preproc in
24770 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
24771 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24772 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24773 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24776 ## ------------------------------------ ##
24777 ## Report this to bug-autoconf@gnu.org. ##
24778 ## ------------------------------------ ##
24781 sed "s/^/$as_me: WARNING: /" >&2
24784 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
24785 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
24786 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
24787 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
24788 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24789 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24792 ## ------------------------------------ ##
24793 ## Report this to bug-autoconf@gnu.org. ##
24794 ## ------------------------------------ ##
24797 sed "s/^/$as_me: WARNING: /" >&2
24800 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24801 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24802 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24803 echo $ECHO_N "(cached) $ECHO_C" >&6
24805 ac_cv_header_GL_gl_h
=$ac_header_preproc
24807 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24808 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24811 if test $ac_cv_header_GL_gl_h = yes; then
24815 echo "$as_me:$LINENO: checking for -lGL" >&5
24816 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
24819 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24821 for ac_extension
in a so sl dylib
; do
24822 if test -f "$ac_dir/libGL.$ac_extension"; then
24823 ac_find_libraries
=$ac_dir
24829 if test "$ac_find_libraries" != "" ; then
24831 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
24833 if test $result = 0; then
24836 ac_path_to_link
=" -L$ac_find_libraries"
24839 if test "$ac_path_to_link" != " -L/usr/lib" ; then
24840 LDFLAGS_GL
="$ac_path_to_link"
24845 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24847 for ac_extension
in a so sl dylib
; do
24848 if test -f "$ac_dir/libGLU.$ac_extension"; then
24849 ac_find_libraries
=$ac_dir
24855 if test "$ac_find_libraries" != "" ; then
24857 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
24859 if test $result = 0; then
24862 ac_path_to_link
=" -L$ac_find_libraries"
24865 if test "$ac_path_to_link" != " -L/usr/lib" -a \
24866 "$ac_path_to_link" != "$LDFLAGS_GL"; then
24867 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
24871 OPENGL_LIBS
="-lGL -lGLU"
24872 echo "$as_me:$LINENO: result: yes" >&5
24873 echo "${ECHO_T}yes" >&6
24877 if test "$found_gl" != 1; then
24878 echo "$as_me:$LINENO: result: no" >&5
24879 echo "${ECHO_T}no" >&6
24880 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
24881 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
24884 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24886 for ac_extension
in a so sl dylib
; do
24887 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
24888 ac_find_libraries
=$ac_dir
24894 if test "$ac_find_libraries" != "" ; then
24896 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
24898 if test $result = 0; then
24901 ac_path_to_link
=" -L$ac_find_libraries"
24904 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
24905 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
24906 echo "$as_me:$LINENO: result: yes" >&5
24907 echo "${ECHO_T}yes" >&6
24909 echo "$as_me:$LINENO: result: no" >&5
24910 echo "${ECHO_T}no" >&6
24918 if test "x$OPENGL_LIBS" = "x"; then
24919 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
24920 echo "$as_me: error: OpenGL libraries not available" >&2;}
24921 { (exit 1); exit 1; }; }
24925 if test "$wxUSE_OPENGL" = "yes"; then
24927 cat >>confdefs.h
<<\_ACEOF
24928 #define wxUSE_OPENGL 1
24931 cat >>confdefs.h
<<\_ACEOF
24932 #define wxUSE_GLCANVAS 1
24935 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
24939 if test -z "$TOOLKIT_VPATH" ; then
24940 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
24943 if test -n "$TOOLKIT" ; then
24944 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
24948 lib_unicode_suffix
=
24949 if test "$wxUSE_UNICODE" = "yes"; then
24950 lib_unicode_suffix
=u
24956 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
24962 if test "$wxUSE_DEBUG_INFO" = "yes"; then
24966 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
24968 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
24969 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
24971 if test "$cross_compiling" = "yes"; then
24972 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
24973 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
24974 HOST_SUFFIX
="-${host_alias}"
24977 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
24978 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
24979 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
24980 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
24982 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
24983 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
24985 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
24986 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
24987 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
24988 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
24991 *-*-cygwin* | *-*-mingw32* )
24992 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
24993 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
24998 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
24999 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25001 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
25002 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
25003 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
25004 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25006 if test "$wxUSE_MAC" = 1; then
25007 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.${WX_CURRENT}.r"
25008 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
25013 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
25014 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
25016 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
25017 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
25019 if test "$wxUSE_OPENGL" = "yes"; then
25020 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
25021 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
25026 if test "$wxUSE_SHARED" = "yes"; then
25028 *-pc-os2_emx | *-pc-os2-emx | \
25031 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
25032 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
25038 if test "$wxUSE_SHARED" = "yes"; then
25042 found_versioning
=no
25045 if test $found_versioning = no
; then
25046 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
25047 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
25048 if test "${wx_cv_version_script+set}" = set; then
25049 echo $ECHO_N "(cached) $ECHO_C" >&6
25052 echo "VER_1 { *; };" >conftest.sym
25053 echo "int main() { return 0; }" >conftest.cpp
25056 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
25057 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
25058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25059 (eval $ac_try) 2>&5
25061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25062 (exit $ac_status); }; } ; then
25063 if test -s conftest.stderr
; then
25064 wx_cv_version_script
=no
25066 wx_cv_version_script
=yes
25069 wx_cv_version_script
=no
25071 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
25074 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
25075 echo "${ECHO_T}$wx_cv_version_script" >&6
25076 if test $wx_cv_version_script = yes ; then
25077 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
25083 *-*-linux* | *-*-gnu* )
25084 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
25088 if test "$GCC" = yes ; then
25089 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
25091 saveLdflags
="$LDFLAGS"
25092 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
25093 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
25094 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
25095 cat >conftest.
$ac_ext <<_ACEOF
25096 #line $LINENO "configure"
25099 cat confdefs.h
>>conftest.
$ac_ext
25100 cat >>conftest.
$ac_ext <<_ACEOF
25101 /* end confdefs.h. */
25111 rm -f conftest.
$ac_objext conftest
$ac_exeext
25112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25113 (eval $ac_link) 2>&5
25115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25116 (exit $ac_status); } &&
25117 { ac_try
='test -s conftest$ac_exeext'
25118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25119 (eval $ac_try) 2>&5
25121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25122 (exit $ac_status); }; }; then
25124 echo "$as_me:$LINENO: result: yes" >&5
25125 echo "${ECHO_T}yes" >&6
25126 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
25129 echo "$as_me: failed program was:" >&5
25130 sed 's/^/| /' conftest.
$ac_ext >&5
25133 echo "$as_me:$LINENO: result: no" >&5
25134 echo "${ECHO_T}no" >&6
25135 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
25136 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
25137 LDFLAGS
="$saveLdflags -Wl,-R,/"
25138 cat >conftest.
$ac_ext <<_ACEOF
25139 #line $LINENO "configure"
25142 cat confdefs.h
>>conftest.
$ac_ext
25143 cat >>conftest.
$ac_ext <<_ACEOF
25144 /* end confdefs.h. */
25154 rm -f conftest.
$ac_objext conftest
$ac_exeext
25155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25156 (eval $ac_link) 2>&5
25158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25159 (exit $ac_status); } &&
25160 { ac_try
='test -s conftest$ac_exeext'
25161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25162 (eval $ac_try) 2>&5
25164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25165 (exit $ac_status); }; }; then
25167 echo "$as_me:$LINENO: result: yes" >&5
25168 echo "${ECHO_T}yes" >&6
25169 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
25171 echo "$as_me: failed program was:" >&5
25172 sed 's/^/| /' conftest.
$ac_ext >&5
25175 echo "$as_me:$LINENO: result: no" >&5
25176 echo "${ECHO_T}no" >&6
25179 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25182 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25183 LDFLAGS
="$saveLdflags"
25185 SHARED_LD
="${CXX} -G -o"
25187 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
25191 powerpc
-*-darwin* )
25192 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
25193 cat <<EOF >change-install-names
25195 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
25196 inst_cmd="install_name_tool "
25197 for i in \${libnames} ; do
25198 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
25202 chmod +x change
-install-names
25207 if test "x$WX_TARGET_LIBRARY" = "x"; then
25208 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
25209 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
25212 WX_TARGET_LIBRARY_TYPE
="so"
25213 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
25216 if test "$wxUSE_SHARED" = "no"; then
25218 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
25219 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
25222 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
25223 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
25226 if test "$wxUSE_OPENGL" = "yes"; then
25227 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
25228 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
25230 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
25233 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
25234 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
25236 WX_TARGET_LIBRARY_TYPE
="a"
25237 INSTALL_LIBRARY
='$(INSTALL_DATA)'
25247 if test "$wxUSE_MAC" = 1; then
25248 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
25249 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
25250 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
25251 # Extract the first word of "Rez", so it can be a program name with args.
25252 set dummy Rez
; ac_word
=$2
25253 echo "$as_me:$LINENO: checking for $ac_word" >&5
25254 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25255 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25256 echo $ECHO_N "(cached) $ECHO_C" >&6
25258 if test -n "$RESCOMP"; then
25259 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
25261 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25262 for as_dir
in $PATH
25265 test -z "$as_dir" && as_dir
=.
25266 for ac_exec_ext
in '' $ac_executable_extensions; do
25267 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25268 ac_cv_prog_RESCOMP
="Rez"
25269 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25275 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
25278 RESCOMP
=$ac_cv_prog_RESCOMP
25279 if test -n "$RESCOMP"; then
25280 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25281 echo "${ECHO_T}$RESCOMP" >&6
25283 echo "$as_me:$LINENO: result: no" >&5
25284 echo "${ECHO_T}no" >&6
25287 # Extract the first word of "DeRez", so it can be a program name with args.
25288 set dummy DeRez
; ac_word
=$2
25289 echo "$as_me:$LINENO: checking for $ac_word" >&5
25290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25291 if test "${ac_cv_prog_DEREZ+set}" = set; then
25292 echo $ECHO_N "(cached) $ECHO_C" >&6
25294 if test -n "$DEREZ"; then
25295 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
25297 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25298 for as_dir
in $PATH
25301 test -z "$as_dir" && as_dir
=.
25302 for ac_exec_ext
in '' $ac_executable_extensions; do
25303 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25304 ac_cv_prog_DEREZ
="DeRez"
25305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25311 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
25314 DEREZ
=$ac_cv_prog_DEREZ
25315 if test -n "$DEREZ"; then
25316 echo "$as_me:$LINENO: result: $DEREZ" >&5
25317 echo "${ECHO_T}$DEREZ" >&6
25319 echo "$as_me:$LINENO: result: no" >&5
25320 echo "${ECHO_T}no" >&6
25323 # Extract the first word of "SetFile", so it can be a program name with args.
25324 set dummy SetFile
; ac_word
=$2
25325 echo "$as_me:$LINENO: checking for $ac_word" >&5
25326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25327 if test "${ac_cv_prog_SETFILE+set}" = set; then
25328 echo $ECHO_N "(cached) $ECHO_C" >&6
25330 if test -n "$SETFILE"; then
25331 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
25333 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25334 for as_dir
in $PATH
25337 test -z "$as_dir" && as_dir
=.
25338 for ac_exec_ext
in '' $ac_executable_extensions; do
25339 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25340 ac_cv_prog_SETFILE
="SetFile"
25341 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25347 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
25350 SETFILE
=$ac_cv_prog_SETFILE
25351 if test -n "$SETFILE"; then
25352 echo "$as_me:$LINENO: result: $SETFILE" >&5
25353 echo "${ECHO_T}$SETFILE" >&6
25355 echo "$as_me:$LINENO: result: no" >&5
25356 echo "${ECHO_T}no" >&6
25359 MACOSX_BUNDLE
="bundle"
25360 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
25361 MACSETFILE
="\$(SETFILE)"
25362 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25363 elif test "$wxUSE_COCOA" = 1; then
25364 # Extract the first word of "Rez", so it can be a program name with args.
25365 set dummy Rez
; ac_word
=$2
25366 echo "$as_me:$LINENO: checking for $ac_word" >&5
25367 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25368 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25369 echo $ECHO_N "(cached) $ECHO_C" >&6
25371 if test -n "$RESCOMP"; then
25372 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
25374 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25375 for as_dir
in $PATH
25378 test -z "$as_dir" && as_dir
=.
25379 for ac_exec_ext
in '' $ac_executable_extensions; do
25380 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25381 ac_cv_prog_RESCOMP
="Rez"
25382 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25388 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
25391 RESCOMP
=$ac_cv_prog_RESCOMP
25392 if test -n "$RESCOMP"; then
25393 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25394 echo "${ECHO_T}$RESCOMP" >&6
25396 echo "$as_me:$LINENO: result: no" >&5
25397 echo "${ECHO_T}no" >&6
25400 # Extract the first word of "DeRez", so it can be a program name with args.
25401 set dummy DeRez
; ac_word
=$2
25402 echo "$as_me:$LINENO: checking for $ac_word" >&5
25403 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25404 if test "${ac_cv_prog_DEREZ+set}" = set; then
25405 echo $ECHO_N "(cached) $ECHO_C" >&6
25407 if test -n "$DEREZ"; then
25408 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
25410 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25411 for as_dir
in $PATH
25414 test -z "$as_dir" && as_dir
=.
25415 for ac_exec_ext
in '' $ac_executable_extensions; do
25416 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25417 ac_cv_prog_DEREZ
="DeRez"
25418 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25424 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
25427 DEREZ
=$ac_cv_prog_DEREZ
25428 if test -n "$DEREZ"; then
25429 echo "$as_me:$LINENO: result: $DEREZ" >&5
25430 echo "${ECHO_T}$DEREZ" >&6
25432 echo "$as_me:$LINENO: result: no" >&5
25433 echo "${ECHO_T}no" >&6
25436 # Extract the first word of "SetFile", so it can be a program name with args.
25437 set dummy SetFile
; ac_word
=$2
25438 echo "$as_me:$LINENO: checking for $ac_word" >&5
25439 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25440 if test "${ac_cv_prog_SETFILE+set}" = set; then
25441 echo $ECHO_N "(cached) $ECHO_C" >&6
25443 if test -n "$SETFILE"; then
25444 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
25446 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25447 for as_dir
in $PATH
25450 test -z "$as_dir" && as_dir
=.
25451 for ac_exec_ext
in '' $ac_executable_extensions; do
25452 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25453 ac_cv_prog_SETFILE
="SetFile"
25454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25460 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
25463 SETFILE
=$ac_cv_prog_SETFILE
25464 if test -n "$SETFILE"; then
25465 echo "$as_me:$LINENO: result: $SETFILE" >&5
25466 echo "${ECHO_T}$SETFILE" >&6
25468 echo "$as_me:$LINENO: result: no" >&5
25469 echo "${ECHO_T}no" >&6
25472 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
25473 MACSETFILE
="\$(SETFILE)"
25474 MACRESWXCONFIG
="echo -n | ${RESCOMP} -d __DARWIN__ -t APPL \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25476 if test "$wxUSE_PM" = 1; then
25477 MACRESCOMP
="emxbind -ep"
25482 echo "$as_me:$LINENO: checking for mode_t" >&5
25483 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
25484 if test "${ac_cv_type_mode_t+set}" = set; then
25485 echo $ECHO_N "(cached) $ECHO_C" >&6
25487 cat >conftest.
$ac_ext <<_ACEOF
25488 #line $LINENO "configure"
25491 cat confdefs.h
>>conftest.
$ac_ext
25492 cat >>conftest.
$ac_ext <<_ACEOF
25493 /* end confdefs.h. */
25494 $ac_includes_default
25500 if (sizeof (mode_t))
25506 rm -f conftest.
$ac_objext
25507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25508 (eval $ac_compile) 2>&5
25510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25511 (exit $ac_status); } &&
25512 { ac_try
='test -s conftest.$ac_objext'
25513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25514 (eval $ac_try) 2>&5
25516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25517 (exit $ac_status); }; }; then
25518 ac_cv_type_mode_t
=yes
25520 echo "$as_me: failed program was:" >&5
25521 sed 's/^/| /' conftest.
$ac_ext >&5
25523 ac_cv_type_mode_t
=no
25525 rm -f conftest.
$ac_objext conftest.
$ac_ext
25527 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
25528 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
25529 if test $ac_cv_type_mode_t = yes; then
25533 cat >>confdefs.h
<<_ACEOF
25539 echo "$as_me:$LINENO: checking for off_t" >&5
25540 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
25541 if test "${ac_cv_type_off_t+set}" = set; then
25542 echo $ECHO_N "(cached) $ECHO_C" >&6
25544 cat >conftest.
$ac_ext <<_ACEOF
25545 #line $LINENO "configure"
25548 cat confdefs.h
>>conftest.
$ac_ext
25549 cat >>conftest.
$ac_ext <<_ACEOF
25550 /* end confdefs.h. */
25551 $ac_includes_default
25557 if (sizeof (off_t))
25563 rm -f conftest.
$ac_objext
25564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25565 (eval $ac_compile) 2>&5
25567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25568 (exit $ac_status); } &&
25569 { ac_try
='test -s conftest.$ac_objext'
25570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25571 (eval $ac_try) 2>&5
25573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25574 (exit $ac_status); }; }; then
25575 ac_cv_type_off_t
=yes
25577 echo "$as_me: failed program was:" >&5
25578 sed 's/^/| /' conftest.
$ac_ext >&5
25580 ac_cv_type_off_t
=no
25582 rm -f conftest.
$ac_objext conftest.
$ac_ext
25584 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
25585 echo "${ECHO_T}$ac_cv_type_off_t" >&6
25586 if test $ac_cv_type_off_t = yes; then
25590 cat >>confdefs.h
<<_ACEOF
25596 echo "$as_me:$LINENO: checking for pid_t" >&5
25597 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
25598 if test "${ac_cv_type_pid_t+set}" = set; then
25599 echo $ECHO_N "(cached) $ECHO_C" >&6
25601 cat >conftest.
$ac_ext <<_ACEOF
25602 #line $LINENO "configure"
25605 cat confdefs.h
>>conftest.
$ac_ext
25606 cat >>conftest.
$ac_ext <<_ACEOF
25607 /* end confdefs.h. */
25608 $ac_includes_default
25614 if (sizeof (pid_t))
25620 rm -f conftest.
$ac_objext
25621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25622 (eval $ac_compile) 2>&5
25624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25625 (exit $ac_status); } &&
25626 { ac_try
='test -s conftest.$ac_objext'
25627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25628 (eval $ac_try) 2>&5
25630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25631 (exit $ac_status); }; }; then
25632 ac_cv_type_pid_t
=yes
25634 echo "$as_me: failed program was:" >&5
25635 sed 's/^/| /' conftest.
$ac_ext >&5
25637 ac_cv_type_pid_t
=no
25639 rm -f conftest.
$ac_objext conftest.
$ac_ext
25641 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
25642 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
25643 if test $ac_cv_type_pid_t = yes; then
25647 cat >>confdefs.h
<<_ACEOF
25653 echo "$as_me:$LINENO: checking for size_t" >&5
25654 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
25655 if test "${ac_cv_type_size_t+set}" = set; then
25656 echo $ECHO_N "(cached) $ECHO_C" >&6
25658 cat >conftest.
$ac_ext <<_ACEOF
25659 #line $LINENO "configure"
25662 cat confdefs.h
>>conftest.
$ac_ext
25663 cat >>conftest.
$ac_ext <<_ACEOF
25664 /* end confdefs.h. */
25665 $ac_includes_default
25671 if (sizeof (size_t))
25677 rm -f conftest.
$ac_objext
25678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25679 (eval $ac_compile) 2>&5
25681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25682 (exit $ac_status); } &&
25683 { ac_try
='test -s conftest.$ac_objext'
25684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25685 (eval $ac_try) 2>&5
25687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25688 (exit $ac_status); }; }; then
25689 ac_cv_type_size_t
=yes
25691 echo "$as_me: failed program was:" >&5
25692 sed 's/^/| /' conftest.
$ac_ext >&5
25694 ac_cv_type_size_t
=no
25696 rm -f conftest.
$ac_objext conftest.
$ac_ext
25698 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
25699 echo "${ECHO_T}$ac_cv_type_size_t" >&6
25700 if test $ac_cv_type_size_t = yes; then
25704 cat >>confdefs.h
<<_ACEOF
25705 #define size_t unsigned
25710 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
25711 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
25712 if test "${ac_cv_type_uid_t+set}" = set; then
25713 echo $ECHO_N "(cached) $ECHO_C" >&6
25715 cat >conftest.
$ac_ext <<_ACEOF
25716 #line $LINENO "configure"
25719 cat confdefs.h
>>conftest.
$ac_ext
25720 cat >>conftest.
$ac_ext <<_ACEOF
25721 /* end confdefs.h. */
25722 #include <sys/types.h>
25725 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25726 $EGREP "uid_t" >/dev
/null
2>&1; then
25727 ac_cv_type_uid_t
=yes
25729 ac_cv_type_uid_t
=no
25734 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
25735 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
25736 if test $ac_cv_type_uid_t = no
; then
25738 cat >>confdefs.h
<<\_ACEOF
25743 cat >>confdefs.h
<<\_ACEOF
25753 ac_cpp
='$CXXCPP $CPPFLAGS'
25754 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25755 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25756 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25758 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
25759 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
25760 if test "${wx_cv_size_t_is_uint+set}" = set; then
25761 echo $ECHO_N "(cached) $ECHO_C" >&6
25764 cat >conftest.
$ac_ext <<_ACEOF
25765 #line $LINENO "configure"
25768 cat confdefs.h
>>conftest.
$ac_ext
25769 cat >>conftest.
$ac_ext <<_ACEOF
25770 /* end confdefs.h. */
25771 #include <stddef.h>
25778 struct Foo { void foo(size_t); void foo(unsigned int); };
25786 rm -f conftest.
$ac_objext
25787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25788 (eval $ac_compile) 2>&5
25790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25791 (exit $ac_status); } &&
25792 { ac_try
='test -s conftest.$ac_objext'
25793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25794 (eval $ac_try) 2>&5
25796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25797 (exit $ac_status); }; }; then
25798 wx_cv_size_t_is_uint
=no
25800 echo "$as_me: failed program was:" >&5
25801 sed 's/^/| /' conftest.
$ac_ext >&5
25803 wx_cv_size_t_is_uint
=yes
25806 rm -f conftest.
$ac_objext conftest.
$ac_ext
25810 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
25811 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
25813 if test "$wx_cv_size_t_is_uint" = "yes"; then
25814 cat >>confdefs.h
<<\_ACEOF
25815 #define wxSIZE_T_IS_UINT 1
25819 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
25820 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
25821 if test "${wx_cv_size_t_is_ulong+set}" = set; then
25822 echo $ECHO_N "(cached) $ECHO_C" >&6
25824 cat >conftest.
$ac_ext <<_ACEOF
25825 #line $LINENO "configure"
25828 cat confdefs.h
>>conftest.
$ac_ext
25829 cat >>conftest.
$ac_ext <<_ACEOF
25830 /* end confdefs.h. */
25831 #include <stddef.h>
25838 struct Foo { void foo(size_t); void foo(unsigned long); };
25846 rm -f conftest.
$ac_objext
25847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25848 (eval $ac_compile) 2>&5
25850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25851 (exit $ac_status); } &&
25852 { ac_try
='test -s conftest.$ac_objext'
25853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25854 (eval $ac_try) 2>&5
25856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25857 (exit $ac_status); }; }; then
25858 wx_cv_size_t_is_ulong
=no
25860 echo "$as_me: failed program was:" >&5
25861 sed 's/^/| /' conftest.
$ac_ext >&5
25863 wx_cv_size_t_is_ulong
=yes
25866 rm -f conftest.
$ac_objext conftest.
$ac_ext
25869 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
25870 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
25872 if test "$wx_cv_size_t_is_ulong" = "yes"; then
25873 cat >>confdefs.h
<<\_ACEOF
25874 #define wxSIZE_T_IS_ULONG 1
25881 ac_cpp
='$CPP $CPPFLAGS'
25882 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25883 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25884 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25888 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
25889 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
25890 if test "${wx_cv_struct_pw_gecos+set}" = set; then
25891 echo $ECHO_N "(cached) $ECHO_C" >&6
25894 cat >conftest.
$ac_ext <<_ACEOF
25895 #line $LINENO "configure"
25898 cat confdefs.h
>>conftest.
$ac_ext
25899 cat >>conftest.
$ac_ext <<_ACEOF
25900 /* end confdefs.h. */
25914 rm -f conftest.
$ac_objext
25915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25916 (eval $ac_compile) 2>&5
25918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25919 (exit $ac_status); } &&
25920 { ac_try
='test -s conftest.$ac_objext'
25921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25922 (eval $ac_try) 2>&5
25924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25925 (exit $ac_status); }; }; then
25927 wx_cv_struct_pw_gecos
=yes
25930 echo "$as_me: failed program was:" >&5
25931 sed 's/^/| /' conftest.
$ac_ext >&5
25934 wx_cv_struct_pw_gecos
=no
25938 rm -f conftest.
$ac_objext conftest.
$ac_ext
25942 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
25943 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
25945 if test "$wx_cv_struct_pw_gecos" = "yes"; then
25946 cat >>confdefs.h
<<\_ACEOF
25947 #define HAVE_PW_GECOS 1
25953 if test "$wx_cv_sizeof_wchar_t" != "0"; then
25954 cat >>confdefs.h
<<\_ACEOF
25955 #define wxUSE_WCHAR_T 1
25962 for ac_func
in wcslen
25964 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25965 echo "$as_me:$LINENO: checking for $ac_func" >&5
25966 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25967 if eval "test \"\${$as_ac_var+set}\" = set"; then
25968 echo $ECHO_N "(cached) $ECHO_C" >&6
25970 cat >conftest.
$ac_ext <<_ACEOF
25971 #line $LINENO "configure"
25974 cat confdefs.h
>>conftest.
$ac_ext
25975 cat >>conftest.
$ac_ext <<_ACEOF
25976 /* end confdefs.h. */
25977 /* System header to define __stub macros and hopefully few prototypes,
25978 which can conflict with char $ac_func (); below.
25979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25980 <limits.h> exists even on freestanding compilers. */
25982 # include <limits.h>
25984 # include <assert.h>
25986 /* Override any gcc2 internal prototype to avoid an error. */
25991 /* We use char because int might match the return type of a gcc2
25992 builtin and then its argument prototype would still apply. */
25994 /* The GNU C library defines this for functions which it implements
25995 to always fail with ENOSYS. Some functions are actually named
25996 something starting with __ and the normal name is an alias. */
25997 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26000 char (*f) () = $ac_func;
26009 return f != $ac_func;
26014 rm -f conftest.
$ac_objext conftest
$ac_exeext
26015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26016 (eval $ac_link) 2>&5
26018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26019 (exit $ac_status); } &&
26020 { ac_try
='test -s conftest$ac_exeext'
26021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26022 (eval $ac_try) 2>&5
26024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26025 (exit $ac_status); }; }; then
26026 eval "$as_ac_var=yes"
26028 echo "$as_me: failed program was:" >&5
26029 sed 's/^/| /' conftest.
$ac_ext >&5
26031 eval "$as_ac_var=no"
26033 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26036 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26037 if test `eval echo '${'$as_ac_var'}'` = yes; then
26038 cat >>confdefs.h
<<_ACEOF
26039 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26046 if test "$WCSLEN_FOUND" = 0; then
26047 if test "$TOOLKIT" = "MSW"; then
26048 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
26049 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
26050 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
26051 echo $ECHO_N "(cached) $ECHO_C" >&6
26053 ac_check_lib_save_LIBS
=$LIBS
26054 LIBS
="-lmsvcrt $LIBS"
26055 cat >conftest.
$ac_ext <<_ACEOF
26056 #line $LINENO "configure"
26059 cat confdefs.h
>>conftest.
$ac_ext
26060 cat >>conftest.
$ac_ext <<_ACEOF
26061 /* end confdefs.h. */
26063 /* Override any gcc2 internal prototype to avoid an error. */
26067 /* We use char because int might match the return type of a gcc2
26068 builtin and then its argument prototype would still apply. */
26078 rm -f conftest.
$ac_objext conftest
$ac_exeext
26079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26080 (eval $ac_link) 2>&5
26082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26083 (exit $ac_status); } &&
26084 { ac_try
='test -s conftest$ac_exeext'
26085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26086 (eval $ac_try) 2>&5
26088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26089 (exit $ac_status); }; }; then
26090 ac_cv_lib_msvcrt_wcslen
=yes
26092 echo "$as_me: failed program was:" >&5
26093 sed 's/^/| /' conftest.
$ac_ext >&5
26095 ac_cv_lib_msvcrt_wcslen
=no
26097 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26098 LIBS
=$ac_check_lib_save_LIBS
26100 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
26101 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
26102 if test $ac_cv_lib_msvcrt_wcslen = yes; then
26107 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
26108 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
26109 if test "${ac_cv_lib_w_wcslen+set}" = set; then
26110 echo $ECHO_N "(cached) $ECHO_C" >&6
26112 ac_check_lib_save_LIBS
=$LIBS
26114 cat >conftest.
$ac_ext <<_ACEOF
26115 #line $LINENO "configure"
26118 cat confdefs.h
>>conftest.
$ac_ext
26119 cat >>conftest.
$ac_ext <<_ACEOF
26120 /* end confdefs.h. */
26122 /* Override any gcc2 internal prototype to avoid an error. */
26126 /* We use char because int might match the return type of a gcc2
26127 builtin and then its argument prototype would still apply. */
26137 rm -f conftest.
$ac_objext conftest
$ac_exeext
26138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26139 (eval $ac_link) 2>&5
26141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26142 (exit $ac_status); } &&
26143 { ac_try
='test -s conftest$ac_exeext'
26144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26145 (eval $ac_try) 2>&5
26147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26148 (exit $ac_status); }; }; then
26149 ac_cv_lib_w_wcslen
=yes
26151 echo "$as_me: failed program was:" >&5
26152 sed 's/^/| /' conftest.
$ac_ext >&5
26154 ac_cv_lib_w_wcslen
=no
26156 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26157 LIBS
=$ac_check_lib_save_LIBS
26159 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
26160 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
26161 if test $ac_cv_lib_w_wcslen = yes; then
26171 if test "$WCSLEN_FOUND" = 1; then
26172 cat >>confdefs.h
<<\_ACEOF
26173 #define HAVE_WCSLEN 1
26179 for ac_func
in wcsrtombs
26181 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26182 echo "$as_me:$LINENO: checking for $ac_func" >&5
26183 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26184 if eval "test \"\${$as_ac_var+set}\" = set"; then
26185 echo $ECHO_N "(cached) $ECHO_C" >&6
26187 cat >conftest.
$ac_ext <<_ACEOF
26188 #line $LINENO "configure"
26191 cat confdefs.h
>>conftest.
$ac_ext
26192 cat >>conftest.
$ac_ext <<_ACEOF
26193 /* end confdefs.h. */
26194 /* System header to define __stub macros and hopefully few prototypes,
26195 which can conflict with char $ac_func (); below.
26196 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26197 <limits.h> exists even on freestanding compilers. */
26199 # include <limits.h>
26201 # include <assert.h>
26203 /* Override any gcc2 internal prototype to avoid an error. */
26208 /* We use char because int might match the return type of a gcc2
26209 builtin and then its argument prototype would still apply. */
26211 /* The GNU C library defines this for functions which it implements
26212 to always fail with ENOSYS. Some functions are actually named
26213 something starting with __ and the normal name is an alias. */
26214 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26217 char (*f) () = $ac_func;
26226 return f != $ac_func;
26231 rm -f conftest.
$ac_objext conftest
$ac_exeext
26232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26233 (eval $ac_link) 2>&5
26235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26236 (exit $ac_status); } &&
26237 { ac_try
='test -s conftest$ac_exeext'
26238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26239 (eval $ac_try) 2>&5
26241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26242 (exit $ac_status); }; }; then
26243 eval "$as_ac_var=yes"
26245 echo "$as_me: failed program was:" >&5
26246 sed 's/^/| /' conftest.
$ac_ext >&5
26248 eval "$as_ac_var=no"
26250 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26252 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26253 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26254 if test `eval echo '${'$as_ac_var'}'` = yes; then
26255 cat >>confdefs.h
<<_ACEOF
26256 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26263 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
26264 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
26270 ac_cpp
='$CXXCPP $CPPFLAGS'
26271 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26272 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26273 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26277 for ac_func
in vsnprintf
26279 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26280 echo "$as_me:$LINENO: checking for $ac_func" >&5
26281 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26282 if eval "test \"\${$as_ac_var+set}\" = set"; then
26283 echo $ECHO_N "(cached) $ECHO_C" >&6
26285 cat >conftest.
$ac_ext <<_ACEOF
26286 #line $LINENO "configure"
26289 cat confdefs.h
>>conftest.
$ac_ext
26290 cat >>conftest.
$ac_ext <<_ACEOF
26291 /* end confdefs.h. */
26292 /* System header to define __stub macros and hopefully few prototypes,
26293 which can conflict with char $ac_func (); below.
26294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26295 <limits.h> exists even on freestanding compilers. */
26297 # include <limits.h>
26299 # include <assert.h>
26301 /* Override any gcc2 internal prototype to avoid an error. */
26306 /* We use char because int might match the return type of a gcc2
26307 builtin and then its argument prototype would still apply. */
26309 /* The GNU C library defines this for functions which it implements
26310 to always fail with ENOSYS. Some functions are actually named
26311 something starting with __ and the normal name is an alias. */
26312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26315 char (*f) () = $ac_func;
26324 return f != $ac_func;
26329 rm -f conftest.
$ac_objext conftest
$ac_exeext
26330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26331 (eval $ac_link) 2>&5
26333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26334 (exit $ac_status); } &&
26335 { ac_try
='test -s conftest$ac_exeext'
26336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26337 (eval $ac_try) 2>&5
26339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26340 (exit $ac_status); }; }; then
26341 eval "$as_ac_var=yes"
26343 echo "$as_me: failed program was:" >&5
26344 sed 's/^/| /' conftest.
$ac_ext >&5
26346 eval "$as_ac_var=no"
26348 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26351 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26352 if test `eval echo '${'$as_ac_var'}'` = yes; then
26353 cat >>confdefs.h
<<_ACEOF
26354 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26361 if test "$ac_cv_func_vsnprintf" = "yes"; then
26362 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
26363 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
26364 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
26365 echo $ECHO_N "(cached) $ECHO_C" >&6
26368 cat >conftest.
$ac_ext <<_ACEOF
26369 #line $LINENO "configure"
26372 cat confdefs.h
>>conftest.
$ac_ext
26373 cat >>conftest.
$ac_ext <<_ACEOF
26374 /* end confdefs.h. */
26377 #include <stdarg.h>
26385 vsnprintf(buf, 10u, "%s", ap);
26391 rm -f conftest.
$ac_objext
26392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26393 (eval $ac_compile) 2>&5
26395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26396 (exit $ac_status); } &&
26397 { ac_try
='test -s conftest.$ac_objext'
26398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26399 (eval $ac_try) 2>&5
26401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26402 (exit $ac_status); }; }; then
26403 wx_cv_func_vsnprintf_decl
=yes
26405 echo "$as_me: failed program was:" >&5
26406 sed 's/^/| /' conftest.
$ac_ext >&5
26408 wx_cv_func_vsnprintf_decl
=no
26411 rm -f conftest.
$ac_objext conftest.
$ac_ext
26415 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
26416 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
26418 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
26419 cat >>confdefs.h
<<\_ACEOF
26420 #define HAVE_VSNPRINTF_DECL 1
26426 if test "$wxUSE_UNICODE" = yes; then
26430 for ac_func
in fputwc wprintf vswprintf
26432 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26433 echo "$as_me:$LINENO: checking for $ac_func" >&5
26434 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26435 if eval "test \"\${$as_ac_var+set}\" = set"; then
26436 echo $ECHO_N "(cached) $ECHO_C" >&6
26438 cat >conftest.
$ac_ext <<_ACEOF
26439 #line $LINENO "configure"
26442 cat confdefs.h
>>conftest.
$ac_ext
26443 cat >>conftest.
$ac_ext <<_ACEOF
26444 /* end confdefs.h. */
26445 /* System header to define __stub macros and hopefully few prototypes,
26446 which can conflict with char $ac_func (); below.
26447 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26448 <limits.h> exists even on freestanding compilers. */
26450 # include <limits.h>
26452 # include <assert.h>
26454 /* Override any gcc2 internal prototype to avoid an error. */
26459 /* We use char because int might match the return type of a gcc2
26460 builtin and then its argument prototype would still apply. */
26462 /* The GNU C library defines this for functions which it implements
26463 to always fail with ENOSYS. Some functions are actually named
26464 something starting with __ and the normal name is an alias. */
26465 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26468 char (*f) () = $ac_func;
26477 return f != $ac_func;
26482 rm -f conftest.
$ac_objext conftest
$ac_exeext
26483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26484 (eval $ac_link) 2>&5
26486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26487 (exit $ac_status); } &&
26488 { ac_try
='test -s conftest$ac_exeext'
26489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26490 (eval $ac_try) 2>&5
26492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26493 (exit $ac_status); }; }; then
26494 eval "$as_ac_var=yes"
26496 echo "$as_me: failed program was:" >&5
26497 sed 's/^/| /' conftest.
$ac_ext >&5
26499 eval "$as_ac_var=no"
26501 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26505 if test `eval echo '${'$as_ac_var'}'` = yes; then
26506 cat >>confdefs.h
<<_ACEOF
26507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26514 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
26515 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
26516 cat >conftest.
$ac_ext <<_ACEOF
26517 #line $LINENO "configure"
26520 cat confdefs.h
>>conftest.
$ac_ext
26521 cat >>conftest.
$ac_ext <<_ACEOF
26522 /* end confdefs.h. */
26532 rm -f conftest.
$ac_objext
26533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26534 (eval $ac_compile) 2>&5
26536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26537 (exit $ac_status); } &&
26538 { ac_try
='test -s conftest.$ac_objext'
26539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26540 (eval $ac_try) 2>&5
26542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26543 (exit $ac_status); }; }; then
26544 echo "$as_me:$LINENO: result: yes" >&5
26545 echo "${ECHO_T}yes" >&6
26546 cat >>confdefs.h
<<\_ACEOF
26547 #define HAVE__VSNWPRINTF 1
26551 echo "$as_me: failed program was:" >&5
26552 sed 's/^/| /' conftest.
$ac_ext >&5
26554 echo "$as_me:$LINENO: result: no" >&5
26555 echo "${ECHO_T}no" >&6
26557 rm -f conftest.
$ac_objext conftest.
$ac_ext;
26561 ac_cpp
='$CPP $CPPFLAGS'
26562 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26563 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26564 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26569 if test "$TOOLKIT" != "MSW"; then
26575 ac_cpp
='$CXXCPP $CPPFLAGS'
26576 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26577 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26578 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26583 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
26584 if test "${with_libiconv_prefix+set}" = set; then
26585 withval
="$with_libiconv_prefix"
26587 for dir
in `echo "$withval" | tr : ' '`; do
26588 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
26589 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
26594 echo "$as_me:$LINENO: checking for iconv" >&5
26595 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
26596 if test "${am_cv_func_iconv+set}" = set; then
26597 echo $ECHO_N "(cached) $ECHO_C" >&6
26600 am_cv_func_iconv
="no, consider installing GNU libiconv"
26602 cat >conftest.
$ac_ext <<_ACEOF
26603 #line $LINENO "configure"
26606 cat confdefs.h
>>conftest.
$ac_ext
26607 cat >>conftest.
$ac_ext <<_ACEOF
26608 /* end confdefs.h. */
26609 #include <stdlib.h>
26614 iconv_t cd = iconv_open("","");
26615 iconv(cd,NULL,NULL,NULL,NULL);
26621 rm -f conftest.
$ac_objext conftest
$ac_exeext
26622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26623 (eval $ac_link) 2>&5
26625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26626 (exit $ac_status); } &&
26627 { ac_try
='test -s conftest$ac_exeext'
26628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26629 (eval $ac_try) 2>&5
26631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26632 (exit $ac_status); }; }; then
26633 am_cv_func_iconv
=yes
26635 echo "$as_me: failed program was:" >&5
26636 sed 's/^/| /' conftest.
$ac_ext >&5
26639 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26640 if test "$am_cv_func_iconv" != yes; then
26641 am_save_LIBS
="$LIBS"
26642 LIBS
="$LIBS -liconv"
26643 cat >conftest.
$ac_ext <<_ACEOF
26644 #line $LINENO "configure"
26647 cat confdefs.h
>>conftest.
$ac_ext
26648 cat >>conftest.
$ac_ext <<_ACEOF
26649 /* end confdefs.h. */
26650 #include <stdlib.h>
26655 iconv_t cd = iconv_open("","");
26656 iconv(cd,NULL,NULL,NULL,NULL);
26662 rm -f conftest.
$ac_objext conftest
$ac_exeext
26663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26664 (eval $ac_link) 2>&5
26666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26667 (exit $ac_status); } &&
26668 { ac_try
='test -s conftest$ac_exeext'
26669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26670 (eval $ac_try) 2>&5
26672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26673 (exit $ac_status); }; }; then
26674 am_cv_lib_iconv
=yes
26675 am_cv_func_iconv
=yes
26677 echo "$as_me: failed program was:" >&5
26678 sed 's/^/| /' conftest.
$ac_ext >&5
26681 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26682 LIBS
="$am_save_LIBS"
26686 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
26687 echo "${ECHO_T}$am_cv_func_iconv" >&6
26688 if test "$am_cv_func_iconv" = yes; then
26690 cat >>confdefs.h
<<\_ACEOF
26691 #define HAVE_ICONV 1
26694 echo "$as_me:$LINENO: checking if iconv needs const" >&5
26695 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
26696 if test "${wx_cv_func_iconv_const+set}" = set; then
26697 echo $ECHO_N "(cached) $ECHO_C" >&6
26699 cat >conftest.
$ac_ext <<_ACEOF
26700 #line $LINENO "configure"
26703 cat confdefs.h
>>conftest.
$ac_ext
26704 cat >>conftest.
$ac_ext <<_ACEOF
26705 /* end confdefs.h. */
26707 #include <stdlib.h>
26713 #if defined(__STDC__) || defined(__cplusplus)
26714 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26727 rm -f conftest.
$ac_objext
26728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26729 (eval $ac_compile) 2>&5
26731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26732 (exit $ac_status); } &&
26733 { ac_try
='test -s conftest.$ac_objext'
26734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26735 (eval $ac_try) 2>&5
26737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26738 (exit $ac_status); }; }; then
26739 wx_cv_func_iconv_const
="no"
26741 echo "$as_me: failed program was:" >&5
26742 sed 's/^/| /' conftest.
$ac_ext >&5
26744 wx_cv_func_iconv_const
="yes"
26747 rm -f conftest.
$ac_objext conftest.
$ac_ext
26750 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
26751 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
26754 if test "x$wx_cv_func_iconv_const" = "xyes"; then
26755 iconv_const
="const"
26759 cat >>confdefs.h
<<_ACEOF
26760 #define ICONV_CONST $iconv_const
26765 if test "$am_cv_lib_iconv" = yes; then
26770 LIBS
="$LIBICONV $LIBS"
26772 ac_cpp
='$CPP $CPPFLAGS'
26773 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26774 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26775 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26778 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
26780 for ac_func
in sigaction
26782 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26783 echo "$as_me:$LINENO: checking for $ac_func" >&5
26784 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26785 if eval "test \"\${$as_ac_var+set}\" = set"; then
26786 echo $ECHO_N "(cached) $ECHO_C" >&6
26788 cat >conftest.
$ac_ext <<_ACEOF
26789 #line $LINENO "configure"
26792 cat confdefs.h
>>conftest.
$ac_ext
26793 cat >>conftest.
$ac_ext <<_ACEOF
26794 /* end confdefs.h. */
26795 /* System header to define __stub macros and hopefully few prototypes,
26796 which can conflict with char $ac_func (); below.
26797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26798 <limits.h> exists even on freestanding compilers. */
26800 # include <limits.h>
26802 # include <assert.h>
26804 /* Override any gcc2 internal prototype to avoid an error. */
26809 /* We use char because int might match the return type of a gcc2
26810 builtin and then its argument prototype would still apply. */
26812 /* The GNU C library defines this for functions which it implements
26813 to always fail with ENOSYS. Some functions are actually named
26814 something starting with __ and the normal name is an alias. */
26815 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26818 char (*f) () = $ac_func;
26827 return f != $ac_func;
26832 rm -f conftest.
$ac_objext conftest
$ac_exeext
26833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26834 (eval $ac_link) 2>&5
26836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26837 (exit $ac_status); } &&
26838 { ac_try
='test -s conftest$ac_exeext'
26839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26840 (eval $ac_try) 2>&5
26842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26843 (exit $ac_status); }; }; then
26844 eval "$as_ac_var=yes"
26846 echo "$as_me: failed program was:" >&5
26847 sed 's/^/| /' conftest.
$ac_ext >&5
26849 eval "$as_ac_var=no"
26851 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26853 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26854 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26855 if test `eval echo '${'$as_ac_var'}'` = yes; then
26856 cat >>confdefs.h
<<_ACEOF
26857 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26864 if test "$ac_cv_func_sigaction" = "no"; then
26865 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
26866 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
26867 wxUSE_ON_FATAL_EXCEPTION
=no
26870 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
26874 ac_cpp
='$CXXCPP $CPPFLAGS'
26875 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26876 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26877 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26880 echo "$as_me:$LINENO: checking for sa_handler type" >&5
26881 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
26882 if test "${wx_cv_type_sa_handler+set}" = set; then
26883 echo $ECHO_N "(cached) $ECHO_C" >&6
26886 cat >conftest.
$ac_ext <<_ACEOF
26887 #line $LINENO "configure"
26890 cat confdefs.h
>>conftest.
$ac_ext
26891 cat >>conftest.
$ac_ext <<_ACEOF
26892 /* end confdefs.h. */
26893 #include <signal.h>
26898 extern void testSigHandler(int);
26900 struct sigaction sa;
26901 sa.sa_handler = testSigHandler;
26907 rm -f conftest.
$ac_objext
26908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26909 (eval $ac_compile) 2>&5
26911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26912 (exit $ac_status); } &&
26913 { ac_try
='test -s conftest.$ac_objext'
26914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26915 (eval $ac_try) 2>&5
26917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26918 (exit $ac_status); }; }; then
26920 wx_cv_type_sa_handler
=int
26923 echo "$as_me: failed program was:" >&5
26924 sed 's/^/| /' conftest.
$ac_ext >&5
26927 wx_cv_type_sa_handler
=void
26930 rm -f conftest.
$ac_objext conftest.
$ac_ext
26933 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
26934 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
26937 ac_cpp
='$CPP $CPPFLAGS'
26938 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26939 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26940 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26943 cat >>confdefs.h
<<_ACEOF
26944 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
26952 for ac_func
in mkstemp mktemp
26954 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26955 echo "$as_me:$LINENO: checking for $ac_func" >&5
26956 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26957 if eval "test \"\${$as_ac_var+set}\" = set"; then
26958 echo $ECHO_N "(cached) $ECHO_C" >&6
26960 cat >conftest.
$ac_ext <<_ACEOF
26961 #line $LINENO "configure"
26964 cat confdefs.h
>>conftest.
$ac_ext
26965 cat >>conftest.
$ac_ext <<_ACEOF
26966 /* end confdefs.h. */
26967 /* System header to define __stub macros and hopefully few prototypes,
26968 which can conflict with char $ac_func (); below.
26969 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26970 <limits.h> exists even on freestanding compilers. */
26972 # include <limits.h>
26974 # include <assert.h>
26976 /* Override any gcc2 internal prototype to avoid an error. */
26981 /* We use char because int might match the return type of a gcc2
26982 builtin and then its argument prototype would still apply. */
26984 /* The GNU C library defines this for functions which it implements
26985 to always fail with ENOSYS. Some functions are actually named
26986 something starting with __ and the normal name is an alias. */
26987 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26990 char (*f) () = $ac_func;
26999 return f != $ac_func;
27004 rm -f conftest.
$ac_objext conftest
$ac_exeext
27005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27006 (eval $ac_link) 2>&5
27008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27009 (exit $ac_status); } &&
27010 { ac_try
='test -s conftest$ac_exeext'
27011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27012 (eval $ac_try) 2>&5
27014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27015 (exit $ac_status); }; }; then
27016 eval "$as_ac_var=yes"
27018 echo "$as_me: failed program was:" >&5
27019 sed 's/^/| /' conftest.
$ac_ext >&5
27021 eval "$as_ac_var=no"
27023 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27026 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27027 if test `eval echo '${'$as_ac_var'}'` = yes; then
27028 cat >>confdefs.h
<<_ACEOF
27029 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27036 echo "$as_me:$LINENO: checking for statfs" >&5
27037 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
27038 if test "${wx_cv_func_statfs+set}" = set; then
27039 echo $ECHO_N "(cached) $ECHO_C" >&6
27041 cat >conftest.
$ac_ext <<_ACEOF
27042 #line $LINENO "configure"
27045 cat confdefs.h
>>conftest.
$ac_ext
27046 cat >>conftest.
$ac_ext <<_ACEOF
27047 /* end confdefs.h. */
27049 #if defined(__BSD__)
27050 #include <sys/param.h>
27051 #include <sys/mount.h>
27053 #include <sys/vfs.h>
27071 rm -f conftest.
$ac_objext
27072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27073 (eval $ac_compile) 2>&5
27075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27076 (exit $ac_status); } &&
27077 { ac_try
='test -s conftest.$ac_objext'
27078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27079 (eval $ac_try) 2>&5
27081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27082 (exit $ac_status); }; }; then
27084 wx_cv_func_statfs
=yes
27087 echo "$as_me: failed program was:" >&5
27088 sed 's/^/| /' conftest.
$ac_ext >&5
27091 wx_cv_func_statfs
=no
27095 rm -f conftest.
$ac_objext conftest.
$ac_ext
27098 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
27099 echo "${ECHO_T}$wx_cv_func_statfs" >&6
27101 if test "$wx_cv_func_statfs" = "yes"; then
27102 wx_cv_type_statvfs_t
="struct statfs"
27103 cat >>confdefs.h
<<\_ACEOF
27104 #define HAVE_STATFS 1
27108 echo "$as_me:$LINENO: checking for statvfs" >&5
27109 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
27110 if test "${wx_cv_func_statvfs+set}" = set; then
27111 echo $ECHO_N "(cached) $ECHO_C" >&6
27113 cat >conftest.
$ac_ext <<_ACEOF
27114 #line $LINENO "configure"
27117 cat confdefs.h
>>conftest.
$ac_ext
27118 cat >>conftest.
$ac_ext <<_ACEOF
27119 /* end confdefs.h. */
27121 #include <stddef.h>
27122 #include <sys/statvfs.h>
27128 statvfs("/", NULL);
27134 rm -f conftest.
$ac_objext
27135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27136 (eval $ac_compile) 2>&5
27138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27139 (exit $ac_status); } &&
27140 { ac_try
='test -s conftest.$ac_objext'
27141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27142 (eval $ac_try) 2>&5
27144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27145 (exit $ac_status); }; }; then
27146 wx_cv_func_statvfs
=yes
27148 echo "$as_me: failed program was:" >&5
27149 sed 's/^/| /' conftest.
$ac_ext >&5
27151 wx_cv_func_statvfs
=no
27154 rm -f conftest.
$ac_objext conftest.
$ac_ext
27157 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
27158 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
27160 if test "$wx_cv_func_statvfs" = "yes"; then
27164 ac_cpp
='$CXXCPP $CPPFLAGS'
27165 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27166 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27167 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27170 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
27171 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
27172 if test "${wx_cv_type_statvfs_t+set}" = set; then
27173 echo $ECHO_N "(cached) $ECHO_C" >&6
27175 cat >conftest.
$ac_ext <<_ACEOF
27176 #line $LINENO "configure"
27179 cat confdefs.h
>>conftest.
$ac_ext
27180 cat >>conftest.
$ac_ext <<_ACEOF
27181 /* end confdefs.h. */
27183 #include <sys/statvfs.h>
27200 rm -f conftest.
$ac_objext
27201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27202 (eval $ac_compile) 2>&5
27204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27205 (exit $ac_status); } &&
27206 { ac_try
='test -s conftest.$ac_objext'
27207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27208 (eval $ac_try) 2>&5
27210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27211 (exit $ac_status); }; }; then
27212 wx_cv_type_statvfs_t
=statvfs_t
27214 echo "$as_me: failed program was:" >&5
27215 sed 's/^/| /' conftest.
$ac_ext >&5
27218 cat >conftest.
$ac_ext <<_ACEOF
27219 #line $LINENO "configure"
27222 cat confdefs.h
>>conftest.
$ac_ext
27223 cat >>conftest.
$ac_ext <<_ACEOF
27224 /* end confdefs.h. */
27226 #include <sys/statvfs.h>
27243 rm -f conftest.
$ac_objext
27244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27245 (eval $ac_compile) 2>&5
27247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27248 (exit $ac_status); } &&
27249 { ac_try
='test -s conftest.$ac_objext'
27250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27251 (eval $ac_try) 2>&5
27253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27254 (exit $ac_status); }; }; then
27255 wx_cv_type_statvfs_t
="struct statvfs"
27257 echo "$as_me: failed program was:" >&5
27258 sed 's/^/| /' conftest.
$ac_ext >&5
27260 wx_cv_type_statvfs_t
="unknown"
27263 rm -f conftest.
$ac_objext conftest.
$ac_ext
27267 rm -f conftest.
$ac_objext conftest.
$ac_ext
27270 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
27271 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
27274 ac_cpp
='$CPP $CPPFLAGS'
27275 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27276 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27277 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27280 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27281 cat >>confdefs.h
<<\_ACEOF
27282 #define HAVE_STATVFS 1
27287 wx_cv_type_statvfs_t
="unknown"
27291 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27292 cat >>confdefs.h
<<_ACEOF
27293 #define WX_STATFS_T $wx_cv_type_statvfs_t
27297 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
27298 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
27301 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
27304 for ac_func
in fcntl flock
27306 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27307 echo "$as_me:$LINENO: checking for $ac_func" >&5
27308 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27309 if eval "test \"\${$as_ac_var+set}\" = set"; then
27310 echo $ECHO_N "(cached) $ECHO_C" >&6
27312 cat >conftest.
$ac_ext <<_ACEOF
27313 #line $LINENO "configure"
27316 cat confdefs.h
>>conftest.
$ac_ext
27317 cat >>conftest.
$ac_ext <<_ACEOF
27318 /* end confdefs.h. */
27319 /* System header to define __stub macros and hopefully few prototypes,
27320 which can conflict with char $ac_func (); below.
27321 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27322 <limits.h> exists even on freestanding compilers. */
27324 # include <limits.h>
27326 # include <assert.h>
27328 /* Override any gcc2 internal prototype to avoid an error. */
27333 /* We use char because int might match the return type of a gcc2
27334 builtin and then its argument prototype would still apply. */
27336 /* The GNU C library defines this for functions which it implements
27337 to always fail with ENOSYS. Some functions are actually named
27338 something starting with __ and the normal name is an alias. */
27339 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27342 char (*f) () = $ac_func;
27351 return f != $ac_func;
27356 rm -f conftest.
$ac_objext conftest
$ac_exeext
27357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27358 (eval $ac_link) 2>&5
27360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27361 (exit $ac_status); } &&
27362 { ac_try
='test -s conftest$ac_exeext'
27363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27364 (eval $ac_try) 2>&5
27366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27367 (exit $ac_status); }; }; then
27368 eval "$as_ac_var=yes"
27370 echo "$as_me: failed program was:" >&5
27371 sed 's/^/| /' conftest.
$ac_ext >&5
27373 eval "$as_ac_var=no"
27375 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27378 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27379 if test `eval echo '${'$as_ac_var'}'` = yes; then
27380 cat >>confdefs.h
<<_ACEOF
27381 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27388 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
27389 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
27390 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
27391 wxUSE_SNGLINST_CHECKER
=no
27396 for ac_func
in timegm
27398 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27399 echo "$as_me:$LINENO: checking for $ac_func" >&5
27400 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27401 if eval "test \"\${$as_ac_var+set}\" = set"; then
27402 echo $ECHO_N "(cached) $ECHO_C" >&6
27404 cat >conftest.
$ac_ext <<_ACEOF
27405 #line $LINENO "configure"
27408 cat confdefs.h
>>conftest.
$ac_ext
27409 cat >>conftest.
$ac_ext <<_ACEOF
27410 /* end confdefs.h. */
27411 /* System header to define __stub macros and hopefully few prototypes,
27412 which can conflict with char $ac_func (); below.
27413 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27414 <limits.h> exists even on freestanding compilers. */
27416 # include <limits.h>
27418 # include <assert.h>
27420 /* Override any gcc2 internal prototype to avoid an error. */
27425 /* We use char because int might match the return type of a gcc2
27426 builtin and then its argument prototype would still apply. */
27428 /* The GNU C library defines this for functions which it implements
27429 to always fail with ENOSYS. Some functions are actually named
27430 something starting with __ and the normal name is an alias. */
27431 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27434 char (*f) () = $ac_func;
27443 return f != $ac_func;
27448 rm -f conftest.
$ac_objext conftest
$ac_exeext
27449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27450 (eval $ac_link) 2>&5
27452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27453 (exit $ac_status); } &&
27454 { ac_try
='test -s conftest$ac_exeext'
27455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27456 (eval $ac_try) 2>&5
27458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27459 (exit $ac_status); }; }; then
27460 eval "$as_ac_var=yes"
27462 echo "$as_me: failed program was:" >&5
27463 sed 's/^/| /' conftest.
$ac_ext >&5
27465 eval "$as_ac_var=no"
27467 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27470 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27471 if test `eval echo '${'$as_ac_var'}'` = yes; then
27472 cat >>confdefs.h
<<_ACEOF
27473 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27482 for ac_func
in putenv setenv
27484 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27485 echo "$as_me:$LINENO: checking for $ac_func" >&5
27486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27487 if eval "test \"\${$as_ac_var+set}\" = set"; then
27488 echo $ECHO_N "(cached) $ECHO_C" >&6
27490 cat >conftest.
$ac_ext <<_ACEOF
27491 #line $LINENO "configure"
27494 cat confdefs.h
>>conftest.
$ac_ext
27495 cat >>conftest.
$ac_ext <<_ACEOF
27496 /* end confdefs.h. */
27497 /* System header to define __stub macros and hopefully few prototypes,
27498 which can conflict with char $ac_func (); below.
27499 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27500 <limits.h> exists even on freestanding compilers. */
27502 # include <limits.h>
27504 # include <assert.h>
27506 /* Override any gcc2 internal prototype to avoid an error. */
27511 /* We use char because int might match the return type of a gcc2
27512 builtin and then its argument prototype would still apply. */
27514 /* The GNU C library defines this for functions which it implements
27515 to always fail with ENOSYS. Some functions are actually named
27516 something starting with __ and the normal name is an alias. */
27517 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27520 char (*f) () = $ac_func;
27529 return f != $ac_func;
27534 rm -f conftest.
$ac_objext conftest
$ac_exeext
27535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27536 (eval $ac_link) 2>&5
27538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27539 (exit $ac_status); } &&
27540 { ac_try
='test -s conftest$ac_exeext'
27541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27542 (eval $ac_try) 2>&5
27544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27545 (exit $ac_status); }; }; then
27546 eval "$as_ac_var=yes"
27548 echo "$as_me: failed program was:" >&5
27549 sed 's/^/| /' conftest.
$ac_ext >&5
27551 eval "$as_ac_var=no"
27553 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27556 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27557 if test `eval echo '${'$as_ac_var'}'` = yes; then
27558 cat >>confdefs.h
<<_ACEOF
27559 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27566 HAVE_SOME_SLEEP_FUNC
=0
27567 if test "$USE_BEOS" = 1; then
27568 cat >>confdefs.h
<<\_ACEOF
27569 #define HAVE_SLEEP 1
27572 HAVE_SOME_SLEEP_FUNC
=1
27575 if test "$USE_DARWIN" = 1; then
27576 cat >>confdefs.h
<<\_ACEOF
27577 #define HAVE_USLEEP 1
27580 HAVE_SOME_SLEEP_FUNC
=1
27583 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
27586 for ac_func
in nanosleep
27588 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27589 echo "$as_me:$LINENO: checking for $ac_func" >&5
27590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27591 if eval "test \"\${$as_ac_var+set}\" = set"; then
27592 echo $ECHO_N "(cached) $ECHO_C" >&6
27594 cat >conftest.
$ac_ext <<_ACEOF
27595 #line $LINENO "configure"
27598 cat confdefs.h
>>conftest.
$ac_ext
27599 cat >>conftest.
$ac_ext <<_ACEOF
27600 /* end confdefs.h. */
27601 /* System header to define __stub macros and hopefully few prototypes,
27602 which can conflict with char $ac_func (); below.
27603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27604 <limits.h> exists even on freestanding compilers. */
27606 # include <limits.h>
27608 # include <assert.h>
27610 /* Override any gcc2 internal prototype to avoid an error. */
27615 /* We use char because int might match the return type of a gcc2
27616 builtin and then its argument prototype would still apply. */
27618 /* The GNU C library defines this for functions which it implements
27619 to always fail with ENOSYS. Some functions are actually named
27620 something starting with __ and the normal name is an alias. */
27621 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27624 char (*f) () = $ac_func;
27633 return f != $ac_func;
27638 rm -f conftest.
$ac_objext conftest
$ac_exeext
27639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27640 (eval $ac_link) 2>&5
27642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27643 (exit $ac_status); } &&
27644 { ac_try
='test -s conftest$ac_exeext'
27645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27646 (eval $ac_try) 2>&5
27648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27649 (exit $ac_status); }; }; then
27650 eval "$as_ac_var=yes"
27652 echo "$as_me: failed program was:" >&5
27653 sed 's/^/| /' conftest.
$ac_ext >&5
27655 eval "$as_ac_var=no"
27657 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27660 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27661 if test `eval echo '${'$as_ac_var'}'` = yes; then
27662 cat >>confdefs.h
<<_ACEOF
27663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27665 cat >>confdefs.h
<<\_ACEOF
27666 #define HAVE_NANOSLEEP 1
27671 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
27672 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
27673 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
27674 echo $ECHO_N "(cached) $ECHO_C" >&6
27676 ac_check_lib_save_LIBS
=$LIBS
27677 LIBS
="-lposix4 $LIBS"
27678 cat >conftest.
$ac_ext <<_ACEOF
27679 #line $LINENO "configure"
27682 cat confdefs.h
>>conftest.
$ac_ext
27683 cat >>conftest.
$ac_ext <<_ACEOF
27684 /* end confdefs.h. */
27686 /* Override any gcc2 internal prototype to avoid an error. */
27690 /* We use char because int might match the return type of a gcc2
27691 builtin and then its argument prototype would still apply. */
27701 rm -f conftest.
$ac_objext conftest
$ac_exeext
27702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27703 (eval $ac_link) 2>&5
27705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27706 (exit $ac_status); } &&
27707 { ac_try
='test -s conftest$ac_exeext'
27708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27709 (eval $ac_try) 2>&5
27711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27712 (exit $ac_status); }; }; then
27713 ac_cv_lib_posix4_nanosleep
=yes
27715 echo "$as_me: failed program was:" >&5
27716 sed 's/^/| /' conftest.
$ac_ext >&5
27718 ac_cv_lib_posix4_nanosleep
=no
27720 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27721 LIBS
=$ac_check_lib_save_LIBS
27723 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
27724 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
27725 if test $ac_cv_lib_posix4_nanosleep = yes; then
27727 cat >>confdefs.h
<<\_ACEOF
27728 #define HAVE_NANOSLEEP 1
27731 POSIX4_LINK
=" -lposix4"
27736 for ac_func
in usleep
27738 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27739 echo "$as_me:$LINENO: checking for $ac_func" >&5
27740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27741 if eval "test \"\${$as_ac_var+set}\" = set"; then
27742 echo $ECHO_N "(cached) $ECHO_C" >&6
27744 cat >conftest.
$ac_ext <<_ACEOF
27745 #line $LINENO "configure"
27748 cat confdefs.h
>>conftest.
$ac_ext
27749 cat >>conftest.
$ac_ext <<_ACEOF
27750 /* end confdefs.h. */
27751 /* System header to define __stub macros and hopefully few prototypes,
27752 which can conflict with char $ac_func (); below.
27753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27754 <limits.h> exists even on freestanding compilers. */
27756 # include <limits.h>
27758 # include <assert.h>
27760 /* Override any gcc2 internal prototype to avoid an error. */
27765 /* We use char because int might match the return type of a gcc2
27766 builtin and then its argument prototype would still apply. */
27768 /* The GNU C library defines this for functions which it implements
27769 to always fail with ENOSYS. Some functions are actually named
27770 something starting with __ and the normal name is an alias. */
27771 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27774 char (*f) () = $ac_func;
27783 return f != $ac_func;
27788 rm -f conftest.
$ac_objext conftest
$ac_exeext
27789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27790 (eval $ac_link) 2>&5
27792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27793 (exit $ac_status); } &&
27794 { ac_try
='test -s conftest$ac_exeext'
27795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27796 (eval $ac_try) 2>&5
27798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27799 (exit $ac_status); }; }; then
27800 eval "$as_ac_var=yes"
27802 echo "$as_me: failed program was:" >&5
27803 sed 's/^/| /' conftest.
$ac_ext >&5
27805 eval "$as_ac_var=no"
27807 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27810 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27811 if test `eval echo '${'$as_ac_var'}'` = yes; then
27812 cat >>confdefs.h
<<_ACEOF
27813 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27815 cat >>confdefs.h
<<\_ACEOF
27816 #define HAVE_USLEEP 1
27820 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
27821 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
27839 for ac_func
in uname gethostname
27841 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27842 echo "$as_me:$LINENO: checking for $ac_func" >&5
27843 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27844 if eval "test \"\${$as_ac_var+set}\" = set"; then
27845 echo $ECHO_N "(cached) $ECHO_C" >&6
27847 cat >conftest.
$ac_ext <<_ACEOF
27848 #line $LINENO "configure"
27851 cat confdefs.h
>>conftest.
$ac_ext
27852 cat >>conftest.
$ac_ext <<_ACEOF
27853 /* end confdefs.h. */
27854 /* System header to define __stub macros and hopefully few prototypes,
27855 which can conflict with char $ac_func (); below.
27856 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27857 <limits.h> exists even on freestanding compilers. */
27859 # include <limits.h>
27861 # include <assert.h>
27863 /* Override any gcc2 internal prototype to avoid an error. */
27868 /* We use char because int might match the return type of a gcc2
27869 builtin and then its argument prototype would still apply. */
27871 /* The GNU C library defines this for functions which it implements
27872 to always fail with ENOSYS. Some functions are actually named
27873 something starting with __ and the normal name is an alias. */
27874 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27877 char (*f) () = $ac_func;
27886 return f != $ac_func;
27891 rm -f conftest.
$ac_objext conftest
$ac_exeext
27892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27893 (eval $ac_link) 2>&5
27895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27896 (exit $ac_status); } &&
27897 { ac_try
='test -s conftest$ac_exeext'
27898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27899 (eval $ac_try) 2>&5
27901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27902 (exit $ac_status); }; }; then
27903 eval "$as_ac_var=yes"
27905 echo "$as_me: failed program was:" >&5
27906 sed 's/^/| /' conftest.
$ac_ext >&5
27908 eval "$as_ac_var=no"
27910 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27913 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27914 if test `eval echo '${'$as_ac_var'}'` = yes; then
27915 cat >>confdefs.h
<<_ACEOF
27916 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27926 ac_cpp
='$CXXCPP $CPPFLAGS'
27927 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27928 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27929 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27933 for ac_func
in strtok_r
27935 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27936 echo "$as_me:$LINENO: checking for $ac_func" >&5
27937 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27938 if eval "test \"\${$as_ac_var+set}\" = set"; then
27939 echo $ECHO_N "(cached) $ECHO_C" >&6
27941 cat >conftest.
$ac_ext <<_ACEOF
27942 #line $LINENO "configure"
27945 cat confdefs.h
>>conftest.
$ac_ext
27946 cat >>conftest.
$ac_ext <<_ACEOF
27947 /* end confdefs.h. */
27948 /* System header to define __stub macros and hopefully few prototypes,
27949 which can conflict with char $ac_func (); below.
27950 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27951 <limits.h> exists even on freestanding compilers. */
27953 # include <limits.h>
27955 # include <assert.h>
27957 /* Override any gcc2 internal prototype to avoid an error. */
27962 /* We use char because int might match the return type of a gcc2
27963 builtin and then its argument prototype would still apply. */
27965 /* The GNU C library defines this for functions which it implements
27966 to always fail with ENOSYS. Some functions are actually named
27967 something starting with __ and the normal name is an alias. */
27968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27971 char (*f) () = $ac_func;
27980 return f != $ac_func;
27985 rm -f conftest.
$ac_objext conftest
$ac_exeext
27986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27987 (eval $ac_link) 2>&5
27989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27990 (exit $ac_status); } &&
27991 { ac_try
='test -s conftest$ac_exeext'
27992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27993 (eval $ac_try) 2>&5
27995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27996 (exit $ac_status); }; }; then
27997 eval "$as_ac_var=yes"
27999 echo "$as_me: failed program was:" >&5
28000 sed 's/^/| /' conftest.
$ac_ext >&5
28002 eval "$as_ac_var=no"
28004 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28006 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28007 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28008 if test `eval echo '${'$as_ac_var'}'` = yes; then
28009 cat >>confdefs.h
<<_ACEOF
28010 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28018 ac_cpp
='$CPP $CPPFLAGS'
28019 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28020 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28021 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28026 for ac_func
in inet_addr
28028 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28029 echo "$as_me:$LINENO: checking for $ac_func" >&5
28030 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28031 if eval "test \"\${$as_ac_var+set}\" = set"; then
28032 echo $ECHO_N "(cached) $ECHO_C" >&6
28034 cat >conftest.
$ac_ext <<_ACEOF
28035 #line $LINENO "configure"
28038 cat confdefs.h
>>conftest.
$ac_ext
28039 cat >>conftest.
$ac_ext <<_ACEOF
28040 /* end confdefs.h. */
28041 /* System header to define __stub macros and hopefully few prototypes,
28042 which can conflict with char $ac_func (); below.
28043 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28044 <limits.h> exists even on freestanding compilers. */
28046 # include <limits.h>
28048 # include <assert.h>
28050 /* Override any gcc2 internal prototype to avoid an error. */
28055 /* We use char because int might match the return type of a gcc2
28056 builtin and then its argument prototype would still apply. */
28058 /* The GNU C library defines this for functions which it implements
28059 to always fail with ENOSYS. Some functions are actually named
28060 something starting with __ and the normal name is an alias. */
28061 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28064 char (*f) () = $ac_func;
28073 return f != $ac_func;
28078 rm -f conftest.
$ac_objext conftest
$ac_exeext
28079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28080 (eval $ac_link) 2>&5
28082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28083 (exit $ac_status); } &&
28084 { ac_try
='test -s conftest$ac_exeext'
28085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28086 (eval $ac_try) 2>&5
28088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28089 (exit $ac_status); }; }; then
28090 eval "$as_ac_var=yes"
28092 echo "$as_me: failed program was:" >&5
28093 sed 's/^/| /' conftest.
$ac_ext >&5
28095 eval "$as_ac_var=no"
28097 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28100 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28101 if test `eval echo '${'$as_ac_var'}'` = yes; then
28102 cat >>confdefs.h
<<_ACEOF
28103 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28105 cat >>confdefs.h
<<\_ACEOF
28106 #define HAVE_INET_ADDR 1
28111 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
28112 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
28113 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
28114 echo $ECHO_N "(cached) $ECHO_C" >&6
28116 ac_check_lib_save_LIBS
=$LIBS
28118 cat >conftest.
$ac_ext <<_ACEOF
28119 #line $LINENO "configure"
28122 cat confdefs.h
>>conftest.
$ac_ext
28123 cat >>conftest.
$ac_ext <<_ACEOF
28124 /* end confdefs.h. */
28126 /* Override any gcc2 internal prototype to avoid an error. */
28130 /* We use char because int might match the return type of a gcc2
28131 builtin and then its argument prototype would still apply. */
28141 rm -f conftest.
$ac_objext conftest
$ac_exeext
28142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28143 (eval $ac_link) 2>&5
28145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28146 (exit $ac_status); } &&
28147 { ac_try
='test -s conftest$ac_exeext'
28148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28149 (eval $ac_try) 2>&5
28151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28152 (exit $ac_status); }; }; then
28153 ac_cv_lib_nsl_inet_addr
=yes
28155 echo "$as_me: failed program was:" >&5
28156 sed 's/^/| /' conftest.
$ac_ext >&5
28158 ac_cv_lib_nsl_inet_addr
=no
28160 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28161 LIBS
=$ac_check_lib_save_LIBS
28163 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
28164 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
28165 if test $ac_cv_lib_nsl_inet_addr = yes; then
28168 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
28169 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
28170 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
28171 echo $ECHO_N "(cached) $ECHO_C" >&6
28173 ac_check_lib_save_LIBS
=$LIBS
28174 LIBS
="-lresolv $LIBS"
28175 cat >conftest.
$ac_ext <<_ACEOF
28176 #line $LINENO "configure"
28179 cat confdefs.h
>>conftest.
$ac_ext
28180 cat >>conftest.
$ac_ext <<_ACEOF
28181 /* end confdefs.h. */
28183 /* Override any gcc2 internal prototype to avoid an error. */
28187 /* We use char because int might match the return type of a gcc2
28188 builtin and then its argument prototype would still apply. */
28198 rm -f conftest.
$ac_objext conftest
$ac_exeext
28199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28200 (eval $ac_link) 2>&5
28202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28203 (exit $ac_status); } &&
28204 { ac_try
='test -s conftest$ac_exeext'
28205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28206 (eval $ac_try) 2>&5
28208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28209 (exit $ac_status); }; }; then
28210 ac_cv_lib_resolv_inet_addr
=yes
28212 echo "$as_me: failed program was:" >&5
28213 sed 's/^/| /' conftest.
$ac_ext >&5
28215 ac_cv_lib_resolv_inet_addr
=no
28217 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28218 LIBS
=$ac_check_lib_save_LIBS
28220 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
28221 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
28222 if test $ac_cv_lib_resolv_inet_addr = yes; then
28225 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
28226 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
28227 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
28228 echo $ECHO_N "(cached) $ECHO_C" >&6
28230 ac_check_lib_save_LIBS
=$LIBS
28231 LIBS
="-lsocket $LIBS"
28232 cat >conftest.
$ac_ext <<_ACEOF
28233 #line $LINENO "configure"
28236 cat confdefs.h
>>conftest.
$ac_ext
28237 cat >>conftest.
$ac_ext <<_ACEOF
28238 /* end confdefs.h. */
28240 /* 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. */
28255 rm -f conftest.
$ac_objext conftest
$ac_exeext
28256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28257 (eval $ac_link) 2>&5
28259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28260 (exit $ac_status); } &&
28261 { ac_try
='test -s conftest$ac_exeext'
28262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28263 (eval $ac_try) 2>&5
28265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28266 (exit $ac_status); }; }; then
28267 ac_cv_lib_socket_inet_addr
=yes
28269 echo "$as_me: failed program was:" >&5
28270 sed 's/^/| /' conftest.
$ac_ext >&5
28272 ac_cv_lib_socket_inet_addr
=no
28274 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28275 LIBS
=$ac_check_lib_save_LIBS
28277 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
28278 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
28279 if test $ac_cv_lib_socket_inet_addr = yes; then
28297 for ac_func
in inet_aton
28299 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28300 echo "$as_me:$LINENO: checking for $ac_func" >&5
28301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28302 if eval "test \"\${$as_ac_var+set}\" = set"; then
28303 echo $ECHO_N "(cached) $ECHO_C" >&6
28305 cat >conftest.
$ac_ext <<_ACEOF
28306 #line $LINENO "configure"
28309 cat confdefs.h
>>conftest.
$ac_ext
28310 cat >>conftest.
$ac_ext <<_ACEOF
28311 /* end confdefs.h. */
28312 /* System header to define __stub macros and hopefully few prototypes,
28313 which can conflict with char $ac_func (); below.
28314 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28315 <limits.h> exists even on freestanding compilers. */
28317 # include <limits.h>
28319 # include <assert.h>
28321 /* Override any gcc2 internal prototype to avoid an error. */
28326 /* We use char because int might match the return type of a gcc2
28327 builtin and then its argument prototype would still apply. */
28329 /* The GNU C library defines this for functions which it implements
28330 to always fail with ENOSYS. Some functions are actually named
28331 something starting with __ and the normal name is an alias. */
28332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28335 char (*f) () = $ac_func;
28344 return f != $ac_func;
28349 rm -f conftest.
$ac_objext conftest
$ac_exeext
28350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28351 (eval $ac_link) 2>&5
28353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28354 (exit $ac_status); } &&
28355 { ac_try
='test -s conftest$ac_exeext'
28356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28357 (eval $ac_try) 2>&5
28359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28360 (exit $ac_status); }; }; then
28361 eval "$as_ac_var=yes"
28363 echo "$as_me: failed program was:" >&5
28364 sed 's/^/| /' conftest.
$ac_ext >&5
28366 eval "$as_ac_var=no"
28368 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28371 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28372 if test `eval echo '${'$as_ac_var'}'` = yes; then
28373 cat >>confdefs.h
<<_ACEOF
28374 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28376 cat >>confdefs.h
<<\_ACEOF
28377 #define HAVE_INET_ATON 1
28382 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
28383 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
28384 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
28385 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
28386 echo $ECHO_N "(cached) $ECHO_C" >&6
28388 ac_check_lib_save_LIBS
=$LIBS
28389 LIBS
="-l$INET_LINK $LIBS"
28390 cat >conftest.
$ac_ext <<_ACEOF
28391 #line $LINENO "configure"
28394 cat confdefs.h
>>conftest.
$ac_ext
28395 cat >>conftest.
$ac_ext <<_ACEOF
28396 /* end confdefs.h. */
28398 /* Override any gcc2 internal prototype to avoid an error. */
28402 /* We use char because int might match the return type of a gcc2
28403 builtin and then its argument prototype would still apply. */
28413 rm -f conftest.
$ac_objext conftest
$ac_exeext
28414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28415 (eval $ac_link) 2>&5
28417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28418 (exit $ac_status); } &&
28419 { ac_try
='test -s conftest$ac_exeext'
28420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28421 (eval $ac_try) 2>&5
28423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28424 (exit $ac_status); }; }; then
28425 eval "$as_ac_Lib=yes"
28427 echo "$as_me: failed program was:" >&5
28428 sed 's/^/| /' conftest.
$ac_ext >&5
28430 eval "$as_ac_Lib=no"
28432 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28433 LIBS
=$ac_check_lib_save_LIBS
28435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
28436 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
28437 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
28438 cat >>confdefs.h
<<\_ACEOF
28439 #define HAVE_INET_ATON 1
28449 if test "x$INET_LINK" != "x"; then
28450 cat >>confdefs.h
<<\_ACEOF
28451 #define HAVE_INET_ADDR 1
28454 INET_LINK
=" -l$INET_LINK"
28462 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
28463 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
28464 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
28465 echo $ECHO_N "(cached) $ECHO_C" >&6
28467 ac_check_lib_save_LIBS
=$LIBS
28469 cat >conftest.
$ac_ext <<_ACEOF
28470 #line $LINENO "configure"
28473 cat confdefs.h
>>conftest.
$ac_ext
28474 cat >>conftest.
$ac_ext <<_ACEOF
28475 /* end confdefs.h. */
28477 /* Override any gcc2 internal prototype to avoid an error. */
28481 /* We use char because int might match the return type of a gcc2
28482 builtin and then its argument prototype would still apply. */
28492 rm -f conftest.
$ac_objext conftest
$ac_exeext
28493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28494 (eval $ac_link) 2>&5
28496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28497 (exit $ac_status); } &&
28498 { ac_try
='test -s conftest$ac_exeext'
28499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28500 (eval $ac_try) 2>&5
28502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28503 (exit $ac_status); }; }; then
28504 ac_cv_lib_esd_esd_close
=yes
28506 echo "$as_me: failed program was:" >&5
28507 sed 's/^/| /' conftest.
$ac_ext >&5
28509 ac_cv_lib_esd_esd_close
=no
28511 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28512 LIBS
=$ac_check_lib_save_LIBS
28514 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
28515 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
28516 if test $ac_cv_lib_esd_esd_close = yes; then
28519 for ac_header
in esd.h
28521 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28522 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28523 echo "$as_me:$LINENO: checking for $ac_header" >&5
28524 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28525 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28526 echo $ECHO_N "(cached) $ECHO_C" >&6
28528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28529 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28531 # Is the header compilable?
28532 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28533 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28534 cat >conftest.
$ac_ext <<_ACEOF
28535 #line $LINENO "configure"
28538 cat confdefs.h
>>conftest.
$ac_ext
28539 cat >>conftest.
$ac_ext <<_ACEOF
28540 /* end confdefs.h. */
28541 $ac_includes_default
28542 #include <$ac_header>
28544 rm -f conftest.
$ac_objext
28545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28546 (eval $ac_compile) 2>&5
28548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28549 (exit $ac_status); } &&
28550 { ac_try
='test -s conftest.$ac_objext'
28551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28552 (eval $ac_try) 2>&5
28554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28555 (exit $ac_status); }; }; then
28556 ac_header_compiler
=yes
28558 echo "$as_me: failed program was:" >&5
28559 sed 's/^/| /' conftest.
$ac_ext >&5
28561 ac_header_compiler
=no
28563 rm -f conftest.
$ac_objext conftest.
$ac_ext
28564 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28565 echo "${ECHO_T}$ac_header_compiler" >&6
28567 # Is the header present?
28568 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28569 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28570 cat >conftest.
$ac_ext <<_ACEOF
28571 #line $LINENO "configure"
28574 cat confdefs.h
>>conftest.
$ac_ext
28575 cat >>conftest.
$ac_ext <<_ACEOF
28576 /* end confdefs.h. */
28577 #include <$ac_header>
28579 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28580 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28582 grep -v '^ *+' conftest.er1
>conftest.err
28584 cat conftest.err
>&5
28585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28586 (exit $ac_status); } >/dev
/null
; then
28587 if test -s conftest.err
; then
28588 ac_cpp_err
=$ac_c_preproc_warn_flag
28595 if test -z "$ac_cpp_err"; then
28596 ac_header_preproc
=yes
28598 echo "$as_me: failed program was:" >&5
28599 sed 's/^/| /' conftest.
$ac_ext >&5
28601 ac_header_preproc
=no
28603 rm -f conftest.err conftest.
$ac_ext
28604 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28605 echo "${ECHO_T}$ac_header_preproc" >&6
28607 # So? What about this header?
28608 case $ac_header_compiler:$ac_header_preproc in
28610 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28611 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28612 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28613 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28616 ## ------------------------------------ ##
28617 ## Report this to bug-autoconf@gnu.org. ##
28618 ## ------------------------------------ ##
28621 sed "s/^/$as_me: WARNING: /" >&2
28624 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28625 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28626 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28627 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28628 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28629 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28632 ## ------------------------------------ ##
28633 ## Report this to bug-autoconf@gnu.org. ##
28634 ## ------------------------------------ ##
28637 sed "s/^/$as_me: WARNING: /" >&2
28640 echo "$as_me:$LINENO: checking for $ac_header" >&5
28641 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28642 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28643 echo $ECHO_N "(cached) $ECHO_C" >&6
28645 eval "$as_ac_Header=$ac_header_preproc"
28647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28648 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28651 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28652 cat >>confdefs.h
<<_ACEOF
28653 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28656 EXTRALIBS_ESD
="-lesd"
28669 cat >confcache
<<\_ACEOF
28670 # This file is a shell script that caches the results of configure
28671 # tests run on this system so they can be shared between configure
28672 # scripts and configure runs, see configure's option --config-cache.
28673 # It is not useful on other systems. If it contains results you don't
28674 # want to keep, you may remove or edit it.
28676 # config.status only pays attention to the cache file if you give it
28677 # the --recheck option to rerun configure.
28679 # `ac_cv_env_foo' variables (set or unset) will be overridden when
28680 # loading this file, other *unset* `ac_cv_foo' will be assigned the
28681 # following values.
28685 # The following way of writing the cache mishandles newlines in values,
28686 # but we know of no workaround that is simple, portable, and efficient.
28687 # So, don't put newlines in cache variables' values.
28688 # Ultrix sh set writes to stderr and can't be redirected directly,
28689 # and sets the high bit in the cache file unless we assign to the vars.
28692 case `(ac_space=' '; set | grep ac_space) 2>&1` in
28694 # `set' does not quote correctly, so add quotes (double-quote
28695 # substitution turns \\\\ into \\, and sed turns \\ into \).
28698 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28701 # `set' quotes correctly as required by POSIX, so do not add quotes.
28703 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
28710 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28712 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28714 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
28715 if test -w $cache_file; then
28716 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
28717 cat confcache
>$cache_file
28719 echo "not updating unwritable cache $cache_file"
28726 if test "$TOOLKIT" != "MSW"; then
28732 if test "$wxUSE_THREADS" = "yes" ; then
28733 if test "$USE_BEOS" = 1; then
28734 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
28735 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
28740 if test "$wxUSE_THREADS" = "yes" ; then
28743 THREAD_OPTS
="-pthread"
28745 *-*-solaris2* | *-*-sunos4* )
28746 if test "x$GCC" = "xyes"; then
28747 THREAD_OPTS
="-pthreads $THREAD_OPTS"
28749 THREAD_OPTS
="-mt $THREAD_OPTS"
28753 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
28755 *-*-darwin* | *-*-cygwin* )
28759 THREAD_OPTS
="pthreads"
28762 if test "x$GCC" != "xyes"; then
28768 if test "x$GCC" = "xyes"; then
28774 if test "x$GCC" != "xyes"; then
28775 THREAD_OPTS
="-Ethread"
28780 THREAD_OPTS
="$THREAD_OPTS pthread none"
28783 for flag
in $THREAD_OPTS; do
28786 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
28787 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
28791 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
28792 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
28793 THREADS_CFLAGS
="$flag"
28797 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
28798 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
28799 THREADS_LINK
="-l$flag"
28804 save_CFLAGS
="$CFLAGS"
28805 LIBS
="$THREADS_LINK $LIBS"
28806 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
28808 cat >conftest.
$ac_ext <<_ACEOF
28809 #line $LINENO "configure"
28812 cat confdefs.h
>>conftest.
$ac_ext
28813 cat >>conftest.
$ac_ext <<_ACEOF
28814 /* end confdefs.h. */
28815 #include <pthread.h>
28819 pthread_create(0,0,0,0);
28824 rm -f conftest.
$ac_objext conftest
$ac_exeext
28825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28826 (eval $ac_link) 2>&5
28828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28829 (exit $ac_status); } &&
28830 { ac_try
='test -s conftest$ac_exeext'
28831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28832 (eval $ac_try) 2>&5
28834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28835 (exit $ac_status); }; }; then
28838 echo "$as_me: failed program was:" >&5
28839 sed 's/^/| /' conftest.
$ac_ext >&5
28842 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28845 CFLAGS
="$save_CFLAGS"
28847 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
28848 echo "${ECHO_T}$THREADS_OK" >&6
28849 if test "x$THREADS_OK" = "xyes"; then
28857 if test "x$THREADS_OK" != "xyes"; then
28859 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
28860 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
28862 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
28863 LIBS
="$THREADS_LINK $LIBS"
28865 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
28866 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
28870 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
28871 flag
="-D_THREAD_SAFE"
28874 flag
="-D_THREAD_SAFE"
28877 flag
="-D_REENTRANT"
28878 if test "x$GCC" != "xyes"; then
28879 flag
="$flag -D_RWSTD_MULTI_THREAD"
28882 *solaris
* | alpha
*-osf*)
28883 flag
="-D_REENTRANT"
28886 echo "$as_me:$LINENO: result: ${flag}" >&5
28887 echo "${ECHO_T}${flag}" >&6
28888 if test "x$flag" != xno
; then
28889 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
28892 if test "x$THREADS_CFLAGS" != "x"; then
28893 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
28894 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
28899 if test "$wxUSE_THREADS" = "yes" ; then
28901 for ac_func
in thr_setconcurrency
28903 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28904 echo "$as_me:$LINENO: checking for $ac_func" >&5
28905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28906 if eval "test \"\${$as_ac_var+set}\" = set"; then
28907 echo $ECHO_N "(cached) $ECHO_C" >&6
28909 cat >conftest.
$ac_ext <<_ACEOF
28910 #line $LINENO "configure"
28913 cat confdefs.h
>>conftest.
$ac_ext
28914 cat >>conftest.
$ac_ext <<_ACEOF
28915 /* end confdefs.h. */
28916 /* System header to define __stub macros and hopefully few prototypes,
28917 which can conflict with char $ac_func (); below.
28918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28919 <limits.h> exists even on freestanding compilers. */
28921 # include <limits.h>
28923 # include <assert.h>
28925 /* Override any gcc2 internal prototype to avoid an error. */
28930 /* We use char because int might match the return type of a gcc2
28931 builtin and then its argument prototype would still apply. */
28933 /* The GNU C library defines this for functions which it implements
28934 to always fail with ENOSYS. Some functions are actually named
28935 something starting with __ and the normal name is an alias. */
28936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28939 char (*f) () = $ac_func;
28948 return f != $ac_func;
28953 rm -f conftest.
$ac_objext conftest
$ac_exeext
28954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28955 (eval $ac_link) 2>&5
28957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28958 (exit $ac_status); } &&
28959 { ac_try
='test -s conftest$ac_exeext'
28960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28961 (eval $ac_try) 2>&5
28963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28964 (exit $ac_status); }; }; then
28965 eval "$as_ac_var=yes"
28967 echo "$as_me: failed program was:" >&5
28968 sed 's/^/| /' conftest.
$ac_ext >&5
28970 eval "$as_ac_var=no"
28972 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28975 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28976 if test `eval echo '${'$as_ac_var'}'` = yes; then
28977 cat >>confdefs.h
<<_ACEOF
28978 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28986 for ac_header
in sched.h
28988 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28989 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28990 echo "$as_me:$LINENO: checking for $ac_header" >&5
28991 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28992 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28993 echo $ECHO_N "(cached) $ECHO_C" >&6
28995 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28996 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28998 # Is the header compilable?
28999 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29000 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29001 cat >conftest.
$ac_ext <<_ACEOF
29002 #line $LINENO "configure"
29005 cat confdefs.h
>>conftest.
$ac_ext
29006 cat >>conftest.
$ac_ext <<_ACEOF
29007 /* end confdefs.h. */
29008 $ac_includes_default
29009 #include <$ac_header>
29011 rm -f conftest.
$ac_objext
29012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29013 (eval $ac_compile) 2>&5
29015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29016 (exit $ac_status); } &&
29017 { ac_try
='test -s conftest.$ac_objext'
29018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29019 (eval $ac_try) 2>&5
29021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29022 (exit $ac_status); }; }; then
29023 ac_header_compiler
=yes
29025 echo "$as_me: failed program was:" >&5
29026 sed 's/^/| /' conftest.
$ac_ext >&5
29028 ac_header_compiler
=no
29030 rm -f conftest.
$ac_objext conftest.
$ac_ext
29031 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29032 echo "${ECHO_T}$ac_header_compiler" >&6
29034 # Is the header present?
29035 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29036 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29037 cat >conftest.
$ac_ext <<_ACEOF
29038 #line $LINENO "configure"
29041 cat confdefs.h
>>conftest.
$ac_ext
29042 cat >>conftest.
$ac_ext <<_ACEOF
29043 /* end confdefs.h. */
29044 #include <$ac_header>
29046 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29047 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29049 grep -v '^ *+' conftest.er1
>conftest.err
29051 cat conftest.err
>&5
29052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29053 (exit $ac_status); } >/dev
/null
; then
29054 if test -s conftest.err
; then
29055 ac_cpp_err
=$ac_c_preproc_warn_flag
29062 if test -z "$ac_cpp_err"; then
29063 ac_header_preproc
=yes
29065 echo "$as_me: failed program was:" >&5
29066 sed 's/^/| /' conftest.
$ac_ext >&5
29068 ac_header_preproc
=no
29070 rm -f conftest.err conftest.
$ac_ext
29071 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29072 echo "${ECHO_T}$ac_header_preproc" >&6
29074 # So? What about this header?
29075 case $ac_header_compiler:$ac_header_preproc in
29077 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29078 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29079 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29080 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29083 ## ------------------------------------ ##
29084 ## Report this to bug-autoconf@gnu.org. ##
29085 ## ------------------------------------ ##
29088 sed "s/^/$as_me: WARNING: /" >&2
29091 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29092 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29093 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29094 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29095 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29096 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29099 ## ------------------------------------ ##
29100 ## Report this to bug-autoconf@gnu.org. ##
29101 ## ------------------------------------ ##
29104 sed "s/^/$as_me: WARNING: /" >&2
29107 echo "$as_me:$LINENO: checking for $ac_header" >&5
29108 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29109 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29110 echo $ECHO_N "(cached) $ECHO_C" >&6
29112 eval "$as_ac_Header=$ac_header_preproc"
29114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29115 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29118 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29119 cat >>confdefs.h
<<_ACEOF
29120 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29127 if test "$ac_cv_header_sched_h" = "yes"; then
29128 echo "$as_me:$LINENO: checking for sched_yield" >&5
29129 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
29130 if test "${ac_cv_func_sched_yield+set}" = set; then
29131 echo $ECHO_N "(cached) $ECHO_C" >&6
29133 cat >conftest.
$ac_ext <<_ACEOF
29134 #line $LINENO "configure"
29137 cat confdefs.h
>>conftest.
$ac_ext
29138 cat >>conftest.
$ac_ext <<_ACEOF
29139 /* end confdefs.h. */
29140 /* System header to define __stub macros and hopefully few prototypes,
29141 which can conflict with char sched_yield (); below.
29142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29143 <limits.h> exists even on freestanding compilers. */
29145 # include <limits.h>
29147 # include <assert.h>
29149 /* Override any gcc2 internal prototype to avoid an error. */
29154 /* We use char because int might match the return type of a gcc2
29155 builtin and then its argument prototype would still apply. */
29156 char sched_yield ();
29157 /* The GNU C library defines this for functions which it implements
29158 to always fail with ENOSYS. Some functions are actually named
29159 something starting with __ and the normal name is an alias. */
29160 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
29163 char (*f) () = sched_yield;
29172 return f != sched_yield;
29177 rm -f conftest.
$ac_objext conftest
$ac_exeext
29178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29179 (eval $ac_link) 2>&5
29181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29182 (exit $ac_status); } &&
29183 { ac_try
='test -s conftest$ac_exeext'
29184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29185 (eval $ac_try) 2>&5
29187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29188 (exit $ac_status); }; }; then
29189 ac_cv_func_sched_yield
=yes
29191 echo "$as_me: failed program was:" >&5
29192 sed 's/^/| /' conftest.
$ac_ext >&5
29194 ac_cv_func_sched_yield
=no
29196 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29198 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
29199 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
29200 if test $ac_cv_func_sched_yield = yes; then
29201 cat >>confdefs.h
<<\_ACEOF
29202 #define HAVE_SCHED_YIELD 1
29207 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
29208 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
29209 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
29210 echo $ECHO_N "(cached) $ECHO_C" >&6
29212 ac_check_lib_save_LIBS
=$LIBS
29213 LIBS
="-lposix4 $LIBS"
29214 cat >conftest.
$ac_ext <<_ACEOF
29215 #line $LINENO "configure"
29218 cat confdefs.h
>>conftest.
$ac_ext
29219 cat >>conftest.
$ac_ext <<_ACEOF
29220 /* end confdefs.h. */
29222 /* Override any gcc2 internal prototype to avoid an error. */
29226 /* We use char because int might match the return type of a gcc2
29227 builtin and then its argument prototype would still apply. */
29228 char sched_yield ();
29237 rm -f conftest.
$ac_objext conftest
$ac_exeext
29238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29239 (eval $ac_link) 2>&5
29241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29242 (exit $ac_status); } &&
29243 { ac_try
='test -s conftest$ac_exeext'
29244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29245 (eval $ac_try) 2>&5
29247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29248 (exit $ac_status); }; }; then
29249 ac_cv_lib_posix4_sched_yield
=yes
29251 echo "$as_me: failed program was:" >&5
29252 sed 's/^/| /' conftest.
$ac_ext >&5
29254 ac_cv_lib_posix4_sched_yield
=no
29256 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29257 LIBS
=$ac_check_lib_save_LIBS
29259 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
29260 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
29261 if test $ac_cv_lib_posix4_sched_yield = yes; then
29262 cat >>confdefs.h
<<\_ACEOF
29263 #define HAVE_SCHED_YIELD 1
29265 POSIX4_LINK
=" -lposix4"
29267 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
29268 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
29279 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
29280 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
29281 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
29282 echo $ECHO_N "(cached) $ECHO_C" >&6
29284 cat >conftest.
$ac_ext <<_ACEOF
29285 #line $LINENO "configure"
29288 cat confdefs.h
>>conftest.
$ac_ext
29289 cat >>conftest.
$ac_ext <<_ACEOF
29290 /* end confdefs.h. */
29291 /* System header to define __stub macros and hopefully few prototypes,
29292 which can conflict with char pthread_attr_getschedpolicy (); below.
29293 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29294 <limits.h> exists even on freestanding compilers. */
29296 # include <limits.h>
29298 # include <assert.h>
29300 /* Override any gcc2 internal prototype to avoid an error. */
29305 /* We use char because int might match the return type of a gcc2
29306 builtin and then its argument prototype would still apply. */
29307 char pthread_attr_getschedpolicy ();
29308 /* The GNU C library defines this for functions which it implements
29309 to always fail with ENOSYS. Some functions are actually named
29310 something starting with __ and the normal name is an alias. */
29311 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
29314 char (*f) () = pthread_attr_getschedpolicy;
29323 return f != pthread_attr_getschedpolicy;
29328 rm -f conftest.
$ac_objext conftest
$ac_exeext
29329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29330 (eval $ac_link) 2>&5
29332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29333 (exit $ac_status); } &&
29334 { ac_try
='test -s conftest$ac_exeext'
29335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29336 (eval $ac_try) 2>&5
29338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29339 (exit $ac_status); }; }; then
29340 ac_cv_func_pthread_attr_getschedpolicy
=yes
29342 echo "$as_me: failed program was:" >&5
29343 sed 's/^/| /' conftest.
$ac_ext >&5
29345 ac_cv_func_pthread_attr_getschedpolicy
=no
29347 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29349 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
29350 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
29351 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
29352 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
29353 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
29354 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
29355 echo $ECHO_N "(cached) $ECHO_C" >&6
29357 cat >conftest.
$ac_ext <<_ACEOF
29358 #line $LINENO "configure"
29361 cat confdefs.h
>>conftest.
$ac_ext
29362 cat >>conftest.
$ac_ext <<_ACEOF
29363 /* end confdefs.h. */
29364 /* System header to define __stub macros and hopefully few prototypes,
29365 which can conflict with char pthread_attr_setschedparam (); below.
29366 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29367 <limits.h> exists even on freestanding compilers. */
29369 # include <limits.h>
29371 # include <assert.h>
29373 /* Override any gcc2 internal prototype to avoid an error. */
29378 /* We use char because int might match the return type of a gcc2
29379 builtin and then its argument prototype would still apply. */
29380 char pthread_attr_setschedparam ();
29381 /* The GNU C library defines this for functions which it implements
29382 to always fail with ENOSYS. Some functions are actually named
29383 something starting with __ and the normal name is an alias. */
29384 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
29387 char (*f) () = pthread_attr_setschedparam;
29396 return f != pthread_attr_setschedparam;
29401 rm -f conftest.
$ac_objext conftest
$ac_exeext
29402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29403 (eval $ac_link) 2>&5
29405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29406 (exit $ac_status); } &&
29407 { ac_try
='test -s conftest$ac_exeext'
29408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29409 (eval $ac_try) 2>&5
29411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29412 (exit $ac_status); }; }; then
29413 ac_cv_func_pthread_attr_setschedparam
=yes
29415 echo "$as_me: failed program was:" >&5
29416 sed 's/^/| /' conftest.
$ac_ext >&5
29418 ac_cv_func_pthread_attr_setschedparam
=no
29420 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29422 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
29423 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
29424 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
29425 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
29426 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
29427 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
29428 echo $ECHO_N "(cached) $ECHO_C" >&6
29430 cat >conftest.
$ac_ext <<_ACEOF
29431 #line $LINENO "configure"
29434 cat confdefs.h
>>conftest.
$ac_ext
29435 cat >>conftest.
$ac_ext <<_ACEOF
29436 /* end confdefs.h. */
29437 /* System header to define __stub macros and hopefully few prototypes,
29438 which can conflict with char sched_get_priority_max (); below.
29439 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29440 <limits.h> exists even on freestanding compilers. */
29442 # include <limits.h>
29444 # include <assert.h>
29446 /* Override any gcc2 internal prototype to avoid an error. */
29451 /* We use char because int might match the return type of a gcc2
29452 builtin and then its argument prototype would still apply. */
29453 char sched_get_priority_max ();
29454 /* The GNU C library defines this for functions which it implements
29455 to always fail with ENOSYS. Some functions are actually named
29456 something starting with __ and the normal name is an alias. */
29457 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
29460 char (*f) () = sched_get_priority_max;
29469 return f != sched_get_priority_max;
29474 rm -f conftest.
$ac_objext conftest
$ac_exeext
29475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29476 (eval $ac_link) 2>&5
29478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29479 (exit $ac_status); } &&
29480 { ac_try
='test -s conftest$ac_exeext'
29481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29482 (eval $ac_try) 2>&5
29484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29485 (exit $ac_status); }; }; then
29486 ac_cv_func_sched_get_priority_max
=yes
29488 echo "$as_me: failed program was:" >&5
29489 sed 's/^/| /' conftest.
$ac_ext >&5
29491 ac_cv_func_sched_get_priority_max
=no
29493 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29495 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
29496 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
29497 if test $ac_cv_func_sched_get_priority_max = yes; then
29500 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
29501 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
29502 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
29503 echo $ECHO_N "(cached) $ECHO_C" >&6
29505 ac_check_lib_save_LIBS
=$LIBS
29506 LIBS
="-lposix4 $LIBS"
29507 cat >conftest.
$ac_ext <<_ACEOF
29508 #line $LINENO "configure"
29511 cat confdefs.h
>>conftest.
$ac_ext
29512 cat >>conftest.
$ac_ext <<_ACEOF
29513 /* end confdefs.h. */
29515 /* Override any gcc2 internal prototype to avoid an error. */
29519 /* We use char because int might match the return type of a gcc2
29520 builtin and then its argument prototype would still apply. */
29521 char sched_get_priority_max ();
29525 sched_get_priority_max ();
29530 rm -f conftest.
$ac_objext conftest
$ac_exeext
29531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29532 (eval $ac_link) 2>&5
29534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29535 (exit $ac_status); } &&
29536 { ac_try
='test -s conftest$ac_exeext'
29537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29538 (eval $ac_try) 2>&5
29540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29541 (exit $ac_status); }; }; then
29542 ac_cv_lib_posix4_sched_get_priority_max
=yes
29544 echo "$as_me: failed program was:" >&5
29545 sed 's/^/| /' conftest.
$ac_ext >&5
29547 ac_cv_lib_posix4_sched_get_priority_max
=no
29549 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29550 LIBS
=$ac_check_lib_save_LIBS
29552 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
29553 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
29554 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
29557 POSIX4_LINK
=" -lposix4"
29571 if test "$HAVE_PRIOR_FUNCS" = 1; then
29572 cat >>confdefs.h
<<\_ACEOF
29573 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
29577 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
29578 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
29581 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
29582 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
29583 if test "${ac_cv_func_pthread_cancel+set}" = set; then
29584 echo $ECHO_N "(cached) $ECHO_C" >&6
29586 cat >conftest.
$ac_ext <<_ACEOF
29587 #line $LINENO "configure"
29590 cat confdefs.h
>>conftest.
$ac_ext
29591 cat >>conftest.
$ac_ext <<_ACEOF
29592 /* end confdefs.h. */
29593 /* System header to define __stub macros and hopefully few prototypes,
29594 which can conflict with char pthread_cancel (); below.
29595 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29596 <limits.h> exists even on freestanding compilers. */
29598 # include <limits.h>
29600 # include <assert.h>
29602 /* Override any gcc2 internal prototype to avoid an error. */
29607 /* We use char because int might match the return type of a gcc2
29608 builtin and then its argument prototype would still apply. */
29609 char pthread_cancel ();
29610 /* The GNU C library defines this for functions which it implements
29611 to always fail with ENOSYS. Some functions are actually named
29612 something starting with __ and the normal name is an alias. */
29613 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
29616 char (*f) () = pthread_cancel;
29625 return f != pthread_cancel;
29630 rm -f conftest.
$ac_objext conftest
$ac_exeext
29631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29632 (eval $ac_link) 2>&5
29634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29635 (exit $ac_status); } &&
29636 { ac_try
='test -s conftest$ac_exeext'
29637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29638 (eval $ac_try) 2>&5
29640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29641 (exit $ac_status); }; }; then
29642 ac_cv_func_pthread_cancel
=yes
29644 echo "$as_me: failed program was:" >&5
29645 sed 's/^/| /' conftest.
$ac_ext >&5
29647 ac_cv_func_pthread_cancel
=no
29649 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29651 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
29652 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
29653 if test $ac_cv_func_pthread_cancel = yes; then
29654 cat >>confdefs.h
<<\_ACEOF
29655 #define HAVE_PTHREAD_CANCEL 1
29659 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
29660 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
29664 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
29665 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
29666 if test "${wx_cv_func_pthread_cleanup_push+set}" = set; then
29667 echo $ECHO_N "(cached) $ECHO_C" >&6
29670 cat >conftest.
$ac_ext <<_ACEOF
29671 #line $LINENO "configure"
29674 cat confdefs.h
>>conftest.
$ac_ext
29675 cat >>conftest.
$ac_ext <<_ACEOF
29676 /* end confdefs.h. */
29677 #include <pthread.h>
29682 pthread_cleanup_push(NULL, NULL);
29683 pthread_cleanup_pop(0);
29689 rm -f conftest.
$ac_objext
29690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29691 (eval $ac_compile) 2>&5
29693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29694 (exit $ac_status); } &&
29695 { ac_try
='test -s conftest.$ac_objext'
29696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29697 (eval $ac_try) 2>&5
29699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29700 (exit $ac_status); }; }; then
29702 wx_cv_func_pthread_cleanup_push
=yes
29705 echo "$as_me: failed program was:" >&5
29706 sed 's/^/| /' conftest.
$ac_ext >&5
29709 wx_cv_func_pthread_cleanup_push
=no
29712 rm -f conftest.
$ac_objext conftest.
$ac_ext
29715 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup_push" >&5
29716 echo "${ECHO_T}$wx_cv_func_pthread_cleanup_push" >&6
29718 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
29719 cat >>confdefs.h
<<\_ACEOF
29720 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
29726 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
29727 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
29728 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
29729 echo $ECHO_N "(cached) $ECHO_C" >&6
29732 cat >conftest.
$ac_ext <<_ACEOF
29733 #line $LINENO "configure"
29736 cat confdefs.h
>>conftest.
$ac_ext
29737 cat >>conftest.
$ac_ext <<_ACEOF
29738 /* end confdefs.h. */
29739 #include <pthread.h>
29744 pthread_mutexattr_t attr;
29745 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
29751 rm -f conftest.
$ac_objext
29752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29753 (eval $ac_compile) 2>&5
29755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29756 (exit $ac_status); } &&
29757 { ac_try
='test -s conftest.$ac_objext'
29758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29759 (eval $ac_try) 2>&5
29761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29762 (exit $ac_status); }; }; then
29764 wx_cv_type_pthread_mutexattr_t
=yes
29767 echo "$as_me: failed program was:" >&5
29768 sed 's/^/| /' conftest.
$ac_ext >&5
29771 wx_cv_type_pthread_mutexattr_t
=no
29775 rm -f conftest.
$ac_objext conftest.
$ac_ext
29778 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
29779 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
29781 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
29782 cat >>confdefs.h
<<\_ACEOF
29783 #define HAVE_PTHREAD_MUTEXATTR_T 1
29787 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
29788 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
29789 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
29790 echo $ECHO_N "(cached) $ECHO_C" >&6
29793 cat >conftest.
$ac_ext <<_ACEOF
29794 #line $LINENO "configure"
29797 cat confdefs.h
>>conftest.
$ac_ext
29798 cat >>conftest.
$ac_ext <<_ACEOF
29799 /* end confdefs.h. */
29800 #include <pthread.h>
29805 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
29811 rm -f conftest.
$ac_objext
29812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29813 (eval $ac_compile) 2>&5
29815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29816 (exit $ac_status); } &&
29817 { ac_try
='test -s conftest.$ac_objext'
29818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29819 (eval $ac_try) 2>&5
29821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29822 (exit $ac_status); }; }; then
29824 wx_cv_type_pthread_rec_mutex_init
=yes
29827 echo "$as_me: failed program was:" >&5
29828 sed 's/^/| /' conftest.
$ac_ext >&5
29831 wx_cv_type_pthread_rec_mutex_init
=no
29835 rm -f conftest.
$ac_objext conftest.
$ac_ext
29838 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
29839 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
29840 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
29841 cat >>confdefs.h
<<\_ACEOF
29842 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
29846 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
29847 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
29853 if test "$wxUSE_THREADS" = "yes" ; then
29856 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
29857 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
29858 if test "${wx_cv_cflags_mthread+set}" = set; then
29859 echo $ECHO_N "(cached) $ECHO_C" >&6
29862 CFLAGS_OLD
="$CFLAGS"
29863 CFLAGS
="$CFLAGS -mthreads"
29864 cat >conftest.
$ac_ext <<_ACEOF
29865 #line $LINENO "configure"
29868 cat confdefs.h
>>conftest.
$ac_ext
29869 cat >>conftest.
$ac_ext <<_ACEOF
29870 /* end confdefs.h. */
29880 rm -f conftest.
$ac_objext
29881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29882 (eval $ac_compile) 2>&5
29884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29885 (exit $ac_status); } &&
29886 { ac_try
='test -s conftest.$ac_objext'
29887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29888 (eval $ac_try) 2>&5
29890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29891 (exit $ac_status); }; }; then
29892 wx_cv_cflags_mthread
=yes
29894 echo "$as_me: failed program was:" >&5
29895 sed 's/^/| /' conftest.
$ac_ext >&5
29897 wx_cv_cflags_mthread
=no
29900 rm -f conftest.
$ac_objext conftest.
$ac_ext
29904 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
29905 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
29907 if test "$wx_cv_cflags_mthread" = "yes"; then
29908 CXXFLAGS
="$CXXFLAGS -mthreads"
29909 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
29910 LDFLAGS
="$LDFLAGS -mthreads"
29912 CFLAGS
="$CFLAGS_OLD"
29919 if test "$wxUSE_THREADS" = "yes"; then
29920 cat >>confdefs.h
<<\_ACEOF
29921 #define wxUSE_THREADS 1
29925 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
29927 if test "$ac_cv_func_strtok_r" = "yes"; then
29928 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
29929 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
29930 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
29931 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
29932 echo "$as_me:$LINENO: result: yes" >&5
29933 echo "${ECHO_T}yes" >&6
29935 echo "$as_me:$LINENO: result: no" >&5
29936 echo "${ECHO_T}no" >&6
29941 if test "$WXGTK20" = 1 ; then
29942 cat >>confdefs.h
<<_ACEOF
29943 #define __WXGTK20__ $WXGTK20
29949 if test "$WXGTK12" = 1 ; then
29950 cat >>confdefs.h
<<_ACEOF
29951 #define __WXGTK12__ $WXGTK12
29956 if test "$WXGTK127" = 1 ; then
29957 cat >>confdefs.h
<<_ACEOF
29958 #define __WXGTK127__ $WXGTK127
29965 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
29970 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
29971 wxUSE_DEBUG_INFO
=yes
29975 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
29976 cat >>confdefs.h
<<\_ACEOF
29980 WXDEBUG_DEFINE
="-D__WXDEBUG__"
29982 if test "$wxUSE_GTK" = 1 ; then
29983 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
29987 if test "$wxUSE_MEM_TRACING" = "yes" ; then
29988 cat >>confdefs.h
<<\_ACEOF
29989 #define wxUSE_MEMORY_TRACING 1
29992 cat >>confdefs.h
<<\_ACEOF
29993 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
29996 cat >>confdefs.h
<<\_ACEOF
29997 #define wxUSE_DEBUG_NEW_ALWAYS 1
30000 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
30003 if test "$wxUSE_DMALLOC" = "yes" ; then
30004 DMALLOC_LIBS
="-ldmalloc"
30008 if test "$wxUSE_PROFILE" = "yes" ; then
30013 CODE_GEN_FLAGS_CXX
=
30014 if test "$GCC" = "yes" ; then
30015 if test "$wxUSE_NO_RTTI" = "yes" ; then
30016 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
30018 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
30019 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
30021 if test "$wxUSE_PERMISSIVE" = "yes" ; then
30022 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
30027 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
30030 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
30036 if test "$wxUSE_OPTIMISE" = "no" ; then
30037 if test "$GCC" = yes ; then
30041 if test "$GCC" = yes ; then
30045 i586
-*-*|i686
-*-* )
30046 OPTIMISE
="${OPTIMISE} "
30055 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
30056 cat >>confdefs.h
<<\_ACEOF
30057 #define WXWIN_COMPATIBILITY_2_2 1
30061 WXWIN_COMPATIBILITY_2_4
="yes"
30064 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
30065 cat >>confdefs.h
<<\_ACEOF
30066 #define WXWIN_COMPATIBILITY_2_4 1
30072 if test "$wxUSE_GUI" = "yes"; then
30073 cat >>confdefs.h
<<\_ACEOF
30074 #define wxUSE_GUI 1
30079 cat >>confdefs.h
<<\_ACEOF
30080 #define wxUSE_NOGUI 1
30086 if test "$wxUSE_UNIX" = "yes"; then
30087 cat >>confdefs.h
<<\_ACEOF
30088 #define wxUSE_UNIX 1
30094 if test "$wxUSE_STL" = "yes"; then
30095 cat >>confdefs.h
<<\_ACEOF
30096 #define wxUSE_STL 1
30101 if test "$wxUSE_APPLE_IEEE" = "yes"; then
30102 cat >>confdefs.h
<<\_ACEOF
30103 #define wxUSE_APPLE_IEEE 1
30108 if test "$wxUSE_TIMER" = "yes"; then
30109 cat >>confdefs.h
<<\_ACEOF
30110 #define wxUSE_TIMER 1
30115 if test "$wxUSE_WAVE" = "yes"; then
30116 cat >>confdefs.h
<<\_ACEOF
30117 #define wxUSE_WAVE 1
30122 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
30123 cat >>confdefs.h
<<\_ACEOF
30124 #define wxUSE_CMDLINE_PARSER 1
30129 if test "$wxUSE_STOPWATCH" = "yes"; then
30130 cat >>confdefs.h
<<\_ACEOF
30131 #define wxUSE_STOPWATCH 1
30136 if test "$wxUSE_DATETIME" = "yes"; then
30137 cat >>confdefs.h
<<\_ACEOF
30138 #define wxUSE_DATETIME 1
30143 if test "$wxUSE_FILE" = "yes"; then
30144 cat >>confdefs.h
<<\_ACEOF
30145 #define wxUSE_FILE 1
30150 if test "$wxUSE_FFILE" = "yes"; then
30151 cat >>confdefs.h
<<\_ACEOF
30152 #define wxUSE_FFILE 1
30157 if test "$wxUSE_FILESYSTEM" = "yes"; then
30158 cat >>confdefs.h
<<\_ACEOF
30159 #define wxUSE_FILESYSTEM 1
30164 if test "$wxUSE_FS_ZIP" = "yes"; then
30165 cat >>confdefs.h
<<\_ACEOF
30166 #define wxUSE_FS_ZIP 1
30171 if test "$wxUSE_ZIPSTREAM" = "yes"; then
30172 cat >>confdefs.h
<<\_ACEOF
30173 #define wxUSE_ZIPSTREAM 1
30178 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30179 cat >>confdefs.h
<<\_ACEOF
30180 #define wxUSE_ON_FATAL_EXCEPTION 1
30185 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30186 cat >>confdefs.h
<<\_ACEOF
30187 #define wxUSE_SNGLINST_CHECKER 1
30192 if test "$wxUSE_BUSYINFO" = "yes"; then
30193 cat >>confdefs.h
<<\_ACEOF
30194 #define wxUSE_BUSYINFO 1
30199 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
30200 cat >>confdefs.h
<<\_ACEOF
30201 #define wxUSE_STD_IOSTREAM 1
30206 if test "$wxUSE_TEXTBUFFER" = "yes"; then
30207 cat >>confdefs.h
<<\_ACEOF
30208 #define wxUSE_TEXTBUFFER 1
30213 if test "$wxUSE_TEXTFILE" = "yes"; then
30214 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
30215 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
30216 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
30218 cat >>confdefs.h
<<\_ACEOF
30219 #define wxUSE_TEXTFILE 1
30225 if test "$wxUSE_CONFIG" = "yes" ; then
30226 if test "$wxUSE_TEXTFILE" != "yes"; then
30227 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
30228 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
30230 cat >>confdefs.h
<<\_ACEOF
30231 #define wxUSE_CONFIG 1
30234 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
30238 if test "$wxUSE_INTL" = "yes" ; then
30239 if test "$wxUSE_FILE" != "yes"; then
30240 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
30241 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
30243 cat >>confdefs.h
<<\_ACEOF
30244 #define wxUSE_INTL 1
30247 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
30248 GUIDIST
="$GUIDIST INTL_DIST"
30252 if test "$wxUSE_LOG" = "yes"; then
30253 cat >>confdefs.h
<<\_ACEOF
30254 #define wxUSE_LOG 1
30258 if test "$wxUSE_LOGGUI" = "yes"; then
30259 cat >>confdefs.h
<<\_ACEOF
30260 #define wxUSE_LOGGUI 1
30265 if test "$wxUSE_LOGWINDOW" = "yes"; then
30266 cat >>confdefs.h
<<\_ACEOF
30267 #define wxUSE_LOGWINDOW 1
30272 if test "$wxUSE_LOGDIALOG" = "yes"; then
30273 cat >>confdefs.h
<<\_ACEOF
30274 #define wxUSE_LOG_DIALOG 1
30280 if test "$wxUSE_LONGLONG" = "yes"; then
30281 cat >>confdefs.h
<<\_ACEOF
30282 #define wxUSE_LONGLONG 1
30287 if test "$wxUSE_GEOMETRY" = "yes"; then
30288 cat >>confdefs.h
<<\_ACEOF
30289 #define wxUSE_GEOMETRY 1
30294 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
30295 cat >>confdefs.h
<<\_ACEOF
30296 #define wxUSE_DIALUP_MANAGER 1
30299 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
30302 if test "$wxUSE_STREAMS" = "yes" ; then
30303 cat >>confdefs.h
<<\_ACEOF
30304 #define wxUSE_STREAMS 1
30310 if test "$wxUSE_DATETIME" = "yes"; then
30312 for ac_func
in strptime
30314 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30315 echo "$as_me:$LINENO: checking for $ac_func" >&5
30316 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30317 if eval "test \"\${$as_ac_var+set}\" = set"; then
30318 echo $ECHO_N "(cached) $ECHO_C" >&6
30320 cat >conftest.
$ac_ext <<_ACEOF
30321 #line $LINENO "configure"
30324 cat confdefs.h
>>conftest.
$ac_ext
30325 cat >>conftest.
$ac_ext <<_ACEOF
30326 /* end confdefs.h. */
30327 /* System header to define __stub macros and hopefully few prototypes,
30328 which can conflict with char $ac_func (); below.
30329 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30330 <limits.h> exists even on freestanding compilers. */
30332 # include <limits.h>
30334 # include <assert.h>
30336 /* Override any gcc2 internal prototype to avoid an error. */
30341 /* We use char because int might match the return type of a gcc2
30342 builtin and then its argument prototype would still apply. */
30344 /* The GNU C library defines this for functions which it implements
30345 to always fail with ENOSYS. Some functions are actually named
30346 something starting with __ and the normal name is an alias. */
30347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30350 char (*f) () = $ac_func;
30359 return f != $ac_func;
30364 rm -f conftest.
$ac_objext conftest
$ac_exeext
30365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30366 (eval $ac_link) 2>&5
30368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30369 (exit $ac_status); } &&
30370 { ac_try
='test -s conftest$ac_exeext'
30371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30372 (eval $ac_try) 2>&5
30374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30375 (exit $ac_status); }; }; then
30376 eval "$as_ac_var=yes"
30378 echo "$as_me: failed program was:" >&5
30379 sed 's/^/| /' conftest.
$ac_ext >&5
30381 eval "$as_ac_var=no"
30383 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30386 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30387 if test `eval echo '${'$as_ac_var'}'` = yes; then
30388 cat >>confdefs.h
<<_ACEOF
30389 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30396 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
30397 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
30398 if test "${wx_cv_var_timezone+set}" = set; then
30399 echo $ECHO_N "(cached) $ECHO_C" >&6
30402 cat >conftest.
$ac_ext <<_ACEOF
30403 #line $LINENO "configure"
30406 cat confdefs.h
>>conftest.
$ac_ext
30407 cat >>conftest.
$ac_ext <<_ACEOF
30408 /* end confdefs.h. */
30423 rm -f conftest.
$ac_objext
30424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30425 (eval $ac_compile) 2>&5
30427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30428 (exit $ac_status); } &&
30429 { ac_try
='test -s conftest.$ac_objext'
30430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30431 (eval $ac_try) 2>&5
30433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30434 (exit $ac_status); }; }; then
30436 wx_cv_var_timezone
=timezone
30439 echo "$as_me: failed program was:" >&5
30440 sed 's/^/| /' conftest.
$ac_ext >&5
30443 cat >conftest.
$ac_ext <<_ACEOF
30444 #line $LINENO "configure"
30447 cat confdefs.h
>>conftest.
$ac_ext
30448 cat >>conftest.
$ac_ext <<_ACEOF
30449 /* end confdefs.h. */
30464 rm -f conftest.
$ac_objext
30465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30466 (eval $ac_compile) 2>&5
30468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30469 (exit $ac_status); } &&
30470 { ac_try
='test -s conftest.$ac_objext'
30471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30472 (eval $ac_try) 2>&5
30474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30475 (exit $ac_status); }; }; then
30477 wx_cv_var_timezone
=_timezone
30480 echo "$as_me: failed program was:" >&5
30481 sed 's/^/| /' conftest.
$ac_ext >&5
30484 cat >conftest.
$ac_ext <<_ACEOF
30485 #line $LINENO "configure"
30488 cat confdefs.h
>>conftest.
$ac_ext
30489 cat >>conftest.
$ac_ext <<_ACEOF
30490 /* end confdefs.h. */
30505 rm -f conftest.
$ac_objext
30506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30507 (eval $ac_compile) 2>&5
30509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30510 (exit $ac_status); } &&
30511 { ac_try
='test -s conftest.$ac_objext'
30512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30513 (eval $ac_try) 2>&5
30515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30516 (exit $ac_status); }; }; then
30518 wx_cv_var_timezone
=__timezone
30521 echo "$as_me: failed program was:" >&5
30522 sed 's/^/| /' conftest.
$ac_ext >&5
30525 if test "$USE_DOS" = 0 ; then
30526 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
30527 echo "$as_me: WARNING: no timezone variable" >&2;}
30532 rm -f conftest.
$ac_objext conftest.
$ac_ext
30536 rm -f conftest.
$ac_objext conftest.
$ac_ext
30540 rm -f conftest.
$ac_objext conftest.
$ac_ext
30544 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
30545 echo "${ECHO_T}$wx_cv_var_timezone" >&6
30547 if test "x$wx_cv_var_timezone" != x
; then
30548 cat >>confdefs.h
<<_ACEOF
30549 #define WX_TIMEZONE $wx_cv_var_timezone
30555 for ac_func
in localtime
30557 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30558 echo "$as_me:$LINENO: checking for $ac_func" >&5
30559 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30560 if eval "test \"\${$as_ac_var+set}\" = set"; then
30561 echo $ECHO_N "(cached) $ECHO_C" >&6
30563 cat >conftest.
$ac_ext <<_ACEOF
30564 #line $LINENO "configure"
30567 cat confdefs.h
>>conftest.
$ac_ext
30568 cat >>conftest.
$ac_ext <<_ACEOF
30569 /* end confdefs.h. */
30570 /* System header to define __stub macros and hopefully few prototypes,
30571 which can conflict with char $ac_func (); below.
30572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30573 <limits.h> exists even on freestanding compilers. */
30575 # include <limits.h>
30577 # include <assert.h>
30579 /* Override any gcc2 internal prototype to avoid an error. */
30584 /* We use char because int might match the return type of a gcc2
30585 builtin and then its argument prototype would still apply. */
30587 /* The GNU C library defines this for functions which it implements
30588 to always fail with ENOSYS. Some functions are actually named
30589 something starting with __ and the normal name is an alias. */
30590 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30593 char (*f) () = $ac_func;
30602 return f != $ac_func;
30607 rm -f conftest.
$ac_objext conftest
$ac_exeext
30608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30609 (eval $ac_link) 2>&5
30611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30612 (exit $ac_status); } &&
30613 { ac_try
='test -s conftest$ac_exeext'
30614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30615 (eval $ac_try) 2>&5
30617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30618 (exit $ac_status); }; }; then
30619 eval "$as_ac_var=yes"
30621 echo "$as_me: failed program was:" >&5
30622 sed 's/^/| /' conftest.
$ac_ext >&5
30624 eval "$as_ac_var=no"
30626 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30629 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30630 if test `eval echo '${'$as_ac_var'}'` = yes; then
30631 cat >>confdefs.h
<<_ACEOF
30632 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30639 if test "$ac_cv_func_localtime" = "yes"; then
30640 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
30641 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
30642 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
30643 echo $ECHO_N "(cached) $ECHO_C" >&6
30646 cat >conftest.
$ac_ext <<_ACEOF
30647 #line $LINENO "configure"
30650 cat confdefs.h
>>conftest.
$ac_ext
30651 cat >>conftest.
$ac_ext <<_ACEOF
30652 /* end confdefs.h. */
30667 rm -f conftest.
$ac_objext
30668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30669 (eval $ac_compile) 2>&5
30671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30672 (exit $ac_status); } &&
30673 { ac_try
='test -s conftest.$ac_objext'
30674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30675 (eval $ac_try) 2>&5
30677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30678 (exit $ac_status); }; }; then
30680 wx_cv_struct_tm_has_gmtoff
=yes
30683 echo "$as_me: failed program was:" >&5
30684 sed 's/^/| /' conftest.
$ac_ext >&5
30686 wx_cv_struct_tm_has_gmtoff
=no
30689 rm -f conftest.
$ac_objext conftest.
$ac_ext
30692 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
30693 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
30696 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
30697 cat >>confdefs.h
<<\_ACEOF
30698 #define WX_GMTOFF_IN_TM 1
30705 for ac_func
in gettimeofday ftime
30707 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30708 echo "$as_me:$LINENO: checking for $ac_func" >&5
30709 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30710 if eval "test \"\${$as_ac_var+set}\" = set"; then
30711 echo $ECHO_N "(cached) $ECHO_C" >&6
30713 cat >conftest.
$ac_ext <<_ACEOF
30714 #line $LINENO "configure"
30717 cat confdefs.h
>>conftest.
$ac_ext
30718 cat >>conftest.
$ac_ext <<_ACEOF
30719 /* end confdefs.h. */
30720 /* System header to define __stub macros and hopefully few prototypes,
30721 which can conflict with char $ac_func (); below.
30722 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30723 <limits.h> exists even on freestanding compilers. */
30725 # include <limits.h>
30727 # include <assert.h>
30729 /* Override any gcc2 internal prototype to avoid an error. */
30734 /* We use char because int might match the return type of a gcc2
30735 builtin and then its argument prototype would still apply. */
30737 /* The GNU C library defines this for functions which it implements
30738 to always fail with ENOSYS. Some functions are actually named
30739 something starting with __ and the normal name is an alias. */
30740 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30743 char (*f) () = $ac_func;
30752 return f != $ac_func;
30757 rm -f conftest.
$ac_objext conftest
$ac_exeext
30758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30759 (eval $ac_link) 2>&5
30761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30762 (exit $ac_status); } &&
30763 { ac_try
='test -s conftest$ac_exeext'
30764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30765 (eval $ac_try) 2>&5
30767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30768 (exit $ac_status); }; }; then
30769 eval "$as_ac_var=yes"
30771 echo "$as_me: failed program was:" >&5
30772 sed 's/^/| /' conftest.
$ac_ext >&5
30774 eval "$as_ac_var=no"
30776 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30779 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30780 if test `eval echo '${'$as_ac_var'}'` = yes; then
30781 cat >>confdefs.h
<<_ACEOF
30782 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30789 if test "$ac_cv_func_gettimeofday" = "yes"; then
30790 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
30791 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
30792 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
30793 echo $ECHO_N "(cached) $ECHO_C" >&6
30799 ac_cpp
='$CXXCPP $CPPFLAGS'
30800 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30801 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30802 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30805 cat >conftest.
$ac_ext <<_ACEOF
30806 #line $LINENO "configure"
30809 cat confdefs.h
>>conftest.
$ac_ext
30810 cat >>conftest.
$ac_ext <<_ACEOF
30811 /* end confdefs.h. */
30813 #include <sys/time.h>
30814 #include <unistd.h>
30821 gettimeofday(&tv, NULL);
30827 rm -f conftest.
$ac_objext
30828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30829 (eval $ac_compile) 2>&5
30831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30832 (exit $ac_status); } &&
30833 { ac_try
='test -s conftest.$ac_objext'
30834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30835 (eval $ac_try) 2>&5
30837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30838 (exit $ac_status); }; }; then
30839 wx_cv_func_gettimeofday_has_2_args
=yes
30841 echo "$as_me: failed program was:" >&5
30842 sed 's/^/| /' conftest.
$ac_ext >&5
30844 cat >conftest.
$ac_ext <<_ACEOF
30845 #line $LINENO "configure"
30848 cat confdefs.h
>>conftest.
$ac_ext
30849 cat >>conftest.
$ac_ext <<_ACEOF
30850 /* end confdefs.h. */
30852 #include <sys/time.h>
30853 #include <unistd.h>
30866 rm -f conftest.
$ac_objext
30867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30868 (eval $ac_compile) 2>&5
30870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30871 (exit $ac_status); } &&
30872 { ac_try
='test -s conftest.$ac_objext'
30873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30874 (eval $ac_try) 2>&5
30876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30877 (exit $ac_status); }; }; then
30878 wx_cv_func_gettimeofday_has_2_args
=no
30880 echo "$as_me: failed program was:" >&5
30881 sed 's/^/| /' conftest.
$ac_ext >&5
30884 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
30885 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
30886 wx_cv_func_gettimeofday_has_2_args
=unknown
30890 rm -f conftest.
$ac_objext conftest.
$ac_ext
30893 rm -f conftest.
$ac_objext conftest.
$ac_ext
30895 ac_cpp
='$CPP $CPPFLAGS'
30896 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30897 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30898 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30902 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
30903 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
30905 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
30906 cat >>confdefs.h
<<\_ACEOF
30907 #define WX_GETTIMEOFDAY_NO_TZ 1
30913 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
30917 if test "$wxUSE_SOCKETS" = "yes"; then
30918 if test "$wxUSE_MGL" = "1"; then
30919 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
30920 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
30923 if test "$wxUSE_COCOA" = "1"; then
30924 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under Cocoa... disabled" >&5
30925 echo "$as_me: WARNING: wxSocket not yet supported under Cocoa... disabled" >&2;}
30930 if test "$wxUSE_SOCKETS" = "yes"; then
30931 if test "$TOOLKIT" != "MSW"; then
30932 echo "$as_me:$LINENO: checking for socket" >&5
30933 echo $ECHO_N "checking for socket... $ECHO_C" >&6
30934 if test "${ac_cv_func_socket+set}" = set; then
30935 echo $ECHO_N "(cached) $ECHO_C" >&6
30937 cat >conftest.
$ac_ext <<_ACEOF
30938 #line $LINENO "configure"
30941 cat confdefs.h
>>conftest.
$ac_ext
30942 cat >>conftest.
$ac_ext <<_ACEOF
30943 /* end confdefs.h. */
30944 /* System header to define __stub macros and hopefully few prototypes,
30945 which can conflict with char socket (); below.
30946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30947 <limits.h> exists even on freestanding compilers. */
30949 # include <limits.h>
30951 # include <assert.h>
30953 /* Override any gcc2 internal prototype to avoid an error. */
30958 /* We use char because int might match the return type of a gcc2
30959 builtin and then its argument prototype would still apply. */
30961 /* The GNU C library defines this for functions which it implements
30962 to always fail with ENOSYS. Some functions are actually named
30963 something starting with __ and the normal name is an alias. */
30964 #if defined (__stub_socket) || defined (__stub___socket)
30967 char (*f) () = socket;
30976 return f != socket;
30981 rm -f conftest.
$ac_objext conftest
$ac_exeext
30982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30983 (eval $ac_link) 2>&5
30985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30986 (exit $ac_status); } &&
30987 { ac_try
='test -s conftest$ac_exeext'
30988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30989 (eval $ac_try) 2>&5
30991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30992 (exit $ac_status); }; }; then
30993 ac_cv_func_socket
=yes
30995 echo "$as_me: failed program was:" >&5
30996 sed 's/^/| /' conftest.
$ac_ext >&5
30998 ac_cv_func_socket
=no
31000 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31002 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
31003 echo "${ECHO_T}$ac_cv_func_socket" >&6
31004 if test $ac_cv_func_socket = yes; then
31007 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
31008 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
31009 if test "${ac_cv_lib_socket_socket+set}" = set; then
31010 echo $ECHO_N "(cached) $ECHO_C" >&6
31012 ac_check_lib_save_LIBS
=$LIBS
31013 LIBS
="-lsocket $LIBS"
31014 cat >conftest.
$ac_ext <<_ACEOF
31015 #line $LINENO "configure"
31018 cat confdefs.h
>>conftest.
$ac_ext
31019 cat >>conftest.
$ac_ext <<_ACEOF
31020 /* end confdefs.h. */
31022 /* Override any gcc2 internal prototype to avoid an error. */
31026 /* We use char because int might match the return type of a gcc2
31027 builtin and then its argument prototype would still apply. */
31037 rm -f conftest.
$ac_objext conftest
$ac_exeext
31038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31039 (eval $ac_link) 2>&5
31041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31042 (exit $ac_status); } &&
31043 { ac_try
='test -s conftest$ac_exeext'
31044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31045 (eval $ac_try) 2>&5
31047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31048 (exit $ac_status); }; }; then
31049 ac_cv_lib_socket_socket
=yes
31051 echo "$as_me: failed program was:" >&5
31052 sed 's/^/| /' conftest.
$ac_ext >&5
31054 ac_cv_lib_socket_socket
=no
31056 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31057 LIBS
=$ac_check_lib_save_LIBS
31059 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
31060 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
31061 if test $ac_cv_lib_socket_socket = yes; then
31062 if test "$INET_LINK" != " -lsocket"; then
31063 INET_LINK
="$INET_LINK -lsocket"
31067 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
31068 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
31080 if test "$wxUSE_SOCKETS" = "yes" ; then
31081 if test "$TOOLKIT" != "MSW"; then
31082 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
31083 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
31084 if test "${wx_cv_type_getsockname3+set}" = set; then
31085 echo $ECHO_N "(cached) $ECHO_C" >&6
31088 cat >conftest.
$ac_ext <<_ACEOF
31089 #line $LINENO "configure"
31092 cat confdefs.h
>>conftest.
$ac_ext
31093 cat >>conftest.
$ac_ext <<_ACEOF
31094 /* end confdefs.h. */
31096 #include <sys/types.h>
31097 #include <sys/socket.h>
31104 getsockname(0, 0, &len);
31110 rm -f conftest.
$ac_objext
31111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31112 (eval $ac_compile) 2>&5
31114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31115 (exit $ac_status); } &&
31116 { ac_try
='test -s conftest.$ac_objext'
31117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31118 (eval $ac_try) 2>&5
31120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31121 (exit $ac_status); }; }; then
31122 wx_cv_type_getsockname3
=socklen_t
31124 echo "$as_me: failed program was:" >&5
31125 sed 's/^/| /' conftest.
$ac_ext >&5
31128 CFLAGS_OLD
="$CFLAGS"
31129 if test "$GCC" = yes ; then
31130 CFLAGS
="$CFLAGS -Werror"
31133 cat >conftest.
$ac_ext <<_ACEOF
31134 #line $LINENO "configure"
31137 cat confdefs.h
>>conftest.
$ac_ext
31138 cat >>conftest.
$ac_ext <<_ACEOF
31139 /* end confdefs.h. */
31141 #include <sys/types.h>
31142 #include <sys/socket.h>
31149 getsockname(0, 0, &len);
31155 rm -f conftest.
$ac_objext
31156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31157 (eval $ac_compile) 2>&5
31159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31160 (exit $ac_status); } &&
31161 { ac_try
='test -s conftest.$ac_objext'
31162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31163 (eval $ac_try) 2>&5
31165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31166 (exit $ac_status); }; }; then
31167 wx_cv_type_getsockname3
=size_t
31169 echo "$as_me: failed program was:" >&5
31170 sed 's/^/| /' conftest.
$ac_ext >&5
31172 cat >conftest.
$ac_ext <<_ACEOF
31173 #line $LINENO "configure"
31176 cat confdefs.h
>>conftest.
$ac_ext
31177 cat >>conftest.
$ac_ext <<_ACEOF
31178 /* end confdefs.h. */
31180 #include <sys/types.h>
31181 #include <sys/socket.h>
31188 getsockname(0, 0, &len);
31194 rm -f conftest.
$ac_objext
31195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31196 (eval $ac_compile) 2>&5
31198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31199 (exit $ac_status); } &&
31200 { ac_try
='test -s conftest.$ac_objext'
31201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31202 (eval $ac_try) 2>&5
31204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31205 (exit $ac_status); }; }; then
31206 wx_cv_type_getsockname3
=int
31208 echo "$as_me: failed program was:" >&5
31209 sed 's/^/| /' conftest.
$ac_ext >&5
31211 wx_cv_type_getsockname3
=unknown
31214 rm -f conftest.
$ac_objext conftest.
$ac_ext
31217 rm -f conftest.
$ac_objext conftest.
$ac_ext
31219 CFLAGS
="$CFLAGS_OLD"
31223 rm -f conftest.
$ac_objext conftest.
$ac_ext
31226 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
31227 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
31229 if test "$wx_cv_type_getsockname3" = "unknown"; then
31231 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
31232 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
31234 cat >>confdefs.h
<<_ACEOF
31235 #define SOCKLEN_T $wx_cv_type_getsockname3
31242 if test "$wxUSE_SOCKETS" = "yes" ; then
31243 cat >>confdefs.h
<<\_ACEOF
31244 #define wxUSE_SOCKETS 1
31247 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
31250 if test "$wxUSE_PROTOCOL" = "yes"; then
31251 if test "$wxUSE_SOCKETS" != "yes"; then
31252 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
31253 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
31258 if test "$wxUSE_PROTOCOL" = "yes"; then
31259 cat >>confdefs.h
<<\_ACEOF
31260 #define wxUSE_PROTOCOL 1
31264 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
31265 cat >>confdefs.h
<<\_ACEOF
31266 #define wxUSE_PROTOCOL_HTTP 1
31270 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
31271 cat >>confdefs.h
<<\_ACEOF
31272 #define wxUSE_PROTOCOL_FTP 1
31276 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
31277 cat >>confdefs.h
<<\_ACEOF
31278 #define wxUSE_PROTOCOL_FILE 1
31283 if test "$wxUSE_FS_INET" = "yes"; then
31284 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
31285 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
31290 if test "$wxUSE_URL" = "yes"; then
31291 if test "$wxUSE_PROTOCOL" != "yes"; then
31292 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
31293 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
31296 if test "$wxUSE_URL" = "yes"; then
31297 cat >>confdefs.h
<<\_ACEOF
31298 #define wxUSE_URL 1
31304 if test "$wxUSE_FS_INET" = "yes"; then
31305 cat >>confdefs.h
<<\_ACEOF
31306 #define wxUSE_FS_INET 1
31312 if test "$wxUSE_GUI" = "yes"; then
31314 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
31315 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
31316 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
31320 if test "$TOOLKIT" != "MSW"; then
31321 if test "$wxUSE_JOYSTICK" = "yes"; then
31323 for ac_header
in linux
/joystick.h
31325 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31326 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31327 echo "$as_me:$LINENO: checking for $ac_header" >&5
31328 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31329 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31330 echo $ECHO_N "(cached) $ECHO_C" >&6
31332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31333 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31335 # Is the header compilable?
31336 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31337 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31338 cat >conftest.
$ac_ext <<_ACEOF
31339 #line $LINENO "configure"
31342 cat confdefs.h
>>conftest.
$ac_ext
31343 cat >>conftest.
$ac_ext <<_ACEOF
31344 /* end confdefs.h. */
31345 $ac_includes_default
31346 #include <$ac_header>
31348 rm -f conftest.
$ac_objext
31349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31350 (eval $ac_compile) 2>&5
31352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31353 (exit $ac_status); } &&
31354 { ac_try
='test -s conftest.$ac_objext'
31355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31356 (eval $ac_try) 2>&5
31358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31359 (exit $ac_status); }; }; then
31360 ac_header_compiler
=yes
31362 echo "$as_me: failed program was:" >&5
31363 sed 's/^/| /' conftest.
$ac_ext >&5
31365 ac_header_compiler
=no
31367 rm -f conftest.
$ac_objext conftest.
$ac_ext
31368 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31369 echo "${ECHO_T}$ac_header_compiler" >&6
31371 # Is the header present?
31372 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31373 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31374 cat >conftest.
$ac_ext <<_ACEOF
31375 #line $LINENO "configure"
31378 cat confdefs.h
>>conftest.
$ac_ext
31379 cat >>conftest.
$ac_ext <<_ACEOF
31380 /* end confdefs.h. */
31381 #include <$ac_header>
31383 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31384 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31386 grep -v '^ *+' conftest.er1
>conftest.err
31388 cat conftest.err
>&5
31389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31390 (exit $ac_status); } >/dev
/null
; then
31391 if test -s conftest.err
; then
31392 ac_cpp_err
=$ac_c_preproc_warn_flag
31399 if test -z "$ac_cpp_err"; then
31400 ac_header_preproc
=yes
31402 echo "$as_me: failed program was:" >&5
31403 sed 's/^/| /' conftest.
$ac_ext >&5
31405 ac_header_preproc
=no
31407 rm -f conftest.err conftest.
$ac_ext
31408 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31409 echo "${ECHO_T}$ac_header_preproc" >&6
31411 # So? What about this header?
31412 case $ac_header_compiler:$ac_header_preproc in
31414 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31415 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31416 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31417 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31420 ## ------------------------------------ ##
31421 ## Report this to bug-autoconf@gnu.org. ##
31422 ## ------------------------------------ ##
31425 sed "s/^/$as_me: WARNING: /" >&2
31428 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31429 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31430 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31431 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31432 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31433 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31436 ## ------------------------------------ ##
31437 ## Report this to bug-autoconf@gnu.org. ##
31438 ## ------------------------------------ ##
31441 sed "s/^/$as_me: WARNING: /" >&2
31444 echo "$as_me:$LINENO: checking for $ac_header" >&5
31445 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31446 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31447 echo $ECHO_N "(cached) $ECHO_C" >&6
31449 eval "$as_ac_Header=$ac_header_preproc"
31451 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31452 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31455 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31456 cat >>confdefs.h
<<_ACEOF
31457 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31464 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
31466 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
31467 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
31472 if test "$wxUSE_JOYSTICK" = "yes"; then
31473 cat >>confdefs.h
<<\_ACEOF
31474 #define wxUSE_JOYSTICK 1
31477 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
31482 if test "$TOOLKIT" != "MSW"; then
31486 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31487 if test "$USE_DARWIN" = 1; then
31491 for ac_func
in dlopen
31493 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31494 echo "$as_me:$LINENO: checking for $ac_func" >&5
31495 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31496 if eval "test \"\${$as_ac_var+set}\" = set"; then
31497 echo $ECHO_N "(cached) $ECHO_C" >&6
31499 cat >conftest.
$ac_ext <<_ACEOF
31500 #line $LINENO "configure"
31503 cat confdefs.h
>>conftest.
$ac_ext
31504 cat >>conftest.
$ac_ext <<_ACEOF
31505 /* end confdefs.h. */
31506 /* System header to define __stub macros and hopefully few prototypes,
31507 which can conflict with char $ac_func (); below.
31508 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31509 <limits.h> exists even on freestanding compilers. */
31511 # include <limits.h>
31513 # include <assert.h>
31515 /* Override any gcc2 internal prototype to avoid an error. */
31520 /* We use char because int might match the return type of a gcc2
31521 builtin and then its argument prototype would still apply. */
31523 /* The GNU C library defines this for functions which it implements
31524 to always fail with ENOSYS. Some functions are actually named
31525 something starting with __ and the normal name is an alias. */
31526 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31529 char (*f) () = $ac_func;
31538 return f != $ac_func;
31543 rm -f conftest.
$ac_objext conftest
$ac_exeext
31544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31545 (eval $ac_link) 2>&5
31547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31548 (exit $ac_status); } &&
31549 { ac_try
='test -s conftest$ac_exeext'
31550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31551 (eval $ac_try) 2>&5
31553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31554 (exit $ac_status); }; }; then
31555 eval "$as_ac_var=yes"
31557 echo "$as_me: failed program was:" >&5
31558 sed 's/^/| /' conftest.
$ac_ext >&5
31560 eval "$as_ac_var=no"
31562 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31565 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31566 if test `eval echo '${'$as_ac_var'}'` = yes; then
31567 cat >>confdefs.h
<<_ACEOF
31568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31571 cat >>confdefs.h
<<\_ACEOF
31572 #define HAVE_DLOPEN 1
31579 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
31580 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
31581 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
31582 echo $ECHO_N "(cached) $ECHO_C" >&6
31584 ac_check_lib_save_LIBS
=$LIBS
31586 cat >conftest.
$ac_ext <<_ACEOF
31587 #line $LINENO "configure"
31590 cat confdefs.h
>>conftest.
$ac_ext
31591 cat >>conftest.
$ac_ext <<_ACEOF
31592 /* end confdefs.h. */
31594 /* Override any gcc2 internal prototype to avoid an error. */
31598 /* We use char because int might match the return type of a gcc2
31599 builtin and then its argument prototype would still apply. */
31609 rm -f conftest.
$ac_objext conftest
$ac_exeext
31610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31611 (eval $ac_link) 2>&5
31613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31614 (exit $ac_status); } &&
31615 { ac_try
='test -s conftest$ac_exeext'
31616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31617 (eval $ac_try) 2>&5
31619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31620 (exit $ac_status); }; }; then
31621 ac_cv_lib_dl_dlopen
=yes
31623 echo "$as_me: failed program was:" >&5
31624 sed 's/^/| /' conftest.
$ac_ext >&5
31626 ac_cv_lib_dl_dlopen
=no
31628 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31629 LIBS
=$ac_check_lib_save_LIBS
31631 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
31632 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
31633 if test $ac_cv_lib_dl_dlopen = yes; then
31635 cat >>confdefs.h
<<\_ACEOF
31636 #define HAVE_DLOPEN 1
31640 DL_LINK
=" -ldl$DL_LINK"
31645 for ac_func
in shl_load
31647 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31648 echo "$as_me:$LINENO: checking for $ac_func" >&5
31649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31650 if eval "test \"\${$as_ac_var+set}\" = set"; then
31651 echo $ECHO_N "(cached) $ECHO_C" >&6
31653 cat >conftest.
$ac_ext <<_ACEOF
31654 #line $LINENO "configure"
31657 cat confdefs.h
>>conftest.
$ac_ext
31658 cat >>conftest.
$ac_ext <<_ACEOF
31659 /* end confdefs.h. */
31660 /* System header to define __stub macros and hopefully few prototypes,
31661 which can conflict with char $ac_func (); below.
31662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31663 <limits.h> exists even on freestanding compilers. */
31665 # include <limits.h>
31667 # include <assert.h>
31669 /* Override any gcc2 internal prototype to avoid an error. */
31674 /* We use char because int might match the return type of a gcc2
31675 builtin and then its argument prototype would still apply. */
31677 /* The GNU C library defines this for functions which it implements
31678 to always fail with ENOSYS. Some functions are actually named
31679 something starting with __ and the normal name is an alias. */
31680 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31683 char (*f) () = $ac_func;
31692 return f != $ac_func;
31697 rm -f conftest.
$ac_objext conftest
$ac_exeext
31698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31699 (eval $ac_link) 2>&5
31701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31702 (exit $ac_status); } &&
31703 { ac_try
='test -s conftest$ac_exeext'
31704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31705 (eval $ac_try) 2>&5
31707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31708 (exit $ac_status); }; }; then
31709 eval "$as_ac_var=yes"
31711 echo "$as_me: failed program was:" >&5
31712 sed 's/^/| /' conftest.
$ac_ext >&5
31714 eval "$as_ac_var=no"
31716 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31719 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31720 if test `eval echo '${'$as_ac_var'}'` = yes; then
31721 cat >>confdefs.h
<<_ACEOF
31722 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31725 cat >>confdefs.h
<<\_ACEOF
31726 #define HAVE_SHL_LOAD 1
31733 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
31734 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
31735 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
31736 echo $ECHO_N "(cached) $ECHO_C" >&6
31738 ac_check_lib_save_LIBS
=$LIBS
31739 LIBS
="-lshl_load $LIBS"
31740 cat >conftest.
$ac_ext <<_ACEOF
31741 #line $LINENO "configure"
31744 cat confdefs.h
>>conftest.
$ac_ext
31745 cat >>conftest.
$ac_ext <<_ACEOF
31746 /* end confdefs.h. */
31748 /* Override any gcc2 internal prototype to avoid an error. */
31752 /* We use char because int might match the return type of a gcc2
31753 builtin and then its argument prototype would still apply. */
31763 rm -f conftest.
$ac_objext conftest
$ac_exeext
31764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31765 (eval $ac_link) 2>&5
31767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31768 (exit $ac_status); } &&
31769 { ac_try
='test -s conftest$ac_exeext'
31770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31771 (eval $ac_try) 2>&5
31773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31774 (exit $ac_status); }; }; then
31775 ac_cv_lib_shl_load_dld
=yes
31777 echo "$as_me: failed program was:" >&5
31778 sed 's/^/| /' conftest.
$ac_ext >&5
31780 ac_cv_lib_shl_load_dld
=no
31782 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31783 LIBS
=$ac_check_lib_save_LIBS
31785 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
31786 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
31787 if test $ac_cv_lib_shl_load_dld = yes; then
31790 DL_LINK
=" -ldld$DL_LINK"
31806 if test "$HAVE_DL_FUNCS" = 1; then
31808 for ac_func
in dlerror
31810 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31811 echo "$as_me:$LINENO: checking for $ac_func" >&5
31812 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31813 if eval "test \"\${$as_ac_var+set}\" = set"; then
31814 echo $ECHO_N "(cached) $ECHO_C" >&6
31816 cat >conftest.
$ac_ext <<_ACEOF
31817 #line $LINENO "configure"
31820 cat confdefs.h
>>conftest.
$ac_ext
31821 cat >>conftest.
$ac_ext <<_ACEOF
31822 /* end confdefs.h. */
31823 /* System header to define __stub macros and hopefully few prototypes,
31824 which can conflict with char $ac_func (); below.
31825 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31826 <limits.h> exists even on freestanding compilers. */
31828 # include <limits.h>
31830 # include <assert.h>
31832 /* Override any gcc2 internal prototype to avoid an error. */
31837 /* We use char because int might match the return type of a gcc2
31838 builtin and then its argument prototype would still apply. */
31840 /* The GNU C library defines this for functions which it implements
31841 to always fail with ENOSYS. Some functions are actually named
31842 something starting with __ and the normal name is an alias. */
31843 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31846 char (*f) () = $ac_func;
31855 return f != $ac_func;
31860 rm -f conftest.
$ac_objext conftest
$ac_exeext
31861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31862 (eval $ac_link) 2>&5
31864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31865 (exit $ac_status); } &&
31866 { ac_try
='test -s conftest$ac_exeext'
31867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31868 (eval $ac_try) 2>&5
31870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31871 (exit $ac_status); }; }; then
31872 eval "$as_ac_var=yes"
31874 echo "$as_me: failed program was:" >&5
31875 sed 's/^/| /' conftest.
$ac_ext >&5
31877 eval "$as_ac_var=no"
31879 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31882 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31883 if test `eval echo '${'$as_ac_var'}'` = yes; then
31884 cat >>confdefs.h
<<_ACEOF
31885 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31887 cat >>confdefs.h
<<\_ACEOF
31888 #define HAVE_DLERROR 1
31892 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
31893 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
31894 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
31895 echo $ECHO_N "(cached) $ECHO_C" >&6
31897 ac_check_lib_save_LIBS
=$LIBS
31899 cat >conftest.
$ac_ext <<_ACEOF
31900 #line $LINENO "configure"
31903 cat confdefs.h
>>conftest.
$ac_ext
31904 cat >>conftest.
$ac_ext <<_ACEOF
31905 /* end confdefs.h. */
31907 /* Override any gcc2 internal prototype to avoid an error. */
31911 /* We use char because int might match the return type of a gcc2
31912 builtin and then its argument prototype would still apply. */
31922 rm -f conftest.
$ac_objext conftest
$ac_exeext
31923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31924 (eval $ac_link) 2>&5
31926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31927 (exit $ac_status); } &&
31928 { ac_try
='test -s conftest$ac_exeext'
31929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31930 (eval $ac_try) 2>&5
31932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31933 (exit $ac_status); }; }; then
31934 ac_cv_lib_dl_dlerror
=yes
31936 echo "$as_me: failed program was:" >&5
31937 sed 's/^/| /' conftest.
$ac_ext >&5
31939 ac_cv_lib_dl_dlerror
=no
31941 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31942 LIBS
=$ac_check_lib_save_LIBS
31944 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
31945 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
31946 if test $ac_cv_lib_dl_dlerror = yes; then
31947 cat >>confdefs.h
<<\_ACEOF
31948 #define HAVE_DLERROR 1
31959 if test "$HAVE_DL_FUNCS" = 0; then
31960 if test "$HAVE_SHL_FUNCS" = 0; then
31961 if test "$USE_UNIX" = 1; then
31962 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
31963 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
31964 wxUSE_DYNAMIC_LOADER
=no
31965 wxUSE_DYNLIB_CLASS
=no
31967 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
31968 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
31975 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
31976 cat >>confdefs.h
<<\_ACEOF
31977 #define wxUSE_DYNAMIC_LOADER 1
31981 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31982 cat >>confdefs.h
<<\_ACEOF
31983 #define wxUSE_DYNLIB_CLASS 1
31989 if test "$wxUSE_FONTMAP" = "yes" ; then
31990 cat >>confdefs.h
<<\_ACEOF
31991 #define wxUSE_FONTMAP 1
31996 if test "$wxUSE_UNICODE" = "yes" ; then
31997 cat >>confdefs.h
<<\_ACEOF
31998 #define wxUSE_UNICODE 1
32002 if test "$USE_WIN32" != 1; then
32003 wxUSE_UNICODE_MSLU
=no
32006 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
32007 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
32008 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
32009 if test "${ac_cv_lib_unicows_main+set}" = set; then
32010 echo $ECHO_N "(cached) $ECHO_C" >&6
32012 ac_check_lib_save_LIBS
=$LIBS
32013 LIBS
="-lunicows $LIBS"
32014 cat >conftest.
$ac_ext <<_ACEOF
32015 #line $LINENO "configure"
32018 cat confdefs.h
>>conftest.
$ac_ext
32019 cat >>conftest.
$ac_ext <<_ACEOF
32020 /* end confdefs.h. */
32031 rm -f conftest.
$ac_objext conftest
$ac_exeext
32032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32033 (eval $ac_link) 2>&5
32035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32036 (exit $ac_status); } &&
32037 { ac_try
='test -s conftest$ac_exeext'
32038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32039 (eval $ac_try) 2>&5
32041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32042 (exit $ac_status); }; }; then
32043 ac_cv_lib_unicows_main
=yes
32045 echo "$as_me: failed program was:" >&5
32046 sed 's/^/| /' conftest.
$ac_ext >&5
32048 ac_cv_lib_unicows_main
=no
32050 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32051 LIBS
=$ac_check_lib_save_LIBS
32053 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
32054 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
32055 if test $ac_cv_lib_unicows_main = yes; then
32057 cat >>confdefs.h
<<\_ACEOF
32058 #define wxUSE_UNICODE_MSLU 1
32064 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32065 Applications will only run on Windows NT/2000/XP!" >&5
32066 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32067 Applications will only run on Windows NT/2000/XP!" >&2;}
32068 wxUSE_UNICODE_MSLU
=no
32075 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
32076 cat >>confdefs.h
<<\_ACEOF
32077 #define wxUSE_EXPERIMENTAL_PRINTF 1
32083 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
32084 cat >>confdefs.h
<<\_ACEOF
32085 #define wxUSE_POSTSCRIPT 1
32090 cat >>confdefs.h
<<\_ACEOF
32091 #define wxUSE_AFM_FOR_POSTSCRIPT 1
32095 cat >>confdefs.h
<<\_ACEOF
32096 #define wxUSE_NORMALIZED_PS_FONTS 1
32101 if test "$wxUSE_CONSTRAINTS" = "yes"; then
32102 cat >>confdefs.h
<<\_ACEOF
32103 #define wxUSE_CONSTRAINTS 1
32106 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
32109 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32110 cat >>confdefs.h
<<\_ACEOF
32111 #define wxUSE_MDI_ARCHITECTURE 1
32114 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
32117 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
32118 cat >>confdefs.h
<<\_ACEOF
32119 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
32122 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
32123 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32124 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
32128 if test "$wxUSE_HELP" = "yes"; then
32129 cat >>confdefs.h
<<\_ACEOF
32130 #define wxUSE_HELP 1
32133 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
32135 if test "$wxUSE_MSW" = 1; then
32136 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
32137 cat >>confdefs.h
<<\_ACEOF
32138 #define wxUSE_MS_HTML_HELP 1
32144 if test "$wxUSE_WXHTML_HELP" = "yes"; then
32145 if test "$wxUSE_HTML" = "yes"; then
32146 cat >>confdefs.h
<<\_ACEOF
32147 #define wxUSE_WXHTML_HELP 1
32151 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
32152 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
32153 wxUSE_WXHTML_HELP
=no
32158 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
32159 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32160 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
32161 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
32163 cat >>confdefs.h
<<\_ACEOF
32164 #define wxUSE_PRINTING_ARCHITECTURE 1
32168 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
32171 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
32172 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
32173 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
32174 { (exit 1); exit 1; }; }
32178 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
32179 -o "$wxUSE_CLIPBOARD" = "yes" \
32180 -o "$wxUSE_OLE" = "yes" \
32181 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
32183 for ac_header
in ole2.h
32185 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32186 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32187 echo "$as_me:$LINENO: checking for $ac_header" >&5
32188 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32189 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32190 echo $ECHO_N "(cached) $ECHO_C" >&6
32192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32193 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32195 # Is the header compilable?
32196 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32197 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32198 cat >conftest.
$ac_ext <<_ACEOF
32199 #line $LINENO "configure"
32202 cat confdefs.h
>>conftest.
$ac_ext
32203 cat >>conftest.
$ac_ext <<_ACEOF
32204 /* end confdefs.h. */
32205 $ac_includes_default
32206 #include <$ac_header>
32208 rm -f conftest.
$ac_objext
32209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32210 (eval $ac_compile) 2>&5
32212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32213 (exit $ac_status); } &&
32214 { ac_try
='test -s conftest.$ac_objext'
32215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32216 (eval $ac_try) 2>&5
32218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32219 (exit $ac_status); }; }; then
32220 ac_header_compiler
=yes
32222 echo "$as_me: failed program was:" >&5
32223 sed 's/^/| /' conftest.
$ac_ext >&5
32225 ac_header_compiler
=no
32227 rm -f conftest.
$ac_objext conftest.
$ac_ext
32228 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32229 echo "${ECHO_T}$ac_header_compiler" >&6
32231 # Is the header present?
32232 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32233 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32234 cat >conftest.
$ac_ext <<_ACEOF
32235 #line $LINENO "configure"
32238 cat confdefs.h
>>conftest.
$ac_ext
32239 cat >>conftest.
$ac_ext <<_ACEOF
32240 /* end confdefs.h. */
32241 #include <$ac_header>
32243 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32244 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32246 grep -v '^ *+' conftest.er1
>conftest.err
32248 cat conftest.err
>&5
32249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32250 (exit $ac_status); } >/dev
/null
; then
32251 if test -s conftest.err
; then
32252 ac_cpp_err
=$ac_c_preproc_warn_flag
32259 if test -z "$ac_cpp_err"; then
32260 ac_header_preproc
=yes
32262 echo "$as_me: failed program was:" >&5
32263 sed 's/^/| /' conftest.
$ac_ext >&5
32265 ac_header_preproc
=no
32267 rm -f conftest.err conftest.
$ac_ext
32268 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32269 echo "${ECHO_T}$ac_header_preproc" >&6
32271 # So? What about this header?
32272 case $ac_header_compiler:$ac_header_preproc in
32274 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32275 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32276 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32277 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32280 ## ------------------------------------ ##
32281 ## Report this to bug-autoconf@gnu.org. ##
32282 ## ------------------------------------ ##
32285 sed "s/^/$as_me: WARNING: /" >&2
32288 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32289 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32290 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32291 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32292 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32293 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32296 ## ------------------------------------ ##
32297 ## Report this to bug-autoconf@gnu.org. ##
32298 ## ------------------------------------ ##
32301 sed "s/^/$as_me: WARNING: /" >&2
32304 echo "$as_me:$LINENO: checking for $ac_header" >&5
32305 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32306 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32307 echo $ECHO_N "(cached) $ECHO_C" >&6
32309 eval "$as_ac_Header=$ac_header_preproc"
32311 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32312 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32315 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32316 cat >>confdefs.h
<<_ACEOF
32317 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32325 if test "$ac_cv_header_ole2_h" = "yes" ; then
32326 if test "$GCC" = yes ; then
32330 ac_cpp
='$CXXCPP $CPPFLAGS'
32331 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32332 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32333 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32336 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
32337 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
32338 cat >conftest.
$ac_ext <<_ACEOF
32339 #line $LINENO "configure"
32342 cat confdefs.h
>>conftest.
$ac_ext
32343 cat >>conftest.
$ac_ext <<_ACEOF
32344 /* end confdefs.h. */
32345 #include <windows.h>
32355 rm -f conftest.
$ac_objext
32356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32357 (eval $ac_compile) 2>&5
32359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32360 (exit $ac_status); } &&
32361 { ac_try
='test -s conftest.$ac_objext'
32362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32363 (eval $ac_try) 2>&5
32365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32366 (exit $ac_status); }; }; then
32367 echo "$as_me:$LINENO: result: no" >&5
32368 echo "${ECHO_T}no" >&6
32370 echo "$as_me: failed program was:" >&5
32371 sed 's/^/| /' conftest.
$ac_ext >&5
32373 echo "$as_me:$LINENO: result: yes" >&5
32374 echo "${ECHO_T}yes" >&6
32375 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
32377 rm -f conftest.
$ac_objext conftest.
$ac_ext
32379 ac_cpp
='$CPP $CPPFLAGS'
32380 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32381 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32382 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32384 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
32385 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
32386 cat >>confdefs.h
<<\_ACEOF
32387 #define wxUSE_OLE 1
32393 cat >>confdefs.h
<<\_ACEOF
32394 #define wxUSE_DATAOBJ 1
32398 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
32399 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
32402 wxUSE_DRAG_AND_DROP
=no
32407 if test "$wxUSE_METAFILE" = "yes"; then
32408 cat >>confdefs.h
<<\_ACEOF
32409 #define wxUSE_METAFILE 1
32413 cat >>confdefs.h
<<\_ACEOF
32414 #define wxUSE_ENH_METAFILE 1
32420 if test "$wxUSE_IPC" = "yes"; then
32421 if test "$wxUSE_SOCKETS" != "yes"; then
32422 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
32423 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
32426 cat >>confdefs.h
<<\_ACEOF
32427 #define wxUSE_IPC 1
32432 if test "$wxUSE_CLIPBOARD" = "yes"; then
32433 if test "$wxUSE_MGL" = 1; then
32434 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
32435 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
32439 if test "$wxUSE_CLIPBOARD" = "yes"; then
32440 cat >>confdefs.h
<<\_ACEOF
32441 #define wxUSE_CLIPBOARD 1
32445 cat >>confdefs.h
<<\_ACEOF
32446 #define wxUSE_DATAOBJ 1
32452 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
32453 if test "$wxUSE_GTK" = 1; then
32454 if test "$WXGTK12" != 1; then
32455 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
32456 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
32457 wxUSE_DRAG_AND_DROP
=no
32461 if test "$wxUSE_MOTIF" = 1; then
32462 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
32463 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
32464 wxUSE_DRAG_AND_DROP
=no
32467 if test "$wxUSE_X11" = 1; then
32468 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
32469 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
32470 wxUSE_DRAG_AND_DROP
=no
32473 if test "$wxUSE_MGL" = 1; then
32474 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
32475 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
32476 wxUSE_DRAG_AND_DROP
=no
32479 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
32480 cat >>confdefs.h
<<\_ACEOF
32481 #define wxUSE_DRAG_AND_DROP 1
32484 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
32489 if test "$wxUSE_SPLINES" = "yes" ; then
32490 cat >>confdefs.h
<<\_ACEOF
32491 #define wxUSE_SPLINES 1
32498 if test "$wxUSE_CONTROLS" = "yes"; then
32502 if test "$wxUSE_ACCEL" = "yes"; then
32503 cat >>confdefs.h
<<\_ACEOF
32504 #define wxUSE_ACCEL 1
32510 if test "$wxUSE_BUTTON" = "yes"; then
32511 cat >>confdefs.h
<<\_ACEOF
32512 #define wxUSE_BUTTON 1
32518 if test "$wxUSE_BMPBUTTON" = "yes"; then
32519 cat >>confdefs.h
<<\_ACEOF
32520 #define wxUSE_BMPBUTTON 1
32526 if test "$wxUSE_CALCTRL" = "yes"; then
32527 cat >>confdefs.h
<<\_ACEOF
32528 #define wxUSE_CALENDARCTRL 1
32532 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
32535 if test "$wxUSE_CARET" = "yes"; then
32536 cat >>confdefs.h
<<\_ACEOF
32537 #define wxUSE_CARET 1
32541 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
32544 if test "$wxUSE_COMBOBOX" = "yes"; then
32545 cat >>confdefs.h
<<\_ACEOF
32546 #define wxUSE_COMBOBOX 1
32552 if test "$wxUSE_CHOICE" = "yes"; then
32553 cat >>confdefs.h
<<\_ACEOF
32554 #define wxUSE_CHOICE 1
32560 if test "$wxUSE_CHECKBOX" = "yes"; then
32561 cat >>confdefs.h
<<\_ACEOF
32562 #define wxUSE_CHECKBOX 1
32568 if test "$wxUSE_CHECKLST" = "yes"; then
32569 cat >>confdefs.h
<<\_ACEOF
32570 #define wxUSE_CHECKLISTBOX 1
32574 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
32577 if test "$wxUSE_DISPLAY" = "yes"; then
32578 cat >>confdefs.h
<<\_ACEOF
32579 #define wxUSE_DISPLAY 1
32582 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
32585 if test "$wxUSE_GAUGE" = "yes"; then
32586 cat >>confdefs.h
<<\_ACEOF
32587 #define wxUSE_GAUGE 1
32593 if test "$wxUSE_GRID" = "yes"; then
32594 cat >>confdefs.h
<<\_ACEOF
32595 #define wxUSE_GRID 1
32599 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
32602 if test "$wxUSE_IMAGLIST" = "yes"; then
32603 cat >>confdefs.h
<<\_ACEOF
32604 #define wxUSE_IMAGLIST 1
32609 if test "$wxUSE_LISTBOX" = "yes"; then
32610 cat >>confdefs.h
<<\_ACEOF
32611 #define wxUSE_LISTBOX 1
32617 if test "$wxUSE_LISTCTRL" = "yes"; then
32618 if test "$wxUSE_IMAGLIST" = "yes"; then
32619 cat >>confdefs.h
<<\_ACEOF
32620 #define wxUSE_LISTCTRL 1
32624 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
32626 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
32627 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
32631 if test "$wxUSE_NOTEBOOK" = "yes"; then
32632 cat >>confdefs.h
<<\_ACEOF
32633 #define wxUSE_NOTEBOOK 1
32637 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
32641 if test "$wxUSE_RADIOBOX" = "yes"; then
32642 cat >>confdefs.h
<<\_ACEOF
32643 #define wxUSE_RADIOBOX 1
32649 if test "$wxUSE_RADIOBTN" = "yes"; then
32650 cat >>confdefs.h
<<\_ACEOF
32651 #define wxUSE_RADIOBTN 1
32657 if test "$wxUSE_SASH" = "yes"; then
32658 cat >>confdefs.h
<<\_ACEOF
32659 #define wxUSE_SASH 1
32662 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
32665 if test "$wxUSE_SCROLLBAR" = "yes"; then
32666 cat >>confdefs.h
<<\_ACEOF
32667 #define wxUSE_SCROLLBAR 1
32671 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
32674 if test "$wxUSE_SLIDER" = "yes"; then
32675 cat >>confdefs.h
<<\_ACEOF
32676 #define wxUSE_SLIDER 1
32682 if test "$wxUSE_SPINBTN" = "yes"; then
32683 cat >>confdefs.h
<<\_ACEOF
32684 #define wxUSE_SPINBTN 1
32690 if test "$wxUSE_SPINCTRL" = "yes"; then
32691 cat >>confdefs.h
<<\_ACEOF
32692 #define wxUSE_SPINCTRL 1
32698 if test "$wxUSE_SPLITTER" = "yes"; then
32699 cat >>confdefs.h
<<\_ACEOF
32700 #define wxUSE_SPLITTER 1
32703 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
32706 if test "$wxUSE_STATBMP" = "yes"; then
32707 cat >>confdefs.h
<<\_ACEOF
32708 #define wxUSE_STATBMP 1
32714 if test "$wxUSE_STATBOX" = "yes"; then
32715 cat >>confdefs.h
<<\_ACEOF
32716 #define wxUSE_STATBOX 1
32722 if test "$wxUSE_STATTEXT" = "yes"; then
32723 cat >>confdefs.h
<<\_ACEOF
32724 #define wxUSE_STATTEXT 1
32730 if test "$wxUSE_STATLINE" = "yes"; then
32731 cat >>confdefs.h
<<\_ACEOF
32732 #define wxUSE_STATLINE 1
32738 if test "$wxUSE_STATUSBAR" = "yes"; then
32739 cat >>confdefs.h
<<\_ACEOF
32740 #define wxUSE_STATUSBAR 1
32745 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
32748 if test "$wxUSE_TABDIALOG" = "yes"; then
32749 cat >>confdefs.h
<<\_ACEOF
32750 #define wxUSE_TAB_DIALOG 1
32753 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
32756 if test "$wxUSE_TEXTCTRL" = "yes"; then
32757 cat >>confdefs.h
<<\_ACEOF
32758 #define wxUSE_TEXTCTRL 1
32762 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
32765 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32766 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32767 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
32768 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
32771 if test "$wxUSE_UNIVERSAL" = "yes"; then
32772 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
32773 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
32777 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32778 cat >>confdefs.h
<<\_ACEOF
32779 #define wxUSE_TOGGLEBTN 1
32786 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
32787 cat >>confdefs.h
<<\_ACEOF
32788 #define wxUSE_TOOLBAR_SIMPLE 1
32791 wxUSE_TOOLBAR
="yes"
32795 if test "$wxUSE_TOOLBAR" = "yes"; then
32796 cat >>confdefs.h
<<\_ACEOF
32797 #define wxUSE_TOOLBAR 1
32802 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
32803 wxUSE_TOOLBAR_NATIVE
="yes"
32806 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
32807 cat >>confdefs.h
<<\_ACEOF
32808 #define wxUSE_TOOLBAR_NATIVE 1
32814 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
32817 if test "$wxUSE_TOOLTIPS" = "yes"; then
32818 if test "$wxUSE_MOTIF" = 1; then
32819 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
32820 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
32822 if test "$wxUSE_UNIVERSAL" = "yes"; then
32823 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
32824 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
32826 cat >>confdefs.h
<<\_ACEOF
32827 #define wxUSE_TOOLTIPS 1
32834 if test "$wxUSE_TREECTRL" = "yes"; then
32835 if test "$wxUSE_IMAGLIST" = "yes"; then
32836 cat >>confdefs.h
<<\_ACEOF
32837 #define wxUSE_TREECTRL 1
32841 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
32843 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
32844 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
32848 if test "$wxUSE_POPUPWIN" = "yes"; then
32849 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32850 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
32851 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
32853 if test "$wxUSE_MOTIF" = 1; then
32854 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&5
32855 echo "$as_me: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&2;}
32857 if test "$wxUSE_PM" = 1; then
32858 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
32859 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
32861 cat >>confdefs.h
<<\_ACEOF
32862 #define wxUSE_POPUPWIN 1
32872 if test "$wxUSE_TIPWINDOW" = "yes"; then
32873 if test "$wxUSE_PM" = 1; then
32874 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
32875 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
32877 cat >>confdefs.h
<<\_ACEOF
32878 #define wxUSE_TIPWINDOW 1
32884 if test "$USES_CONTROLS" = 1; then
32885 cat >>confdefs.h
<<\_ACEOF
32886 #define wxUSE_CONTROLS 1
32893 if test "$wxUSE_DRAGIMAGE" = "yes"; then
32894 cat >>confdefs.h
<<\_ACEOF
32895 #define wxUSE_DRAGIMAGE 1
32898 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
32901 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
32902 cat >>confdefs.h
<<\_ACEOF
32903 #define wxUSE_ACCESSIBILITY 1
32906 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
32909 if test "$wxUSE_MENUS" = "yes"; then
32910 cat >>confdefs.h
<<\_ACEOF
32911 #define wxUSE_MENUS 1
32914 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
32917 if test "$wxUSE_METAFILE" = "yes"; then
32918 cat >>confdefs.h
<<\_ACEOF
32919 #define wxUSE_METAFILE 1
32924 if test "$wxUSE_MIMETYPE" = "yes"; then
32925 cat >>confdefs.h
<<\_ACEOF
32926 #define wxUSE_MIMETYPE 1
32931 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
32932 cat >>confdefs.h
<<\_ACEOF
32933 #define wxUSE_SYSTEM_OPTIONS 1
32936 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
32937 "$TOOLKIT" = "MOTIF"; then
32938 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
32943 if test "$wxUSE_MINIFRAME" = "yes"; then
32944 cat >>confdefs.h
<<\_ACEOF
32945 #define wxUSE_MINIFRAME 1
32948 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
32952 if test "$wxUSE_HTML" = "yes"; then
32953 cat >>confdefs.h
<<\_ACEOF
32954 #define wxUSE_HTML 1
32958 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
32961 if test "$wxUSE_VALIDATORS" = "yes"; then
32962 cat >>confdefs.h
<<\_ACEOF
32963 #define wxUSE_VALIDATORS 1
32966 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
32969 if test "$wxUSE_PALETTE" = "yes" ; then
32970 cat >>confdefs.h
<<\_ACEOF
32971 #define wxUSE_PALETTE 1
32976 if test "$wxUSE_IMAGE" = "yes" ; then
32977 cat >>confdefs.h
<<\_ACEOF
32978 #define wxUSE_IMAGE 1
32983 if test "$wxUSE_GIF" = "yes" ; then
32984 cat >>confdefs.h
<<\_ACEOF
32985 #define wxUSE_GIF 1
32990 if test "$wxUSE_PCX" = "yes" ; then
32991 cat >>confdefs.h
<<\_ACEOF
32992 #define wxUSE_PCX 1
32997 if test "$wxUSE_IFF" = "yes" ; then
32998 cat >>confdefs.h
<<\_ACEOF
32999 #define wxUSE_IFF 1
33004 if test "$wxUSE_PNM" = "yes" ; then
33005 cat >>confdefs.h
<<\_ACEOF
33006 #define wxUSE_PNM 1
33011 if test "$wxUSE_XPM" = "yes" ; then
33012 cat >>confdefs.h
<<\_ACEOF
33013 #define wxUSE_XPM 1
33018 if test "$wxUSE_ICO_CUR" = "yes" ; then
33019 cat >>confdefs.h
<<\_ACEOF
33020 #define wxUSE_ICO_CUR 1
33025 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
33026 LIBS
=" -lunicows $LIBS"
33030 if test "$wxUSE_CHOICEDLG" = "yes"; then
33031 cat >>confdefs.h
<<\_ACEOF
33032 #define wxUSE_CHOICEDLG 1
33037 if test "$wxUSE_COLOURDLG" = "yes"; then
33038 cat >>confdefs.h
<<\_ACEOF
33039 #define wxUSE_COLOURDLG 1
33044 if test "$wxUSE_FILEDLG" = "yes"; then
33045 cat >>confdefs.h
<<\_ACEOF
33046 #define wxUSE_FILEDLG 1
33051 if test "$wxUSE_FINDREPLDLG" = "yes"; then
33052 cat >>confdefs.h
<<\_ACEOF
33053 #define wxUSE_FINDREPLDLG 1
33058 if test "$wxUSE_FONTDLG" = "yes"; then
33059 cat >>confdefs.h
<<\_ACEOF
33060 #define wxUSE_FONTDLG 1
33065 if test "$wxUSE_DIRDLG" = "yes"; then
33066 if test "$wxUSE_TREECTRL" != "yes"; then
33067 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
33068 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
33070 cat >>confdefs.h
<<\_ACEOF
33071 #define wxUSE_DIRDLG 1
33077 if test "$wxUSE_MSGDLG" = "yes"; then
33078 cat >>confdefs.h
<<\_ACEOF
33079 #define wxUSE_MSGDLG 1
33084 if test "$wxUSE_NUMBERDLG" = "yes"; then
33085 cat >>confdefs.h
<<\_ACEOF
33086 #define wxUSE_NUMBERDLG 1
33091 if test "$wxUSE_PROGRESSDLG" = "yes"; then
33092 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33093 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
33094 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
33096 cat >>confdefs.h
<<\_ACEOF
33097 #define wxUSE_PROGRESSDLG 1
33103 if test "$wxUSE_SPLASH" = "yes"; then
33104 cat >>confdefs.h
<<\_ACEOF
33105 #define wxUSE_SPLASH 1
33110 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
33111 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33112 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
33113 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
33115 cat >>confdefs.h
<<\_ACEOF
33116 #define wxUSE_STARTUP_TIPS 1
33122 if test "$wxUSE_TEXTDLG" = "yes"; then
33123 cat >>confdefs.h
<<\_ACEOF
33124 #define wxUSE_TEXTDLG 1
33129 if test "$wxUSE_WIZARDDLG" = "yes"; then
33130 cat >>confdefs.h
<<\_ACEOF
33131 #define wxUSE_WIZARDDLG 1
33134 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
33138 if test "$cross_compiling" = "yes"; then
33141 OSINFO
=`uname -s -r -m`
33142 OSINFO
="\"$OSINFO\""
33145 cat >>confdefs.h
<<_ACEOF
33146 #define WXWIN_OS_DESCRIPTION $OSINFO
33151 if test "x$prefix" != "xNONE"; then
33154 wxPREFIX
=$ac_default_prefix
33157 cat >>confdefs.h
<<_ACEOF
33158 #define wxINSTALL_PREFIX "$wxPREFIX"
33162 top_builddir_wxconfig
=`pwd`
33166 CORE_BASE_LIBS
="net base"
33167 CORE_GUI_LIBS
="adv core"
33169 if test "$wxUSE_XML" = "yes" ; then
33170 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
33172 if test "$wxUSE_ODBC" != "no" ; then
33173 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
33174 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
33176 if test "$wxUSE_HTML" = "yes" ; then
33177 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
33187 if test "$wxUSE_MAC" = 1 ; then
33188 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
33190 if test "$wxUSE_COCOA" = 1 ; then
33191 LDFLAGS
="$LDFLAGS -framework Cocoa -framework System"
33195 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
33202 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33203 echo "$as_me:$LINENO: checking for $ac_func" >&5
33204 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33205 if eval "test \"\${$as_ac_var+set}\" = set"; then
33206 echo $ECHO_N "(cached) $ECHO_C" >&6
33208 cat >conftest.
$ac_ext <<_ACEOF
33209 #line $LINENO "configure"
33212 cat confdefs.h
>>conftest.
$ac_ext
33213 cat >>conftest.
$ac_ext <<_ACEOF
33214 /* end confdefs.h. */
33215 /* System header to define __stub macros and hopefully few prototypes,
33216 which can conflict with char $ac_func (); below.
33217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33218 <limits.h> exists even on freestanding compilers. */
33220 # include <limits.h>
33222 # include <assert.h>
33224 /* Override any gcc2 internal prototype to avoid an error. */
33229 /* We use char because int might match the return type of a gcc2
33230 builtin and then its argument prototype would still apply. */
33232 /* The GNU C library defines this for functions which it implements
33233 to always fail with ENOSYS. Some functions are actually named
33234 something starting with __ and the normal name is an alias. */
33235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33238 char (*f) () = $ac_func;
33247 return f != $ac_func;
33252 rm -f conftest.
$ac_objext conftest
$ac_exeext
33253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33254 (eval $ac_link) 2>&5
33256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33257 (exit $ac_status); } &&
33258 { ac_try
='test -s conftest$ac_exeext'
33259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33260 (eval $ac_try) 2>&5
33262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33263 (exit $ac_status); }; }; then
33264 eval "$as_ac_var=yes"
33266 echo "$as_me: failed program was:" >&5
33267 sed 's/^/| /' conftest.
$ac_ext >&5
33269 eval "$as_ac_var=no"
33271 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33274 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33275 if test `eval echo '${'$as_ac_var'}'` = yes; then
33276 cat >>confdefs.h
<<_ACEOF
33277 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33284 for ac_func
in floor
33286 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33287 echo "$as_me:$LINENO: checking for $ac_func" >&5
33288 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33289 if eval "test \"\${$as_ac_var+set}\" = set"; then
33290 echo $ECHO_N "(cached) $ECHO_C" >&6
33292 cat >conftest.
$ac_ext <<_ACEOF
33293 #line $LINENO "configure"
33296 cat confdefs.h
>>conftest.
$ac_ext
33297 cat >>conftest.
$ac_ext <<_ACEOF
33298 /* end confdefs.h. */
33299 /* System header to define __stub macros and hopefully few prototypes,
33300 which can conflict with char $ac_func (); below.
33301 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33302 <limits.h> exists even on freestanding compilers. */
33304 # include <limits.h>
33306 # include <assert.h>
33308 /* Override any gcc2 internal prototype to avoid an error. */
33313 /* We use char because int might match the return type of a gcc2
33314 builtin and then its argument prototype would still apply. */
33316 /* The GNU C library defines this for functions which it implements
33317 to always fail with ENOSYS. Some functions are actually named
33318 something starting with __ and the normal name is an alias. */
33319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33322 char (*f) () = $ac_func;
33331 return f != $ac_func;
33336 rm -f conftest.
$ac_objext conftest
$ac_exeext
33337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33338 (eval $ac_link) 2>&5
33340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33341 (exit $ac_status); } &&
33342 { ac_try
='test -s conftest$ac_exeext'
33343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33344 (eval $ac_try) 2>&5
33346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33347 (exit $ac_status); }; }; then
33348 eval "$as_ac_var=yes"
33350 echo "$as_me: failed program was:" >&5
33351 sed 's/^/| /' conftest.
$ac_ext >&5
33353 eval "$as_ac_var=no"
33355 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33358 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33359 if test `eval echo '${'$as_ac_var'}'` = yes; then
33360 cat >>confdefs.h
<<_ACEOF
33361 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33367 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
33368 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
33369 if test "$have_cos" = 1 -a "$have_floor" = 1; then
33370 echo "$as_me:$LINENO: result: yes" >&5
33371 echo "${ECHO_T}yes" >&6
33373 echo "$as_me:$LINENO: result: no" >&5
33374 echo "${ECHO_T}no" >&6
33376 # use different functions to avoid configure caching
33382 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33383 echo "$as_me:$LINENO: checking for $ac_func" >&5
33384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33385 if eval "test \"\${$as_ac_var+set}\" = set"; then
33386 echo $ECHO_N "(cached) $ECHO_C" >&6
33388 cat >conftest.
$ac_ext <<_ACEOF
33389 #line $LINENO "configure"
33392 cat confdefs.h
>>conftest.
$ac_ext
33393 cat >>conftest.
$ac_ext <<_ACEOF
33394 /* end confdefs.h. */
33395 /* System header to define __stub macros and hopefully few prototypes,
33396 which can conflict with char $ac_func (); below.
33397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33398 <limits.h> exists even on freestanding compilers. */
33400 # include <limits.h>
33402 # include <assert.h>
33404 /* Override any gcc2 internal prototype to avoid an error. */
33409 /* We use char because int might match the return type of a gcc2
33410 builtin and then its argument prototype would still apply. */
33412 /* The GNU C library defines this for functions which it implements
33413 to always fail with ENOSYS. Some functions are actually named
33414 something starting with __ and the normal name is an alias. */
33415 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33418 char (*f) () = $ac_func;
33427 return f != $ac_func;
33432 rm -f conftest.
$ac_objext conftest
$ac_exeext
33433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33434 (eval $ac_link) 2>&5
33436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33437 (exit $ac_status); } &&
33438 { ac_try
='test -s conftest$ac_exeext'
33439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33440 (eval $ac_try) 2>&5
33442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33443 (exit $ac_status); }; }; then
33444 eval "$as_ac_var=yes"
33446 echo "$as_me: failed program was:" >&5
33447 sed 's/^/| /' conftest.
$ac_ext >&5
33449 eval "$as_ac_var=no"
33451 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33455 if test `eval echo '${'$as_ac_var'}'` = yes; then
33456 cat >>confdefs.h
<<_ACEOF
33457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33464 for ac_func
in ceil
33466 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33467 echo "$as_me:$LINENO: checking for $ac_func" >&5
33468 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33469 if eval "test \"\${$as_ac_var+set}\" = set"; then
33470 echo $ECHO_N "(cached) $ECHO_C" >&6
33472 cat >conftest.
$ac_ext <<_ACEOF
33473 #line $LINENO "configure"
33476 cat confdefs.h
>>conftest.
$ac_ext
33477 cat >>conftest.
$ac_ext <<_ACEOF
33478 /* end confdefs.h. */
33479 /* System header to define __stub macros and hopefully few prototypes,
33480 which can conflict with char $ac_func (); below.
33481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33482 <limits.h> exists even on freestanding compilers. */
33484 # include <limits.h>
33486 # include <assert.h>
33488 /* Override any gcc2 internal prototype to avoid an error. */
33493 /* We use char because int might match the return type of a gcc2
33494 builtin and then its argument prototype would still apply. */
33496 /* The GNU C library defines this for functions which it implements
33497 to always fail with ENOSYS. Some functions are actually named
33498 something starting with __ and the normal name is an alias. */
33499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33502 char (*f) () = $ac_func;
33511 return f != $ac_func;
33516 rm -f conftest.
$ac_objext conftest
$ac_exeext
33517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33518 (eval $ac_link) 2>&5
33520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33521 (exit $ac_status); } &&
33522 { ac_try
='test -s conftest$ac_exeext'
33523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33524 (eval $ac_try) 2>&5
33526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33527 (exit $ac_status); }; }; then
33528 eval "$as_ac_var=yes"
33530 echo "$as_me: failed program was:" >&5
33531 sed 's/^/| /' conftest.
$ac_ext >&5
33533 eval "$as_ac_var=no"
33535 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33538 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33539 if test `eval echo '${'$as_ac_var'}'` = yes; then
33540 cat >>confdefs.h
<<_ACEOF
33541 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33547 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
33548 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
33549 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
33550 echo "$as_me:$LINENO: result: yes" >&5
33551 echo "${ECHO_T}yes" >&6
33553 echo "$as_me:$LINENO: result: no" >&5
33554 echo "${ECHO_T}no" >&6
33555 # not sure we should warn the user, crash, etc.
33559 if test "$wxUSE_GUI" = "yes"; then
33562 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
33563 drawing dynamic erase event exec font image \
33564 minimal propsize rotate shaped widgets render"
33566 if test "$wxUSE_MONOLITHIC" != "yes"; then
33567 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
33570 SAMPLES_SUBDIRS
="console"
33574 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
33575 -I\${top_srcdir}/include \
33576 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
33579 if test "$GXX" = yes ; then
33580 CXXWARNINGS
="-Wall"
33583 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
33585 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
33586 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
33587 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
33590 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
33591 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
33592 EXTRALIBS_XML
="$EXPAT_LINK"
33593 EXTRALIBS_ODBC
="$ODBC_LINK"
33594 if test "$wxUSE_GUI" = "yes"; then
33595 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
33597 if test "$wxUSE_OPENGL" = "yes"; then
33598 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
33601 LDFLAGS
="$LDFLAGS $PROFILE"
33603 if test "$wxUSE_GTK" = 1; then
33606 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
33609 WXCONFIG_EXTRALIBS
="$LIBS"
33611 if test "$wxUSE_REGEX" = "builtin" ; then
33612 wxconfig_3rdparty
="$wxconfig_3rdparty regex"
33614 if test "$wxUSE_EXPAT" = "builtin" ; then
33615 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
33617 if test "$wxUSE_ODBC" = "builtin" ; then
33618 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
33620 if test "$wxUSE_LIBTIFF" = "builtin" ; then
33621 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
33623 if test "$wxUSE_LIBJPEG" = "builtin" ; then
33624 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
33626 if test "$wxUSE_LIBPNG" = "builtin" ; then
33627 wxconfig_3rdparty
="$wxconfig_3rdparty png"
33629 if test "$wxUSE_ZLIB" = "builtin" ; then
33630 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
33632 if test "$wxUSE_ODBC" = "builtin" ; then
33633 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
33636 for i
in $wxconfig_3rdparty ; do
33637 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
33641 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
33655 if test $wxUSE_MONOLITHIC = "yes" ; then
33661 if test $wxUSE_ODBC != "no" ; then
33667 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
33689 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr [A-Z] [a-z]`
33697 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
33699 if test -n "$ac_tool_prefix"; then
33700 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
33701 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
33702 echo "$as_me:$LINENO: checking for $ac_word" >&5
33703 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33704 if test "${ac_cv_prog_RANLIB+set}" = set; then
33705 echo $ECHO_N "(cached) $ECHO_C" >&6
33707 if test -n "$RANLIB"; then
33708 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
33710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33711 for as_dir
in $PATH
33714 test -z "$as_dir" && as_dir
=.
33715 for ac_exec_ext
in '' $ac_executable_extensions; do
33716 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33717 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
33718 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33726 RANLIB
=$ac_cv_prog_RANLIB
33727 if test -n "$RANLIB"; then
33728 echo "$as_me:$LINENO: result: $RANLIB" >&5
33729 echo "${ECHO_T}$RANLIB" >&6
33731 echo "$as_me:$LINENO: result: no" >&5
33732 echo "${ECHO_T}no" >&6
33736 if test -z "$ac_cv_prog_RANLIB"; then
33737 ac_ct_RANLIB
=$RANLIB
33738 # Extract the first word of "ranlib", so it can be a program name with args.
33739 set dummy ranlib
; ac_word
=$2
33740 echo "$as_me:$LINENO: checking for $ac_word" >&5
33741 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33742 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
33743 echo $ECHO_N "(cached) $ECHO_C" >&6
33745 if test -n "$ac_ct_RANLIB"; then
33746 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
33748 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33749 for as_dir
in $PATH
33752 test -z "$as_dir" && as_dir
=.
33753 for ac_exec_ext
in '' $ac_executable_extensions; do
33754 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33755 ac_cv_prog_ac_ct_RANLIB
="ranlib"
33756 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33762 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
33765 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
33766 if test -n "$ac_ct_RANLIB"; then
33767 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
33768 echo "${ECHO_T}$ac_ct_RANLIB" >&6
33770 echo "$as_me:$LINENO: result: no" >&5
33771 echo "${ECHO_T}no" >&6
33774 RANLIB
=$ac_ct_RANLIB
33776 RANLIB
="$ac_cv_prog_RANLIB"
33779 # Find a good install program. We prefer a C program (faster),
33780 # so one script is as good as another. But avoid the broken or
33781 # incompatible versions:
33782 # SysV /etc/install, /usr/sbin/install
33783 # SunOS /usr/etc/install
33784 # IRIX /sbin/install
33786 # AmigaOS /C/install, which installs bootblocks on floppy discs
33787 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
33788 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
33789 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
33790 # ./install, which can be erroneously created by make from ./install.sh.
33791 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
33792 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
33793 if test -z "$INSTALL"; then
33794 if test "${ac_cv_path_install+set}" = set; then
33795 echo $ECHO_N "(cached) $ECHO_C" >&6
33797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33798 for as_dir
in $PATH
33801 test -z "$as_dir" && as_dir
=.
33802 # Account for people who put trailing slashes in PATH elements.
33804 .
/ | .
// | /cC
/* | \
33805 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
33808 # OSF1 and SCO ODT 3.0 have their own names for install.
33809 # Don't use installbsd from OSF since it installs stuff as root
33811 for ac_prog
in ginstall scoinst
install; do
33812 for ac_exec_ext
in '' $ac_executable_extensions; do
33813 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
33814 if test $ac_prog = install &&
33815 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
33816 # AIX install. It has an incompatible calling convention.
33818 elif test $ac_prog = install &&
33819 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
33820 # program-specific install script used by HP pwplus--don't use.
33823 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
33835 if test "${ac_cv_path_install+set}" = set; then
33836 INSTALL
=$ac_cv_path_install
33838 # As a last resort, use the slow shell script. We don't cache a
33839 # path for INSTALL within a source directory, because that will
33840 # break other packages using the cache if that directory is
33841 # removed, or if the path is relative.
33842 INSTALL
=$ac_install_sh
33845 echo "$as_me:$LINENO: result: $INSTALL" >&5
33846 echo "${ECHO_T}$INSTALL" >&6
33848 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
33849 # It thinks the first close brace ends the variable substitution.
33850 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
33852 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
33854 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
33856 echo "$as_me:$LINENO: checking whether ln -s works" >&5
33857 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
33859 if test "$LN_S" = "ln -s"; then
33860 echo "$as_me:$LINENO: result: yes" >&5
33861 echo "${ECHO_T}yes" >&6
33863 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
33864 echo "${ECHO_T}no, using $LN_S" >&6
33868 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
33869 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
33870 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
33871 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
33872 echo $ECHO_N "(cached) $ECHO_C" >&6
33874 cat >conftest.
make <<\_ACEOF
33876 @
echo 'ac_maketemp="$(MAKE)"'
33878 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
33879 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
33880 if test -n "$ac_maketemp"; then
33881 eval ac_cv_prog_make_
${ac_make}_set
=yes
33883 eval ac_cv_prog_make_
${ac_make}_set
=no
33885 rm -f conftest.
make
33887 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
33888 echo "$as_me:$LINENO: result: yes" >&5
33889 echo "${ECHO_T}yes" >&6
33892 echo "$as_me:$LINENO: result: no" >&5
33893 echo "${ECHO_T}no" >&6
33894 SET_MAKE
="MAKE=${MAKE-make}"
33899 if test "$build" != "$host" ; then
33901 STRIP
=$host_alias-strip
33903 # Extract the first word of "ar", so it can be a program name with args.
33904 set dummy
ar; ac_word
=$2
33905 echo "$as_me:$LINENO: checking for $ac_word" >&5
33906 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33907 if test "${ac_cv_prog_AR+set}" = set; then
33908 echo $ECHO_N "(cached) $ECHO_C" >&6
33910 if test -n "$AR"; then
33911 ac_cv_prog_AR
="$AR" # Let the user override the test.
33913 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33914 for as_dir
in $PATH
33917 test -z "$as_dir" && as_dir
=.
33918 for ac_exec_ext
in '' $ac_executable_extensions; do
33919 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33921 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33927 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
33931 if test -n "$AR"; then
33932 echo "$as_me:$LINENO: result: $AR" >&5
33933 echo "${ECHO_T}$AR" >&6
33935 echo "$as_me:$LINENO: result: no" >&5
33936 echo "${ECHO_T}no" >&6
33939 # Extract the first word of "strip", so it can be a program name with args.
33940 set dummy strip
; ac_word
=$2
33941 echo "$as_me:$LINENO: checking for $ac_word" >&5
33942 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33943 if test "${ac_cv_prog_STRIP+set}" = set; then
33944 echo $ECHO_N "(cached) $ECHO_C" >&6
33946 if test -n "$STRIP"; then
33947 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
33949 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33950 for as_dir
in $PATH
33953 test -z "$as_dir" && as_dir
=.
33954 for ac_exec_ext
in '' $ac_executable_extensions; do
33955 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33956 ac_cv_prog_STRIP
="strip"
33957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33963 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
33966 STRIP
=$ac_cv_prog_STRIP
33967 if test -n "$STRIP"; then
33968 echo "$as_me:$LINENO: result: $STRIP" >&5
33969 echo "${ECHO_T}$STRIP" >&6
33971 echo "$as_me:$LINENO: result: no" >&5
33972 echo "${ECHO_T}no" >&6
33979 INSTALL_DIR
="mkdir"
33981 *) INSTALL_DIR
="$INSTALL -d"
33988 *-*-cygwin* | *-*-mingw32* )
33989 LDFLAGS_GUI
="-Wl,--subsystem,windows -mwindows"
33995 echo "$as_me:$LINENO: checking if make is GNU make" >&5
33996 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
33997 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
33998 echo $ECHO_N "(cached) $ECHO_C" >&6
34001 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
34002 egrep -s GNU
> /dev
/null
); then
34003 bakefile_cv_prog_makeisgnu
="yes"
34005 bakefile_cv_prog_makeisgnu
="no"
34009 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
34010 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
34012 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
34027 *-*-cygwin* | *-*-mingw32* )
34030 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
34033 powerpc
-*-darwin* )
34050 SO_SUFFIX_MODULE
="so"
34058 SO_SUFFIX_MODULE
="sl"
34062 SO_SUFFIX_MODULE
="a"
34064 *-*-cygwin* | *-*-mingw32* )
34066 SO_SUFFIX_MODULE
="dll"
34070 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
34074 powerpc
-*-darwin* )
34076 SO_SUFFIX_MODULE
="bundle"
34087 SHARED_LD_CC
="\$(CC) -shared -o"
34088 SHARED_LD_CXX
="\$(CXX) -shared -o"
34090 if test "x$GCC" = "xyes"; then
34096 if test "x$GCC" = "xyes"; then
34097 SHARED_LD_CC
="${CC} -shared ${PIC_FLAG} -o"
34098 SHARED_LD_CXX
="${CXX} -shared ${PIC_FLAG} -o"
34100 LDFLAGS
="$LDFLAGS -L/usr/lib"
34102 SHARED_LD_CC
="${CC} -b -o"
34103 SHARED_LD_CXX
="${CXX} -b -o"
34109 if test "x$GCC" != "xyes"; then
34110 echo "$as_me:$LINENO: checking for Intel compiler" >&5
34111 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
34112 if test "${bakefile_cv_prog_icc+set}" = set; then
34113 echo $ECHO_N "(cached) $ECHO_C" >&6
34116 cat >conftest.
$ac_ext <<_ACEOF
34117 #line $LINENO "configure"
34120 cat confdefs.h
>>conftest.
$ac_ext
34121 cat >>conftest.
$ac_ext <<_ACEOF
34122 /* end confdefs.h. */
34128 #ifndef __INTEL_COMPILER
34136 rm -f conftest.
$ac_objext
34137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34138 (eval $ac_compile) 2>&5
34140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34141 (exit $ac_status); } &&
34142 { ac_try
='test -s conftest.$ac_objext'
34143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34144 (eval $ac_try) 2>&5
34146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34147 (exit $ac_status); }; }; then
34148 bakefile_cv_prog_icc
=yes
34150 echo "$as_me: failed program was:" >&5
34151 sed 's/^/| /' conftest.
$ac_ext >&5
34153 bakefile_cv_prog_icc
=no
34156 rm -f conftest.
$ac_objext conftest.
$ac_ext
34159 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
34160 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
34161 if test "$bakefile_cv_prog_icc" = "yes"; then
34168 if test "x$GCC" != xyes
; then
34169 SHARED_LD_CC
="${CC} -G -o"
34170 SHARED_LD_CXX
="${CXX} -G -o"
34176 CFLAGS
="$CFLAGS -fno-common"
34177 CXXFLAGS
="$CXXFLAGS -fno-common"
34180 cat <<EOF >shared-ld-sh
34182 #-----------------------------------------------------------------------------
34183 #-- Name: distrib/mac/shared-ld-sh
34184 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
34185 #-- Author: Gilles Depeyrot
34186 #-- Copyright: (c) 2002 Gilles Depeyrot
34187 #-- Licence: any use permitted
34188 #-----------------------------------------------------------------------------
34193 linking_flag="-dynamiclib"
34195 while test \${#} -gt 0; do
34202 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
34203 # collect these options and values
34204 args="\${args} \${1} \${2}"
34208 -l*|-L*|-flat_namespace)
34209 # collect these options
34210 args="\${args} \${1}"
34213 -dynamiclib|-bundle)
34214 linking_flag="\${1}"
34218 echo "shared-ld: unhandled option '\${1}'"
34222 *.o | *.a | *.dylib)
34223 # collect object files
34224 objects="\${objects} \${1}"
34228 echo "shared-ld: unhandled argument '\${1}'"
34237 # Link one module containing all the others
34239 if test \${verbose} = 1; then
34240 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
34242 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
34244 if test \${status} != 0; then
34249 # Link the shared library from the single module created
34251 if test \${verbose} = 1; then
34252 echo "cc \${linking_flag} master.\$\$.o \${args}"
34254 c++ \${linking_flag} master.\$\$.o \${args}
34256 if test \${status} != 0; then
34261 # Remove intermediate module
34263 rm -f master.\$\$.o
34267 chmod +x shared
-ld-sh
34269 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -undefined suppress -flat_namespace -o"
34270 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -undefined suppress -flat_namespace -o"
34271 SHARED_LD_CXX
="$SHARED_LD_CC"
34272 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
34273 PIC_FLAG
="-dynamic -fPIC"
34277 if test "x$GCC" != "xyes"; then
34278 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
34279 set dummy makeC
++SharedLib
; ac_word
=$2
34280 echo "$as_me:$LINENO: checking for $ac_word" >&5
34281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34282 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
34283 echo $ECHO_N "(cached) $ECHO_C" >&6
34285 if test -n "$AIX_CXX_LD"; then
34286 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
34288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34289 for as_dir
in $PATH
34292 test -z "$as_dir" && as_dir
=.
34293 for ac_exec_ext
in '' $ac_executable_extensions; do
34294 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34295 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
34296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34302 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
34305 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
34306 if test -n "$AIX_CXX_LD"; then
34307 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
34308 echo "${ECHO_T}$AIX_CXX_LD" >&6
34310 echo "$as_me:$LINENO: result: no" >&5
34311 echo "${ECHO_T}no" >&6
34314 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
34315 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
34320 SHARED_LD_CC
="${LD} -shared -o"
34321 SHARED_LD_CXX
="${LD} -shared -o"
34325 if test "x$GCC" != "xyes"; then
34330 *-*-cygwin* | *-*-mingw32* )
34334 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
34342 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
34343 echo "$as_me: error: unknown system type $host." >&2;}
34344 { (exit 1); exit 1; }; }
34347 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
34348 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
34350 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
34351 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
34370 SONAME_FLAG
="-Wl,-soname,"
34398 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
34399 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
34402 if test "x$GCC" = "xyes"; then
34406 powerpc
-*-darwin* )
34407 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
34410 DEPSFLAG_GCC
="-MMD"
34413 echo "$as_me:$LINENO: result: gcc" >&5
34414 echo "${ECHO_T}gcc" >&6
34416 echo "$as_me:$LINENO: result: none" >&5
34417 echo "${ECHO_T}none" >&6
34420 if test $DEPS_TRACKING = 1 ; then
34424 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
34425 # script. It is used to track C/C++ files dependencies in portable way.
34427 # Permission is given to use this file in any way.
34431 DEPSFLAG_GCC="$DEPSFLAG_GCC"
34435 if test \$DEPSMODE = gcc ; then
34436 \${*} \${DEPSFLAG_GCC}
34438 if test \${status} != 0 ; then
34441 # move created file to the location we want it in:
34442 while test \${#} -gt 0; do
34456 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
34457 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
34458 if test -f \$depfile ; then
34459 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34462 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
34463 if test -f \$depfile ; then
34464 sed -e "/^\$objfile/! s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34484 *-*-cygwin* | *-*-mingw32* )
34485 if test "$build" != "$host" ; then
34486 RESCOMP
=$host_alias-windres
34488 # Extract the first word of "windres", so it can be a program name with args.
34489 set dummy windres
; ac_word
=$2
34490 echo "$as_me:$LINENO: checking for $ac_word" >&5
34491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34492 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34493 echo $ECHO_N "(cached) $ECHO_C" >&6
34495 if test -n "$RESCOMP"; then
34496 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
34498 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34499 for as_dir
in $PATH
34502 test -z "$as_dir" && as_dir
=.
34503 for ac_exec_ext
in '' $ac_executable_extensions; do
34504 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34505 ac_cv_prog_RESCOMP
="windres"
34506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34512 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
34515 RESCOMP
=$ac_cv_prog_RESCOMP
34516 if test -n "$RESCOMP"; then
34517 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34518 echo "${ECHO_T}$RESCOMP" >&6
34520 echo "$as_me:$LINENO: result: no" >&5
34521 echo "${ECHO_T}no" >&6
34528 # Extract the first word of "Rez", so it can be a program name with args.
34529 set dummy Rez
; ac_word
=$2
34530 echo "$as_me:$LINENO: checking for $ac_word" >&5
34531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34532 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34533 echo $ECHO_N "(cached) $ECHO_C" >&6
34535 if test -n "$RESCOMP"; then
34536 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
34538 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34539 for as_dir
in $PATH
34542 test -z "$as_dir" && as_dir
=.
34543 for ac_exec_ext
in '' $ac_executable_extensions; do
34544 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34545 ac_cv_prog_RESCOMP
="Rez"
34546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34552 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
34555 RESCOMP
=$ac_cv_prog_RESCOMP
34556 if test -n "$RESCOMP"; then
34557 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34558 echo "${ECHO_T}$RESCOMP" >&6
34560 echo "$as_me:$LINENO: result: no" >&5
34561 echo "${ECHO_T}no" >&6
34564 # Extract the first word of "SetFile", so it can be a program name with args.
34565 set dummy SetFile
; ac_word
=$2
34566 echo "$as_me:$LINENO: checking for $ac_word" >&5
34567 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34568 if test "${ac_cv_prog_SETFILE+set}" = set; then
34569 echo $ECHO_N "(cached) $ECHO_C" >&6
34571 if test -n "$SETFILE"; then
34572 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
34574 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34575 for as_dir
in $PATH
34578 test -z "$as_dir" && as_dir
=.
34579 for ac_exec_ext
in '' $ac_executable_extensions; do
34580 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34581 ac_cv_prog_SETFILE
="SetFile"
34582 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34588 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
34591 SETFILE
=$ac_cv_prog_SETFILE
34592 if test -n "$SETFILE"; then
34593 echo "$as_me:$LINENO: result: $SETFILE" >&5
34594 echo "${ECHO_T}$SETFILE" >&6
34596 echo "$as_me:$LINENO: result: no" >&5
34597 echo "${ECHO_T}no" >&6
34612 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
34613 if test "${enable_precomp_headers+set}" = set; then
34614 enableval
="$enable_precomp_headers"
34615 bk_use_pch
="$enableval"
34620 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
34621 if test "x$GCC" = "xyes"; then
34622 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
34623 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
34624 cat >conftest.
$ac_ext <<_ACEOF
34625 #line $LINENO "configure"
34628 cat confdefs.h
>>conftest.
$ac_ext
34629 cat >>conftest.
$ac_ext <<_ACEOF
34630 /* end confdefs.h. */
34636 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
34637 #error "no pch support"
34640 #error "no pch support"
34642 #if (__GNUC__ == 3) && \
34643 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
34644 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
34645 #error "no pch support"
34652 rm -f conftest.
$ac_objext
34653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34654 (eval $ac_compile) 2>&5
34656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34657 (exit $ac_status); } &&
34658 { ac_try
='test -s conftest.$ac_objext'
34659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34660 (eval $ac_try) 2>&5
34662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34663 (exit $ac_status); }; }; then
34665 echo "$as_me:$LINENO: result: yes" >&5
34666 echo "${ECHO_T}yes" >&6
34667 CPPFLAGS
="-fpch-deps $CPPFLAGS"
34671 echo "$as_me: failed program was:" >&5
34672 sed 's/^/| /' conftest.
$ac_ext >&5
34675 echo "$as_me:$LINENO: result: no" >&5
34676 echo "${ECHO_T}no" >&6
34679 rm -f conftest.
$ac_objext conftest.
$ac_ext
34680 if test $GCC_PCH = 1 ; then
34681 cat <<EOF >bk-make-pch
34684 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
34685 # script. It is used to generated precompiled headers.
34687 # Permission is given to use this file in any way.
34696 while test \${#} -gt 0; do
34699 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
34700 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
34701 headerfile="\${incdir}/\${header}"
34705 compiler="\${compiler} \${1}"
34709 if test "x\${headerfile}" = "x" ; then
34710 echo "error: can't find header \${header} in include paths" >2
34712 if test -f \${outfile} ; then
34715 mkdir -p \`dirname \${outfile}\`
34717 depsfile=".deps/\`basename \${outfile}\`.d"
34719 # can do this because gcc is >= 3.4:
34720 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
34724 chmod +x bk
-make-pch
34733 COND_BUILD_DEBUG
="#"
34734 if test "x$BUILD" = "xdebug" ; then
34735 COND_BUILD_DEBUG
=""
34738 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
34739 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
34740 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
34743 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
34744 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
34745 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
34748 COND_BUILD_RELEASE
="#"
34749 if test "x$BUILD" = "xrelease" ; then
34750 COND_BUILD_RELEASE
=""
34753 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
34754 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
34755 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
34758 COND_DEBUG_FLAG_1
="#"
34759 if test "x$DEBUG_FLAG" = "x1" ; then
34760 COND_DEBUG_FLAG_1
=""
34763 COND_DEBUG_INFO_0
="#"
34764 if test "x$DEBUG_INFO" = "x0" ; then
34765 COND_DEBUG_INFO_0
=""
34768 COND_DEBUG_INFO_1
="#"
34769 if test "x$DEBUG_INFO" = "x1" ; then
34770 COND_DEBUG_INFO_1
=""
34773 COND_DEPS_TRACKING_0
="#"
34774 if test "x$DEPS_TRACKING" = "x0" ; then
34775 COND_DEPS_TRACKING_0
=""
34778 COND_DEPS_TRACKING_1
="#"
34779 if test "x$DEPS_TRACKING" = "x1" ; then
34780 COND_DEPS_TRACKING_1
=""
34784 if test "x$GCC_PCH" = "x1" ; then
34788 COND_MONOLITHIC_0
="#"
34789 if test "x$MONOLITHIC" = "x0" ; then
34790 COND_MONOLITHIC_0
=""
34793 COND_MONOLITHIC_0_SHARED_0
="#"
34794 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
34795 COND_MONOLITHIC_0_SHARED_0
=""
34798 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
34799 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
34800 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
34803 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
34804 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
34805 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
34808 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
34809 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
34810 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
34813 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
34814 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
34815 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
34818 COND_MONOLITHIC_0_SHARED_1
="#"
34819 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
34820 COND_MONOLITHIC_0_SHARED_1
=""
34823 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
34824 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
34825 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
34828 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
34829 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
34830 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
34833 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
34834 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
34835 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
34838 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
34839 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
34840 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
34843 COND_MONOLITHIC_1
="#"
34844 if test "x$MONOLITHIC" = "x1" ; then
34845 COND_MONOLITHIC_1
=""
34848 COND_MONOLITHIC_1_SHARED_0
="#"
34849 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
34850 COND_MONOLITHIC_1_SHARED_0
=""
34853 COND_MONOLITHIC_1_SHARED_1
="#"
34854 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
34855 COND_MONOLITHIC_1_SHARED_1
=""
34858 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
34859 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
34860 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
34863 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
34864 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
34865 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
34868 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
34869 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
34870 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
34873 COND_PLATFORM_MACOSX_1
="#"
34874 if test "x$PLATFORM_MACOSX" = "x1" ; then
34875 COND_PLATFORM_MACOSX_1
=""
34878 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
34879 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
34880 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
34883 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
34884 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
34885 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
34888 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
34889 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
34890 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
34893 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
34894 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
34895 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
34898 COND_PLATFORM_MAC_1
="#"
34899 if test "x$PLATFORM_MAC" = "x1" ; then
34900 COND_PLATFORM_MAC_1
=""
34903 COND_PLATFORM_UNIX_0
="#"
34904 if test "x$PLATFORM_UNIX" = "x0" ; then
34905 COND_PLATFORM_UNIX_0
=""
34908 COND_PLATFORM_UNIX_1
="#"
34909 if test "x$PLATFORM_UNIX" = "x1" ; then
34910 COND_PLATFORM_UNIX_1
=""
34913 COND_PLATFORM_WIN32_0
="#"
34914 if test "x$PLATFORM_WIN32" = "x0" ; then
34915 COND_PLATFORM_WIN32_0
=""
34918 COND_PLATFORM_WIN32_1
="#"
34919 if test "x$PLATFORM_WIN32" = "x1" ; then
34920 COND_PLATFORM_WIN32_1
=""
34924 if test "x$SHARED" = "x0" ; then
34928 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
34929 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
34930 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
34933 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
34934 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
34935 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
34938 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
34939 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
34940 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
34943 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
34944 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
34945 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
34948 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
34949 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
34950 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
34953 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
34954 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
34955 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
34958 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
34959 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
34960 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
34963 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
34964 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
34965 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
34969 if test "x$SHARED" = "x1" ; then
34973 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
34974 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
34975 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
34978 COND_TOOLKIT_COCOA
="#"
34979 if test "x$TOOLKIT" = "xCOCOA" ; then
34980 COND_TOOLKIT_COCOA
=""
34983 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
34984 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34985 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
34988 COND_TOOLKIT_GTK
="#"
34989 if test "x$TOOLKIT" = "xGTK" ; then
34990 COND_TOOLKIT_GTK
=""
34993 COND_TOOLKIT_GTK_USE_GUI_1
="#"
34994 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
34995 COND_TOOLKIT_GTK_USE_GUI_1
=""
34998 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
34999 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35000 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
35003 COND_TOOLKIT_MAC
="#"
35004 if test "x$TOOLKIT" = "xMAC" ; then
35005 COND_TOOLKIT_MAC
=""
35008 COND_TOOLKIT_MAC_USE_GUI_1
="#"
35009 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
35010 COND_TOOLKIT_MAC_USE_GUI_1
=""
35013 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
35014 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35015 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
35018 COND_TOOLKIT_MGL
="#"
35019 if test "x$TOOLKIT" = "xMGL" ; then
35020 COND_TOOLKIT_MGL
=""
35023 COND_TOOLKIT_MGL_USE_GUI_1
="#"
35024 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
35025 COND_TOOLKIT_MGL_USE_GUI_1
=""
35028 COND_TOOLKIT_MOTIF
="#"
35029 if test "x$TOOLKIT" = "xMOTIF" ; then
35030 COND_TOOLKIT_MOTIF
=""
35033 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
35034 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
35035 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
35038 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
35039 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35040 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
35043 COND_TOOLKIT_MSW
="#"
35044 if test "x$TOOLKIT" = "xMSW" ; then
35045 COND_TOOLKIT_MSW
=""
35048 COND_TOOLKIT_MSW_USE_GUI_1
="#"
35049 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
35050 COND_TOOLKIT_MSW_USE_GUI_1
=""
35053 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
35054 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35055 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
35058 COND_TOOLKIT_OS2
="#"
35059 if test "x$TOOLKIT" = "xOS2" ; then
35060 COND_TOOLKIT_OS2
=""
35063 COND_TOOLKIT_OS2_USE_GUI_1
="#"
35064 if test "x$TOOLKIT" = "xOS2" -a "x$USE_GUI" = "x1" ; then
35065 COND_TOOLKIT_OS2_USE_GUI_1
=""
35068 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0
="#"
35069 if test "x$TOOLKIT" = "xOS2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35070 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0
=""
35073 COND_TOOLKIT_X11
="#"
35074 if test "x$TOOLKIT" = "xX11" ; then
35075 COND_TOOLKIT_X11
=""
35078 COND_TOOLKIT_X11_USE_GUI_1
="#"
35079 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
35080 COND_TOOLKIT_X11_USE_GUI_1
=""
35084 if test "x$UNICODE" = "x1" ; then
35089 if test "x$USE_GUI" = "x0" ; then
35094 if test "x$USE_GUI" = "x1" ; then
35098 COND_USE_GUI_1_WXUNIV_0
="#"
35099 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35100 COND_USE_GUI_1_WXUNIV_0
=""
35103 COND_USE_GUI_1_WXUNIV_1
="#"
35104 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
35105 COND_USE_GUI_1_WXUNIV_1
=""
35108 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
35109 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35110 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
35113 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
35114 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35115 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
35118 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
35119 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35120 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
35123 COND_USE_SOSYMLINKS_1
="#"
35124 if test "x$USE_SOSYMLINKS" = "x1" ; then
35125 COND_USE_SOSYMLINKS_1
=""
35128 COND_USE_SOVERLINUX_1
="#"
35129 if test "x$USE_SOVERLINUX" = "x1" ; then
35130 COND_USE_SOVERLINUX_1
=""
35133 COND_USE_SOVERSION_0
="#"
35134 if test "x$USE_SOVERSION" = "x0" ; then
35135 COND_USE_SOVERSION_0
=""
35138 COND_USE_SOVERSOLARIS_1
="#"
35139 if test "x$USE_SOVERSOLARIS" = "x1" ; then
35140 COND_USE_SOVERSOLARIS_1
=""
35144 if test "x$WXUNIV" = "x1" ; then
35148 COND_WXUSE_EXPAT_BUILTIN
="#"
35149 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
35150 COND_WXUSE_EXPAT_BUILTIN
=""
35153 COND_WXUSE_LIBJPEG_BUILTIN
="#"
35154 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35155 COND_WXUSE_LIBJPEG_BUILTIN
=""
35158 COND_WXUSE_LIBPNG_BUILTIN
="#"
35159 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35160 COND_WXUSE_LIBPNG_BUILTIN
=""
35163 COND_WXUSE_LIBTIFF_BUILTIN
="#"
35164 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35165 COND_WXUSE_LIBTIFF_BUILTIN
=""
35168 COND_WXUSE_ODBC_BUILTIN
="#"
35169 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
35170 COND_WXUSE_ODBC_BUILTIN
=""
35173 COND_WXUSE_REGEX_BUILTIN
="#"
35174 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
35175 COND_WXUSE_REGEX_BUILTIN
=""
35178 COND_WXUSE_ZLIB_BUILTIN
="#"
35179 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
35180 COND_WXUSE_ZLIB_BUILTIN
=""
35187 if test $GCC_PCH = 1 ; then
35188 CPPFLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
35191 powerpc
-*-darwin* )
35192 CPPFLAGS
="-DNO_GCC_PRAGMA $CPPFLAGS"
35197 powerpc
-*-darwin* )
35198 CODE_GEN_FLAGS_CXX
="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS_CXX"
35203 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
35304 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
35305 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
35306 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
35307 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
35308 echo $ECHO_N "(cached) $ECHO_C" >&6
35310 cat >conftest.
make <<\_ACEOF
35312 @
echo 'ac_maketemp="$(MAKE)"'
35314 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
35315 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
35316 if test -n "$ac_maketemp"; then
35317 eval ac_cv_prog_make_
${ac_make}_set
=yes
35319 eval ac_cv_prog_make_
${ac_make}_set
=no
35321 rm -f conftest.
make
35323 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
35324 echo "$as_me:$LINENO: result: yes" >&5
35325 echo "${ECHO_T}yes" >&6
35328 echo "$as_me:$LINENO: result: no" >&5
35329 echo "${ECHO_T}no" >&6
35330 SET_MAKE
="MAKE=${MAKE-make}"
35334 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
35335 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
35338 ac_config_headers
="$ac_config_headers setup.h"
35341 ac_config_files
="$ac_config_files wx-config version-script Makefile"
35344 ac_config_commands
="$ac_config_commands default"
35348 if test "$wxUSE_GUI" = "yes"; then
35349 SUBDIRS
="samples demos utils contrib"
35350 else SUBDIRS
="samples utils"
35353 for subdir
in `echo $SUBDIRS`; do
35354 if test -d ${srcdir}/${subdir} ; then
35355 if test "$wxUSE_GUI" = "yes"; then
35356 if test ${subdir} = "samples"; then
35357 makefiles
="samples/Makefile.in $makefiles"
35358 for sample
in `echo $SAMPLES_SUBDIRS`; do
35359 if test -d $srcdir/samples
/$sample; then
35360 makefiles
="samples/$sample/Makefile.in $makefiles"
35363 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
35365 else if test ${subdir} = "samples"; then
35366 makefiles
="samples/Makefile.in samples/console/Makefile.in"
35367 else makefiles
="utils/HelpGen/Makefile.in \
35368 utils/HelpGen/src/Makefile.in \
35369 utils/makegen/Makefile.in"
35373 for mkin
in $makefiles ; do
35374 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
35375 ac_config_files
="$ac_config_files $mk"
35382 cat >confcache
<<\_ACEOF
35383 # This file is a shell script that caches the results of configure
35384 # tests run on this system so they can be shared between configure
35385 # scripts and configure runs, see configure's option --config-cache.
35386 # It is not useful on other systems. If it contains results you don't
35387 # want to keep, you may remove or edit it.
35389 # config.status only pays attention to the cache file if you give it
35390 # the --recheck option to rerun configure.
35392 # `ac_cv_env_foo' variables (set or unset) will be overridden when
35393 # loading this file, other *unset* `ac_cv_foo' will be assigned the
35394 # following values.
35398 # The following way of writing the cache mishandles newlines in values,
35399 # but we know of no workaround that is simple, portable, and efficient.
35400 # So, don't put newlines in cache variables' values.
35401 # Ultrix sh set writes to stderr and can't be redirected directly,
35402 # and sets the high bit in the cache file unless we assign to the vars.
35405 case `(ac_space=' '; set | grep ac_space) 2>&1` in
35407 # `set' does not quote correctly, so add quotes (double-quote
35408 # substitution turns \\\\ into \\, and sed turns \\ into \).
35411 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
35414 # `set' quotes correctly as required by POSIX, so do not add quotes.
35416 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
35423 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
35425 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
35427 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
35428 if test -w $cache_file; then
35429 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
35430 cat confcache
>$cache_file
35432 echo "not updating unwritable cache $cache_file"
35437 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
35438 # Let make expand exec_prefix.
35439 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
35441 # VPATH may cause trouble with some makes, so we remove $(srcdir),
35442 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
35443 # trailing colons and then remove the whole line if VPATH becomes empty
35444 # (actually we leave an empty line to preserve line numbers).
35445 if test "x$srcdir" = x.
; then
35446 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
35447 s/:*\$(srcdir):*/:/;
35448 s/:*\${srcdir}:*/:/;
35450 s/^\([^=]*=[ ]*\):*/\1/;
35456 DEFS
=-DHAVE_CONFIG_H
35460 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
35461 # 1. Remove the extension, and $U if already installed.
35462 ac_i
=`echo "$ac_i" |
35463 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
35465 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
35466 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
35468 LIBOBJS
=$ac_libobjs
35470 LTLIBOBJS
=$ac_ltlibobjs
35474 : ${CONFIG_STATUS=./config.status}
35475 ac_clean_files_save
=$ac_clean_files
35476 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
35477 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
35478 echo "$as_me: creating $CONFIG_STATUS" >&6;}
35479 cat >$CONFIG_STATUS <<_ACEOF
35481 # Generated by $as_me.
35482 # Run this file to recreate the current configuration.
35483 # Compiler output produced by configure, useful for debugging
35484 # configure, is in config.log if it exists.
35487 ac_cs_recheck=false
35489 SHELL=\${CONFIG_SHELL-$SHELL}
35492 cat >>$CONFIG_STATUS <<\_ACEOF
35493 ## --------------------- ##
35494 ## M4sh Initialization. ##
35495 ## --------------------- ##
35497 # Be Bourne compatible
35498 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
35501 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
35502 # is contrary to our usage. Disable this feature.
35503 alias -g '${1+"$@"}'='"$@"'
35504 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
35508 # Support unset when possible.
35509 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
35516 # Work around bugs in pre-3.0 UWIN ksh.
35517 $as_unset ENV MAIL MAILPATH
35524 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
35525 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
35526 LC_TELEPHONE LC_TIME
35528 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
35529 eval $as_var=C
; export $as_var
35535 # Required to use basename.
35536 if expr a
: '\(a\)' >/dev
/null
2>&1; then
35542 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
35543 as_basename
=basename
35549 # Name of the executable.
35550 as_me
=`$as_basename "$0" ||
35551 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
35552 X"$0" : 'X\(//\)$' \| \
35553 X"$0" : 'X\(/\)$' \| \
35554 . : '\(.\)' 2>/dev/null ||
35556 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
35557 /^X\/\(\/\/\)$/{ s//\1/; q; }
35558 /^X\/\(\/\).*/{ s//\1/; q; }
35562 # PATH needs CR, and LINENO needs CR and PATH.
35563 # Avoid depending upon Character Ranges.
35564 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
35565 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
35566 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
35567 as_cr_digits
='0123456789'
35568 as_cr_alnum
=$as_cr_Letters$as_cr_digits
35570 # The user is always right.
35571 if test "${PATH_SEPARATOR+set}" != set; then
35572 echo "#! /bin/sh" >conf$$.sh
35573 echo "exit 0" >>conf$$.sh
35575 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
35584 as_lineno_1
=$LINENO
35585 as_lineno_2
=$LINENO
35586 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
35587 test "x$as_lineno_1" != "x$as_lineno_2" &&
35588 test "x$as_lineno_3" = "x$as_lineno_2" || {
35589 # Find who we are. Look in the path if we contain no path at all
35592 *[\\/]* ) as_myself
=$0 ;;
35593 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35594 for as_dir
in $PATH
35597 test -z "$as_dir" && as_dir
=.
35598 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
35603 # We did not find ourselves, most probably we were run as `sh COMMAND'
35604 # in which case we are not to be found in the path.
35605 if test "x$as_myself" = x
; then
35608 if test ! -f "$as_myself"; then
35609 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
35610 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
35611 { (exit 1); exit 1; }; }
35613 case $CONFIG_SHELL in
35615 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35616 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
35619 test -z "$as_dir" && as_dir
=.
35620 for as_base
in sh bash ksh sh5
; do
35623 if ("$as_dir/$as_base" -c '
35624 as_lineno_1=$LINENO
35625 as_lineno_2=$LINENO
35626 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
35627 test "x$as_lineno_1" != "x$as_lineno_2" &&
35628 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
35629 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
35630 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
35631 CONFIG_SHELL
=$as_dir/$as_base
35632 export CONFIG_SHELL
35633 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
35641 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
35642 # uniformly replaced by the line number. The first 'sed' inserts a
35643 # line-number line before each line; the second 'sed' does the real
35644 # work. The second script uses 'N' to pair each line-number line
35645 # with the numbered line, and appends trailing '-' during
35646 # substitution so that $LINENO is not a special case at line end.
35647 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
35648 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
35649 sed '=' <$as_myself |
35654 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
35657 s,^['$as_cr_digits']*\n,,
35658 ' >$as_me.lineno
&&
35659 chmod +x
$as_me.lineno
||
35660 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
35661 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
35662 { (exit 1); exit 1; }; }
35664 # Don't try to exec as it changes $[0], causing all sort of problems
35665 # (the dirname of $[0] is not the place where we might find the
35666 # original and so on. Autoconf is especially sensible to this).
35668 # Exit status is that of the last command.
35673 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
35674 *c
*,-n*) ECHO_N
= ECHO_C
='
35676 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
35677 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
35680 if expr a
: '\(a\)' >/dev
/null
2>&1; then
35686 rm -f conf$$ conf$$.exe conf$$.
file
35688 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
35689 # We could just check for DJGPP; but this test a) works b) is more generic
35690 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
35691 if test -f conf$$.exe
; then
35692 # Don't use ln at all; we don't have any links
35697 elif ln conf$$.
file conf$$
2>/dev
/null
; then
35702 rm -f conf$$ conf$$.exe conf$$.
file
35704 if mkdir -p .
2>/dev
/null
; then
35710 as_executable_p
="test -f"
35712 # Sed expression to map a string onto a valid CPP name.
35713 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
35715 # Sed expression to map a string onto a valid variable name.
35716 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
35720 # We need space, tab and new line, in precisely that order.
35730 # Open the log real soon, to keep \$[0] and so on meaningful, and to
35731 # report actual input values of CONFIG_FILES etc. instead of their
35732 # values after options handling. Logging --version etc. is OK.
35736 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
35737 ## Running $as_me. ##
35742 This file was extended by wxWindows $as_me 2.5.0, which was
35743 generated by GNU Autoconf 2.57. Invocation command line was
35745 CONFIG_FILES = $CONFIG_FILES
35746 CONFIG_HEADERS = $CONFIG_HEADERS
35747 CONFIG_LINKS = $CONFIG_LINKS
35748 CONFIG_COMMANDS = $CONFIG_COMMANDS
35752 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
35756 # Files that config.status was made for.
35757 if test -n "$ac_config_files"; then
35758 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
35761 if test -n "$ac_config_headers"; then
35762 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
35765 if test -n "$ac_config_links"; then
35766 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
35769 if test -n "$ac_config_commands"; then
35770 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
35773 cat >>$CONFIG_STATUS <<\_ACEOF
35776 \`$as_me' instantiates files from templates according to the
35777 current configuration.
35779 Usage: $0 [OPTIONS] [FILE]...
35781 -h, --help print this help, then exit
35782 -V, --version print version number, then exit
35783 -q, --quiet do not print progress messages
35784 -d, --debug don't remove temporary files
35785 --recheck update $as_me by reconfiguring in the same conditions
35786 --file=FILE[:TEMPLATE]
35787 instantiate the configuration file FILE
35788 --header=FILE[:TEMPLATE]
35789 instantiate the configuration header FILE
35791 Configuration files:
35794 Configuration headers:
35797 Configuration commands:
35800 Report bugs to <bug-autoconf@gnu.org>."
35803 cat >>$CONFIG_STATUS <<_ACEOF
35805 wxWindows config.status 2.5.0
35806 configured by $0, generated by GNU Autoconf 2.57,
35807 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
35809 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
35810 Free Software Foundation, Inc.
35811 This config.status script is free software; the Free Software Foundation
35812 gives unlimited permission to copy, distribute and modify it."
35817 cat >>$CONFIG_STATUS <<\_ACEOF
35818 # If no file are specified by the user, then we need to provide default
35819 # value. By we need to know if files were specified by the user.
35825 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
35826 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
35834 *) # This is not an option, so the user has probably given explicit
35837 ac_need_defaults
=false
;;
35841 # Handling of the options.
35843 cat >>$CONFIG_STATUS <<\_ACEOF
35844 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
35846 --version | --vers* | -V )
35847 echo "$ac_cs_version"; exit 0 ;;
35849 # Conflict between --help and --header
35850 { { echo "$as_me:$LINENO: error: ambiguous option: $1
35851 Try \`$0 --help' for more information." >&5
35852 echo "$as_me: error: ambiguous option: $1
35853 Try \`$0 --help' for more information." >&2;}
35854 { (exit 1); exit 1; }; };;
35855 --help | --hel | -h )
35856 echo "$ac_cs_usage"; exit 0 ;;
35857 --debug | --d* | -d )
35859 --file | --fil | --fi | --f )
35861 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
35862 ac_need_defaults
=false
;;
35863 --header | --heade | --head | --hea )
35865 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
35866 ac_need_defaults
=false
;;
35867 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
35868 | -silent | --silent | --silen | --sile | --sil | --si | --s)
35871 # This is an error.
35872 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
35873 Try \`$0 --help' for more information." >&5
35874 echo "$as_me: error: unrecognized option: $1
35875 Try \`$0 --help' for more information." >&2;}
35876 { (exit 1); exit 1; }; } ;;
35878 *) ac_config_targets
="$ac_config_targets $1" ;;
35884 ac_configure_extra_args
=
35886 if $ac_cs_silent; then
35888 ac_configure_extra_args
="$ac_configure_extra_args --silent"
35892 cat >>$CONFIG_STATUS <<_ACEOF
35893 if \$ac_cs_recheck; then
35894 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
35895 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
35900 cat >>$CONFIG_STATUS <<_ACEOF
35902 # INIT-COMMANDS section.
35906 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
35915 cat >>$CONFIG_STATUS <<\_ACEOF
35916 for ac_config_target
in $ac_config_targets
35918 case "$ac_config_target" in
35919 # Handling of arguments.
35920 "wx-config" ) CONFIG_FILES
="$CONFIG_FILES wx-config" ;;
35921 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
35922 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
35923 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
35924 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
35925 "setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS setup.h" ;;
35926 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
35927 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
35928 { (exit 1); exit 1; }; };;
35932 # If the user did not use the arguments to specify the items to instantiate,
35933 # then the envvar interface is used. Set only those that are not.
35934 # We use the long form for the default assignment because of an extremely
35935 # bizarre bug on SunOS 4.1.3.
35936 if $ac_need_defaults; then
35937 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
35938 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
35939 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
35942 # Have a temporary directory for convenience. Make it in the build tree
35943 # simply because there is no reason to put it here, and in addition,
35944 # creating and moving files from /tmp can sometimes cause problems.
35945 # Create a temporary directory, and hook for its removal unless debugging.
35948 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
35949 trap '{ (exit 1); exit 1; }' 1 2 13 15
35952 # Create a (secure) tmp directory for tmp files.
35955 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
35956 test -n "$tmp" && test -d "$tmp"
35959 tmp
=.
/confstat$$
-$RANDOM
35960 (umask 077 && mkdir $tmp)
35963 echo "$me: cannot create a temporary directory in ." >&2
35964 { (exit 1); exit 1; }
35969 cat >>$CONFIG_STATUS <<_ACEOF
35972 # CONFIG_FILES section.
35975 # No need to generate the scripts if there are no CONFIG_FILES.
35976 # This happens for instance when ./config.status config.h
35977 if test -n "\$CONFIG_FILES"; then
35978 # Protect against being on the right side of a sed subst in config.status.
35979 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
35980 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
35981 s,@SHELL@,$SHELL,;t t
35982 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
35983 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
35984 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
35985 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
35986 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
35987 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
35988 s,@exec_prefix@,$exec_prefix,;t t
35989 s,@prefix@,$prefix,;t t
35990 s,@program_transform_name@,$program_transform_name,;t t
35991 s,@bindir@,$bindir,;t t
35992 s,@sbindir@,$sbindir,;t t
35993 s,@libexecdir@,$libexecdir,;t t
35994 s,@datadir@,$datadir,;t t
35995 s,@sysconfdir@,$sysconfdir,;t t
35996 s,@sharedstatedir@,$sharedstatedir,;t t
35997 s,@localstatedir@,$localstatedir,;t t
35998 s,@libdir@,$libdir,;t t
35999 s,@includedir@,$includedir,;t t
36000 s,@oldincludedir@,$oldincludedir,;t t
36001 s,@infodir@,$infodir,;t t
36002 s,@mandir@,$mandir,;t t
36003 s,@build_alias@,$build_alias,;t t
36004 s,@host_alias@,$host_alias,;t t
36005 s,@target_alias@,$target_alias,;t t
36006 s,@DEFS@,$DEFS,;t t
36007 s,@ECHO_C@,$ECHO_C,;t t
36008 s,@ECHO_N@,$ECHO_N,;t t
36009 s,@ECHO_T@,$ECHO_T,;t t
36010 s,@LIBS@,$LIBS,;t t
36011 s,@build@,$build,;t t
36012 s,@build_cpu@,$build_cpu,;t t
36013 s,@build_vendor@,$build_vendor,;t t
36014 s,@build_os@,$build_os,;t t
36015 s,@host@,$host,;t t
36016 s,@host_cpu@,$host_cpu,;t t
36017 s,@host_vendor@,$host_vendor,;t t
36018 s,@host_os@,$host_os,;t t
36019 s,@target@,$target,;t t
36020 s,@target_cpu@,$target_cpu,;t t
36021 s,@target_vendor@,$target_vendor,;t t
36022 s,@target_os@,$target_os,;t t
36024 s,@CFLAGS@,$CFLAGS,;t t
36025 s,@LDFLAGS@,$LDFLAGS,;t t
36026 s,@CPPFLAGS@,$CPPFLAGS,;t t
36027 s,@ac_ct_CC@,$ac_ct_CC,;t t
36028 s,@EXEEXT@,$EXEEXT,;t t
36029 s,@OBJEXT@,$OBJEXT,;t t
36031 s,@EGREP@,$EGREP,;t t
36033 s,@CXXFLAGS@,$CXXFLAGS,;t t
36034 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
36035 s,@RANLIB@,$RANLIB,;t t
36036 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
36038 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
36039 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
36040 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
36041 s,@STRIP@,$STRIP,;t t
36042 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
36043 s,@LN_S@,$LN_S,;t t
36044 s,@CXXCPP@,$CXXCPP,;t t
36045 s,@subdirs@,$subdirs,;t t
36046 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
36047 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
36048 s,@GTK_LIBS@,$GTK_LIBS,;t t
36049 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
36050 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
36051 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
36052 s,@X_CFLAGS@,$X_CFLAGS,;t t
36053 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
36054 s,@X_LIBS@,$X_LIBS,;t t
36055 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
36056 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
36057 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
36058 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
36059 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
36060 s,@RESCOMP@,$RESCOMP,;t t
36061 s,@DEREZ@,$DEREZ,;t t
36062 s,@SETFILE@,$SETFILE,;t t
36063 s,@LIBICONV@,$LIBICONV,;t t
36064 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
36065 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
36066 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
36067 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
36068 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
36069 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
36070 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
36071 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
36072 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
36073 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
36074 s,@VENDOR@,$VENDOR,;t t
36075 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
36076 s,@WXUNIV@,$WXUNIV,;t t
36077 s,@MONOLITHIC@,$MONOLITHIC,;t t
36078 s,@EXTRALIBS@,$EXTRALIBS,;t t
36079 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
36080 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
36081 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
36082 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
36083 s,@UNICODE@,$UNICODE,;t t
36084 s,@BUILD@,$BUILD,;t t
36085 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
36086 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
36087 s,@SHARED@,$SHARED,;t t
36088 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
36089 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
36090 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
36091 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
36092 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
36093 s,@SET_MAKE@,$SET_MAKE,;t t
36094 s,@MAKE_SET@,$MAKE_SET,;t t
36095 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
36096 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
36097 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
36098 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
36099 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
36100 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
36101 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
36102 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
36103 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
36104 s,@DLLPREFIX@,$DLLPREFIX,;t t
36105 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
36106 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
36107 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
36108 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
36109 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
36110 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
36111 s,@PIC_FLAG@,$PIC_FLAG,;t t
36112 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
36113 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
36114 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
36115 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
36116 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
36117 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
36118 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
36119 s,@GCC_PCH@,$GCC_PCH,;t t
36120 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
36121 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
36122 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
36123 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
36124 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
36125 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
36126 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
36127 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
36128 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
36129 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
36130 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
36131 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
36132 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
36133 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
36134 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
36135 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
36136 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
36137 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
36138 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
36139 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
36140 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
36141 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
36142 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
36143 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
36144 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
36145 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
36146 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
36147 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
36148 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
36149 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
36150 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
36151 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
36152 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
36153 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
36154 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
36155 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
36156 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
36157 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
36158 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
36159 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
36160 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36161 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36162 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36163 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
36164 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
36165 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
36166 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
36167 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
36168 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
36169 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
36170 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
36171 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
36172 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
36173 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
36174 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
36175 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
36176 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
36177 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
36178 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
36179 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
36180 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
36181 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
36182 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
36183 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
36184 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
36185 s,@COND_TOOLKIT_OS2@,$COND_TOOLKIT_OS2,;t t
36186 s,@COND_TOOLKIT_OS2_USE_GUI_1@,$COND_TOOLKIT_OS2_USE_GUI_1,;t t
36187 s,@COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0,;t t
36188 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
36189 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
36190 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
36191 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
36192 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
36193 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
36194 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
36195 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36196 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36197 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36198 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
36199 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
36200 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
36201 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
36202 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
36203 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
36204 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
36205 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
36206 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
36207 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
36208 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
36209 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
36210 s,@PATH_IFS@,$PATH_IFS,;t t
36211 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
36212 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
36213 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
36214 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
36215 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
36216 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
36217 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
36218 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
36219 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
36220 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
36221 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
36222 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
36223 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
36224 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
36225 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
36226 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
36227 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
36228 s,@WX_ALL@,$WX_ALL,;t t
36229 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
36230 s,@SHARED_LD@,$SHARED_LD,;t t
36231 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
36232 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
36233 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
36234 s,@USE_GUI@,$USE_GUI,;t t
36235 s,@AFMINSTALL@,$AFMINSTALL,;t t
36236 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
36237 s,@TOOLKIT@,$TOOLKIT,;t t
36238 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
36239 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
36240 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
36241 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
36242 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
36243 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
36244 s,@cross_compiling@,$cross_compiling,;t t
36245 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
36246 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
36247 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
36248 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
36249 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
36250 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
36251 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
36252 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
36253 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
36254 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
36255 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
36256 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
36257 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
36258 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
36259 s,@GUIDIST@,$GUIDIST,;t t
36260 s,@PORT_FILES@,$PORT_FILES,;t t
36261 s,@DISTDIR@,$DISTDIR,;t t
36262 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
36263 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
36264 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
36265 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
36266 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
36267 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
36268 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
36269 s,@RESFLAGS@,$RESFLAGS,;t t
36270 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
36271 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
36272 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
36273 s,@MACOSX_BUNDLE@,$MACOSX_BUNDLE,;t t
36274 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
36275 s,@MACRESCOMP@,$MACRESCOMP,;t t
36276 s,@MACSETFILE@,$MACSETFILE,;t t
36277 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
36279 s,@DLLTOOL@,$DLLTOOL,;t t
36283 s,@MAKEINFO@,$MAKEINFO,;t t
36284 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
36285 s,@LIBOBJS@,$LIBOBJS,;t t
36286 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
36291 cat >>$CONFIG_STATUS <<\_ACEOF
36292 # Split the substitutions into bite-sized pieces for seds with
36293 # small command number limits, like on Digital OSF/1 and HP-UX.
36294 ac_max_sed_lines
=48
36295 ac_sed_frag
=1 # Number of current file.
36296 ac_beg
=1 # First line for current file.
36297 ac_end
=$ac_max_sed_lines # Line after last line for current file.
36300 while $ac_more_lines; do
36301 if test $ac_beg -gt 1; then
36302 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
36304 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
36306 if test ! -s $tmp/subs.frag
; then
36307 ac_more_lines
=false
36309 # The purpose of the label and of the branching condition is to
36310 # speed up the sed processing (if there are no `@' at all, there
36311 # is no need to browse any of the substitutions).
36312 # These are the two extra sed commands mentioned above.
36314 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
36315 if test -z "$ac_sed_cmds"; then
36316 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
36318 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
36320 ac_sed_frag
=`expr $ac_sed_frag + 1`
36322 ac_end
=`expr $ac_end + $ac_max_sed_lines`
36325 if test -z "$ac_sed_cmds"; then
36328 fi # test -n "$CONFIG_FILES"
36331 cat >>$CONFIG_STATUS <<\_ACEOF
36332 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
36333 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
36335 - | *:- | *:-:* ) # input from stdin
36337 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
36338 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
36339 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
36340 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
36341 * ) ac_file_in
=$ac_file.
in ;;
36344 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
36345 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
36346 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36347 X"$ac_file" : 'X\(//\)[^/]' \| \
36348 X"$ac_file" : 'X\(//\)$' \| \
36349 X"$ac_file" : 'X\(/\)' \| \
36350 . : '\(.\)' 2>/dev/null ||
36352 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36353 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36354 /^X\(\/\/\)$/{ s//\1/; q; }
36355 /^X\(\/\).*/{ s//\1/; q; }
36357 { if $as_mkdir_p; then
36362 while test ! -d "$as_dir"; do
36363 as_dirs
="$as_dir $as_dirs"
36364 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
36365 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36366 X"$as_dir" : 'X\(//\)[^/]' \| \
36367 X"$as_dir" : 'X\(//\)$' \| \
36368 X"$as_dir" : 'X\(/\)' \| \
36369 . : '\(.\)' 2>/dev/null ||
36371 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36372 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36373 /^X\(\/\/\)$/{ s//\1/; q; }
36374 /^X\(\/\).*/{ s//\1/; q; }
36377 test ! -n "$as_dirs" || mkdir $as_dirs
36378 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36379 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36380 { (exit 1); exit 1; }; }; }
36384 if test "$ac_dir" != .
; then
36385 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36386 # A "../" for each directory in $ac_dir_suffix.
36387 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36389 ac_dir_suffix
= ac_top_builddir
=
36393 .
) # No --srcdir option. We are building in place.
36395 if test -z "$ac_top_builddir"; then
36398 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
36400 [\\/]* | ?
:[\\/]* ) # Absolute path.
36401 ac_srcdir
=$srcdir$ac_dir_suffix;
36402 ac_top_srcdir
=$srcdir ;;
36403 *) # Relative path.
36404 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
36405 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
36407 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36409 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
36410 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36411 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36412 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36416 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
36417 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
36420 if test x
"$ac_file" != x
-; then
36421 { echo "$as_me:$LINENO: creating $ac_file" >&5
36422 echo "$as_me: creating $ac_file" >&6;}
36425 # Let's still pretend it is `configure' which instantiates (i.e., don't
36426 # use $as_me), people would be surprised to read:
36427 # /* config.h. Generated by config.status. */
36428 if test x
"$ac_file" = x
-; then
36431 configure_input
="$ac_file. "
36433 configure_input
=$configure_input"Generated from `echo $ac_file_in |
36434 sed 's,.*/,,'` by configure."
36436 # First look for the input files in the build tree, otherwise in the
36438 ac_file_inputs
=`IFS=:
36439 for f in $ac_file_in; do
36441 -) echo $tmp/stdin ;;
36443 # Absolute (can't be DOS-style, as IFS=:)
36444 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36445 echo "$as_me: error: cannot find input file: $f" >&2;}
36446 { (exit 1); exit 1; }; }
36449 if test -f "$f"; then
36452 elif test -f "$srcdir/$f"; then
36457 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36458 echo "$as_me: error: cannot find input file: $f" >&2;}
36459 { (exit 1); exit 1; }; }
36462 done` || { (exit 1); exit 1; }
36464 cat >>$CONFIG_STATUS <<_ACEOF
36468 cat >>$CONFIG_STATUS <<\_ACEOF
36470 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
36471 s
,@configure_input@
,$configure_input,;t t
36472 s
,@srcdir@
,$ac_srcdir,;t t
36473 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
36474 s
,@top_srcdir@
,$ac_top_srcdir,;t t
36475 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
36476 s
,@builddir@
,$ac_builddir,;t t
36477 s
,@abs_builddir@
,$ac_abs_builddir,;t t
36478 s
,@top_builddir@
,$ac_top_builddir,;t t
36479 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
36480 s
,@INSTALL@
,$ac_INSTALL,;t t
36481 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
36483 if test x"$ac_file" != x-; then
36484 mv $tmp/out $ac_file
36492 cat >>$CONFIG_STATUS <<\_ACEOF
36495 # CONFIG_HEADER section.
36498 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
36499 # NAME is the cpp macro being defined and VALUE is the value it is being given.
36501 # ac_d sets the value in "#define NAME VALUE" lines.
36502 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
36503 ac_dB
='[ ].*$,\1#\2'
36506 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
36507 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
36508 ac_uB
='$,\1#\2define\3'
36512 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
36513 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
36515 - | *:- | *:-:* ) # input from stdin
36517 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
36518 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
36519 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
36520 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
36521 * ) ac_file_in
=$ac_file.
in ;;
36524 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
36525 echo "$as_me: creating $ac_file" >&6;}
36527 # First look for the input files in the build tree, otherwise in the
36529 ac_file_inputs
=`IFS=:
36530 for f in $ac_file_in; do
36532 -) echo $tmp/stdin ;;
36534 # Absolute (can't be DOS-style, as IFS=:)
36535 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36536 echo "$as_me: error: cannot find input file: $f" >&2;}
36537 { (exit 1); exit 1; }; }
36540 if test -f "$f"; then
36543 elif test -f "$srcdir/$f"; then
36548 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36549 echo "$as_me: error: cannot find input file: $f" >&2;}
36550 { (exit 1); exit 1; }; }
36553 done` || { (exit 1); exit 1; }
36554 # Remove the trailing spaces.
36555 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
36559 # Transform confdefs.h into two sed scripts, `conftest.defines' and
36560 # `conftest.undefs', that substitutes the proper values into
36561 # config.h.in to produce config.h. The first handles `#define'
36562 # templates, and the second `#undef' templates.
36563 # And first: Protect against being on the right side of a sed subst in
36564 # config.status. Protect against being in an unquoted here document
36565 # in config.status.
36566 rm -f conftest.defines conftest.undefs
36567 # Using a here document instead of a string reduces the quoting nightmare.
36568 # Putting comments in sed scripts is not portable.
36570 # `end' is used to avoid that the second main sed command (meant for
36571 # 0-ary CPP macros) applies to n-ary macro definitions.
36572 # See the Autoconf documentation for `clear'.
36573 cat >confdef2sed.
sed <<\_ACEOF
36578 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
36580 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
36583 # If some macros were called several times there might be several times
36584 # the same #defines, which is useless. Nevertheless, we may not want to
36585 # sort them, since we want the *last* AC-DEFINE to be honored.
36586 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
36587 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
36588 rm -f confdef2sed.sed
36590 # This sed command replaces #undef with comments. This is necessary, for
36591 # example, in the case of _POSIX_SOURCE, which is predefined and required
36592 # on some systems where configure will not decide to define it.
36593 cat >>conftest.undefs <<\_ACEOF
36594 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
36597 # Break up conftest.defines because some shells have a limit on the size
36598 # of here documents, and old seds have small limits too (100 cmds).
36599 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
36600 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
36601 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
36602 echo ' :' >>$CONFIG_STATUS
36603 rm -f conftest.tail
36604 while grep . conftest.defines >/dev/null
36606 # Write a limited-size here document to $tmp/defines.sed.
36607 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
36608 # Speed up: don't consider the non `#define' lines.
36609 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
36610 # Work around the forget-to-reset-the-flag bug.
36611 echo 't clr' >>$CONFIG_STATUS
36612 echo ': clr' >>$CONFIG_STATUS
36613 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
36615 sed -f $tmp/defines.sed $tmp/in >$tmp/out
36617 mv $tmp/out $tmp/in
36619 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
36620 rm -f conftest.defines
36621 mv conftest.
tail conftest.defines
36623 rm -f conftest.defines
36624 echo ' fi # grep' >>$CONFIG_STATUS
36625 echo >>$CONFIG_STATUS
36627 # Break up conftest.undefs because some shells have a limit on the size
36628 # of here documents, and old seds have small limits too (100 cmds).
36629 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
36630 rm -f conftest.
tail
36631 while grep . conftest.undefs
>/dev
/null
36633 # Write a limited-size here document to $tmp/undefs.sed.
36634 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
36635 # Speed up: don't consider the non
`#undef'
36636 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
36637 # Work around the forget-to-reset-the-flag bug.
36638 echo 't clr' >>$CONFIG_STATUS
36639 echo ': clr' >>$CONFIG_STATUS
36640 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
36642 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
36644 mv $tmp/out $tmp/in
36646 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
36647 rm -f conftest.undefs
36648 mv conftest.tail conftest.undefs
36650 rm -f conftest.undefs
36652 cat >>$CONFIG_STATUS <<\_ACEOF
36653 # Let's still pretend it is `configure
' which instantiates (i.e., don't
36654 # use $as_me), people would be surprised to read:
36655 # /* config.h. Generated by config.status. */
36656 if test x
"$ac_file" = x
-; then
36657 echo "/* Generated by configure. */" >$tmp/config.h
36659 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
36661 cat $tmp/in >>$tmp/config.h
36663 if test x
"$ac_file" != x
-; then
36664 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
36665 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
36666 echo "$as_me: $ac_file is unchanged" >&6;}
36668 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
36669 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36670 X"$ac_file" : 'X\(//\)[^/]' \| \
36671 X"$ac_file" : 'X\(//\)$' \| \
36672 X"$ac_file" : 'X\(/\)' \| \
36673 . : '\(.\)' 2>/dev/null ||
36675 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36676 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36677 /^X\(\/\/\)$/{ s//\1/; q; }
36678 /^X\(\/\).*/{ s//\1/; q; }
36680 { if $as_mkdir_p; then
36685 while test ! -d "$as_dir"; do
36686 as_dirs
="$as_dir $as_dirs"
36687 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
36688 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36689 X"$as_dir" : 'X\(//\)[^/]' \| \
36690 X"$as_dir" : 'X\(//\)$' \| \
36691 X"$as_dir" : 'X\(/\)' \| \
36692 . : '\(.\)' 2>/dev/null ||
36694 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36695 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36696 /^X\(\/\/\)$/{ s//\1/; q; }
36697 /^X\(\/\).*/{ s//\1/; q; }
36700 test ! -n "$as_dirs" || mkdir $as_dirs
36701 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36702 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36703 { (exit 1); exit 1; }; }; }
36706 mv $tmp/config.h
$ac_file
36710 rm -f $tmp/config.h
36714 cat >>$CONFIG_STATUS <<\_ACEOF
36717 # CONFIG_COMMANDS section.
36719 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
36720 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
36721 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
36722 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
36723 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36724 X"$ac_dest" : 'X\(//\)[^/]' \| \
36725 X"$ac_dest" : 'X\(//\)$' \| \
36726 X"$ac_dest" : 'X\(/\)' \| \
36727 . : '\(.\)' 2>/dev/null ||
36729 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36730 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36731 /^X\(\/\/\)$/{ s//\1/; q; }
36732 /^X\(\/\).*/{ s//\1/; q; }
36736 if test "$ac_dir" != .
; then
36737 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36738 # A "../" for each directory in $ac_dir_suffix.
36739 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36741 ac_dir_suffix
= ac_top_builddir
=
36745 .
) # No --srcdir option. We are building in place.
36747 if test -z "$ac_top_builddir"; then
36750 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
36752 [\\/]* | ?
:[\\/]* ) # Absolute path.
36753 ac_srcdir
=$srcdir$ac_dir_suffix;
36754 ac_top_srcdir
=$srcdir ;;
36755 *) # Relative path.
36756 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
36757 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
36759 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36761 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
36762 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36763 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36764 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36767 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
36768 echo "$as_me: executing $ac_dest commands" >&6;}
36771 if test ! -h wx
-config; then
36773 mv wx
-config wx
${TOOLCHAIN_NAME}-config
36774 ${LN_S} wx
${TOOLCHAIN_NAME}-config wx
-config
36777 if test ! -d lib
; then
36780 if test ! -d lib
/wx
; then
36783 if test ! -d lib
/wx
/include
; then
36784 mkdir lib
/wx
/include
36786 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}; then
36787 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}
36789 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
; then
36790 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
36792 if test -f setup.h
; then
36793 mv -f setup.h lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
36800 cat >>$CONFIG_STATUS <<\_ACEOF
36802 { (exit 0); exit 0; }
36804 chmod +x
$CONFIG_STATUS
36805 ac_clean_files
=$ac_clean_files_save
36808 # configure is writing to config.log, and then calls config.status.
36809 # config.status does its own redirection, appending to config.log.
36810 # Unfortunately, on DOS this fails, as config.log is still kept open
36811 # by configure, so config.status won't be able to write to it; its
36812 # output is simply discarded. So we exec the FD to /dev/null,
36813 # effectively closing config.log, so it can be properly (re)opened and
36814 # appended to by config.status. When coming back to configure, we
36815 # need to make the FD available again.
36816 if test "$no_create" != yes; then
36818 ac_config_status_args
=
36819 test "$silent" = yes &&
36820 ac_config_status_args
="$ac_config_status_args --quiet"
36822 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
36824 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
36825 # would make configure fail if this is the last instruction.
36826 $ac_cs_success || { (exit 1); exit 1; }
36830 # CONFIG_SUBDIRS section.
36832 if test "$no_recursion" != yes; then
36834 # Remove --cache-file and --srcdir arguments so they do not pile up.
36835 ac_sub_configure_args
=
36837 for ac_arg
in $ac_configure_args; do
36838 if test -n "$ac_prev"; then
36843 -cache-file | --cache-file | --cache-fil | --cache-fi \
36844 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
36845 ac_prev
=cache_file
;;
36846 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
36847 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
36850 --config-cache | -C)
36852 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
36854 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
36856 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
36858 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
36860 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
36864 # Always prepend --prefix to ensure using the same prefix
36865 # in subdir configurations.
36866 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
36869 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
36871 # Do not complain, so a configure script can configure whichever
36872 # parts of a large source tree are present.
36873 test -d $srcdir/$ac_dir || continue
36875 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
36876 echo "$as_me: configuring in $ac_dir" >&6;}
36877 { if $as_mkdir_p; then
36882 while test ! -d "$as_dir"; do
36883 as_dirs
="$as_dir $as_dirs"
36884 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
36885 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36886 X"$as_dir" : 'X\(//\)[^/]' \| \
36887 X"$as_dir" : 'X\(//\)$' \| \
36888 X"$as_dir" : 'X\(/\)' \| \
36889 . : '\(.\)' 2>/dev/null ||
36891 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36892 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36893 /^X\(\/\/\)$/{ s//\1/; q; }
36894 /^X\(\/\).*/{ s//\1/; q; }
36897 test ! -n "$as_dirs" || mkdir $as_dirs
36898 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36899 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36900 { (exit 1); exit 1; }; }; }
36904 if test "$ac_dir" != .
; then
36905 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36906 # A "../" for each directory in $ac_dir_suffix.
36907 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36909 ac_dir_suffix
= ac_top_builddir
=
36913 .
) # No --srcdir option. We are building in place.
36915 if test -z "$ac_top_builddir"; then
36918 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
36920 [\\/]* | ?
:[\\/]* ) # Absolute path.
36921 ac_srcdir
=$srcdir$ac_dir_suffix;
36922 ac_top_srcdir
=$srcdir ;;
36923 *) # Relative path.
36924 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
36925 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
36927 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36929 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
36930 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36931 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36932 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36937 # Check for guested configure; otherwise get Cygnus style configure.
36938 if test -f $ac_srcdir/configure.gnu
; then
36939 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
36940 elif test -f $ac_srcdir/configure
; then
36941 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
36942 elif test -f $ac_srcdir/configure.
in; then
36943 ac_sub_configure
=$ac_configure
36945 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
36946 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
36950 # The recursion is here.
36951 if test -n "$ac_sub_configure"; then
36952 # Make the cache file name correct relative to the subdirectory.
36953 case $cache_file in
36954 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
36955 *) # Relative path.
36956 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
36959 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
36960 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
36961 # The eval makes quoting arguments work.
36962 eval $ac_sub_configure $ac_sub_configure_args \
36963 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
36964 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
36965 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
36966 { (exit 1); exit 1; }; }
36975 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
36977 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
36978 echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
36980 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
36981 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
36982 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
36984 echo " What level of wxWindows compatibility should be enabled?"
36985 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
36986 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
36988 echo " Which libraries should wxWindows use?"
36989 echo " jpeg ${wxUSE_LIBJPEG-none}"
36990 echo " png ${wxUSE_LIBPNG-none}"
36991 echo " regex ${wxUSE_REGEX}"
36992 echo " tiff ${wxUSE_LIBTIFF-none}"
36993 echo " zlib ${wxUSE_ZLIB}"
36994 echo " odbc ${wxUSE_ODBC}"
36995 echo " expat ${wxUSE_EXPAT}"