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 LIBPREFIX DLLPREFIX DLLPREFIX_MODULE AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MAC_1 COND_PLATFORM_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"
1895 ac_executable_extensions=".exe"
1896 export ac_executable_extensions
1900 for ac_dir in $PATH; do
1902 if test -z "$ac_TEMP_PATH"; then
1903 ac_TEMP_PATH="$ac_dir"
1905 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1908 export PATH="$ac_TEMP_PATH"
1916 cat >>confdefs.h <<\_ACEOF
1920 cat >>confdefs.h <<\_ACEOF
1921 #define __DARWIN__ 1
1924 cat >>confdefs.h <<\_ACEOF
1925 #define __POWERPC__ 1
1928 cat >>confdefs.h <<\_ACEOF
1929 #define TARGET_CARBON 1
1932 DEFAULT_DEFAULT_wxUSE_MAC=1
1937 cat >>confdefs.h <<\_ACEOF
1944 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1945 echo "$as_me: error: unknown system type ${host}." >&2;}
1946 { (exit 1); exit 1; }; }
1952 wx_arg_cache_file="configarg.cache"
1953 echo "loading argument cache $wx_arg_cache_file"
1954 rm -f ${wx_arg_cache_file}.tmp
1955 touch ${wx_arg_cache_file}.tmp
1956 touch ${wx_arg_cache_file}
1960 if test $DEBUG_CONFIGURE = 1; then
1961 DEFAULT_wxUSE_UNIVERSAL=no
1962 DEFAULT_wxUSE_STL=no
1964 DEFAULT_wxUSE_NANOX=no
1966 DEFAULT_wxUSE_THREADS=yes
1968 DEFAULT_wxUSE_SHARED=yes
1969 DEFAULT_wxUSE_OPTIMISE=no
1970 DEFAULT_wxUSE_PROFILE=no
1971 DEFAULT_wxUSE_NO_DEPS=no
1972 DEFAULT_wxUSE_NO_RTTI=no
1973 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1974 DEFAULT_wxUSE_PERMISSIVE=no
1975 DEFAULT_wxUSE_DEBUG_FLAG=yes
1976 DEFAULT_wxUSE_DEBUG_INFO=yes
1977 DEFAULT_wxUSE_DEBUG_GDB=yes
1978 DEFAULT_wxUSE_MEM_TRACING=no
1979 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1980 DEFAULT_wxUSE_DMALLOC=no
1981 DEFAULT_wxUSE_APPLE_IEEE=no
1983 DEFAULT_wxUSE_LOG=yes
1984 DEFAULT_wxUSE_LOGWINDOW=no
1985 DEFAULT_wxUSE_LOGGUI=no
1986 DEFAULT_wxUSE_LOGDIALOG=no
1988 DEFAULT_wxUSE_GUI=yes
1989 DEFAULT_wxUSE_CONTROLS=no
1991 DEFAULT_wxUSE_REGEX=no
1992 DEFAULT_wxUSE_XML=no
1993 DEFAULT_wxUSE_EXPAT=no
1994 DEFAULT_wxUSE_ZLIB=no
1995 DEFAULT_wxUSE_LIBPNG=no
1996 DEFAULT_wxUSE_LIBJPEG=no
1997 DEFAULT_wxUSE_LIBTIFF=no
1998 DEFAULT_wxUSE_ODBC=no
1999 DEFAULT_wxUSE_OPENGL=no
2001 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2002 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2003 DEFAULT_wxUSE_STD_IOSTREAM=no
2004 DEFAULT_wxUSE_CMDLINE_PARSER=no
2005 DEFAULT_wxUSE_DATETIME=no
2006 DEFAULT_wxUSE_TIMER=no
2007 DEFAULT_wxUSE_STOPWATCH=no
2008 DEFAULT_wxUSE_FILE=no
2009 DEFAULT_wxUSE_FFILE=no
2010 DEFAULT_wxUSE_TEXTBUFFER=no
2011 DEFAULT_wxUSE_TEXTFILE=no
2012 DEFAULT_wxUSE_WAVE=no
2013 DEFAULT_wxUSE_INTL=no
2014 DEFAULT_wxUSE_CONFIG=no
2015 DEFAULT_wxUSE_FONTMAP=no
2016 DEFAULT_wxUSE_STREAMS=no
2017 DEFAULT_wxUSE_SOCKETS=no
2018 DEFAULT_wxUSE_OLE=no
2019 DEFAULT_wxUSE_DATAOBJ=no
2020 DEFAULT_wxUSE_DIALUP_MANAGER=no
2021 DEFAULT_wxUSE_JOYSTICK=no
2022 DEFAULT_wxUSE_DYNLIB_CLASS=no
2023 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2024 DEFAULT_wxUSE_LONGLONG=no
2025 DEFAULT_wxUSE_GEOMETRY=no
2027 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2028 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2029 DEFAULT_wxUSE_POSTSCRIPT=no
2031 DEFAULT_wxUSE_CLIPBOARD=no
2032 DEFAULT_wxUSE_TOOLTIPS=no
2033 DEFAULT_wxUSE_DRAG_AND_DROP=no
2034 DEFAULT_wxUSE_DRAGIMAGE=no
2035 DEFAULT_wxUSE_SPLINES=no
2037 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2038 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2039 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2041 DEFAULT_wxUSE_RESOURCES=no
2042 DEFAULT_wxUSE_CONSTRAINTS=no
2043 DEFAULT_wxUSE_IPC=no
2044 DEFAULT_wxUSE_HELP=no
2045 DEFAULT_wxUSE_MS_HTML_HELP=no
2046 DEFAULT_wxUSE_WXHTML_HELP=no
2047 DEFAULT_wxUSE_TREELAYOUT=no
2048 DEFAULT_wxUSE_METAFILE=no
2049 DEFAULT_wxUSE_MIMETYPE=no
2050 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2051 DEFAULT_wxUSE_PROTOCOL=no
2052 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2053 DEFAULT_wxUSE_PROTOCOL_FTP=no
2054 DEFAULT_wxUSE_PROTOCOL_FILE=no
2055 DEFAULT_wxUSE_URL=no
2057 DEFAULT_wxUSE_COMMONDLGS=no
2058 DEFAULT_wxUSE_CHOICEDLG=no
2059 DEFAULT_wxUSE_COLOURDLG=no
2060 DEFAULT_wxUSE_DIRDLG=no
2061 DEFAULT_wxUSE_FILEDLG=no
2062 DEFAULT_wxUSE_FINDREPLDLG=no
2063 DEFAULT_wxUSE_FONTDLG=no
2064 DEFAULT_wxUSE_MSGDLG=no
2065 DEFAULT_wxUSE_NUMBERDLG=no
2066 DEFAULT_wxUSE_TEXTDLG=no
2067 DEFAULT_wxUSE_SPLASH=no
2068 DEFAULT_wxUSE_STARTUP_TIPS=no
2069 DEFAULT_wxUSE_PROGRESSDLG=no
2070 DEFAULT_wxUSE_WIZARDDLG=no
2072 DEFAULT_wxUSE_MENUS=no
2073 DEFAULT_wxUSE_MINIFRAME=no
2074 DEFAULT_wxUSE_HTML=no
2075 DEFAULT_wxUSE_FILESYSTEM=no
2076 DEFAULT_wxUSE_FS_INET=no
2077 DEFAULT_wxUSE_FS_ZIP=no
2078 DEFAULT_wxUSE_BUSYINFO=no
2079 DEFAULT_wxUSE_ZIPSTREAM=no
2080 DEFAULT_wxUSE_VALIDATORS=no
2082 DEFAULT_wxUSE_ACCEL=no
2083 DEFAULT_wxUSE_BUTTON=no
2084 DEFAULT_wxUSE_BMPBUTTON=no
2085 DEFAULT_wxUSE_CALCTRL=no
2086 DEFAULT_wxUSE_CARET=no
2087 DEFAULT_wxUSE_CHECKBOX=no
2088 DEFAULT_wxUSE_CHECKLST=no
2089 DEFAULT_wxUSE_CHOICE=no
2090 DEFAULT_wxUSE_COMBOBOX=no
2091 DEFAULT_wxUSE_DISPLAY=no
2092 DEFAULT_wxUSE_GAUGE=no
2093 DEFAULT_wxUSE_GRID=no
2094 DEFAULT_wxUSE_IMAGLIST=no
2095 DEFAULT_wxUSE_LISTBOX=no
2096 DEFAULT_wxUSE_LISTCTRL=no
2097 DEFAULT_wxUSE_NOTEBOOK=no
2098 DEFAULT_wxUSE_RADIOBOX=no
2099 DEFAULT_wxUSE_RADIOBTN=no
2100 DEFAULT_wxUSE_SASH=no
2101 DEFAULT_wxUSE_SCROLLBAR=no
2102 DEFAULT_wxUSE_SLIDER=no
2103 DEFAULT_wxUSE_SPINBTN=no
2104 DEFAULT_wxUSE_SPINCTRL=no
2105 DEFAULT_wxUSE_SPLITTER=no
2106 DEFAULT_wxUSE_STATBMP=no
2107 DEFAULT_wxUSE_STATBOX=no
2108 DEFAULT_wxUSE_STATLINE=no
2109 DEFAULT_wxUSE_STATTEXT=no
2110 DEFAULT_wxUSE_STATUSBAR=yes
2111 DEFAULT_wxUSE_TABDIALOG=no
2112 DEFAULT_wxUSE_TEXTCTRL=no
2113 DEFAULT_wxUSE_TOGGLEBTN=no
2114 DEFAULT_wxUSE_TOOLBAR=no
2115 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2116 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2117 DEFAULT_wxUSE_TREECTRL=no
2118 DEFAULT_wxUSE_POPUPWIN=no
2119 DEFAULT_wxUSE_TIPWINDOW=no
2121 DEFAULT_wxUSE_UNICODE=no
2122 DEFAULT_wxUSE_UNICODE_MSLU=no
2123 DEFAULT_wxUSE_WCSRTOMBS=no
2125 DEFAULT_wxUSE_PALETTE=no
2126 DEFAULT_wxUSE_IMAGE=no
2127 DEFAULT_wxUSE_GIF=no
2128 DEFAULT_wxUSE_PCX=no
2129 DEFAULT_wxUSE_PNM=no
2130 DEFAULT_wxUSE_IFF=no
2131 DEFAULT_wxUSE_XPM=no
2132 DEFAULT_wxUSE_ICO_CUR=no
2133 DEFAULT_wxUSE_ACCESSIBILITY=no
2135 DEFAULT_wxUSE_MONOLITHIC=no
2136 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2138 DEFAULT_wxUSE_UNIVERSAL=no
2139 DEFAULT_wxUSE_STL=no
2141 DEFAULT_wxUSE_NANOX=no
2143 DEFAULT_wxUSE_THREADS=yes
2145 DEFAULT_wxUSE_SHARED=yes
2146 DEFAULT_wxUSE_OPTIMISE=yes
2147 DEFAULT_wxUSE_PROFILE=no
2148 DEFAULT_wxUSE_NO_DEPS=no
2149 DEFAULT_wxUSE_NO_RTTI=no
2150 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2151 DEFAULT_wxUSE_PERMISSIVE=no
2152 DEFAULT_wxUSE_DEBUG_FLAG=no
2153 DEFAULT_wxUSE_DEBUG_INFO=no
2154 DEFAULT_wxUSE_DEBUG_GDB=no
2155 DEFAULT_wxUSE_MEM_TRACING=no
2156 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2157 DEFAULT_wxUSE_DMALLOC=no
2158 DEFAULT_wxUSE_APPLE_IEEE=yes
2160 DEFAULT_wxUSE_LOG=yes
2161 DEFAULT_wxUSE_LOGWINDOW=yes
2162 DEFAULT_wxUSE_LOGGUI=yes
2163 DEFAULT_wxUSE_LOGDIALOG=yes
2165 DEFAULT_wxUSE_GUI=yes
2167 DEFAULT_wxUSE_REGEX=yes
2168 DEFAULT_wxUSE_XML=yes
2169 DEFAULT_wxUSE_EXPAT=yes
2170 DEFAULT_wxUSE_ZLIB=yes
2171 DEFAULT_wxUSE_LIBPNG=yes
2172 DEFAULT_wxUSE_LIBJPEG=yes
2173 DEFAULT_wxUSE_LIBTIFF=yes
2174 DEFAULT_wxUSE_ODBC=no
2175 DEFAULT_wxUSE_OPENGL=no
2177 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2178 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2179 DEFAULT_wxUSE_STD_IOSTREAM=no
2180 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2181 DEFAULT_wxUSE_DATETIME=yes
2182 DEFAULT_wxUSE_TIMER=yes
2183 DEFAULT_wxUSE_STOPWATCH=yes
2184 DEFAULT_wxUSE_FILE=yes
2185 DEFAULT_wxUSE_FFILE=yes
2186 DEFAULT_wxUSE_TEXTBUFFER=yes
2187 DEFAULT_wxUSE_TEXTFILE=yes
2188 DEFAULT_wxUSE_WAVE=no
2189 DEFAULT_wxUSE_INTL=yes
2190 DEFAULT_wxUSE_CONFIG=yes
2191 DEFAULT_wxUSE_FONTMAP=yes
2192 DEFAULT_wxUSE_STREAMS=yes
2193 DEFAULT_wxUSE_SOCKETS=yes
2194 DEFAULT_wxUSE_OLE=yes
2195 DEFAULT_wxUSE_DATAOBJ=yes
2196 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2197 DEFAULT_wxUSE_JOYSTICK=yes
2198 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2199 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2200 DEFAULT_wxUSE_LONGLONG=yes
2201 DEFAULT_wxUSE_GEOMETRY=yes
2203 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2204 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2205 DEFAULT_wxUSE_POSTSCRIPT=yes
2207 DEFAULT_wxUSE_CLIPBOARD=yes
2208 DEFAULT_wxUSE_TOOLTIPS=yes
2209 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2210 DEFAULT_wxUSE_DRAGIMAGE=yes
2211 DEFAULT_wxUSE_SPLINES=yes
2213 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2214 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2215 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2217 DEFAULT_wxUSE_RESOURCES=no
2218 DEFAULT_wxUSE_CONSTRAINTS=yes
2219 DEFAULT_wxUSE_IPC=yes
2220 DEFAULT_wxUSE_HELP=yes
2221 DEFAULT_wxUSE_MS_HTML_HELP=yes
2222 DEFAULT_wxUSE_WXHTML_HELP=yes
2223 DEFAULT_wxUSE_TREELAYOUT=yes
2224 DEFAULT_wxUSE_METAFILE=yes
2225 DEFAULT_wxUSE_MIMETYPE=yes
2226 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2227 DEFAULT_wxUSE_PROTOCOL=yes
2228 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2229 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2230 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2231 DEFAULT_wxUSE_URL=yes
2233 DEFAULT_wxUSE_COMMONDLGS=yes
2234 DEFAULT_wxUSE_CHOICEDLG=yes
2235 DEFAULT_wxUSE_COLOURDLG=yes
2236 DEFAULT_wxUSE_DIRDLG=yes
2237 DEFAULT_wxUSE_FILEDLG=yes
2238 DEFAULT_wxUSE_FINDREPLDLG=yes
2239 DEFAULT_wxUSE_FONTDLG=yes
2240 DEFAULT_wxUSE_MSGDLG=yes
2241 DEFAULT_wxUSE_NUMBERDLG=yes
2242 DEFAULT_wxUSE_TEXTDLG=yes
2243 DEFAULT_wxUSE_SPLASH=yes
2244 DEFAULT_wxUSE_STARTUP_TIPS=yes
2245 DEFAULT_wxUSE_PROGRESSDLG=yes
2246 DEFAULT_wxUSE_WIZARDDLG=yes
2248 DEFAULT_wxUSE_MENUS=yes
2249 DEFAULT_wxUSE_MINIFRAME=yes
2250 DEFAULT_wxUSE_HTML=yes
2251 DEFAULT_wxUSE_FILESYSTEM=yes
2252 DEFAULT_wxUSE_FS_INET=yes
2253 DEFAULT_wxUSE_FS_ZIP=yes
2254 DEFAULT_wxUSE_BUSYINFO=yes
2255 DEFAULT_wxUSE_ZIPSTREAM=yes
2256 DEFAULT_wxUSE_VALIDATORS=yes
2258 DEFAULT_wxUSE_ACCEL=yes
2259 DEFAULT_wxUSE_BUTTON=yes
2260 DEFAULT_wxUSE_BMPBUTTON=yes
2261 DEFAULT_wxUSE_CALCTRL=yes
2262 DEFAULT_wxUSE_CARET=yes
2263 DEFAULT_wxUSE_CHECKBOX=yes
2264 DEFAULT_wxUSE_CHECKLST=yes
2265 DEFAULT_wxUSE_CHOICE=yes
2266 DEFAULT_wxUSE_COMBOBOX=yes
2267 DEFAULT_wxUSE_DISPLAY=no
2268 DEFAULT_wxUSE_GAUGE=yes
2269 DEFAULT_wxUSE_GRID=yes
2270 DEFAULT_wxUSE_IMAGLIST=yes
2271 DEFAULT_wxUSE_LISTBOX=yes
2272 DEFAULT_wxUSE_LISTCTRL=yes
2273 DEFAULT_wxUSE_NOTEBOOK=yes
2274 DEFAULT_wxUSE_RADIOBOX=yes
2275 DEFAULT_wxUSE_RADIOBTN=yes
2276 DEFAULT_wxUSE_SASH=yes
2277 DEFAULT_wxUSE_SCROLLBAR=yes
2278 DEFAULT_wxUSE_SLIDER=yes
2279 DEFAULT_wxUSE_SPINBTN=yes
2280 DEFAULT_wxUSE_SPINCTRL=yes
2281 DEFAULT_wxUSE_SPLITTER=yes
2282 DEFAULT_wxUSE_STATBMP=yes
2283 DEFAULT_wxUSE_STATBOX=yes
2284 DEFAULT_wxUSE_STATLINE=yes
2285 DEFAULT_wxUSE_STATTEXT=yes
2286 DEFAULT_wxUSE_STATUSBAR=yes
2287 DEFAULT_wxUSE_TABDIALOG=no
2288 DEFAULT_wxUSE_TEXTCTRL=yes
2289 DEFAULT_wxUSE_TOGGLEBTN=yes
2290 DEFAULT_wxUSE_TOOLBAR=yes
2291 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2292 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2293 DEFAULT_wxUSE_TREECTRL=yes
2294 DEFAULT_wxUSE_POPUPWIN=yes
2295 DEFAULT_wxUSE_TIPWINDOW=yes
2297 DEFAULT_wxUSE_UNICODE=no
2298 DEFAULT_wxUSE_UNICODE_MSLU=yes
2299 DEFAULT_wxUSE_WCSRTOMBS=no
2301 DEFAULT_wxUSE_PALETTE=yes
2302 DEFAULT_wxUSE_IMAGE=yes
2303 DEFAULT_wxUSE_GIF=yes
2304 DEFAULT_wxUSE_PCX=yes
2305 DEFAULT_wxUSE_IFF=no
2306 DEFAULT_wxUSE_PNM=yes
2307 DEFAULT_wxUSE_XPM=yes
2308 DEFAULT_wxUSE_ICO_CUR=yes
2309 DEFAULT_wxUSE_ACCESSIBILITY=no
2311 DEFAULT_wxUSE_MONOLITHIC=no
2312 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2317 for toolkit in `echo $ALL_TOOLKITS`; do
2318 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2319 if test "x$LINE" != "x" ; then
2320 has_toolkit_in_cache=1
2321 eval "DEFAULT_$LINE"
2322 eval "CACHE_$toolkit=1"
2329 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2330 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2332 # Check whether --enable-gui or --disable-gui was given.
2333 if test "${enable_gui+set}" = set; then
2334 enableval="$enable_gui"
2336 if test "$enableval" = yes; then
2337 ac_cv_use_gui='wxUSE_GUI
=yes'
2339 ac_cv_use_gui='wxUSE_GUI
=no
'
2344 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2345 if test "x$LINE" != x ; then
2346 eval "DEFAULT_$LINE"
2351 ac_cv_use_gui='wxUSE_GUI
='$DEFAULT_wxUSE_GUI
2355 eval "$ac_cv_use_gui"
2356 if test "$no_cache" != 1; then
2357 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2360 if test "$wxUSE_GUI" = yes; then
2361 echo "$as_me:$LINENO: result: yes" >&5
2362 echo "${ECHO_T}yes" >&6
2364 echo "$as_me:$LINENO: result: no" >&5
2365 echo "${ECHO_T}no" >&6
2370 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2371 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2373 # Check whether --enable-monolithic or --disable-monolithic was given.
2374 if test "${enable_monolithic+set}" = set; then
2375 enableval="$enable_monolithic"
2377 if test "$enableval" = yes; then
2378 ac_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
2380 ac_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
2385 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2386 if test "x$LINE" != x ; then
2387 eval "DEFAULT_$LINE"
2392 ac_cv_use_monolithic='wxUSE_MONOLITHIC
='$DEFAULT_wxUSE_MONOLITHIC
2396 eval "$ac_cv_use_monolithic"
2397 if test "$no_cache" != 1; then
2398 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2401 if test "$wxUSE_MONOLITHIC" = yes; then
2402 echo "$as_me:$LINENO: result: yes" >&5
2403 echo "${ECHO_T}yes" >&6
2405 echo "$as_me:$LINENO: result: no" >&5
2406 echo "${ECHO_T}no" >&6
2410 if test "$wxUSE_GUI" = "yes"; then
2414 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2415 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2417 # Check whether --enable-universal or --disable-universal was given.
2418 if test "${enable_universal+set}" = set; then
2419 enableval="$enable_universal"
2421 if test "$enableval" = yes; then
2422 ac_cv_use_universal='wxUSE_UNIVERSAL
=yes'
2424 ac_cv_use_universal='wxUSE_UNIVERSAL
=no
'
2429 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2430 if test "x$LINE" != x ; then
2431 eval "DEFAULT_$LINE"
2436 ac_cv_use_universal='wxUSE_UNIVERSAL
='$DEFAULT_wxUSE_UNIVERSAL
2440 eval "$ac_cv_use_universal"
2441 if test "$no_cache" != 1; then
2442 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2445 if test "$wxUSE_UNIVERSAL" = yes; then
2446 echo "$as_me:$LINENO: result: yes" >&5
2447 echo "${ECHO_T}yes" >&6
2449 echo "$as_me:$LINENO: result: no" >&5
2450 echo "${ECHO_T}no" >&6
2454 # Check whether --with-gtk or --without-gtk was given.
2455 if test "${with_gtk+set}" = set; then
2457 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2460 # Check whether --with-motif or --without-motif was given.
2461 if test "${with_motif+set}" = set; then
2462 withval="$with_motif"
2463 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2466 # Check whether --with-mac or --without-mac was given.
2467 if test "${with_mac+set}" = set; then
2469 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2472 # Check whether --with-cocoa or --without-cocoa was given.
2473 if test "${with_cocoa+set}" = set; then
2474 withval="$with_cocoa"
2475 wxUSE_COCOA="$withval" TOOLKIT_GIVEN=1
2478 # Check whether --with-wine or --without-wine was given.
2479 if test "${with_wine+set}" = set; then
2480 withval="$with_wine"
2481 wxUSE_WINE="$withval" CACHE_WINE=1
2484 # Check whether --with-msw or --without-msw was given.
2485 if test "${with_msw+set}" = set; then
2487 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2490 # Check whether --with-pm or --without-pm was given.
2491 if test "${with_pm+set}" = set; then
2493 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2496 # Check whether --with-mgl or --without-mgl was given.
2497 if test "${with_mgl+set}" = set; then
2499 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2502 # Check whether --with-microwin or --without-microwin was given.
2503 if test "${with_microwin+set}" = set; then
2504 withval="$with_microwin"
2505 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2508 # Check whether --with-x11 or --without-x11 was given.
2509 if test "${with_x11+set}" = set; then
2511 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2515 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2516 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2518 # Check whether --enable-nanox or --disable-nanox was given.
2519 if test "${enable_nanox+set}" = set; then
2520 enableval="$enable_nanox"
2522 if test "$enableval" = yes; then
2523 ac_cv_use_nanox='wxUSE_NANOX
=yes'
2525 ac_cv_use_nanox='wxUSE_NANOX
=no
'
2530 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2531 if test "x$LINE" != x ; then
2532 eval "DEFAULT_$LINE"
2537 ac_cv_use_nanox='wxUSE_NANOX
='$DEFAULT_wxUSE_NANOX
2541 eval "$ac_cv_use_nanox"
2542 if test "$no_cache" != 1; then
2543 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2546 if test "$wxUSE_NANOX" = yes; then
2547 echo "$as_me:$LINENO: result: yes" >&5
2548 echo "${ECHO_T}yes" >&6
2550 echo "$as_me:$LINENO: result: no" >&5
2551 echo "${ECHO_T}no" >&6
2557 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2558 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2560 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2561 if test "${enable_gtk2+set}" = set; then
2562 enableval="$enable_gtk2"
2564 if test "$enableval" = yes; then
2565 ac_cv_use_gtk2='wxUSE_GTK2
=yes'
2567 ac_cv_use_gtk2='wxUSE_GTK2
=no
'
2572 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2573 if test "x$LINE" != x ; then
2574 eval "DEFAULT_$LINE"
2579 ac_cv_use_gtk2='wxUSE_GTK2
='$DEFAULT_wxUSE_GTK2
2583 eval "$ac_cv_use_gtk2"
2584 if test "$no_cache" != 1; then
2585 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2588 if test "$wxUSE_GTK2" = yes; then
2589 echo "$as_me:$LINENO: result: yes" >&5
2590 echo "${ECHO_T}yes" >&6
2592 echo "$as_me:$LINENO: result: no" >&5
2593 echo "${ECHO_T}no" >&6
2598 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2599 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2602 # Check whether --with-libpng or --without-libpng was given.
2603 if test "${with_libpng+set}" = set; then
2604 withval="$with_libpng"
2606 if test "$withval" = yes; then
2607 ac_cv_use_libpng='wxUSE_LIBPNG
=yes'
2608 elif test "$withval" = no; then
2609 ac_cv_use_libpng='wxUSE_LIBPNG
=no
'
2610 elif test "$withval" = sys; then
2611 ac_cv_use_libpng='wxUSE_LIBPNG
=sys
'
2612 elif test "$withval" = builtin; then
2613 ac_cv_use_libpng='wxUSE_LIBPNG
=builtin'
2615 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2616 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2617 { (exit 1); exit 1; }; }
2622 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2623 if test "x$LINE" != x ; then
2624 eval "DEFAULT_$LINE"
2629 ac_cv_use_libpng='wxUSE_LIBPNG
='$DEFAULT_wxUSE_LIBPNG
2633 eval "$ac_cv_use_libpng"
2634 if test "$no_cache" != 1; then
2635 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2638 if test "$wxUSE_LIBPNG" = yes; then
2639 echo "$as_me:$LINENO: result: yes" >&5
2640 echo "${ECHO_T}yes" >&6
2641 elif test "$wxUSE_LIBPNG" = no; then
2642 echo "$as_me:$LINENO: result: no" >&5
2643 echo "${ECHO_T}no" >&6
2644 elif test "$wxUSE_LIBPNG" = sys; then
2645 echo "$as_me:$LINENO: result: system version" >&5
2646 echo "${ECHO_T}system version" >&6
2647 elif test "$wxUSE_LIBPNG" = builtin; then
2648 echo "$as_me:$LINENO: result: builtin version" >&5
2649 echo "${ECHO_T}builtin version" >&6
2651 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2652 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2653 { (exit 1); exit 1; }; }
2657 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2658 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2661 # Check whether --with-libjpeg or --without-libjpeg was given.
2662 if test "${with_libjpeg+set}" = set; then
2663 withval="$with_libjpeg"
2665 if test "$withval" = yes; then
2666 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
2667 elif test "$withval" = no; then
2668 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
2669 elif test "$withval" = sys; then
2670 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
2671 elif test "$withval" = builtin; then
2672 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
2674 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2675 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2676 { (exit 1); exit 1; }; }
2681 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2682 if test "x$LINE" != x ; then
2683 eval "DEFAULT_$LINE"
2688 ac_cv_use_libjpeg='wxUSE_LIBJPEG
='$DEFAULT_wxUSE_LIBJPEG
2692 eval "$ac_cv_use_libjpeg"
2693 if test "$no_cache" != 1; then
2694 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2697 if test "$wxUSE_LIBJPEG" = yes; then
2698 echo "$as_me:$LINENO: result: yes" >&5
2699 echo "${ECHO_T}yes" >&6
2700 elif test "$wxUSE_LIBJPEG" = no; then
2701 echo "$as_me:$LINENO: result: no" >&5
2702 echo "${ECHO_T}no" >&6
2703 elif test "$wxUSE_LIBJPEG" = sys; then
2704 echo "$as_me:$LINENO: result: system version" >&5
2705 echo "${ECHO_T}system version" >&6
2706 elif test "$wxUSE_LIBJPEG" = builtin; then
2707 echo "$as_me:$LINENO: result: builtin version" >&5
2708 echo "${ECHO_T}builtin version" >&6
2710 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2711 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2712 { (exit 1); exit 1; }; }
2716 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2717 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2720 # Check whether --with-libtiff or --without-libtiff was given.
2721 if test "${with_libtiff+set}" = set; then
2722 withval="$with_libtiff"
2724 if test "$withval" = yes; then
2725 ac_cv_use_libtiff='wxUSE_LIBTIFF
=yes'
2726 elif test "$withval" = no; then
2727 ac_cv_use_libtiff='wxUSE_LIBTIFF
=no
'
2728 elif test "$withval" = sys; then
2729 ac_cv_use_libtiff='wxUSE_LIBTIFF
=sys
'
2730 elif test "$withval" = builtin; then
2731 ac_cv_use_libtiff='wxUSE_LIBTIFF
=builtin'
2733 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2734 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2735 { (exit 1); exit 1; }; }
2740 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2741 if test "x$LINE" != x ; then
2742 eval "DEFAULT_$LINE"
2747 ac_cv_use_libtiff='wxUSE_LIBTIFF
='$DEFAULT_wxUSE_LIBTIFF
2751 eval "$ac_cv_use_libtiff"
2752 if test "$no_cache" != 1; then
2753 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2756 if test "$wxUSE_LIBTIFF" = yes; then
2757 echo "$as_me:$LINENO: result: yes" >&5
2758 echo "${ECHO_T}yes" >&6
2759 elif test "$wxUSE_LIBTIFF" = no; then
2760 echo "$as_me:$LINENO: result: no" >&5
2761 echo "${ECHO_T}no" >&6
2762 elif test "$wxUSE_LIBTIFF" = sys; then
2763 echo "$as_me:$LINENO: result: system version" >&5
2764 echo "${ECHO_T}system version" >&6
2765 elif test "$wxUSE_LIBTIFF" = builtin; then
2766 echo "$as_me:$LINENO: result: builtin version" >&5
2767 echo "${ECHO_T}builtin version" >&6
2769 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2770 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2771 { (exit 1); exit 1; }; }
2775 echo "$as_me:$LINENO: checking for --with-opengl" >&5
2776 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
2779 # Check whether --with-opengl or --without-opengl was given.
2780 if test "${with_opengl+set}" = set; then
2781 withval="$with_opengl"
2783 if test "$withval" = yes; then
2784 ac_cv_use_opengl='wxUSE_OPENGL
=yes'
2786 ac_cv_use_opengl='wxUSE_OPENGL
=no
'
2791 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2792 if test "x$LINE" != x ; then
2793 eval "DEFAULT_$LINE"
2798 ac_cv_use_opengl='wxUSE_OPENGL
='$DEFAULT_wxUSE_OPENGL
2802 eval "$ac_cv_use_opengl"
2803 if test "$no_cache" != 1; then
2804 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2807 if test "$wxUSE_OPENGL" = yes; then
2808 echo "$as_me:$LINENO: result: yes" >&5
2809 echo "${ECHO_T}yes" >&6
2811 echo "$as_me:$LINENO: result: no" >&5
2812 echo "${ECHO_T}no" >&6
2819 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
2820 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
2823 # Check whether --with-dmalloc or --without-dmalloc was given.
2824 if test "${with_dmalloc+set}" = set; then
2825 withval="$with_dmalloc"
2827 if test "$withval" = yes; then
2828 ac_cv_use_dmalloc='wxUSE_DMALLOC
=yes'
2830 ac_cv_use_dmalloc='wxUSE_DMALLOC
=no
'
2835 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2836 if test "x$LINE" != x ; then
2837 eval "DEFAULT_$LINE"
2842 ac_cv_use_dmalloc='wxUSE_DMALLOC
='$DEFAULT_wxUSE_DMALLOC
2846 eval "$ac_cv_use_dmalloc"
2847 if test "$no_cache" != 1; then
2848 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2851 if test "$wxUSE_DMALLOC" = yes; then
2852 echo "$as_me:$LINENO: result: yes" >&5
2853 echo "${ECHO_T}yes" >&6
2855 echo "$as_me:$LINENO: result: no" >&5
2856 echo "${ECHO_T}no" >&6
2860 echo "$as_me:$LINENO: checking for --with-regex" >&5
2861 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
2864 # Check whether --with-regex or --without-regex was given.
2865 if test "${with_regex+set}" = set; then
2866 withval="$with_regex"
2868 if test "$withval" = yes; then
2869 ac_cv_use_regex='wxUSE_REGEX
=yes'
2870 elif test "$withval" = no; then
2871 ac_cv_use_regex='wxUSE_REGEX
=no
'
2872 elif test "$withval" = sys; then
2873 ac_cv_use_regex='wxUSE_REGEX
=sys
'
2874 elif test "$withval" = builtin; then
2875 ac_cv_use_regex='wxUSE_REGEX
=builtin'
2877 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2878 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2879 { (exit 1); exit 1; }; }
2884 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2885 if test "x$LINE" != x ; then
2886 eval "DEFAULT_$LINE"
2891 ac_cv_use_regex='wxUSE_REGEX
='$DEFAULT_wxUSE_REGEX
2895 eval "$ac_cv_use_regex"
2896 if test "$no_cache" != 1; then
2897 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2900 if test "$wxUSE_REGEX" = yes; then
2901 echo "$as_me:$LINENO: result: yes" >&5
2902 echo "${ECHO_T}yes" >&6
2903 elif test "$wxUSE_REGEX" = no; then
2904 echo "$as_me:$LINENO: result: no" >&5
2905 echo "${ECHO_T}no" >&6
2906 elif test "$wxUSE_REGEX" = sys; then
2907 echo "$as_me:$LINENO: result: system version" >&5
2908 echo "${ECHO_T}system version" >&6
2909 elif test "$wxUSE_REGEX" = builtin; then
2910 echo "$as_me:$LINENO: result: builtin version" >&5
2911 echo "${ECHO_T}builtin version" >&6
2913 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2914 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2915 { (exit 1); exit 1; }; }
2919 echo "$as_me:$LINENO: checking for --with-zlib" >&5
2920 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
2923 # Check whether --with-zlib or --without-zlib was given.
2924 if test "${with_zlib+set}" = set; then
2925 withval="$with_zlib"
2927 if test "$withval" = yes; then
2928 ac_cv_use_zlib='wxUSE_ZLIB
=yes'
2929 elif test "$withval" = no; then
2930 ac_cv_use_zlib='wxUSE_ZLIB
=no
'
2931 elif test "$withval" = sys; then
2932 ac_cv_use_zlib='wxUSE_ZLIB
=sys
'
2933 elif test "$withval" = builtin; then
2934 ac_cv_use_zlib='wxUSE_ZLIB
=builtin'
2936 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2937 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2938 { (exit 1); exit 1; }; }
2943 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2944 if test "x$LINE" != x ; then
2945 eval "DEFAULT_$LINE"
2950 ac_cv_use_zlib='wxUSE_ZLIB
='$DEFAULT_wxUSE_ZLIB
2954 eval "$ac_cv_use_zlib"
2955 if test "$no_cache" != 1; then
2956 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2959 if test "$wxUSE_ZLIB" = yes; then
2960 echo "$as_me:$LINENO: result: yes" >&5
2961 echo "${ECHO_T}yes" >&6
2962 elif test "$wxUSE_ZLIB" = no; then
2963 echo "$as_me:$LINENO: result: no" >&5
2964 echo "${ECHO_T}no" >&6
2965 elif test "$wxUSE_ZLIB" = sys; then
2966 echo "$as_me:$LINENO: result: system version" >&5
2967 echo "${ECHO_T}system version" >&6
2968 elif test "$wxUSE_ZLIB" = builtin; then
2969 echo "$as_me:$LINENO: result: builtin version" >&5
2970 echo "${ECHO_T}builtin version" >&6
2972 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2973 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2974 { (exit 1); exit 1; }; }
2978 echo "$as_me:$LINENO: checking for --with-odbc" >&5
2979 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
2982 # Check whether --with-odbc or --without-odbc was given.
2983 if test "${with_odbc+set}" = set; then
2984 withval="$with_odbc"
2986 if test "$withval" = yes; then
2987 ac_cv_use_odbc='wxUSE_ODBC
=yes'
2988 elif test "$withval" = no; then
2989 ac_cv_use_odbc='wxUSE_ODBC
=no
'
2990 elif test "$withval" = sys; then
2991 ac_cv_use_odbc='wxUSE_ODBC
=sys
'
2992 elif test "$withval" = builtin; then
2993 ac_cv_use_odbc='wxUSE_ODBC
=builtin'
2995 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
2996 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
2997 { (exit 1); exit 1; }; }
3002 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3003 if test "x$LINE" != x ; then
3004 eval "DEFAULT_$LINE"
3009 ac_cv_use_odbc='wxUSE_ODBC
='$DEFAULT_wxUSE_ODBC
3013 eval "$ac_cv_use_odbc"
3014 if test "$no_cache" != 1; then
3015 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3018 if test "$wxUSE_ODBC" = yes; then
3019 echo "$as_me:$LINENO: result: yes" >&5
3020 echo "${ECHO_T}yes" >&6
3021 elif test "$wxUSE_ODBC" = no; then
3022 echo "$as_me:$LINENO: result: no" >&5
3023 echo "${ECHO_T}no" >&6
3024 elif test "$wxUSE_ODBC" = sys; then
3025 echo "$as_me:$LINENO: result: system version" >&5
3026 echo "${ECHO_T}system version" >&6
3027 elif test "$wxUSE_ODBC" = builtin; then
3028 echo "$as_me:$LINENO: result: builtin version" >&5
3029 echo "${ECHO_T}builtin version" >&6
3031 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3032 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3033 { (exit 1); exit 1; }; }
3037 echo "$as_me:$LINENO: checking for --with-expat" >&5
3038 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3041 # Check whether --with-expat or --without-expat was given.
3042 if test "${with_expat+set}" = set; then
3043 withval="$with_expat"
3045 if test "$withval" = yes; then
3046 ac_cv_use_expat='wxUSE_EXPAT
=yes'
3047 elif test "$withval" = no; then
3048 ac_cv_use_expat='wxUSE_EXPAT
=no
'
3049 elif test "$withval" = sys; then
3050 ac_cv_use_expat='wxUSE_EXPAT
=sys
'
3051 elif test "$withval" = builtin; then
3052 ac_cv_use_expat='wxUSE_EXPAT
=builtin'
3054 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3055 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3056 { (exit 1); exit 1; }; }
3061 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3062 if test "x$LINE" != x ; then
3063 eval "DEFAULT_$LINE"
3068 ac_cv_use_expat='wxUSE_EXPAT
='$DEFAULT_wxUSE_EXPAT
3072 eval "$ac_cv_use_expat"
3073 if test "$no_cache" != 1; then
3074 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3077 if test "$wxUSE_EXPAT" = yes; then
3078 echo "$as_me:$LINENO: result: yes" >&5
3079 echo "${ECHO_T}yes" >&6
3080 elif test "$wxUSE_EXPAT" = no; then
3081 echo "$as_me:$LINENO: result: no" >&5
3082 echo "${ECHO_T}no" >&6
3083 elif test "$wxUSE_EXPAT" = sys; then
3084 echo "$as_me:$LINENO: result: system version" >&5
3085 echo "${ECHO_T}system version" >&6
3086 elif test "$wxUSE_EXPAT" = builtin; then
3087 echo "$as_me:$LINENO: result: builtin version" >&5
3088 echo "${ECHO_T}builtin version" >&6
3090 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3091 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3092 { (exit 1); exit 1; }; }
3099 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3100 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3102 # Check whether --enable-shared or --disable-shared was given.
3103 if test "${enable_shared+set}" = set; then
3104 enableval="$enable_shared"
3106 if test "$enableval" = yes; then
3107 ac_cv_use_shared='wxUSE_SHARED
=yes'
3109 ac_cv_use_shared='wxUSE_SHARED
=no
'
3114 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3115 if test "x$LINE" != x ; then
3116 eval "DEFAULT_$LINE"
3121 ac_cv_use_shared='wxUSE_SHARED
='$DEFAULT_wxUSE_SHARED
3125 eval "$ac_cv_use_shared"
3126 if test "$no_cache" != 1; then
3127 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3130 if test "$wxUSE_SHARED" = yes; then
3131 echo "$as_me:$LINENO: result: yes" >&5
3132 echo "${ECHO_T}yes" >&6
3134 echo "$as_me:$LINENO: result: no" >&5
3135 echo "${ECHO_T}no" >&6
3140 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3141 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3143 # Check whether --enable-optimise or --disable-optimise was given.
3144 if test "${enable_optimise+set}" = set; then
3145 enableval="$enable_optimise"
3147 if test "$enableval" = yes; then
3148 ac_cv_use_optimise='wxUSE_OPTIMISE
=yes'
3150 ac_cv_use_optimise='wxUSE_OPTIMISE
=no
'
3155 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3156 if test "x$LINE" != x ; then
3157 eval "DEFAULT_$LINE"
3162 ac_cv_use_optimise='wxUSE_OPTIMISE
='$DEFAULT_wxUSE_OPTIMISE
3166 eval "$ac_cv_use_optimise"
3167 if test "$no_cache" != 1; then
3168 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3171 if test "$wxUSE_OPTIMISE" = yes; then
3172 echo "$as_me:$LINENO: result: yes" >&5
3173 echo "${ECHO_T}yes" >&6
3175 echo "$as_me:$LINENO: result: no" >&5
3176 echo "${ECHO_T}no" >&6
3181 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3182 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3184 # Check whether --enable-debug or --disable-debug was given.
3185 if test "${enable_debug+set}" = set; then
3186 enableval="$enable_debug"
3188 if test "$enableval" = yes; then
3189 ac_cv_use_debug='wxUSE_DEBUG
=yes'
3191 ac_cv_use_debug='wxUSE_DEBUG
=no
'
3196 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3197 if test "x$LINE" != x ; then
3198 eval "DEFAULT_$LINE"
3203 ac_cv_use_debug='wxUSE_DEBUG
='$DEFAULT_wxUSE_DEBUG
3207 eval "$ac_cv_use_debug"
3208 if test "$no_cache" != 1; then
3209 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3212 if test "$wxUSE_DEBUG" = yes; then
3213 echo "$as_me:$LINENO: result: yes" >&5
3214 echo "${ECHO_T}yes" >&6
3216 echo "$as_me:$LINENO: result: no" >&5
3217 echo "${ECHO_T}no" >&6
3222 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3223 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3225 # Check whether --enable-stl or --disable-stl was given.
3226 if test "${enable_stl+set}" = set; then
3227 enableval="$enable_stl"
3229 if test "$enableval" = yes; then
3230 ac_cv_use_stl='wxUSE_STL
=yes'
3232 ac_cv_use_stl='wxUSE_STL
=no
'
3237 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3238 if test "x$LINE" != x ; then
3239 eval "DEFAULT_$LINE"
3244 ac_cv_use_stl='wxUSE_STL
='$DEFAULT_wxUSE_STL
3248 eval "$ac_cv_use_stl"
3249 if test "$no_cache" != 1; then
3250 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3253 if test "$wxUSE_STL" = yes; then
3254 echo "$as_me:$LINENO: result: yes" >&5
3255 echo "${ECHO_T}yes" >&6
3257 echo "$as_me:$LINENO: result: no" >&5
3258 echo "${ECHO_T}no" >&6
3262 if test "$wxUSE_DEBUG" = "yes"; then
3263 DEFAULT_wxUSE_DEBUG_FLAG=yes
3264 DEFAULT_wxUSE_DEBUG_INFO=yes
3266 elif test "$wxUSE_DEBUG" = "no"; then
3267 DEFAULT_wxUSE_DEBUG_FLAG=no
3268 DEFAULT_wxUSE_DEBUG_INFO=no
3274 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3275 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3277 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3278 if test "${enable_debug_flag+set}" = set; then
3279 enableval="$enable_debug_flag"
3281 if test "$enableval" = yes; then
3282 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
3284 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
3289 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3290 if test "x$LINE" != x ; then
3291 eval "DEFAULT_$LINE"
3296 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
='$DEFAULT_wxUSE_DEBUG_FLAG
3300 eval "$ac_cv_use_debug_flag"
3301 if test "$no_cache" != 1; then
3302 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3305 if test "$wxUSE_DEBUG_FLAG" = yes; then
3306 echo "$as_me:$LINENO: result: yes" >&5
3307 echo "${ECHO_T}yes" >&6
3309 echo "$as_me:$LINENO: result: no" >&5
3310 echo "${ECHO_T}no" >&6
3315 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3316 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3318 # Check whether --enable-debug_info or --disable-debug_info was given.
3319 if test "${enable_debug_info+set}" = set; then
3320 enableval="$enable_debug_info"
3322 if test "$enableval" = yes; then
3323 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=yes'
3325 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=no
'
3330 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3331 if test "x$LINE" != x ; then
3332 eval "DEFAULT_$LINE"
3337 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
='$DEFAULT_wxUSE_DEBUG_INFO
3341 eval "$ac_cv_use_debug_info"
3342 if test "$no_cache" != 1; then
3343 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3346 if test "$wxUSE_DEBUG_INFO" = yes; then
3347 echo "$as_me:$LINENO: result: yes" >&5
3348 echo "${ECHO_T}yes" >&6
3350 echo "$as_me:$LINENO: result: no" >&5
3351 echo "${ECHO_T}no" >&6
3356 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3357 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3359 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3360 if test "${enable_debug_gdb+set}" = set; then
3361 enableval="$enable_debug_gdb"
3363 if test "$enableval" = yes; then
3364 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=yes'
3366 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=no
'
3371 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3372 if test "x$LINE" != x ; then
3373 eval "DEFAULT_$LINE"
3378 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
='$DEFAULT_wxUSE_DEBUG_GDB
3382 eval "$ac_cv_use_debug_gdb"
3383 if test "$no_cache" != 1; then
3384 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3387 if test "$wxUSE_DEBUG_GDB" = yes; then
3388 echo "$as_me:$LINENO: result: yes" >&5
3389 echo "${ECHO_T}yes" >&6
3391 echo "$as_me:$LINENO: result: no" >&5
3392 echo "${ECHO_T}no" >&6
3397 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3398 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3400 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3401 if test "${enable_debug_cntxt+set}" = set; then
3402 enableval="$enable_debug_cntxt"
3404 if test "$enableval" = yes; then
3405 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
3407 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
3412 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3413 if test "x$LINE" != x ; then
3414 eval "DEFAULT_$LINE"
3419 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
='$DEFAULT_wxUSE_DEBUG_CONTEXT
3423 eval "$ac_cv_use_debug_cntxt"
3424 if test "$no_cache" != 1; then
3425 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3428 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3429 echo "$as_me:$LINENO: result: yes" >&5
3430 echo "${ECHO_T}yes" >&6
3432 echo "$as_me:$LINENO: result: no" >&5
3433 echo "${ECHO_T}no" >&6
3438 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3439 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3441 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3442 if test "${enable_mem_tracing+set}" = set; then
3443 enableval="$enable_mem_tracing"
3445 if test "$enableval" = yes; then
3446 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=yes'
3448 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=no
'
3453 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3454 if test "x$LINE" != x ; then
3455 eval "DEFAULT_$LINE"
3460 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
='$DEFAULT_wxUSE_MEM_TRACING
3464 eval "$ac_cv_use_mem_tracing"
3465 if test "$no_cache" != 1; then
3466 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3469 if test "$wxUSE_MEM_TRACING" = yes; then
3470 echo "$as_me:$LINENO: result: yes" >&5
3471 echo "${ECHO_T}yes" >&6
3473 echo "$as_me:$LINENO: result: no" >&5
3474 echo "${ECHO_T}no" >&6
3479 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3480 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3482 # Check whether --enable-profile or --disable-profile was given.
3483 if test "${enable_profile+set}" = set; then
3484 enableval="$enable_profile"
3486 if test "$enableval" = yes; then
3487 ac_cv_use_profile='wxUSE_PROFILE
=yes'
3489 ac_cv_use_profile='wxUSE_PROFILE
=no
'
3494 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3495 if test "x$LINE" != x ; then
3496 eval "DEFAULT_$LINE"
3501 ac_cv_use_profile='wxUSE_PROFILE
='$DEFAULT_wxUSE_PROFILE
3505 eval "$ac_cv_use_profile"
3506 if test "$no_cache" != 1; then
3507 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3510 if test "$wxUSE_PROFILE" = yes; then
3511 echo "$as_me:$LINENO: result: yes" >&5
3512 echo "${ECHO_T}yes" >&6
3514 echo "$as_me:$LINENO: result: no" >&5
3515 echo "${ECHO_T}no" >&6
3520 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3521 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3523 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3524 if test "${enable_no_rtti+set}" = set; then
3525 enableval="$enable_no_rtti"
3527 if test "$enableval" = yes; then
3528 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=yes'
3530 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=no
'
3535 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3536 if test "x$LINE" != x ; then
3537 eval "DEFAULT_$LINE"
3542 ac_cv_use_no_rtti='wxUSE_NO_RTTI
='$DEFAULT_wxUSE_NO_RTTI
3546 eval "$ac_cv_use_no_rtti"
3547 if test "$no_cache" != 1; then
3548 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3551 if test "$wxUSE_NO_RTTI" = yes; then
3552 echo "$as_me:$LINENO: result: yes" >&5
3553 echo "${ECHO_T}yes" >&6
3555 echo "$as_me:$LINENO: result: no" >&5
3556 echo "${ECHO_T}no" >&6
3561 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3562 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3564 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3565 if test "${enable_no_exceptions+set}" = set; then
3566 enableval="$enable_no_exceptions"
3568 if test "$enableval" = yes; then
3569 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=yes'
3571 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=no
'
3576 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3577 if test "x$LINE" != x ; then
3578 eval "DEFAULT_$LINE"
3583 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
='$DEFAULT_wxUSE_NO_EXCEPTIONS
3587 eval "$ac_cv_use_no_exceptions"
3588 if test "$no_cache" != 1; then
3589 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3592 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3593 echo "$as_me:$LINENO: result: yes" >&5
3594 echo "${ECHO_T}yes" >&6
3596 echo "$as_me:$LINENO: result: no" >&5
3597 echo "${ECHO_T}no" >&6
3602 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3603 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3605 # Check whether --enable-permissive or --disable-permissive was given.
3606 if test "${enable_permissive+set}" = set; then
3607 enableval="$enable_permissive"
3609 if test "$enableval" = yes; then
3610 ac_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
3612 ac_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
3617 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3618 if test "x$LINE" != x ; then
3619 eval "DEFAULT_$LINE"
3624 ac_cv_use_permissive='wxUSE_PERMISSIVE
='$DEFAULT_wxUSE_PERMISSIVE
3628 eval "$ac_cv_use_permissive"
3629 if test "$no_cache" != 1; then
3630 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3633 if test "$wxUSE_PERMISSIVE" = yes; then
3634 echo "$as_me:$LINENO: result: yes" >&5
3635 echo "${ECHO_T}yes" >&6
3637 echo "$as_me:$LINENO: result: no" >&5
3638 echo "${ECHO_T}no" >&6
3643 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3644 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3646 # Check whether --enable-no_deps or --disable-no_deps was given.
3647 if test "${enable_no_deps+set}" = set; then
3648 enableval="$enable_no_deps"
3650 if test "$enableval" = yes; then
3651 ac_cv_use_no_deps='wxUSE_NO_DEPS
=yes'
3653 ac_cv_use_no_deps='wxUSE_NO_DEPS
=no
'
3658 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3659 if test "x$LINE" != x ; then
3660 eval "DEFAULT_$LINE"
3665 ac_cv_use_no_deps='wxUSE_NO_DEPS
='$DEFAULT_wxUSE_NO_DEPS
3669 eval "$ac_cv_use_no_deps"
3670 if test "$no_cache" != 1; then
3671 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3674 if test "$wxUSE_NO_DEPS" = yes; then
3675 echo "$as_me:$LINENO: result: yes" >&5
3676 echo "${ECHO_T}yes" >&6
3678 echo "$as_me:$LINENO: result: no" >&5
3679 echo "${ECHO_T}no" >&6
3685 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3686 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3688 # Check whether --enable-compat22 or --disable-compat22 was given.
3689 if test "${enable_compat22+set}" = set; then
3690 enableval="$enable_compat22"
3692 if test "$enableval" = yes; then
3693 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2
=yes'
3695 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2
=no
'
3700 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3701 if test "x$LINE" != x ; then
3702 eval "DEFAULT_$LINE"
3707 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2
='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3711 eval "$ac_cv_use_compat22"
3712 if test "$no_cache" != 1; then
3713 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3716 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3717 echo "$as_me:$LINENO: result: yes" >&5
3718 echo "${ECHO_T}yes" >&6
3720 echo "$as_me:$LINENO: result: no" >&5
3721 echo "${ECHO_T}no" >&6
3725 enablestring=disable
3726 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
3727 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
3729 # Check whether --enable-compat24 or --disable-compat24 was given.
3730 if test "${enable_compat24+set}" = set; then
3731 enableval="$enable_compat24"
3733 if test "$enableval" = yes; then
3734 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
=yes'
3736 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
=no
'
3741 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3742 if test "x$LINE" != x ; then
3743 eval "DEFAULT_$LINE"
3748 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3752 eval "$ac_cv_use_compat24"
3753 if test "$no_cache" != 1; then
3754 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3757 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3758 echo "$as_me:$LINENO: result: yes" >&5
3759 echo "${ECHO_T}yes" >&6
3761 echo "$as_me:$LINENO: result: no" >&5
3762 echo "${ECHO_T}no" >&6
3766 # Check whether --enable-rpath or --disable-rpath was given.
3767 if test "${enable_rpath+set}" = set; then
3768 enableval="$enable_rpath"
3769 wxRPATH_DIR="$enableval"
3772 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3773 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
3780 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
3781 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
3783 # Check whether --enable-intl or --disable-intl was given.
3784 if test "${enable_intl+set}" = set; then
3785 enableval="$enable_intl"
3787 if test "$enableval" = yes; then
3788 ac_cv_use_intl='wxUSE_INTL
=yes'
3790 ac_cv_use_intl='wxUSE_INTL
=no
'
3795 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3796 if test "x$LINE" != x ; then
3797 eval "DEFAULT_$LINE"
3802 ac_cv_use_intl='wxUSE_INTL
='$DEFAULT_wxUSE_INTL
3806 eval "$ac_cv_use_intl"
3807 if test "$no_cache" != 1; then
3808 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3811 if test "$wxUSE_INTL" = yes; then
3812 echo "$as_me:$LINENO: result: yes" >&5
3813 echo "${ECHO_T}yes" >&6
3815 echo "$as_me:$LINENO: result: no" >&5
3816 echo "${ECHO_T}no" >&6
3821 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
3822 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
3824 # Check whether --enable-config or --disable-config was given.
3825 if test "${enable_config+set}" = set; then
3826 enableval="$enable_config"
3828 if test "$enableval" = yes; then
3829 ac_cv_use_config='wxUSE_CONFIG
=yes'
3831 ac_cv_use_config='wxUSE_CONFIG
=no
'
3836 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3837 if test "x$LINE" != x ; then
3838 eval "DEFAULT_$LINE"
3843 ac_cv_use_config='wxUSE_CONFIG
='$DEFAULT_wxUSE_CONFIG
3847 eval "$ac_cv_use_config"
3848 if test "$no_cache" != 1; then
3849 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3852 if test "$wxUSE_CONFIG" = yes; then
3853 echo "$as_me:$LINENO: result: yes" >&5
3854 echo "${ECHO_T}yes" >&6
3856 echo "$as_me:$LINENO: result: no" >&5
3857 echo "${ECHO_T}no" >&6
3863 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
3864 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
3866 # Check whether --enable-protocols or --disable-protocols was given.
3867 if test "${enable_protocols+set}" = set; then
3868 enableval="$enable_protocols"
3870 if test "$enableval" = yes; then
3871 ac_cv_use_protocols='wxUSE_PROTOCOL
=yes'
3873 ac_cv_use_protocols='wxUSE_PROTOCOL
=no
'
3878 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3879 if test "x$LINE" != x ; then
3880 eval "DEFAULT_$LINE"
3885 ac_cv_use_protocols='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
3889 eval "$ac_cv_use_protocols"
3890 if test "$no_cache" != 1; then
3891 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3894 if test "$wxUSE_PROTOCOL" = yes; then
3895 echo "$as_me:$LINENO: result: yes" >&5
3896 echo "${ECHO_T}yes" >&6
3898 echo "$as_me:$LINENO: result: no" >&5
3899 echo "${ECHO_T}no" >&6
3904 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
3905 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
3907 # Check whether --enable-ftp or --disable-ftp was given.
3908 if test "${enable_ftp+set}" = set; then
3909 enableval="$enable_ftp"
3911 if test "$enableval" = yes; then
3912 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=yes'
3914 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=no
'
3919 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3920 if test "x$LINE" != x ; then
3921 eval "DEFAULT_$LINE"
3926 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
3930 eval "$ac_cv_use_ftp"
3931 if test "$no_cache" != 1; then
3932 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3935 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3936 echo "$as_me:$LINENO: result: yes" >&5
3937 echo "${ECHO_T}yes" >&6
3939 echo "$as_me:$LINENO: result: no" >&5
3940 echo "${ECHO_T}no" >&6
3945 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
3946 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
3948 # Check whether --enable-http or --disable-http was given.
3949 if test "${enable_http+set}" = set; then
3950 enableval="$enable_http"
3952 if test "$enableval" = yes; then
3953 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=yes'
3955 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=no
'
3960 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3961 if test "x$LINE" != x ; then
3962 eval "DEFAULT_$LINE"
3967 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
3971 eval "$ac_cv_use_http"
3972 if test "$no_cache" != 1; then
3973 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3976 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3977 echo "$as_me:$LINENO: result: yes" >&5
3978 echo "${ECHO_T}yes" >&6
3980 echo "$as_me:$LINENO: result: no" >&5
3981 echo "${ECHO_T}no" >&6
3986 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
3987 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
3989 # Check whether --enable-fileproto or --disable-fileproto was given.
3990 if test "${enable_fileproto+set}" = set; then
3991 enableval="$enable_fileproto"
3993 if test "$enableval" = yes; then
3994 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
3996 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
4001 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4002 if test "x$LINE" != x ; then
4003 eval "DEFAULT_$LINE"
4008 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
4012 eval "$ac_cv_use_fileproto"
4013 if test "$no_cache" != 1; then
4014 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4017 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4018 echo "$as_me:$LINENO: result: yes" >&5
4019 echo "${ECHO_T}yes" >&6
4021 echo "$as_me:$LINENO: result: no" >&5
4022 echo "${ECHO_T}no" >&6
4027 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4028 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4030 # Check whether --enable-sockets or --disable-sockets was given.
4031 if test "${enable_sockets+set}" = set; then
4032 enableval="$enable_sockets"
4034 if test "$enableval" = yes; then
4035 ac_cv_use_sockets='wxUSE_SOCKETS
=yes'
4037 ac_cv_use_sockets='wxUSE_SOCKETS
=no
'
4042 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4043 if test "x$LINE" != x ; then
4044 eval "DEFAULT_$LINE"
4049 ac_cv_use_sockets='wxUSE_SOCKETS
='$DEFAULT_wxUSE_SOCKETS
4053 eval "$ac_cv_use_sockets"
4054 if test "$no_cache" != 1; then
4055 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4058 if test "$wxUSE_SOCKETS" = yes; then
4059 echo "$as_me:$LINENO: result: yes" >&5
4060 echo "${ECHO_T}yes" >&6
4062 echo "$as_me:$LINENO: result: no" >&5
4063 echo "${ECHO_T}no" >&6
4068 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4069 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4071 # Check whether --enable-ole or --disable-ole was given.
4072 if test "${enable_ole+set}" = set; then
4073 enableval="$enable_ole"
4075 if test "$enableval" = yes; then
4076 ac_cv_use_ole='wxUSE_OLE
=yes'
4078 ac_cv_use_ole='wxUSE_OLE
=no
'
4083 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4084 if test "x$LINE" != x ; then
4085 eval "DEFAULT_$LINE"
4090 ac_cv_use_ole='wxUSE_OLE
='$DEFAULT_wxUSE_OLE
4094 eval "$ac_cv_use_ole"
4095 if test "$no_cache" != 1; then
4096 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4099 if test "$wxUSE_OLE" = yes; then
4100 echo "$as_me:$LINENO: result: yes" >&5
4101 echo "${ECHO_T}yes" >&6
4103 echo "$as_me:$LINENO: result: no" >&5
4104 echo "${ECHO_T}no" >&6
4109 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4110 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4112 # Check whether --enable-dataobj or --disable-dataobj was given.
4113 if test "${enable_dataobj+set}" = set; then
4114 enableval="$enable_dataobj"
4116 if test "$enableval" = yes; then
4117 ac_cv_use_dataobj='wxUSE_DATAOBJ
=yes'
4119 ac_cv_use_dataobj='wxUSE_DATAOBJ
=no
'
4124 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4125 if test "x$LINE" != x ; then
4126 eval "DEFAULT_$LINE"
4131 ac_cv_use_dataobj='wxUSE_DATAOBJ
='$DEFAULT_wxUSE_DATAOBJ
4135 eval "$ac_cv_use_dataobj"
4136 if test "$no_cache" != 1; then
4137 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4140 if test "$wxUSE_DATAOBJ" = yes; then
4141 echo "$as_me:$LINENO: result: yes" >&5
4142 echo "${ECHO_T}yes" >&6
4144 echo "$as_me:$LINENO: result: no" >&5
4145 echo "${ECHO_T}no" >&6
4151 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4152 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4154 # Check whether --enable-ipc or --disable-ipc was given.
4155 if test "${enable_ipc+set}" = set; then
4156 enableval="$enable_ipc"
4158 if test "$enableval" = yes; then
4159 ac_cv_use_ipc='wxUSE_IPC
=yes'
4161 ac_cv_use_ipc='wxUSE_IPC
=no
'
4166 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4167 if test "x$LINE" != x ; then
4168 eval "DEFAULT_$LINE"
4173 ac_cv_use_ipc='wxUSE_IPC
='$DEFAULT_wxUSE_IPC
4177 eval "$ac_cv_use_ipc"
4178 if test "$no_cache" != 1; then
4179 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4182 if test "$wxUSE_IPC" = yes; then
4183 echo "$as_me:$LINENO: result: yes" >&5
4184 echo "${ECHO_T}yes" >&6
4186 echo "$as_me:$LINENO: result: no" >&5
4187 echo "${ECHO_T}no" >&6
4193 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4194 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4196 # Check whether --enable-cmdline or --disable-cmdline was given.
4197 if test "${enable_cmdline+set}" = set; then
4198 enableval="$enable_cmdline"
4200 if test "$enableval" = yes; then
4201 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=yes'
4203 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=no
'
4208 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4209 if test "x$LINE" != x ; then
4210 eval "DEFAULT_$LINE"
4215 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
='$DEFAULT_wxUSE_CMDLINE_PARSER
4219 eval "$ac_cv_use_cmdline"
4220 if test "$no_cache" != 1; then
4221 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4224 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4225 echo "$as_me:$LINENO: result: yes" >&5
4226 echo "${ECHO_T}yes" >&6
4228 echo "$as_me:$LINENO: result: no" >&5
4229 echo "${ECHO_T}no" >&6
4234 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4235 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4237 # Check whether --enable-datetime or --disable-datetime was given.
4238 if test "${enable_datetime+set}" = set; then
4239 enableval="$enable_datetime"
4241 if test "$enableval" = yes; then
4242 ac_cv_use_datetime='wxUSE_DATETIME
=yes'
4244 ac_cv_use_datetime='wxUSE_DATETIME
=no
'
4249 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4250 if test "x$LINE" != x ; then
4251 eval "DEFAULT_$LINE"
4256 ac_cv_use_datetime='wxUSE_DATETIME
='$DEFAULT_wxUSE_DATETIME
4260 eval "$ac_cv_use_datetime"
4261 if test "$no_cache" != 1; then
4262 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4265 if test "$wxUSE_DATETIME" = yes; then
4266 echo "$as_me:$LINENO: result: yes" >&5
4267 echo "${ECHO_T}yes" >&6
4269 echo "$as_me:$LINENO: result: no" >&5
4270 echo "${ECHO_T}no" >&6
4275 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
4276 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
4278 # Check whether --enable-stopwatch or --disable-stopwatch was given.
4279 if test "${enable_stopwatch+set}" = set; then
4280 enableval="$enable_stopwatch"
4282 if test "$enableval" = yes; then
4283 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=yes'
4285 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=no
'
4290 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
4291 if test "x$LINE" != x ; then
4292 eval "DEFAULT_$LINE"
4297 ac_cv_use_stopwatch='wxUSE_STOPWATCH
='$DEFAULT_wxUSE_STOPWATCH
4301 eval "$ac_cv_use_stopwatch"
4302 if test "$no_cache" != 1; then
4303 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
4306 if test "$wxUSE_STOPWATCH" = yes; then
4307 echo "$as_me:$LINENO: result: yes" >&5
4308 echo "${ECHO_T}yes" >&6
4310 echo "$as_me:$LINENO: result: no" >&5
4311 echo "${ECHO_T}no" >&6
4316 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4317 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4319 # Check whether --enable-dialupman or --disable-dialupman was given.
4320 if test "${enable_dialupman+set}" = set; then
4321 enableval="$enable_dialupman"
4323 if test "$enableval" = yes; then
4324 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=yes'
4326 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=no
'
4331 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4332 if test "x$LINE" != x ; then
4333 eval "DEFAULT_$LINE"
4338 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
='$DEFAULT_wxUSE_DIALUP_MANAGER
4342 eval "$ac_cv_use_dialupman"
4343 if test "$no_cache" != 1; then
4344 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4347 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4348 echo "$as_me:$LINENO: result: yes" >&5
4349 echo "${ECHO_T}yes" >&6
4351 echo "$as_me:$LINENO: result: no" >&5
4352 echo "${ECHO_T}no" >&6
4357 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4358 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4360 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4361 if test "${enable_apple_ieee+set}" = set; then
4362 enableval="$enable_apple_ieee"
4364 if test "$enableval" = yes; then
4365 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
4367 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
4372 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4373 if test "x$LINE" != x ; then
4374 eval "DEFAULT_$LINE"
4379 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
='$DEFAULT_wxUSE_APPLE_IEEE
4383 eval "$ac_cv_use_apple_ieee"
4384 if test "$no_cache" != 1; then
4385 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4388 if test "$wxUSE_APPLE_IEEE" = yes; then
4389 echo "$as_me:$LINENO: result: yes" >&5
4390 echo "${ECHO_T}yes" >&6
4392 echo "$as_me:$LINENO: result: no" >&5
4393 echo "${ECHO_T}no" >&6
4398 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
4399 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
4401 # Check whether --enable-timer or --disable-timer was given.
4402 if test "${enable_timer+set}" = set; then
4403 enableval="$enable_timer"
4405 if test "$enableval" = yes; then
4406 ac_cv_use_timer='wxUSE_TIMER
=yes'
4408 ac_cv_use_timer='wxUSE_TIMER
=no
'
4413 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
4414 if test "x$LINE" != x ; then
4415 eval "DEFAULT_$LINE"
4420 ac_cv_use_timer='wxUSE_TIMER
='$DEFAULT_wxUSE_TIMER
4424 eval "$ac_cv_use_timer"
4425 if test "$no_cache" != 1; then
4426 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
4429 if test "$wxUSE_TIMER" = yes; then
4430 echo "$as_me:$LINENO: result: yes" >&5
4431 echo "${ECHO_T}yes" >&6
4433 echo "$as_me:$LINENO: result: no" >&5
4434 echo "${ECHO_T}no" >&6
4439 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wave" >&5
4440 echo $ECHO_N "checking for --${enablestring:-enable}-wave... $ECHO_C" >&6
4442 # Check whether --enable-wave or --disable-wave was given.
4443 if test "${enable_wave+set}" = set; then
4444 enableval="$enable_wave"
4446 if test "$enableval" = yes; then
4447 ac_cv_use_wave='wxUSE_WAVE
=yes'
4449 ac_cv_use_wave='wxUSE_WAVE
=no
'
4454 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
4455 if test "x$LINE" != x ; then
4456 eval "DEFAULT_$LINE"
4461 ac_cv_use_wave='wxUSE_WAVE
='$DEFAULT_wxUSE_WAVE
4465 eval "$ac_cv_use_wave"
4466 if test "$no_cache" != 1; then
4467 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
4470 if test "$wxUSE_WAVE" = yes; then
4471 echo "$as_me:$LINENO: result: yes" >&5
4472 echo "${ECHO_T}yes" >&6
4474 echo "$as_me:$LINENO: result: no" >&5
4475 echo "${ECHO_T}no" >&6
4480 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fraction" >&5
4481 echo $ECHO_N "checking for --${enablestring:-enable}-fraction... $ECHO_C" >&6
4483 # Check whether --enable-fraction or --disable-fraction was given.
4484 if test "${enable_fraction+set}" = set; then
4485 enableval="$enable_fraction"
4487 if test "$enableval" = yes; then
4488 ac_cv_use_fraction='wxUSE_FRACTION
=yes'
4490 ac_cv_use_fraction='wxUSE_FRACTION
=no
'
4495 LINE=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
4496 if test "x$LINE" != x ; then
4497 eval "DEFAULT_$LINE"
4502 ac_cv_use_fraction='wxUSE_FRACTION
='$DEFAULT_wxUSE_FRACTION
4506 eval "$ac_cv_use_fraction"
4507 if test "$no_cache" != 1; then
4508 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
4511 if test "$wxUSE_FRACTION" = yes; then
4512 echo "$as_me:$LINENO: result: yes" >&5
4513 echo "${ECHO_T}yes" >&6
4515 echo "$as_me:$LINENO: result: no" >&5
4516 echo "${ECHO_T}no" >&6
4521 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4522 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4524 # Check whether --enable-dynlib or --disable-dynlib was given.
4525 if test "${enable_dynlib+set}" = set; then
4526 enableval="$enable_dynlib"
4528 if test "$enableval" = yes; then
4529 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
4531 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
4536 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4537 if test "x$LINE" != x ; then
4538 eval "DEFAULT_$LINE"
4543 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
='$DEFAULT_wxUSE_DYNLIB_CLASS
4547 eval "$ac_cv_use_dynlib"
4548 if test "$no_cache" != 1; then
4549 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4552 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4553 echo "$as_me:$LINENO: result: yes" >&5
4554 echo "${ECHO_T}yes" >&6
4556 echo "$as_me:$LINENO: result: no" >&5
4557 echo "${ECHO_T}no" >&6
4562 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4563 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4565 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4566 if test "${enable_dynamicloader+set}" = set; then
4567 enableval="$enable_dynamicloader"
4569 if test "$enableval" = yes; then
4570 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=yes'
4572 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=no
'
4577 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4578 if test "x$LINE" != x ; then
4579 eval "DEFAULT_$LINE"
4584 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
='$DEFAULT_wxUSE_DYNAMIC_LOADER
4588 eval "$ac_cv_use_dynamicloader"
4589 if test "$no_cache" != 1; then
4590 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4593 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4594 echo "$as_me:$LINENO: result: yes" >&5
4595 echo "${ECHO_T}yes" >&6
4597 echo "$as_me:$LINENO: result: no" >&5
4598 echo "${ECHO_T}no" >&6
4603 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
4604 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
4606 # Check whether --enable-longlong or --disable-longlong was given.
4607 if test "${enable_longlong+set}" = set; then
4608 enableval="$enable_longlong"
4610 if test "$enableval" = yes; then
4611 ac_cv_use_longlong='wxUSE_LONGLONG
=yes'
4613 ac_cv_use_longlong='wxUSE_LONGLONG
=no
'
4618 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
4619 if test "x$LINE" != x ; then
4620 eval "DEFAULT_$LINE"
4625 ac_cv_use_longlong='wxUSE_LONGLONG
='$DEFAULT_wxUSE_LONGLONG
4629 eval "$ac_cv_use_longlong"
4630 if test "$no_cache" != 1; then
4631 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
4634 if test "$wxUSE_LONGLONG" = yes; then
4635 echo "$as_me:$LINENO: result: yes" >&5
4636 echo "${ECHO_T}yes" >&6
4638 echo "$as_me:$LINENO: result: no" >&5
4639 echo "${ECHO_T}no" >&6
4644 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
4645 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
4647 # Check whether --enable-geometry or --disable-geometry was given.
4648 if test "${enable_geometry+set}" = set; then
4649 enableval="$enable_geometry"
4651 if test "$enableval" = yes; then
4652 ac_cv_use_geometry='wxUSE_GEOMETRY
=yes'
4654 ac_cv_use_geometry='wxUSE_GEOMETRY
=no
'
4659 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4660 if test "x$LINE" != x ; then
4661 eval "DEFAULT_$LINE"
4666 ac_cv_use_geometry='wxUSE_GEOMETRY
='$DEFAULT_wxUSE_GEOMETRY
4670 eval "$ac_cv_use_geometry"
4671 if test "$no_cache" != 1; then
4672 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4675 if test "$wxUSE_GEOMETRY" = yes; then
4676 echo "$as_me:$LINENO: result: yes" >&5
4677 echo "${ECHO_T}yes" >&6
4679 echo "$as_me:$LINENO: result: no" >&5
4680 echo "${ECHO_T}no" >&6
4685 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
4686 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
4688 # Check whether --enable-log or --disable-log was given.
4689 if test "${enable_log+set}" = set; then
4690 enableval="$enable_log"
4692 if test "$enableval" = yes; then
4693 ac_cv_use_log='wxUSE_LOG
=yes'
4695 ac_cv_use_log='wxUSE_LOG
=no
'
4700 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4701 if test "x$LINE" != x ; then
4702 eval "DEFAULT_$LINE"
4707 ac_cv_use_log='wxUSE_LOG
='$DEFAULT_wxUSE_LOG
4711 eval "$ac_cv_use_log"
4712 if test "$no_cache" != 1; then
4713 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4716 if test "$wxUSE_LOG" = yes; then
4717 echo "$as_me:$LINENO: result: yes" >&5
4718 echo "${ECHO_T}yes" >&6
4720 echo "$as_me:$LINENO: result: no" >&5
4721 echo "${ECHO_T}no" >&6
4726 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
4727 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
4729 # Check whether --enable-streams or --disable-streams was given.
4730 if test "${enable_streams+set}" = set; then
4731 enableval="$enable_streams"
4733 if test "$enableval" = yes; then
4734 ac_cv_use_streams='wxUSE_STREAMS
=yes'
4736 ac_cv_use_streams='wxUSE_STREAMS
=no
'
4741 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
4742 if test "x$LINE" != x ; then
4743 eval "DEFAULT_$LINE"
4748 ac_cv_use_streams='wxUSE_STREAMS
='$DEFAULT_wxUSE_STREAMS
4752 eval "$ac_cv_use_streams"
4753 if test "$no_cache" != 1; then
4754 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
4757 if test "$wxUSE_STREAMS" = yes; then
4758 echo "$as_me:$LINENO: result: yes" >&5
4759 echo "${ECHO_T}yes" >&6
4761 echo "$as_me:$LINENO: result: no" >&5
4762 echo "${ECHO_T}no" >&6
4767 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4768 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4770 # Check whether --enable-file or --disable-file was given.
4771 if test "${enable_file+set}" = set; then
4772 enableval="$enable_file"
4774 if test "$enableval" = yes; then
4775 ac_cv_use_file='wxUSE_FILE
=yes'
4777 ac_cv_use_file='wxUSE_FILE
=no
'
4782 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4783 if test "x$LINE" != x ; then
4784 eval "DEFAULT_$LINE"
4789 ac_cv_use_file='wxUSE_FILE
='$DEFAULT_wxUSE_FILE
4793 eval "$ac_cv_use_file"
4794 if test "$no_cache" != 1; then
4795 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4798 if test "$wxUSE_FILE" = yes; then
4799 echo "$as_me:$LINENO: result: yes" >&5
4800 echo "${ECHO_T}yes" >&6
4802 echo "$as_me:$LINENO: result: no" >&5
4803 echo "${ECHO_T}no" >&6
4808 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4809 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4811 # Check whether --enable-ffile or --disable-ffile was given.
4812 if test "${enable_ffile+set}" = set; then
4813 enableval="$enable_ffile"
4815 if test "$enableval" = yes; then
4816 ac_cv_use_ffile='wxUSE_FFILE
=yes'
4818 ac_cv_use_ffile='wxUSE_FFILE
=no
'
4823 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4824 if test "x$LINE" != x ; then
4825 eval "DEFAULT_$LINE"
4830 ac_cv_use_ffile='wxUSE_FFILE
='$DEFAULT_wxUSE_FFILE
4834 eval "$ac_cv_use_ffile"
4835 if test "$no_cache" != 1; then
4836 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4839 if test "$wxUSE_FFILE" = yes; then
4840 echo "$as_me:$LINENO: result: yes" >&5
4841 echo "${ECHO_T}yes" >&6
4843 echo "$as_me:$LINENO: result: no" >&5
4844 echo "${ECHO_T}no" >&6
4849 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
4850 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
4852 # Check whether --enable-textbuf or --disable-textbuf was given.
4853 if test "${enable_textbuf+set}" = set; then
4854 enableval="$enable_textbuf"
4856 if test "$enableval" = yes; then
4857 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=yes'
4859 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=no
'
4864 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4865 if test "x$LINE" != x ; then
4866 eval "DEFAULT_$LINE"
4871 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
='$DEFAULT_wxUSE_TEXTBUFFER
4875 eval "$ac_cv_use_textbuf"
4876 if test "$no_cache" != 1; then
4877 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4880 if test "$wxUSE_TEXTBUFFER" = yes; then
4881 echo "$as_me:$LINENO: result: yes" >&5
4882 echo "${ECHO_T}yes" >&6
4884 echo "$as_me:$LINENO: result: no" >&5
4885 echo "${ECHO_T}no" >&6
4890 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
4891 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
4893 # Check whether --enable-textfile or --disable-textfile was given.
4894 if test "${enable_textfile+set}" = set; then
4895 enableval="$enable_textfile"
4897 if test "$enableval" = yes; then
4898 ac_cv_use_textfile='wxUSE_TEXTFILE
=yes'
4900 ac_cv_use_textfile='wxUSE_TEXTFILE
=no
'
4905 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4906 if test "x$LINE" != x ; then
4907 eval "DEFAULT_$LINE"
4912 ac_cv_use_textfile='wxUSE_TEXTFILE
='$DEFAULT_wxUSE_TEXTFILE
4916 eval "$ac_cv_use_textfile"
4917 if test "$no_cache" != 1; then
4918 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4921 if test "$wxUSE_TEXTFILE" = yes; then
4922 echo "$as_me:$LINENO: result: yes" >&5
4923 echo "${ECHO_T}yes" >&6
4925 echo "$as_me:$LINENO: result: no" >&5
4926 echo "${ECHO_T}no" >&6
4931 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4932 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4934 # Check whether --enable-fontmap or --disable-fontmap was given.
4935 if test "${enable_fontmap+set}" = set; then
4936 enableval="$enable_fontmap"
4938 if test "$enableval" = yes; then
4939 ac_cv_use_fontmap='wxUSE_FONTMAP
=yes'
4941 ac_cv_use_fontmap='wxUSE_FONTMAP
=no
'
4946 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4947 if test "x$LINE" != x ; then
4948 eval "DEFAULT_$LINE"
4953 ac_cv_use_fontmap='wxUSE_FONTMAP
='$DEFAULT_wxUSE_FONTMAP
4957 eval "$ac_cv_use_fontmap"
4958 if test "$no_cache" != 1; then
4959 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4962 if test "$wxUSE_FONTMAP" = yes; then
4963 echo "$as_me:$LINENO: result: yes" >&5
4964 echo "${ECHO_T}yes" >&6
4966 echo "$as_me:$LINENO: result: no" >&5
4967 echo "${ECHO_T}no" >&6
4972 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4973 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
4975 # Check whether --enable-unicode or --disable-unicode was given.
4976 if test "${enable_unicode+set}" = set; then
4977 enableval="$enable_unicode"
4979 if test "$enableval" = yes; then
4980 ac_cv_use_unicode='wxUSE_UNICODE
=yes'
4982 ac_cv_use_unicode='wxUSE_UNICODE
=no
'
4987 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4988 if test "x$LINE" != x ; then
4989 eval "DEFAULT_$LINE"
4994 ac_cv_use_unicode='wxUSE_UNICODE
='$DEFAULT_wxUSE_UNICODE
4998 eval "$ac_cv_use_unicode"
4999 if test "$no_cache" != 1; then
5000 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5003 if test "$wxUSE_UNICODE" = yes; then
5004 echo "$as_me:$LINENO: result: yes" >&5
5005 echo "${ECHO_T}yes" >&6
5007 echo "$as_me:$LINENO: result: no" >&5
5008 echo "${ECHO_T}no" >&6
5013 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5014 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5016 # Check whether --enable-mslu or --disable-mslu was given.
5017 if test "${enable_mslu+set}" = set; then
5018 enableval="$enable_mslu"
5020 if test "$enableval" = yes; then
5021 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
5023 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
5028 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5029 if test "x$LINE" != x ; then
5030 eval "DEFAULT_$LINE"
5035 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
='$DEFAULT_wxUSE_UNICODE_MSLU
5039 eval "$ac_cv_use_mslu"
5040 if test "$no_cache" != 1; then
5041 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5044 if test "$wxUSE_UNICODE_MSLU" = yes; then
5045 echo "$as_me:$LINENO: result: yes" >&5
5046 echo "${ECHO_T}yes" >&6
5048 echo "$as_me:$LINENO: result: no" >&5
5049 echo "${ECHO_T}no" >&6
5054 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5055 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5057 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5058 if test "${enable_wxprintfv+set}" = set; then
5059 enableval="$enable_wxprintfv"
5061 if test "$enableval" = yes; then
5062 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
=yes'
5064 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
=no
'
5069 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5070 if test "x$LINE" != x ; then
5071 eval "DEFAULT_$LINE"
5076 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5080 eval "$ac_cv_use_wxprintfv"
5081 if test "$no_cache" != 1; then
5082 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5085 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5086 echo "$as_me:$LINENO: result: yes" >&5
5087 echo "${ECHO_T}yes" >&6
5089 echo "$as_me:$LINENO: result: no" >&5
5090 echo "${ECHO_T}no" >&6
5095 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5096 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5098 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5099 if test "${enable_std_iostreams+set}" = set; then
5100 enableval="$enable_std_iostreams"
5102 if test "$enableval" = yes; then
5103 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
5105 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
5110 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5111 if test "x$LINE" != x ; then
5112 eval "DEFAULT_$LINE"
5117 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
='$DEFAULT_wxUSE_STD_IOSTREAM
5121 eval "$ac_cv_use_std_iostreams"
5122 if test "$no_cache" != 1; then
5123 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5126 if test "$wxUSE_STD_IOSTREAM" = yes; then
5127 echo "$as_me:$LINENO: result: yes" >&5
5128 echo "${ECHO_T}yes" >&6
5130 echo "$as_me:$LINENO: result: no" >&5
5131 echo "${ECHO_T}no" >&6
5136 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5137 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5139 # Check whether --enable-filesystem or --disable-filesystem was given.
5140 if test "${enable_filesystem+set}" = set; then
5141 enableval="$enable_filesystem"
5143 if test "$enableval" = yes; then
5144 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
5146 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
5151 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5152 if test "x$LINE" != x ; then
5153 eval "DEFAULT_$LINE"
5158 ac_cv_use_filesystem='wxUSE_FILESYSTEM
='$DEFAULT_wxUSE_FILESYSTEM
5162 eval "$ac_cv_use_filesystem"
5163 if test "$no_cache" != 1; then
5164 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5167 if test "$wxUSE_FILESYSTEM" = yes; then
5168 echo "$as_me:$LINENO: result: yes" >&5
5169 echo "${ECHO_T}yes" >&6
5171 echo "$as_me:$LINENO: result: no" >&5
5172 echo "${ECHO_T}no" >&6
5177 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5178 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5180 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5181 if test "${enable_fs_inet+set}" = set; then
5182 enableval="$enable_fs_inet"
5184 if test "$enableval" = yes; then
5185 ac_cv_use_fs_inet='wxUSE_FS_INET
=yes'
5187 ac_cv_use_fs_inet='wxUSE_FS_INET
=no
'
5192 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5193 if test "x$LINE" != x ; then
5194 eval "DEFAULT_$LINE"
5199 ac_cv_use_fs_inet='wxUSE_FS_INET
='$DEFAULT_wxUSE_FS_INET
5203 eval "$ac_cv_use_fs_inet"
5204 if test "$no_cache" != 1; then
5205 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5208 if test "$wxUSE_FS_INET" = yes; then
5209 echo "$as_me:$LINENO: result: yes" >&5
5210 echo "${ECHO_T}yes" >&6
5212 echo "$as_me:$LINENO: result: no" >&5
5213 echo "${ECHO_T}no" >&6
5218 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5219 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5221 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5222 if test "${enable_fs_zip+set}" = set; then
5223 enableval="$enable_fs_zip"
5225 if test "$enableval" = yes; then
5226 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=yes'
5228 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=no
'
5233 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5234 if test "x$LINE" != x ; then
5235 eval "DEFAULT_$LINE"
5240 ac_cv_use_fs_zip='wxUSE_FS_ZIP
='$DEFAULT_wxUSE_FS_ZIP
5244 eval "$ac_cv_use_fs_zip"
5245 if test "$no_cache" != 1; then
5246 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5249 if test "$wxUSE_FS_ZIP" = yes; then
5250 echo "$as_me:$LINENO: result: yes" >&5
5251 echo "${ECHO_T}yes" >&6
5253 echo "$as_me:$LINENO: result: no" >&5
5254 echo "${ECHO_T}no" >&6
5259 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5260 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5262 # Check whether --enable-zipstream or --disable-zipstream was given.
5263 if test "${enable_zipstream+set}" = set; then
5264 enableval="$enable_zipstream"
5266 if test "$enableval" = yes; then
5267 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
5269 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
5274 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5275 if test "x$LINE" != x ; then
5276 eval "DEFAULT_$LINE"
5281 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
='$DEFAULT_wxUSE_ZIPSTREAM
5285 eval "$ac_cv_use_zipstream"
5286 if test "$no_cache" != 1; then
5287 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5290 if test "$wxUSE_ZIPSTREAM" = yes; then
5291 echo "$as_me:$LINENO: result: yes" >&5
5292 echo "${ECHO_T}yes" >&6
5294 echo "$as_me:$LINENO: result: no" >&5
5295 echo "${ECHO_T}no" >&6
5301 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5302 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5304 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5305 if test "${enable_catch_segvs+set}" = set; then
5306 enableval="$enable_catch_segvs"
5308 if test "$enableval" = yes; then
5309 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=yes'
5311 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=no
'
5316 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5317 if test "x$LINE" != x ; then
5318 eval "DEFAULT_$LINE"
5323 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5327 eval "$ac_cv_use_catch_segvs"
5328 if test "$no_cache" != 1; then
5329 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5332 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5333 echo "$as_me:$LINENO: result: yes" >&5
5334 echo "${ECHO_T}yes" >&6
5336 echo "$as_me:$LINENO: result: no" >&5
5337 echo "${ECHO_T}no" >&6
5342 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5343 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5345 # Check whether --enable-snglinst or --disable-snglinst was given.
5346 if test "${enable_snglinst+set}" = set; then
5347 enableval="$enable_snglinst"
5349 if test "$enableval" = yes; then
5350 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=yes'
5352 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=no
'
5357 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5358 if test "x$LINE" != x ; then
5359 eval "DEFAULT_$LINE"
5364 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
='$DEFAULT_wxUSE_SNGLINST_CHECKER
5368 eval "$ac_cv_use_snglinst"
5369 if test "$no_cache" != 1; then
5370 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5373 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5374 echo "$as_me:$LINENO: result: yes" >&5
5375 echo "${ECHO_T}yes" >&6
5377 echo "$as_me:$LINENO: result: no" >&5
5378 echo "${ECHO_T}no" >&6
5384 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5385 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5387 # Check whether --enable-mimetype or --disable-mimetype was given.
5388 if test "${enable_mimetype+set}" = set; then
5389 enableval="$enable_mimetype"
5391 if test "$enableval" = yes; then
5392 ac_cv_use_mimetype='wxUSE_MIMETYPE
=yes'
5394 ac_cv_use_mimetype='wxUSE_MIMETYPE
=no
'
5399 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5400 if test "x$LINE" != x ; then
5401 eval "DEFAULT_$LINE"
5406 ac_cv_use_mimetype='wxUSE_MIMETYPE
='$DEFAULT_wxUSE_MIMETYPE
5410 eval "$ac_cv_use_mimetype"
5411 if test "$no_cache" != 1; then
5412 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5415 if test "$wxUSE_MIMETYPE" = yes; then
5416 echo "$as_me:$LINENO: result: yes" >&5
5417 echo "${ECHO_T}yes" >&6
5419 echo "$as_me:$LINENO: result: no" >&5
5420 echo "${ECHO_T}no" >&6
5425 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5426 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5428 # Check whether --enable-system_options or --disable-system_options was given.
5429 if test "${enable_system_options+set}" = set; then
5430 enableval="$enable_system_options"
5432 if test "$enableval" = yes; then
5433 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=yes'
5435 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=no
'
5440 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5441 if test "x$LINE" != x ; then
5442 eval "DEFAULT_$LINE"
5447 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5451 eval "$ac_cv_use_system_options"
5452 if test "$no_cache" != 1; then
5453 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5456 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5457 echo "$as_me:$LINENO: result: yes" >&5
5458 echo "${ECHO_T}yes" >&6
5460 echo "$as_me:$LINENO: result: no" >&5
5461 echo "${ECHO_T}no" >&6
5467 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5468 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5470 # Check whether --enable-url or --disable-url was given.
5471 if test "${enable_url+set}" = set; then
5472 enableval="$enable_url"
5474 if test "$enableval" = yes; then
5475 ac_cv_use_url='wxUSE_URL
=yes'
5477 ac_cv_use_url='wxUSE_URL
=no
'
5482 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5483 if test "x$LINE" != x ; then
5484 eval "DEFAULT_$LINE"
5489 ac_cv_use_url='wxUSE_URL
='$DEFAULT_wxUSE_URL
5493 eval "$ac_cv_use_url"
5494 if test "$no_cache" != 1; then
5495 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5498 if test "$wxUSE_URL" = yes; then
5499 echo "$as_me:$LINENO: result: yes" >&5
5500 echo "${ECHO_T}yes" >&6
5502 echo "$as_me:$LINENO: result: no" >&5
5503 echo "${ECHO_T}no" >&6
5508 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5509 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5511 # Check whether --enable-protocol or --disable-protocol was given.
5512 if test "${enable_protocol+set}" = set; then
5513 enableval="$enable_protocol"
5515 if test "$enableval" = yes; then
5516 ac_cv_use_protocol='wxUSE_PROTOCOL
=yes'
5518 ac_cv_use_protocol='wxUSE_PROTOCOL
=no
'
5523 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5524 if test "x$LINE" != x ; then
5525 eval "DEFAULT_$LINE"
5530 ac_cv_use_protocol='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
5534 eval "$ac_cv_use_protocol"
5535 if test "$no_cache" != 1; then
5536 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5539 if test "$wxUSE_PROTOCOL" = yes; then
5540 echo "$as_me:$LINENO: result: yes" >&5
5541 echo "${ECHO_T}yes" >&6
5543 echo "$as_me:$LINENO: result: no" >&5
5544 echo "${ECHO_T}no" >&6
5549 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5550 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5552 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5553 if test "${enable_protocol_http+set}" = set; then
5554 enableval="$enable_protocol_http"
5556 if test "$enableval" = yes; then
5557 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
5559 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
5564 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5565 if test "x$LINE" != x ; then
5566 eval "DEFAULT_$LINE"
5571 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
5575 eval "$ac_cv_use_protocol_http"
5576 if test "$no_cache" != 1; then
5577 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5580 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5581 echo "$as_me:$LINENO: result: yes" >&5
5582 echo "${ECHO_T}yes" >&6
5584 echo "$as_me:$LINENO: result: no" >&5
5585 echo "${ECHO_T}no" >&6
5590 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5591 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5593 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5594 if test "${enable_protocol_ftp+set}" = set; then
5595 enableval="$enable_protocol_ftp"
5597 if test "$enableval" = yes; then
5598 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=yes'
5600 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=no
'
5605 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5606 if test "x$LINE" != x ; then
5607 eval "DEFAULT_$LINE"
5612 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
5616 eval "$ac_cv_use_protocol_ftp"
5617 if test "$no_cache" != 1; then
5618 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5621 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5622 echo "$as_me:$LINENO: result: yes" >&5
5623 echo "${ECHO_T}yes" >&6
5625 echo "$as_me:$LINENO: result: no" >&5
5626 echo "${ECHO_T}no" >&6
5631 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5632 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5634 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5635 if test "${enable_protocol_file+set}" = set; then
5636 enableval="$enable_protocol_file"
5638 if test "$enableval" = yes; then
5639 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=yes'
5641 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=no
'
5646 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5647 if test "x$LINE" != x ; then
5648 eval "DEFAULT_$LINE"
5653 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
5657 eval "$ac_cv_use_protocol_file"
5658 if test "$no_cache" != 1; then
5659 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5662 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5663 echo "$as_me:$LINENO: result: yes" >&5
5664 echo "${ECHO_T}yes" >&6
5666 echo "$as_me:$LINENO: result: no" >&5
5667 echo "${ECHO_T}no" >&6
5675 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5676 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
5678 # Check whether --enable-threads or --disable-threads was given.
5679 if test "${enable_threads+set}" = set; then
5680 enableval="$enable_threads"
5682 if test "$enableval" = yes; then
5683 ac_cv_use_threads='wxUSE_THREADS
=yes'
5685 ac_cv_use_threads='wxUSE_THREADS
=no
'
5690 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5691 if test "x$LINE" != x ; then
5692 eval "DEFAULT_$LINE"
5697 ac_cv_use_threads='wxUSE_THREADS
='$DEFAULT_wxUSE_THREADS
5701 eval "$ac_cv_use_threads"
5702 if test "$no_cache" != 1; then
5703 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5706 if test "$wxUSE_THREADS" = yes; then
5707 echo "$as_me:$LINENO: result: yes" >&5
5708 echo "${ECHO_T}yes" >&6
5710 echo "$as_me:$LINENO: result: no" >&5
5711 echo "${ECHO_T}no" >&6
5715 if test "$wxUSE_GUI" = "yes"; then
5720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
5721 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
5723 # Check whether --enable-docview or --disable-docview was given.
5724 if test "${enable_docview+set}" = set; then
5725 enableval="$enable_docview"
5727 if test "$enableval" = yes; then
5728 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
5730 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
5735 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5736 if test "x$LINE" != x ; then
5737 eval "DEFAULT_$LINE"
5742 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5746 eval "$ac_cv_use_docview"
5747 if test "$no_cache" != 1; then
5748 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5751 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5752 echo "$as_me:$LINENO: result: yes" >&5
5753 echo "${ECHO_T}yes" >&6
5755 echo "$as_me:$LINENO: result: no" >&5
5756 echo "${ECHO_T}no" >&6
5761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
5762 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
5764 # Check whether --enable-help or --disable-help was given.
5765 if test "${enable_help+set}" = set; then
5766 enableval="$enable_help"
5768 if test "$enableval" = yes; then
5769 ac_cv_use_help='wxUSE_HELP
=yes'
5771 ac_cv_use_help='wxUSE_HELP
=no
'
5776 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5777 if test "x$LINE" != x ; then
5778 eval "DEFAULT_$LINE"
5783 ac_cv_use_help='wxUSE_HELP
='$DEFAULT_wxUSE_HELP
5787 eval "$ac_cv_use_help"
5788 if test "$no_cache" != 1; then
5789 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5792 if test "$wxUSE_HELP" = yes; then
5793 echo "$as_me:$LINENO: result: yes" >&5
5794 echo "${ECHO_T}yes" >&6
5796 echo "$as_me:$LINENO: result: no" >&5
5797 echo "${ECHO_T}no" >&6
5802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5803 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
5805 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5806 if test "${enable_mshtmlhelp+set}" = set; then
5807 enableval="$enable_mshtmlhelp"
5809 if test "$enableval" = yes; then
5810 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=yes'
5812 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=no
'
5817 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5818 if test "x$LINE" != x ; then
5819 eval "DEFAULT_$LINE"
5824 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
='$DEFAULT_wxUSE_MS_HTML_HELP
5828 eval "$ac_cv_use_mshtmlhelp"
5829 if test "$no_cache" != 1; then
5830 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5833 if test "$wxUSE_MS_HTML_HELP" = yes; then
5834 echo "$as_me:$LINENO: result: yes" >&5
5835 echo "${ECHO_T}yes" >&6
5837 echo "$as_me:$LINENO: result: no" >&5
5838 echo "${ECHO_T}no" >&6
5843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
5844 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
5846 # Check whether --enable-html or --disable-html was given.
5847 if test "${enable_html+set}" = set; then
5848 enableval="$enable_html"
5850 if test "$enableval" = yes; then
5851 ac_cv_use_html='wxUSE_HTML
=yes'
5853 ac_cv_use_html='wxUSE_HTML
=no
'
5858 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5859 if test "x$LINE" != x ; then
5860 eval "DEFAULT_$LINE"
5865 ac_cv_use_html='wxUSE_HTML
='$DEFAULT_wxUSE_HTML
5869 eval "$ac_cv_use_html"
5870 if test "$no_cache" != 1; then
5871 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5874 if test "$wxUSE_HTML" = yes; then
5875 echo "$as_me:$LINENO: result: yes" >&5
5876 echo "${ECHO_T}yes" >&6
5878 echo "$as_me:$LINENO: result: no" >&5
5879 echo "${ECHO_T}no" >&6
5884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
5885 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
5887 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5888 if test "${enable_htmlhelp+set}" = set; then
5889 enableval="$enable_htmlhelp"
5891 if test "$enableval" = yes; then
5892 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=yes'
5894 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=no
'
5899 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5900 if test "x$LINE" != x ; then
5901 eval "DEFAULT_$LINE"
5906 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
='$DEFAULT_wxUSE_WXHTML_HELP
5910 eval "$ac_cv_use_htmlhelp"
5911 if test "$no_cache" != 1; then
5912 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5915 if test "$wxUSE_WXHTML_HELP" = yes; then
5916 echo "$as_me:$LINENO: result: yes" >&5
5917 echo "${ECHO_T}yes" >&6
5919 echo "$as_me:$LINENO: result: no" >&5
5920 echo "${ECHO_T}no" >&6
5925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
5926 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
5928 # Check whether --enable-constraints or --disable-constraints was given.
5929 if test "${enable_constraints+set}" = set; then
5930 enableval="$enable_constraints"
5932 if test "$enableval" = yes; then
5933 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
5935 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
5940 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5941 if test "x$LINE" != x ; then
5942 eval "DEFAULT_$LINE"
5947 ac_cv_use_constraints='wxUSE_CONSTRAINTS
='$DEFAULT_wxUSE_CONSTRAINTS
5951 eval "$ac_cv_use_constraints"
5952 if test "$no_cache" != 1; then
5953 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5956 if test "$wxUSE_CONSTRAINTS" = yes; then
5957 echo "$as_me:$LINENO: result: yes" >&5
5958 echo "${ECHO_T}yes" >&6
5960 echo "$as_me:$LINENO: result: no" >&5
5961 echo "${ECHO_T}no" >&6
5966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
5967 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
5969 # Check whether --enable-printarch or --disable-printarch was given.
5970 if test "${enable_printarch+set}" = set; then
5971 enableval="$enable_printarch"
5973 if test "$enableval" = yes; then
5974 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
5976 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
5981 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5982 if test "x$LINE" != x ; then
5983 eval "DEFAULT_$LINE"
5988 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5992 eval "$ac_cv_use_printarch"
5993 if test "$no_cache" != 1; then
5994 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5997 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5998 echo "$as_me:$LINENO: result: yes" >&5
5999 echo "${ECHO_T}yes" >&6
6001 echo "$as_me:$LINENO: result: no" >&5
6002 echo "${ECHO_T}no" >&6
6007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6008 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6010 # Check whether --enable-mdi or --disable-mdi was given.
6011 if test "${enable_mdi+set}" = set; then
6012 enableval="$enable_mdi"
6014 if test "$enableval" = yes; then
6015 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE
=yes'
6017 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE
=no
'
6022 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6023 if test "x$LINE" != x ; then
6024 eval "DEFAULT_$LINE"
6029 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE
='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6033 eval "$ac_cv_use_mdi"
6034 if test "$no_cache" != 1; then
6035 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6038 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6039 echo "$as_me:$LINENO: result: yes" >&5
6040 echo "${ECHO_T}yes" >&6
6042 echo "$as_me:$LINENO: result: no" >&5
6043 echo "${ECHO_T}no" >&6
6048 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6049 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6051 # Check whether --enable-loggui or --disable-loggui was given.
6052 if test "${enable_loggui+set}" = set; then
6053 enableval="$enable_loggui"
6055 if test "$enableval" = yes; then
6056 ac_cv_use_loggui='wxUSE_LOGGUI
=yes'
6058 ac_cv_use_loggui='wxUSE_LOGGUI
=no
'
6063 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6064 if test "x$LINE" != x ; then
6065 eval "DEFAULT_$LINE"
6070 ac_cv_use_loggui='wxUSE_LOGGUI
='$DEFAULT_wxUSE_LOGGUI
6074 eval "$ac_cv_use_loggui"
6075 if test "$no_cache" != 1; then
6076 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6079 if test "$wxUSE_LOGGUI" = yes; then
6080 echo "$as_me:$LINENO: result: yes" >&5
6081 echo "${ECHO_T}yes" >&6
6083 echo "$as_me:$LINENO: result: no" >&5
6084 echo "${ECHO_T}no" >&6
6089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6090 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6092 # Check whether --enable-logwin or --disable-logwin was given.
6093 if test "${enable_logwin+set}" = set; then
6094 enableval="$enable_logwin"
6096 if test "$enableval" = yes; then
6097 ac_cv_use_logwin='wxUSE_LOGWINDOW
=yes'
6099 ac_cv_use_logwin='wxUSE_LOGWINDOW
=no
'
6104 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6105 if test "x$LINE" != x ; then
6106 eval "DEFAULT_$LINE"
6111 ac_cv_use_logwin='wxUSE_LOGWINDOW
='$DEFAULT_wxUSE_LOGWINDOW
6115 eval "$ac_cv_use_logwin"
6116 if test "$no_cache" != 1; then
6117 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6120 if test "$wxUSE_LOGWINDOW" = yes; then
6121 echo "$as_me:$LINENO: result: yes" >&5
6122 echo "${ECHO_T}yes" >&6
6124 echo "$as_me:$LINENO: result: no" >&5
6125 echo "${ECHO_T}no" >&6
6130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6131 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6133 # Check whether --enable-logdialog or --disable-logdialog was given.
6134 if test "${enable_logdialog+set}" = set; then
6135 enableval="$enable_logdialog"
6137 if test "$enableval" = yes; then
6138 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
6140 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
6145 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6146 if test "x$LINE" != x ; then
6147 eval "DEFAULT_$LINE"
6152 ac_cv_use_logdialog='wxUSE_LOGDIALOG
='$DEFAULT_wxUSE_LOGDIALOG
6156 eval "$ac_cv_use_logdialog"
6157 if test "$no_cache" != 1; then
6158 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6161 if test "$wxUSE_LOGDIALOG" = yes; then
6162 echo "$as_me:$LINENO: result: yes" >&5
6163 echo "${ECHO_T}yes" >&6
6165 echo "$as_me:$LINENO: result: no" >&5
6166 echo "${ECHO_T}no" >&6
6172 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6173 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6175 # Check whether --enable-postscript or --disable-postscript was given.
6176 if test "${enable_postscript+set}" = set; then
6177 enableval="$enable_postscript"
6179 if test "$enableval" = yes; then
6180 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=yes'
6182 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=no
'
6187 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6188 if test "x$LINE" != x ; then
6189 eval "DEFAULT_$LINE"
6194 ac_cv_use_postscript='wxUSE_POSTSCRIPT
='$DEFAULT_wxUSE_POSTSCRIPT
6198 eval "$ac_cv_use_postscript"
6199 if test "$no_cache" != 1; then
6200 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6203 if test "$wxUSE_POSTSCRIPT" = yes; then
6204 echo "$as_me:$LINENO: result: yes" >&5
6205 echo "${ECHO_T}yes" >&6
6207 echo "$as_me:$LINENO: result: no" >&5
6208 echo "${ECHO_T}no" >&6
6216 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6217 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6219 # Check whether --enable-prologio or --disable-prologio was given.
6220 if test "${enable_prologio+set}" = set; then
6221 enableval="$enable_prologio"
6223 if test "$enableval" = yes; then
6224 ac_cv_use_prologio='wxUSE_PROLOGIO
=yes'
6226 ac_cv_use_prologio='wxUSE_PROLOGIO
=no
'
6231 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6232 if test "x$LINE" != x ; then
6233 eval "DEFAULT_$LINE"
6238 ac_cv_use_prologio='wxUSE_PROLOGIO
='$DEFAULT_wxUSE_PROLOGIO
6242 eval "$ac_cv_use_prologio"
6243 if test "$no_cache" != 1; then
6244 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6247 if test "$wxUSE_PROLOGIO" = yes; then
6248 echo "$as_me:$LINENO: result: yes" >&5
6249 echo "${ECHO_T}yes" >&6
6251 echo "$as_me:$LINENO: result: no" >&5
6252 echo "${ECHO_T}no" >&6
6257 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6258 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6260 # Check whether --enable-resources or --disable-resources was given.
6261 if test "${enable_resources+set}" = set; then
6262 enableval="$enable_resources"
6264 if test "$enableval" = yes; then
6265 ac_cv_use_resources='wxUSE_RESOURCES
=yes'
6267 ac_cv_use_resources='wxUSE_RESOURCES
=no
'
6272 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6273 if test "x$LINE" != x ; then
6274 eval "DEFAULT_$LINE"
6279 ac_cv_use_resources='wxUSE_RESOURCES
='$DEFAULT_wxUSE_RESOURCES
6283 eval "$ac_cv_use_resources"
6284 if test "$no_cache" != 1; then
6285 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6288 if test "$wxUSE_RESOURCES" = yes; then
6289 echo "$as_me:$LINENO: result: yes" >&5
6290 echo "${ECHO_T}yes" >&6
6292 echo "$as_me:$LINENO: result: no" >&5
6293 echo "${ECHO_T}no" >&6
6300 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6301 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6303 # Check whether --enable-clipboard or --disable-clipboard was given.
6304 if test "${enable_clipboard+set}" = set; then
6305 enableval="$enable_clipboard"
6307 if test "$enableval" = yes; then
6308 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=yes'
6310 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=no
'
6315 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6316 if test "x$LINE" != x ; then
6317 eval "DEFAULT_$LINE"
6322 ac_cv_use_clipboard='wxUSE_CLIPBOARD
='$DEFAULT_wxUSE_CLIPBOARD
6326 eval "$ac_cv_use_clipboard"
6327 if test "$no_cache" != 1; then
6328 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6331 if test "$wxUSE_CLIPBOARD" = yes; then
6332 echo "$as_me:$LINENO: result: yes" >&5
6333 echo "${ECHO_T}yes" >&6
6335 echo "$as_me:$LINENO: result: no" >&5
6336 echo "${ECHO_T}no" >&6
6341 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6342 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6344 # Check whether --enable-dnd or --disable-dnd was given.
6345 if test "${enable_dnd+set}" = set; then
6346 enableval="$enable_dnd"
6348 if test "$enableval" = yes; then
6349 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
6351 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
6356 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6357 if test "x$LINE" != x ; then
6358 eval "DEFAULT_$LINE"
6363 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
='$DEFAULT_wxUSE_DRAG_AND_DROP
6367 eval "$ac_cv_use_dnd"
6368 if test "$no_cache" != 1; then
6369 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6372 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6373 echo "$as_me:$LINENO: result: yes" >&5
6374 echo "${ECHO_T}yes" >&6
6376 echo "$as_me:$LINENO: result: no" >&5
6377 echo "${ECHO_T}no" >&6
6382 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6383 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6385 # Check whether --enable-metafile or --disable-metafile was given.
6386 if test "${enable_metafile+set}" = set; then
6387 enableval="$enable_metafile"
6389 if test "$enableval" = yes; then
6390 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
6392 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
6397 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6398 if test "x$LINE" != x ; then
6399 eval "DEFAULT_$LINE"
6404 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
6408 eval "$ac_cv_use_metafile"
6409 if test "$no_cache" != 1; then
6410 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6413 if test "$wxUSE_METAFILE" = yes; then
6414 echo "$as_me:$LINENO: result: yes" >&5
6415 echo "${ECHO_T}yes" >&6
6417 echo "$as_me:$LINENO: result: no" >&5
6418 echo "${ECHO_T}no" >&6
6426 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6427 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6429 # Check whether --enable-controls or --disable-controls was given.
6430 if test "${enable_controls+set}" = set; then
6431 enableval="$enable_controls"
6433 if test "$enableval" = yes; then
6434 ac_cv_use_controls='wxUSE_CONTROLS
=yes'
6436 ac_cv_use_controls='wxUSE_CONTROLS
=no
'
6441 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6442 if test "x$LINE" != x ; then
6443 eval "DEFAULT_$LINE"
6448 ac_cv_use_controls='wxUSE_CONTROLS
='$DEFAULT_wxUSE_CONTROLS
6452 eval "$ac_cv_use_controls"
6453 if test "$no_cache" != 1; then
6454 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6457 if test "$wxUSE_CONTROLS" = yes; then
6458 echo "$as_me:$LINENO: result: yes" >&5
6459 echo "${ECHO_T}yes" >&6
6461 echo "$as_me:$LINENO: result: no" >&5
6462 echo "${ECHO_T}no" >&6
6466 if test "$wxUSE_CONTROLS" = "yes"; then
6467 DEFAULT_wxUSE_ACCEL=yes
6468 DEFAULT_wxUSE_BMPBUTTON=yes
6469 DEFAULT_wxUSE_BUTTON=yes
6470 DEFAULT_wxUSE_CALCTRL=no
6471 DEFAULT_wxUSE_CARET=yes
6472 DEFAULT_wxUSE_COMBOBOX=yes
6473 DEFAULT_wxUSE_CHECKBOX=yes
6474 DEFAULT_wxUSE_CHECKLISTBOX=yes
6475 DEFAULT_wxUSE_CHOICE=yes
6476 DEFAULT_wxUSE_GAUGE=yes
6477 DEFAULT_wxUSE_GRID=yes
6478 DEFAULT_wxUSE_IMAGLIST=yes
6479 DEFAULT_wxUSE_LISTBOX=yes
6480 DEFAULT_wxUSE_LISTCTRL=yes
6481 DEFAULT_wxUSE_NOTEBOOK=yes
6482 DEFAULT_wxUSE_RADIOBOX=yes
6483 DEFAULT_wxUSE_RADIOBTN=yes
6484 DEFAULT_wxUSE_SASH=yes
6485 DEFAULT_wxUSE_SCROLLBAR=yes
6486 DEFAULT_wxUSE_SLIDER=yes
6487 DEFAULT_wxUSE_SPINBTN=yes
6488 DEFAULT_wxUSE_SPINCTRL=yes
6489 DEFAULT_wxUSE_SPLITTER=yes
6490 DEFAULT_wxUSE_STATBMP=yes
6491 DEFAULT_wxUSE_STATBOX=yes
6492 DEFAULT_wxUSE_STATLINE=yes
6493 DEFAULT_wxUSE_STATUSBAR=yes
6494 DEFAULT_wxUSE_TAB_DIALOG=yes
6495 DEFAULT_wxUSE_TOGGLEBTN=yes
6496 DEFAULT_wxUSE_TOOLBAR=yes
6497 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6498 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6499 DEFAULT_wxUSE_TOOLTIPS=yes
6500 DEFAULT_wxUSE_TREECTRL=yes
6501 DEFAULT_wxUSE_POPUPWIN=yes
6502 DEFAULT_wxUSE_TIPWINDOW=yes
6503 elif test "$wxUSE_CONTROLS" = "no"; then
6504 DEFAULT_wxUSE_ACCEL=no
6505 DEFAULT_wxUSE_BMPBUTTON=no
6506 DEFAULT_wxUSE_BUTTON=no
6507 DEFAULT_wxUSE_CALCTRL=no
6508 DEFAULT_wxUSE_CARET=no
6509 DEFAULT_wxUSE_COMBOBOX=no
6510 DEFAULT_wxUSE_CHECKBOX=no
6511 DEFAULT_wxUSE_CHECKLISTBOX=no
6512 DEFAULT_wxUSE_CHOICE=no
6513 DEFAULT_wxUSE_GAUGE=no
6514 DEFAULT_wxUSE_GRID=no
6515 DEFAULT_wxUSE_IMAGLIST=no
6516 DEFAULT_wxUSE_LISTBOX=no
6517 DEFAULT_wxUSE_LISTCTRL=no
6518 DEFAULT_wxUSE_NOTEBOOK=no
6519 DEFAULT_wxUSE_RADIOBOX=no
6520 DEFAULT_wxUSE_RADIOBTN=no
6521 DEFAULT_wxUSE_SASH=no
6522 DEFAULT_wxUSE_SCROLLBAR=no
6523 DEFAULT_wxUSE_SLIDER=no
6524 DEFAULT_wxUSE_SPINBTN=no
6525 DEFAULT_wxUSE_SPINCTRL=no
6526 DEFAULT_wxUSE_SPLITTER=no
6527 DEFAULT_wxUSE_STATBMP=no
6528 DEFAULT_wxUSE_STATBOX=no
6529 DEFAULT_wxUSE_STATLINE=no
6530 DEFAULT_wxUSE_STATUSBAR=no
6531 DEFAULT_wxUSE_TAB_DIALOG=no
6532 DEFAULT_wxUSE_TOGGLEBTN=no
6533 DEFAULT_wxUSE_TOOLBAR=no
6534 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6535 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6536 DEFAULT_wxUSE_TOOLTIPS=no
6537 DEFAULT_wxUSE_TREECTRL=no
6538 DEFAULT_wxUSE_POPUPWIN=no
6539 DEFAULT_wxUSE_TIPWINDOW=no
6542 ## FIXME: This is a blatant hack
6543 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6544 wxUSE_PRINTING_ARCHITECTURE=no
6545 wxUSE_DRAG_AND_DROP=no
6546 # Generic notebook requires tab dialog
6547 DEFAULT_wxUSE_TABDIALOG=yes
6548 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6549 DEFAULT_wxUSE_SCROLLBAR=no
6550 DEFAULT_wxUSE_TOOLTIPS=no
6551 DEFAULT_wxUSE_DRAGIMAGE=no
6556 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6557 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6559 # Check whether --enable-accel or --disable-accel was given.
6560 if test "${enable_accel+set}" = set; then
6561 enableval="$enable_accel"
6563 if test "$enableval" = yes; then
6564 ac_cv_use_accel='wxUSE_ACCEL
=yes'
6566 ac_cv_use_accel='wxUSE_ACCEL
=no
'
6571 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6572 if test "x$LINE" != x ; then
6573 eval "DEFAULT_$LINE"
6578 ac_cv_use_accel='wxUSE_ACCEL
='$DEFAULT_wxUSE_ACCEL
6582 eval "$ac_cv_use_accel"
6583 if test "$no_cache" != 1; then
6584 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6587 if test "$wxUSE_ACCEL" = yes; then
6588 echo "$as_me:$LINENO: result: yes" >&5
6589 echo "${ECHO_T}yes" >&6
6591 echo "$as_me:$LINENO: result: no" >&5
6592 echo "${ECHO_T}no" >&6
6597 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6598 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6600 # Check whether --enable-button or --disable-button was given.
6601 if test "${enable_button+set}" = set; then
6602 enableval="$enable_button"
6604 if test "$enableval" = yes; then
6605 ac_cv_use_button='wxUSE_BUTTON
=yes'
6607 ac_cv_use_button='wxUSE_BUTTON
=no
'
6612 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6613 if test "x$LINE" != x ; then
6614 eval "DEFAULT_$LINE"
6619 ac_cv_use_button='wxUSE_BUTTON
='$DEFAULT_wxUSE_BUTTON
6623 eval "$ac_cv_use_button"
6624 if test "$no_cache" != 1; then
6625 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6628 if test "$wxUSE_BUTTON" = yes; then
6629 echo "$as_me:$LINENO: result: yes" >&5
6630 echo "${ECHO_T}yes" >&6
6632 echo "$as_me:$LINENO: result: no" >&5
6633 echo "${ECHO_T}no" >&6
6638 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6639 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6641 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6642 if test "${enable_bmpbutton+set}" = set; then
6643 enableval="$enable_bmpbutton"
6645 if test "$enableval" = yes; then
6646 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
6648 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
6653 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6654 if test "x$LINE" != x ; then
6655 eval "DEFAULT_$LINE"
6660 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
='$DEFAULT_wxUSE_BMPBUTTON
6664 eval "$ac_cv_use_bmpbutton"
6665 if test "$no_cache" != 1; then
6666 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6669 if test "$wxUSE_BMPBUTTON" = yes; then
6670 echo "$as_me:$LINENO: result: yes" >&5
6671 echo "${ECHO_T}yes" >&6
6673 echo "$as_me:$LINENO: result: no" >&5
6674 echo "${ECHO_T}no" >&6
6679 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
6680 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
6682 # Check whether --enable-calendar or --disable-calendar was given.
6683 if test "${enable_calendar+set}" = set; then
6684 enableval="$enable_calendar"
6686 if test "$enableval" = yes; then
6687 ac_cv_use_calendar='wxUSE_CALCTRL
=yes'
6689 ac_cv_use_calendar='wxUSE_CALCTRL
=no
'
6694 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6695 if test "x$LINE" != x ; then
6696 eval "DEFAULT_$LINE"
6701 ac_cv_use_calendar='wxUSE_CALCTRL
='$DEFAULT_wxUSE_CALCTRL
6705 eval "$ac_cv_use_calendar"
6706 if test "$no_cache" != 1; then
6707 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6710 if test "$wxUSE_CALCTRL" = yes; then
6711 echo "$as_me:$LINENO: result: yes" >&5
6712 echo "${ECHO_T}yes" >&6
6714 echo "$as_me:$LINENO: result: no" >&5
6715 echo "${ECHO_T}no" >&6
6720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
6721 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
6723 # Check whether --enable-caret or --disable-caret was given.
6724 if test "${enable_caret+set}" = set; then
6725 enableval="$enable_caret"
6727 if test "$enableval" = yes; then
6728 ac_cv_use_caret='wxUSE_CARET
=yes'
6730 ac_cv_use_caret='wxUSE_CARET
=no
'
6735 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6736 if test "x$LINE" != x ; then
6737 eval "DEFAULT_$LINE"
6742 ac_cv_use_caret='wxUSE_CARET
='$DEFAULT_wxUSE_CARET
6746 eval "$ac_cv_use_caret"
6747 if test "$no_cache" != 1; then
6748 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6751 if test "$wxUSE_CARET" = yes; then
6752 echo "$as_me:$LINENO: result: yes" >&5
6753 echo "${ECHO_T}yes" >&6
6755 echo "$as_me:$LINENO: result: no" >&5
6756 echo "${ECHO_T}no" >&6
6761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
6762 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
6764 # Check whether --enable-checkbox or --disable-checkbox was given.
6765 if test "${enable_checkbox+set}" = set; then
6766 enableval="$enable_checkbox"
6768 if test "$enableval" = yes; then
6769 ac_cv_use_checkbox='wxUSE_CHECKBOX
=yes'
6771 ac_cv_use_checkbox='wxUSE_CHECKBOX
=no
'
6776 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6777 if test "x$LINE" != x ; then
6778 eval "DEFAULT_$LINE"
6783 ac_cv_use_checkbox='wxUSE_CHECKBOX
='$DEFAULT_wxUSE_CHECKBOX
6787 eval "$ac_cv_use_checkbox"
6788 if test "$no_cache" != 1; then
6789 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6792 if test "$wxUSE_CHECKBOX" = yes; then
6793 echo "$as_me:$LINENO: result: yes" >&5
6794 echo "${ECHO_T}yes" >&6
6796 echo "$as_me:$LINENO: result: no" >&5
6797 echo "${ECHO_T}no" >&6
6802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
6803 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
6805 # Check whether --enable-checklst or --disable-checklst was given.
6806 if test "${enable_checklst+set}" = set; then
6807 enableval="$enable_checklst"
6809 if test "$enableval" = yes; then
6810 ac_cv_use_checklst='wxUSE_CHECKLST
=yes'
6812 ac_cv_use_checklst='wxUSE_CHECKLST
=no
'
6817 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6818 if test "x$LINE" != x ; then
6819 eval "DEFAULT_$LINE"
6824 ac_cv_use_checklst='wxUSE_CHECKLST
='$DEFAULT_wxUSE_CHECKLST
6828 eval "$ac_cv_use_checklst"
6829 if test "$no_cache" != 1; then
6830 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6833 if test "$wxUSE_CHECKLST" = yes; then
6834 echo "$as_me:$LINENO: result: yes" >&5
6835 echo "${ECHO_T}yes" >&6
6837 echo "$as_me:$LINENO: result: no" >&5
6838 echo "${ECHO_T}no" >&6
6843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
6844 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
6846 # Check whether --enable-choice or --disable-choice was given.
6847 if test "${enable_choice+set}" = set; then
6848 enableval="$enable_choice"
6850 if test "$enableval" = yes; then
6851 ac_cv_use_choice='wxUSE_CHOICE
=yes'
6853 ac_cv_use_choice='wxUSE_CHOICE
=no
'
6858 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6859 if test "x$LINE" != x ; then
6860 eval "DEFAULT_$LINE"
6865 ac_cv_use_choice='wxUSE_CHOICE
='$DEFAULT_wxUSE_CHOICE
6869 eval "$ac_cv_use_choice"
6870 if test "$no_cache" != 1; then
6871 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6874 if test "$wxUSE_CHOICE" = yes; then
6875 echo "$as_me:$LINENO: result: yes" >&5
6876 echo "${ECHO_T}yes" >&6
6878 echo "$as_me:$LINENO: result: no" >&5
6879 echo "${ECHO_T}no" >&6
6884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
6885 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
6887 # Check whether --enable-combobox or --disable-combobox was given.
6888 if test "${enable_combobox+set}" = set; then
6889 enableval="$enable_combobox"
6891 if test "$enableval" = yes; then
6892 ac_cv_use_combobox='wxUSE_COMBOBOX
=yes'
6894 ac_cv_use_combobox='wxUSE_COMBOBOX
=no
'
6899 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6900 if test "x$LINE" != x ; then
6901 eval "DEFAULT_$LINE"
6906 ac_cv_use_combobox='wxUSE_COMBOBOX
='$DEFAULT_wxUSE_COMBOBOX
6910 eval "$ac_cv_use_combobox"
6911 if test "$no_cache" != 1; then
6912 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6915 if test "$wxUSE_COMBOBOX" = yes; then
6916 echo "$as_me:$LINENO: result: yes" >&5
6917 echo "${ECHO_T}yes" >&6
6919 echo "$as_me:$LINENO: result: no" >&5
6920 echo "${ECHO_T}no" >&6
6925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
6926 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
6928 # Check whether --enable-display or --disable-display was given.
6929 if test "${enable_display+set}" = set; then
6930 enableval="$enable_display"
6932 if test "$enableval" = yes; then
6933 ac_cv_use_display='wxUSE_DISPLAY
=yes'
6935 ac_cv_use_display='wxUSE_DISPLAY
=no
'
6940 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
6941 if test "x$LINE" != x ; then
6942 eval "DEFAULT_$LINE"
6947 ac_cv_use_display='wxUSE_DISPLAY
='$DEFAULT_wxUSE_DISPLAY
6951 eval "$ac_cv_use_display"
6952 if test "$no_cache" != 1; then
6953 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
6956 if test "$wxUSE_DISPLAY" = yes; then
6957 echo "$as_me:$LINENO: result: yes" >&5
6958 echo "${ECHO_T}yes" >&6
6960 echo "$as_me:$LINENO: result: no" >&5
6961 echo "${ECHO_T}no" >&6
6966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
6967 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
6969 # Check whether --enable-gauge or --disable-gauge was given.
6970 if test "${enable_gauge+set}" = set; then
6971 enableval="$enable_gauge"
6973 if test "$enableval" = yes; then
6974 ac_cv_use_gauge='wxUSE_GAUGE
=yes'
6976 ac_cv_use_gauge='wxUSE_GAUGE
=no
'
6981 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6982 if test "x$LINE" != x ; then
6983 eval "DEFAULT_$LINE"
6988 ac_cv_use_gauge='wxUSE_GAUGE
='$DEFAULT_wxUSE_GAUGE
6992 eval "$ac_cv_use_gauge"
6993 if test "$no_cache" != 1; then
6994 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6997 if test "$wxUSE_GAUGE" = yes; then
6998 echo "$as_me:$LINENO: result: yes" >&5
6999 echo "${ECHO_T}yes" >&6
7001 echo "$as_me:$LINENO: result: no" >&5
7002 echo "${ECHO_T}no" >&6
7007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7008 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7010 # Check whether --enable-grid or --disable-grid was given.
7011 if test "${enable_grid+set}" = set; then
7012 enableval="$enable_grid"
7014 if test "$enableval" = yes; then
7015 ac_cv_use_grid='wxUSE_GRID
=yes'
7017 ac_cv_use_grid='wxUSE_GRID
=no
'
7022 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7023 if test "x$LINE" != x ; then
7024 eval "DEFAULT_$LINE"
7029 ac_cv_use_grid='wxUSE_GRID
='$DEFAULT_wxUSE_GRID
7033 eval "$ac_cv_use_grid"
7034 if test "$no_cache" != 1; then
7035 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7038 if test "$wxUSE_GRID" = yes; then
7039 echo "$as_me:$LINENO: result: yes" >&5
7040 echo "${ECHO_T}yes" >&6
7042 echo "$as_me:$LINENO: result: no" >&5
7043 echo "${ECHO_T}no" >&6
7048 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7049 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7051 # Check whether --enable-imaglist or --disable-imaglist was given.
7052 if test "${enable_imaglist+set}" = set; then
7053 enableval="$enable_imaglist"
7055 if test "$enableval" = yes; then
7056 ac_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
7058 ac_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
7063 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7064 if test "x$LINE" != x ; then
7065 eval "DEFAULT_$LINE"
7070 ac_cv_use_imaglist='wxUSE_IMAGLIST
='$DEFAULT_wxUSE_IMAGLIST
7074 eval "$ac_cv_use_imaglist"
7075 if test "$no_cache" != 1; then
7076 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7079 if test "$wxUSE_IMAGLIST" = yes; then
7080 echo "$as_me:$LINENO: result: yes" >&5
7081 echo "${ECHO_T}yes" >&6
7083 echo "$as_me:$LINENO: result: no" >&5
7084 echo "${ECHO_T}no" >&6
7089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7090 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7092 # Check whether --enable-listbox or --disable-listbox was given.
7093 if test "${enable_listbox+set}" = set; then
7094 enableval="$enable_listbox"
7096 if test "$enableval" = yes; then
7097 ac_cv_use_listbox='wxUSE_LISTBOX
=yes'
7099 ac_cv_use_listbox='wxUSE_LISTBOX
=no
'
7104 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7105 if test "x$LINE" != x ; then
7106 eval "DEFAULT_$LINE"
7111 ac_cv_use_listbox='wxUSE_LISTBOX
='$DEFAULT_wxUSE_LISTBOX
7115 eval "$ac_cv_use_listbox"
7116 if test "$no_cache" != 1; then
7117 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7120 if test "$wxUSE_LISTBOX" = yes; then
7121 echo "$as_me:$LINENO: result: yes" >&5
7122 echo "${ECHO_T}yes" >&6
7124 echo "$as_me:$LINENO: result: no" >&5
7125 echo "${ECHO_T}no" >&6
7130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7131 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7133 # Check whether --enable-listctrl or --disable-listctrl was given.
7134 if test "${enable_listctrl+set}" = set; then
7135 enableval="$enable_listctrl"
7137 if test "$enableval" = yes; then
7138 ac_cv_use_listctrl='wxUSE_LISTCTRL
=yes'
7140 ac_cv_use_listctrl='wxUSE_LISTCTRL
=no
'
7145 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7146 if test "x$LINE" != x ; then
7147 eval "DEFAULT_$LINE"
7152 ac_cv_use_listctrl='wxUSE_LISTCTRL
='$DEFAULT_wxUSE_LISTCTRL
7156 eval "$ac_cv_use_listctrl"
7157 if test "$no_cache" != 1; then
7158 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7161 if test "$wxUSE_LISTCTRL" = yes; then
7162 echo "$as_me:$LINENO: result: yes" >&5
7163 echo "${ECHO_T}yes" >&6
7165 echo "$as_me:$LINENO: result: no" >&5
7166 echo "${ECHO_T}no" >&6
7171 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7172 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7174 # Check whether --enable-notebook or --disable-notebook was given.
7175 if test "${enable_notebook+set}" = set; then
7176 enableval="$enable_notebook"
7178 if test "$enableval" = yes; then
7179 ac_cv_use_notebook='wxUSE_NOTEBOOK
=yes'
7181 ac_cv_use_notebook='wxUSE_NOTEBOOK
=no
'
7186 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7187 if test "x$LINE" != x ; then
7188 eval "DEFAULT_$LINE"
7193 ac_cv_use_notebook='wxUSE_NOTEBOOK
='$DEFAULT_wxUSE_NOTEBOOK
7197 eval "$ac_cv_use_notebook"
7198 if test "$no_cache" != 1; then
7199 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7202 if test "$wxUSE_NOTEBOOK" = yes; then
7203 echo "$as_me:$LINENO: result: yes" >&5
7204 echo "${ECHO_T}yes" >&6
7206 echo "$as_me:$LINENO: result: no" >&5
7207 echo "${ECHO_T}no" >&6
7212 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7213 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7215 # Check whether --enable-radiobox or --disable-radiobox was given.
7216 if test "${enable_radiobox+set}" = set; then
7217 enableval="$enable_radiobox"
7219 if test "$enableval" = yes; then
7220 ac_cv_use_radiobox='wxUSE_RADIOBOX
=yes'
7222 ac_cv_use_radiobox='wxUSE_RADIOBOX
=no
'
7227 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7228 if test "x$LINE" != x ; then
7229 eval "DEFAULT_$LINE"
7234 ac_cv_use_radiobox='wxUSE_RADIOBOX
='$DEFAULT_wxUSE_RADIOBOX
7238 eval "$ac_cv_use_radiobox"
7239 if test "$no_cache" != 1; then
7240 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7243 if test "$wxUSE_RADIOBOX" = yes; then
7244 echo "$as_me:$LINENO: result: yes" >&5
7245 echo "${ECHO_T}yes" >&6
7247 echo "$as_me:$LINENO: result: no" >&5
7248 echo "${ECHO_T}no" >&6
7253 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7254 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7256 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7257 if test "${enable_radiobtn+set}" = set; then
7258 enableval="$enable_radiobtn"
7260 if test "$enableval" = yes; then
7261 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=yes'
7263 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=no
'
7268 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7269 if test "x$LINE" != x ; then
7270 eval "DEFAULT_$LINE"
7275 ac_cv_use_radiobtn='wxUSE_RADIOBTN
='$DEFAULT_wxUSE_RADIOBTN
7279 eval "$ac_cv_use_radiobtn"
7280 if test "$no_cache" != 1; then
7281 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7284 if test "$wxUSE_RADIOBTN" = yes; then
7285 echo "$as_me:$LINENO: result: yes" >&5
7286 echo "${ECHO_T}yes" >&6
7288 echo "$as_me:$LINENO: result: no" >&5
7289 echo "${ECHO_T}no" >&6
7294 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7295 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7297 # Check whether --enable-sash or --disable-sash was given.
7298 if test "${enable_sash+set}" = set; then
7299 enableval="$enable_sash"
7301 if test "$enableval" = yes; then
7302 ac_cv_use_sash='wxUSE_SASH
=yes'
7304 ac_cv_use_sash='wxUSE_SASH
=no
'
7309 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7310 if test "x$LINE" != x ; then
7311 eval "DEFAULT_$LINE"
7316 ac_cv_use_sash='wxUSE_SASH
='$DEFAULT_wxUSE_SASH
7320 eval "$ac_cv_use_sash"
7321 if test "$no_cache" != 1; then
7322 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7325 if test "$wxUSE_SASH" = yes; then
7326 echo "$as_me:$LINENO: result: yes" >&5
7327 echo "${ECHO_T}yes" >&6
7329 echo "$as_me:$LINENO: result: no" >&5
7330 echo "${ECHO_T}no" >&6
7335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7336 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7338 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7339 if test "${enable_scrollbar+set}" = set; then
7340 enableval="$enable_scrollbar"
7342 if test "$enableval" = yes; then
7343 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=yes'
7345 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=no
'
7350 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7351 if test "x$LINE" != x ; then
7352 eval "DEFAULT_$LINE"
7357 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
='$DEFAULT_wxUSE_SCROLLBAR
7361 eval "$ac_cv_use_scrollbar"
7362 if test "$no_cache" != 1; then
7363 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7366 if test "$wxUSE_SCROLLBAR" = yes; then
7367 echo "$as_me:$LINENO: result: yes" >&5
7368 echo "${ECHO_T}yes" >&6
7370 echo "$as_me:$LINENO: result: no" >&5
7371 echo "${ECHO_T}no" >&6
7376 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7377 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7379 # Check whether --enable-slider or --disable-slider was given.
7380 if test "${enable_slider+set}" = set; then
7381 enableval="$enable_slider"
7383 if test "$enableval" = yes; then
7384 ac_cv_use_slider='wxUSE_SLIDER
=yes'
7386 ac_cv_use_slider='wxUSE_SLIDER
=no
'
7391 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7392 if test "x$LINE" != x ; then
7393 eval "DEFAULT_$LINE"
7398 ac_cv_use_slider='wxUSE_SLIDER
='$DEFAULT_wxUSE_SLIDER
7402 eval "$ac_cv_use_slider"
7403 if test "$no_cache" != 1; then
7404 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7407 if test "$wxUSE_SLIDER" = yes; then
7408 echo "$as_me:$LINENO: result: yes" >&5
7409 echo "${ECHO_T}yes" >&6
7411 echo "$as_me:$LINENO: result: no" >&5
7412 echo "${ECHO_T}no" >&6
7417 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7418 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7420 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7421 if test "${enable_spinbtn+set}" = set; then
7422 enableval="$enable_spinbtn"
7424 if test "$enableval" = yes; then
7425 ac_cv_use_spinbtn='wxUSE_SPINBTN
=yes'
7427 ac_cv_use_spinbtn='wxUSE_SPINBTN
=no
'
7432 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7433 if test "x$LINE" != x ; then
7434 eval "DEFAULT_$LINE"
7439 ac_cv_use_spinbtn='wxUSE_SPINBTN
='$DEFAULT_wxUSE_SPINBTN
7443 eval "$ac_cv_use_spinbtn"
7444 if test "$no_cache" != 1; then
7445 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7448 if test "$wxUSE_SPINBTN" = yes; then
7449 echo "$as_me:$LINENO: result: yes" >&5
7450 echo "${ECHO_T}yes" >&6
7452 echo "$as_me:$LINENO: result: no" >&5
7453 echo "${ECHO_T}no" >&6
7458 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7459 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7461 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7462 if test "${enable_spinctrl+set}" = set; then
7463 enableval="$enable_spinctrl"
7465 if test "$enableval" = yes; then
7466 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=yes'
7468 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=no
'
7473 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7474 if test "x$LINE" != x ; then
7475 eval "DEFAULT_$LINE"
7480 ac_cv_use_spinctrl='wxUSE_SPINCTRL
='$DEFAULT_wxUSE_SPINCTRL
7484 eval "$ac_cv_use_spinctrl"
7485 if test "$no_cache" != 1; then
7486 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7489 if test "$wxUSE_SPINCTRL" = yes; then
7490 echo "$as_me:$LINENO: result: yes" >&5
7491 echo "${ECHO_T}yes" >&6
7493 echo "$as_me:$LINENO: result: no" >&5
7494 echo "${ECHO_T}no" >&6
7499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7500 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7502 # Check whether --enable-splitter or --disable-splitter was given.
7503 if test "${enable_splitter+set}" = set; then
7504 enableval="$enable_splitter"
7506 if test "$enableval" = yes; then
7507 ac_cv_use_splitter='wxUSE_SPLITTER
=yes'
7509 ac_cv_use_splitter='wxUSE_SPLITTER
=no
'
7514 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7515 if test "x$LINE" != x ; then
7516 eval "DEFAULT_$LINE"
7521 ac_cv_use_splitter='wxUSE_SPLITTER
='$DEFAULT_wxUSE_SPLITTER
7525 eval "$ac_cv_use_splitter"
7526 if test "$no_cache" != 1; then
7527 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7530 if test "$wxUSE_SPLITTER" = yes; then
7531 echo "$as_me:$LINENO: result: yes" >&5
7532 echo "${ECHO_T}yes" >&6
7534 echo "$as_me:$LINENO: result: no" >&5
7535 echo "${ECHO_T}no" >&6
7540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7541 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7543 # Check whether --enable-statbmp or --disable-statbmp was given.
7544 if test "${enable_statbmp+set}" = set; then
7545 enableval="$enable_statbmp"
7547 if test "$enableval" = yes; then
7548 ac_cv_use_statbmp='wxUSE_STATBMP
=yes'
7550 ac_cv_use_statbmp='wxUSE_STATBMP
=no
'
7555 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7556 if test "x$LINE" != x ; then
7557 eval "DEFAULT_$LINE"
7562 ac_cv_use_statbmp='wxUSE_STATBMP
='$DEFAULT_wxUSE_STATBMP
7566 eval "$ac_cv_use_statbmp"
7567 if test "$no_cache" != 1; then
7568 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7571 if test "$wxUSE_STATBMP" = yes; then
7572 echo "$as_me:$LINENO: result: yes" >&5
7573 echo "${ECHO_T}yes" >&6
7575 echo "$as_me:$LINENO: result: no" >&5
7576 echo "${ECHO_T}no" >&6
7581 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7582 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7584 # Check whether --enable-statbox or --disable-statbox was given.
7585 if test "${enable_statbox+set}" = set; then
7586 enableval="$enable_statbox"
7588 if test "$enableval" = yes; then
7589 ac_cv_use_statbox='wxUSE_STATBOX
=yes'
7591 ac_cv_use_statbox='wxUSE_STATBOX
=no
'
7596 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7597 if test "x$LINE" != x ; then
7598 eval "DEFAULT_$LINE"
7603 ac_cv_use_statbox='wxUSE_STATBOX
='$DEFAULT_wxUSE_STATBOX
7607 eval "$ac_cv_use_statbox"
7608 if test "$no_cache" != 1; then
7609 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7612 if test "$wxUSE_STATBOX" = yes; then
7613 echo "$as_me:$LINENO: result: yes" >&5
7614 echo "${ECHO_T}yes" >&6
7616 echo "$as_me:$LINENO: result: no" >&5
7617 echo "${ECHO_T}no" >&6
7622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7623 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7625 # Check whether --enable-statline or --disable-statline was given.
7626 if test "${enable_statline+set}" = set; then
7627 enableval="$enable_statline"
7629 if test "$enableval" = yes; then
7630 ac_cv_use_statline='wxUSE_STATLINE
=yes'
7632 ac_cv_use_statline='wxUSE_STATLINE
=no
'
7637 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7638 if test "x$LINE" != x ; then
7639 eval "DEFAULT_$LINE"
7644 ac_cv_use_statline='wxUSE_STATLINE
='$DEFAULT_wxUSE_STATLINE
7648 eval "$ac_cv_use_statline"
7649 if test "$no_cache" != 1; then
7650 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7653 if test "$wxUSE_STATLINE" = yes; then
7654 echo "$as_me:$LINENO: result: yes" >&5
7655 echo "${ECHO_T}yes" >&6
7657 echo "$as_me:$LINENO: result: no" >&5
7658 echo "${ECHO_T}no" >&6
7663 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
7664 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
7666 # Check whether --enable-stattext or --disable-stattext was given.
7667 if test "${enable_stattext+set}" = set; then
7668 enableval="$enable_stattext"
7670 if test "$enableval" = yes; then
7671 ac_cv_use_stattext='wxUSE_STATTEXT
=yes'
7673 ac_cv_use_stattext='wxUSE_STATTEXT
=no
'
7678 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7679 if test "x$LINE" != x ; then
7680 eval "DEFAULT_$LINE"
7685 ac_cv_use_stattext='wxUSE_STATTEXT
='$DEFAULT_wxUSE_STATTEXT
7689 eval "$ac_cv_use_stattext"
7690 if test "$no_cache" != 1; then
7691 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7694 if test "$wxUSE_STATTEXT" = yes; then
7695 echo "$as_me:$LINENO: result: yes" >&5
7696 echo "${ECHO_T}yes" >&6
7698 echo "$as_me:$LINENO: result: no" >&5
7699 echo "${ECHO_T}no" >&6
7704 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
7705 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
7707 # Check whether --enable-statusbar or --disable-statusbar was given.
7708 if test "${enable_statusbar+set}" = set; then
7709 enableval="$enable_statusbar"
7711 if test "$enableval" = yes; then
7712 ac_cv_use_statusbar='wxUSE_STATUSBAR
=yes'
7714 ac_cv_use_statusbar='wxUSE_STATUSBAR
=no
'
7719 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7720 if test "x$LINE" != x ; then
7721 eval "DEFAULT_$LINE"
7726 ac_cv_use_statusbar='wxUSE_STATUSBAR
='$DEFAULT_wxUSE_STATUSBAR
7730 eval "$ac_cv_use_statusbar"
7731 if test "$no_cache" != 1; then
7732 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7735 if test "$wxUSE_STATUSBAR" = yes; then
7736 echo "$as_me:$LINENO: result: yes" >&5
7737 echo "${ECHO_T}yes" >&6
7739 echo "$as_me:$LINENO: result: no" >&5
7740 echo "${ECHO_T}no" >&6
7745 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
7746 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
7748 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7749 if test "${enable_tabdialog+set}" = set; then
7750 enableval="$enable_tabdialog"
7752 if test "$enableval" = yes; then
7753 ac_cv_use_tabdialog='wxUSE_TABDIALOG
=yes'
7755 ac_cv_use_tabdialog='wxUSE_TABDIALOG
=no
'
7760 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7761 if test "x$LINE" != x ; then
7762 eval "DEFAULT_$LINE"
7767 ac_cv_use_tabdialog='wxUSE_TABDIALOG
='$DEFAULT_wxUSE_TABDIALOG
7771 eval "$ac_cv_use_tabdialog"
7772 if test "$no_cache" != 1; then
7773 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7776 if test "$wxUSE_TABDIALOG" = yes; then
7777 echo "$as_me:$LINENO: result: yes" >&5
7778 echo "${ECHO_T}yes" >&6
7780 echo "$as_me:$LINENO: result: no" >&5
7781 echo "${ECHO_T}no" >&6
7786 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
7787 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
7789 # Check whether --enable-textctrl or --disable-textctrl was given.
7790 if test "${enable_textctrl+set}" = set; then
7791 enableval="$enable_textctrl"
7793 if test "$enableval" = yes; then
7794 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=yes'
7796 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=no
'
7801 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7802 if test "x$LINE" != x ; then
7803 eval "DEFAULT_$LINE"
7808 ac_cv_use_textctrl='wxUSE_TEXTCTRL
='$DEFAULT_wxUSE_TEXTCTRL
7812 eval "$ac_cv_use_textctrl"
7813 if test "$no_cache" != 1; then
7814 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7817 if test "$wxUSE_TEXTCTRL" = yes; then
7818 echo "$as_me:$LINENO: result: yes" >&5
7819 echo "${ECHO_T}yes" >&6
7821 echo "$as_me:$LINENO: result: no" >&5
7822 echo "${ECHO_T}no" >&6
7827 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
7828 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
7830 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7831 if test "${enable_togglebtn+set}" = set; then
7832 enableval="$enable_togglebtn"
7834 if test "$enableval" = yes; then
7835 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=yes'
7837 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=no
'
7842 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7843 if test "x$LINE" != x ; then
7844 eval "DEFAULT_$LINE"
7849 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
='$DEFAULT_wxUSE_TOGGLEBTN
7853 eval "$ac_cv_use_togglebtn"
7854 if test "$no_cache" != 1; then
7855 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7858 if test "$wxUSE_TOGGLEBTN" = yes; then
7859 echo "$as_me:$LINENO: result: yes" >&5
7860 echo "${ECHO_T}yes" >&6
7862 echo "$as_me:$LINENO: result: no" >&5
7863 echo "${ECHO_T}no" >&6
7868 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
7869 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
7871 # Check whether --enable-toolbar or --disable-toolbar was given.
7872 if test "${enable_toolbar+set}" = set; then
7873 enableval="$enable_toolbar"
7875 if test "$enableval" = yes; then
7876 ac_cv_use_toolbar='wxUSE_TOOLBAR
=yes'
7878 ac_cv_use_toolbar='wxUSE_TOOLBAR
=no
'
7883 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7884 if test "x$LINE" != x ; then
7885 eval "DEFAULT_$LINE"
7890 ac_cv_use_toolbar='wxUSE_TOOLBAR
='$DEFAULT_wxUSE_TOOLBAR
7894 eval "$ac_cv_use_toolbar"
7895 if test "$no_cache" != 1; then
7896 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7899 if test "$wxUSE_TOOLBAR" = yes; then
7900 echo "$as_me:$LINENO: result: yes" >&5
7901 echo "${ECHO_T}yes" >&6
7903 echo "$as_me:$LINENO: result: no" >&5
7904 echo "${ECHO_T}no" >&6
7909 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
7910 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
7912 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7913 if test "${enable_tbarnative+set}" = set; then
7914 enableval="$enable_tbarnative"
7916 if test "$enableval" = yes; then
7917 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=yes'
7919 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=no
'
7924 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7925 if test "x$LINE" != x ; then
7926 eval "DEFAULT_$LINE"
7931 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7935 eval "$ac_cv_use_tbarnative"
7936 if test "$no_cache" != 1; then
7937 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7940 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7941 echo "$as_me:$LINENO: result: yes" >&5
7942 echo "${ECHO_T}yes" >&6
7944 echo "$as_me:$LINENO: result: no" >&5
7945 echo "${ECHO_T}no" >&6
7950 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
7951 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
7953 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7954 if test "${enable_tbarsmpl+set}" = set; then
7955 enableval="$enable_tbarsmpl"
7957 if test "$enableval" = yes; then
7958 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
=yes'
7960 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
=no
'
7965 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7966 if test "x$LINE" != x ; then
7967 eval "DEFAULT_$LINE"
7972 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7976 eval "$ac_cv_use_tbarsmpl"
7977 if test "$no_cache" != 1; then
7978 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7981 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7982 echo "$as_me:$LINENO: result: yes" >&5
7983 echo "${ECHO_T}yes" >&6
7985 echo "$as_me:$LINENO: result: no" >&5
7986 echo "${ECHO_T}no" >&6
7991 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
7992 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
7994 # Check whether --enable-treectrl or --disable-treectrl was given.
7995 if test "${enable_treectrl+set}" = set; then
7996 enableval="$enable_treectrl"
7998 if test "$enableval" = yes; then
7999 ac_cv_use_treectrl='wxUSE_TREECTRL
=yes'
8001 ac_cv_use_treectrl='wxUSE_TREECTRL
=no
'
8006 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8007 if test "x$LINE" != x ; then
8008 eval "DEFAULT_$LINE"
8013 ac_cv_use_treectrl='wxUSE_TREECTRL
='$DEFAULT_wxUSE_TREECTRL
8017 eval "$ac_cv_use_treectrl"
8018 if test "$no_cache" != 1; then
8019 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8022 if test "$wxUSE_TREECTRL" = yes; then
8023 echo "$as_me:$LINENO: result: yes" >&5
8024 echo "${ECHO_T}yes" >&6
8026 echo "$as_me:$LINENO: result: no" >&5
8027 echo "${ECHO_T}no" >&6
8032 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8033 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8035 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8036 if test "${enable_tipwindow+set}" = set; then
8037 enableval="$enable_tipwindow"
8039 if test "$enableval" = yes; then
8040 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
8042 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
8047 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8048 if test "x$LINE" != x ; then
8049 eval "DEFAULT_$LINE"
8054 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
='$DEFAULT_wxUSE_TIPWINDOW
8058 eval "$ac_cv_use_tipwindow"
8059 if test "$no_cache" != 1; then
8060 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8063 if test "$wxUSE_TIPWINDOW" = yes; then
8064 echo "$as_me:$LINENO: result: yes" >&5
8065 echo "${ECHO_T}yes" >&6
8067 echo "$as_me:$LINENO: result: no" >&5
8068 echo "${ECHO_T}no" >&6
8073 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8074 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8076 # Check whether --enable-popupwin or --disable-popupwin was given.
8077 if test "${enable_popupwin+set}" = set; then
8078 enableval="$enable_popupwin"
8080 if test "$enableval" = yes; then
8081 ac_cv_use_popupwin='wxUSE_POPUPWIN
=yes'
8083 ac_cv_use_popupwin='wxUSE_POPUPWIN
=no
'
8088 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8089 if test "x$LINE" != x ; then
8090 eval "DEFAULT_$LINE"
8095 ac_cv_use_popupwin='wxUSE_POPUPWIN
='$DEFAULT_wxUSE_POPUPWIN
8099 eval "$ac_cv_use_popupwin"
8100 if test "$no_cache" != 1; then
8101 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8104 if test "$wxUSE_POPUPWIN" = yes; then
8105 echo "$as_me:$LINENO: result: yes" >&5
8106 echo "${ECHO_T}yes" >&6
8108 echo "$as_me:$LINENO: result: no" >&5
8109 echo "${ECHO_T}no" >&6
8116 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8117 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8119 # Check whether --enable-commondlg or --disable-commondlg was given.
8120 if test "${enable_commondlg+set}" = set; then
8121 enableval="$enable_commondlg"
8123 if test "$enableval" = yes; then
8124 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=yes'
8126 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=no
'
8131 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8132 if test "x$LINE" != x ; then
8133 eval "DEFAULT_$LINE"
8138 ac_cv_use_commondlg='wxUSE_COMMONDLGS
='$DEFAULT_wxUSE_COMMONDLGS
8142 eval "$ac_cv_use_commondlg"
8143 if test "$no_cache" != 1; then
8144 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8147 if test "$wxUSE_COMMONDLGS" = yes; then
8148 echo "$as_me:$LINENO: result: yes" >&5
8149 echo "${ECHO_T}yes" >&6
8151 echo "$as_me:$LINENO: result: no" >&5
8152 echo "${ECHO_T}no" >&6
8157 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8158 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8160 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8161 if test "${enable_choicedlg+set}" = set; then
8162 enableval="$enable_choicedlg"
8164 if test "$enableval" = yes; then
8165 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
8167 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
8172 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8173 if test "x$LINE" != x ; then
8174 eval "DEFAULT_$LINE"
8179 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
='$DEFAULT_wxUSE_CHOICEDLG
8183 eval "$ac_cv_use_choicedlg"
8184 if test "$no_cache" != 1; then
8185 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8188 if test "$wxUSE_CHOICEDLG" = yes; then
8189 echo "$as_me:$LINENO: result: yes" >&5
8190 echo "${ECHO_T}yes" >&6
8192 echo "$as_me:$LINENO: result: no" >&5
8193 echo "${ECHO_T}no" >&6
8198 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8199 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8201 # Check whether --enable-coldlg or --disable-coldlg was given.
8202 if test "${enable_coldlg+set}" = set; then
8203 enableval="$enable_coldlg"
8205 if test "$enableval" = yes; then
8206 ac_cv_use_coldlg='wxUSE_COLOURDLG
=yes'
8208 ac_cv_use_coldlg='wxUSE_COLOURDLG
=no
'
8213 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8214 if test "x$LINE" != x ; then
8215 eval "DEFAULT_$LINE"
8220 ac_cv_use_coldlg='wxUSE_COLOURDLG
='$DEFAULT_wxUSE_COLOURDLG
8224 eval "$ac_cv_use_coldlg"
8225 if test "$no_cache" != 1; then
8226 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8229 if test "$wxUSE_COLOURDLG" = yes; then
8230 echo "$as_me:$LINENO: result: yes" >&5
8231 echo "${ECHO_T}yes" >&6
8233 echo "$as_me:$LINENO: result: no" >&5
8234 echo "${ECHO_T}no" >&6
8239 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8240 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8242 # Check whether --enable-filedlg or --disable-filedlg was given.
8243 if test "${enable_filedlg+set}" = set; then
8244 enableval="$enable_filedlg"
8246 if test "$enableval" = yes; then
8247 ac_cv_use_filedlg='wxUSE_FILEDLG
=yes'
8249 ac_cv_use_filedlg='wxUSE_FILEDLG
=no
'
8254 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8255 if test "x$LINE" != x ; then
8256 eval "DEFAULT_$LINE"
8261 ac_cv_use_filedlg='wxUSE_FILEDLG
='$DEFAULT_wxUSE_FILEDLG
8265 eval "$ac_cv_use_filedlg"
8266 if test "$no_cache" != 1; then
8267 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8270 if test "$wxUSE_FILEDLG" = yes; then
8271 echo "$as_me:$LINENO: result: yes" >&5
8272 echo "${ECHO_T}yes" >&6
8274 echo "$as_me:$LINENO: result: no" >&5
8275 echo "${ECHO_T}no" >&6
8280 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8281 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8283 # Check whether --enable-finddlg or --disable-finddlg was given.
8284 if test "${enable_finddlg+set}" = set; then
8285 enableval="$enable_finddlg"
8287 if test "$enableval" = yes; then
8288 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
8290 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
8295 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8296 if test "x$LINE" != x ; then
8297 eval "DEFAULT_$LINE"
8302 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
='$DEFAULT_wxUSE_FINDREPLDLG
8306 eval "$ac_cv_use_finddlg"
8307 if test "$no_cache" != 1; then
8308 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8311 if test "$wxUSE_FINDREPLDLG" = yes; then
8312 echo "$as_me:$LINENO: result: yes" >&5
8313 echo "${ECHO_T}yes" >&6
8315 echo "$as_me:$LINENO: result: no" >&5
8316 echo "${ECHO_T}no" >&6
8321 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8322 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8324 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8325 if test "${enable_fontdlg+set}" = set; then
8326 enableval="$enable_fontdlg"
8328 if test "$enableval" = yes; then
8329 ac_cv_use_fontdlg='wxUSE_FONTDLG
=yes'
8331 ac_cv_use_fontdlg='wxUSE_FONTDLG
=no
'
8336 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8337 if test "x$LINE" != x ; then
8338 eval "DEFAULT_$LINE"
8343 ac_cv_use_fontdlg='wxUSE_FONTDLG
='$DEFAULT_wxUSE_FONTDLG
8347 eval "$ac_cv_use_fontdlg"
8348 if test "$no_cache" != 1; then
8349 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8352 if test "$wxUSE_FONTDLG" = yes; then
8353 echo "$as_me:$LINENO: result: yes" >&5
8354 echo "${ECHO_T}yes" >&6
8356 echo "$as_me:$LINENO: result: no" >&5
8357 echo "${ECHO_T}no" >&6
8362 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8363 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8365 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8366 if test "${enable_dirdlg+set}" = set; then
8367 enableval="$enable_dirdlg"
8369 if test "$enableval" = yes; then
8370 ac_cv_use_dirdlg='wxUSE_DIRDLG
=yes'
8372 ac_cv_use_dirdlg='wxUSE_DIRDLG
=no
'
8377 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8378 if test "x$LINE" != x ; then
8379 eval "DEFAULT_$LINE"
8384 ac_cv_use_dirdlg='wxUSE_DIRDLG
='$DEFAULT_wxUSE_DIRDLG
8388 eval "$ac_cv_use_dirdlg"
8389 if test "$no_cache" != 1; then
8390 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8393 if test "$wxUSE_DIRDLG" = yes; then
8394 echo "$as_me:$LINENO: result: yes" >&5
8395 echo "${ECHO_T}yes" >&6
8397 echo "$as_me:$LINENO: result: no" >&5
8398 echo "${ECHO_T}no" >&6
8403 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8404 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8406 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8407 if test "${enable_msgdlg+set}" = set; then
8408 enableval="$enable_msgdlg"
8410 if test "$enableval" = yes; then
8411 ac_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
8413 ac_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
8418 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8419 if test "x$LINE" != x ; then
8420 eval "DEFAULT_$LINE"
8425 ac_cv_use_msgdlg='wxUSE_MSGDLG
='$DEFAULT_wxUSE_MSGDLG
8429 eval "$ac_cv_use_msgdlg"
8430 if test "$no_cache" != 1; then
8431 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8434 if test "$wxUSE_MSGDLG" = yes; then
8435 echo "$as_me:$LINENO: result: yes" >&5
8436 echo "${ECHO_T}yes" >&6
8438 echo "$as_me:$LINENO: result: no" >&5
8439 echo "${ECHO_T}no" >&6
8444 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8445 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8447 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8448 if test "${enable_numberdlg+set}" = set; then
8449 enableval="$enable_numberdlg"
8451 if test "$enableval" = yes; then
8452 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=yes'
8454 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=no
'
8459 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8460 if test "x$LINE" != x ; then
8461 eval "DEFAULT_$LINE"
8466 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
='$DEFAULT_wxUSE_NUMBERDLG
8470 eval "$ac_cv_use_numberdlg"
8471 if test "$no_cache" != 1; then
8472 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8475 if test "$wxUSE_NUMBERDLG" = yes; then
8476 echo "$as_me:$LINENO: result: yes" >&5
8477 echo "${ECHO_T}yes" >&6
8479 echo "$as_me:$LINENO: result: no" >&5
8480 echo "${ECHO_T}no" >&6
8485 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8486 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8488 # Check whether --enable-splash or --disable-splash was given.
8489 if test "${enable_splash+set}" = set; then
8490 enableval="$enable_splash"
8492 if test "$enableval" = yes; then
8493 ac_cv_use_splash='wxUSE_SPLASH
=yes'
8495 ac_cv_use_splash='wxUSE_SPLASH
=no
'
8500 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8501 if test "x$LINE" != x ; then
8502 eval "DEFAULT_$LINE"
8507 ac_cv_use_splash='wxUSE_SPLASH
='$DEFAULT_wxUSE_SPLASH
8511 eval "$ac_cv_use_splash"
8512 if test "$no_cache" != 1; then
8513 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8516 if test "$wxUSE_SPLASH" = yes; then
8517 echo "$as_me:$LINENO: result: yes" >&5
8518 echo "${ECHO_T}yes" >&6
8520 echo "$as_me:$LINENO: result: no" >&5
8521 echo "${ECHO_T}no" >&6
8526 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8527 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8529 # Check whether --enable-textdlg or --disable-textdlg was given.
8530 if test "${enable_textdlg+set}" = set; then
8531 enableval="$enable_textdlg"
8533 if test "$enableval" = yes; then
8534 ac_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
8536 ac_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
8541 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8542 if test "x$LINE" != x ; then
8543 eval "DEFAULT_$LINE"
8548 ac_cv_use_textdlg='wxUSE_TEXTDLG
='$DEFAULT_wxUSE_TEXTDLG
8552 eval "$ac_cv_use_textdlg"
8553 if test "$no_cache" != 1; then
8554 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8557 if test "$wxUSE_TEXTDLG" = yes; then
8558 echo "$as_me:$LINENO: result: yes" >&5
8559 echo "${ECHO_T}yes" >&6
8561 echo "$as_me:$LINENO: result: no" >&5
8562 echo "${ECHO_T}no" >&6
8567 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8568 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8570 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8571 if test "${enable_tipdlg+set}" = set; then
8572 enableval="$enable_tipdlg"
8574 if test "$enableval" = yes; then
8575 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=yes'
8577 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=no
'
8582 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8583 if test "x$LINE" != x ; then
8584 eval "DEFAULT_$LINE"
8589 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
='$DEFAULT_wxUSE_STARTUP_TIPS
8593 eval "$ac_cv_use_tipdlg"
8594 if test "$no_cache" != 1; then
8595 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8598 if test "$wxUSE_STARTUP_TIPS" = yes; then
8599 echo "$as_me:$LINENO: result: yes" >&5
8600 echo "${ECHO_T}yes" >&6
8602 echo "$as_me:$LINENO: result: no" >&5
8603 echo "${ECHO_T}no" >&6
8608 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8609 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8611 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8612 if test "${enable_progressdlg+set}" = set; then
8613 enableval="$enable_progressdlg"
8615 if test "$enableval" = yes; then
8616 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=yes'
8618 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=no
'
8623 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8624 if test "x$LINE" != x ; then
8625 eval "DEFAULT_$LINE"
8630 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
='$DEFAULT_wxUSE_PROGRESSDLG
8634 eval "$ac_cv_use_progressdlg"
8635 if test "$no_cache" != 1; then
8636 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8639 if test "$wxUSE_PROGRESSDLG" = yes; then
8640 echo "$as_me:$LINENO: result: yes" >&5
8641 echo "${ECHO_T}yes" >&6
8643 echo "$as_me:$LINENO: result: no" >&5
8644 echo "${ECHO_T}no" >&6
8649 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
8650 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
8652 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8653 if test "${enable_wizarddlg+set}" = set; then
8654 enableval="$enable_wizarddlg"
8656 if test "$enableval" = yes; then
8657 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
8659 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
8664 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8665 if test "x$LINE" != x ; then
8666 eval "DEFAULT_$LINE"
8671 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
='$DEFAULT_wxUSE_WIZARDDLG
8675 eval "$ac_cv_use_wizarddlg"
8676 if test "$no_cache" != 1; then
8677 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8680 if test "$wxUSE_WIZARDDLG" = yes; then
8681 echo "$as_me:$LINENO: result: yes" >&5
8682 echo "${ECHO_T}yes" >&6
8684 echo "$as_me:$LINENO: result: no" >&5
8685 echo "${ECHO_T}no" >&6
8692 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
8693 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
8695 # Check whether --enable-menus or --disable-menus was given.
8696 if test "${enable_menus+set}" = set; then
8697 enableval="$enable_menus"
8699 if test "$enableval" = yes; then
8700 ac_cv_use_menus='wxUSE_MENUS
=yes'
8702 ac_cv_use_menus='wxUSE_MENUS
=no
'
8707 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8708 if test "x$LINE" != x ; then
8709 eval "DEFAULT_$LINE"
8714 ac_cv_use_menus='wxUSE_MENUS
='$DEFAULT_wxUSE_MENUS
8718 eval "$ac_cv_use_menus"
8719 if test "$no_cache" != 1; then
8720 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8723 if test "$wxUSE_MENUS" = yes; then
8724 echo "$as_me:$LINENO: result: yes" >&5
8725 echo "${ECHO_T}yes" >&6
8727 echo "$as_me:$LINENO: result: no" >&5
8728 echo "${ECHO_T}no" >&6
8733 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
8734 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
8736 # Check whether --enable-miniframe or --disable-miniframe was given.
8737 if test "${enable_miniframe+set}" = set; then
8738 enableval="$enable_miniframe"
8740 if test "$enableval" = yes; then
8741 ac_cv_use_miniframe='wxUSE_MINIFRAME
=yes'
8743 ac_cv_use_miniframe='wxUSE_MINIFRAME
=no
'
8748 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8749 if test "x$LINE" != x ; then
8750 eval "DEFAULT_$LINE"
8755 ac_cv_use_miniframe='wxUSE_MINIFRAME
='$DEFAULT_wxUSE_MINIFRAME
8759 eval "$ac_cv_use_miniframe"
8760 if test "$no_cache" != 1; then
8761 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8764 if test "$wxUSE_MINIFRAME" = yes; then
8765 echo "$as_me:$LINENO: result: yes" >&5
8766 echo "${ECHO_T}yes" >&6
8768 echo "$as_me:$LINENO: result: no" >&5
8769 echo "${ECHO_T}no" >&6
8774 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
8775 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
8777 # Check whether --enable-tooltips or --disable-tooltips was given.
8778 if test "${enable_tooltips+set}" = set; then
8779 enableval="$enable_tooltips"
8781 if test "$enableval" = yes; then
8782 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
8784 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
8789 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8790 if test "x$LINE" != x ; then
8791 eval "DEFAULT_$LINE"
8796 ac_cv_use_tooltips='wxUSE_TOOLTIPS
='$DEFAULT_wxUSE_TOOLTIPS
8800 eval "$ac_cv_use_tooltips"
8801 if test "$no_cache" != 1; then
8802 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8805 if test "$wxUSE_TOOLTIPS" = yes; then
8806 echo "$as_me:$LINENO: result: yes" >&5
8807 echo "${ECHO_T}yes" >&6
8809 echo "$as_me:$LINENO: result: no" >&5
8810 echo "${ECHO_T}no" >&6
8815 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
8816 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
8818 # Check whether --enable-splines or --disable-splines was given.
8819 if test "${enable_splines+set}" = set; then
8820 enableval="$enable_splines"
8822 if test "$enableval" = yes; then
8823 ac_cv_use_splines='wxUSE_SPLINES
=yes'
8825 ac_cv_use_splines='wxUSE_SPLINES
=no
'
8830 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8831 if test "x$LINE" != x ; then
8832 eval "DEFAULT_$LINE"
8837 ac_cv_use_splines='wxUSE_SPLINES
='$DEFAULT_wxUSE_SPLINES
8841 eval "$ac_cv_use_splines"
8842 if test "$no_cache" != 1; then
8843 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8846 if test "$wxUSE_SPLINES" = yes; then
8847 echo "$as_me:$LINENO: result: yes" >&5
8848 echo "${ECHO_T}yes" >&6
8850 echo "$as_me:$LINENO: result: no" >&5
8851 echo "${ECHO_T}no" >&6
8856 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
8857 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
8859 # Check whether --enable-validators or --disable-validators was given.
8860 if test "${enable_validators+set}" = set; then
8861 enableval="$enable_validators"
8863 if test "$enableval" = yes; then
8864 ac_cv_use_validators='wxUSE_VALIDATORS
=yes'
8866 ac_cv_use_validators='wxUSE_VALIDATORS
=no
'
8871 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8872 if test "x$LINE" != x ; then
8873 eval "DEFAULT_$LINE"
8878 ac_cv_use_validators='wxUSE_VALIDATORS
='$DEFAULT_wxUSE_VALIDATORS
8882 eval "$ac_cv_use_validators"
8883 if test "$no_cache" != 1; then
8884 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8887 if test "$wxUSE_VALIDATORS" = yes; then
8888 echo "$as_me:$LINENO: result: yes" >&5
8889 echo "${ECHO_T}yes" >&6
8891 echo "$as_me:$LINENO: result: no" >&5
8892 echo "${ECHO_T}no" >&6
8897 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
8898 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
8900 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8901 if test "${enable_busyinfo+set}" = set; then
8902 enableval="$enable_busyinfo"
8904 if test "$enableval" = yes; then
8905 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=yes'
8907 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=no
'
8912 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8913 if test "x$LINE" != x ; then
8914 eval "DEFAULT_$LINE"
8919 ac_cv_use_busyinfo='wxUSE_BUSYINFO
='$DEFAULT_wxUSE_BUSYINFO
8923 eval "$ac_cv_use_busyinfo"
8924 if test "$no_cache" != 1; then
8925 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8928 if test "$wxUSE_BUSYINFO" = yes; then
8929 echo "$as_me:$LINENO: result: yes" >&5
8930 echo "${ECHO_T}yes" >&6
8932 echo "$as_me:$LINENO: result: no" >&5
8933 echo "${ECHO_T}no" >&6
8938 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
8939 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
8941 # Check whether --enable-joystick or --disable-joystick was given.
8942 if test "${enable_joystick+set}" = set; then
8943 enableval="$enable_joystick"
8945 if test "$enableval" = yes; then
8946 ac_cv_use_joystick='wxUSE_JOYSTICK
=yes'
8948 ac_cv_use_joystick='wxUSE_JOYSTICK
=no
'
8953 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8954 if test "x$LINE" != x ; then
8955 eval "DEFAULT_$LINE"
8960 ac_cv_use_joystick='wxUSE_JOYSTICK
='$DEFAULT_wxUSE_JOYSTICK
8964 eval "$ac_cv_use_joystick"
8965 if test "$no_cache" != 1; then
8966 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8969 if test "$wxUSE_JOYSTICK" = yes; then
8970 echo "$as_me:$LINENO: result: yes" >&5
8971 echo "${ECHO_T}yes" >&6
8973 echo "$as_me:$LINENO: result: no" >&5
8974 echo "${ECHO_T}no" >&6
8979 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
8980 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
8982 # Check whether --enable-metafile or --disable-metafile was given.
8983 if test "${enable_metafile+set}" = set; then
8984 enableval="$enable_metafile"
8986 if test "$enableval" = yes; then
8987 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
8989 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
8994 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8995 if test "x$LINE" != x ; then
8996 eval "DEFAULT_$LINE"
9001 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
9005 eval "$ac_cv_use_metafile"
9006 if test "$no_cache" != 1; then
9007 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9010 if test "$wxUSE_METAFILE" = yes; then
9011 echo "$as_me:$LINENO: result: yes" >&5
9012 echo "${ECHO_T}yes" >&6
9014 echo "$as_me:$LINENO: result: no" >&5
9015 echo "${ECHO_T}no" >&6
9020 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9021 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9023 # Check whether --enable-dragimage or --disable-dragimage was given.
9024 if test "${enable_dragimage+set}" = set; then
9025 enableval="$enable_dragimage"
9027 if test "$enableval" = yes; then
9028 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=yes'
9030 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=no
'
9035 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9036 if test "x$LINE" != x ; then
9037 eval "DEFAULT_$LINE"
9042 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
='$DEFAULT_wxUSE_DRAGIMAGE
9046 eval "$ac_cv_use_dragimage"
9047 if test "$no_cache" != 1; then
9048 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9051 if test "$wxUSE_DRAGIMAGE" = yes; then
9052 echo "$as_me:$LINENO: result: yes" >&5
9053 echo "${ECHO_T}yes" >&6
9055 echo "$as_me:$LINENO: result: no" >&5
9056 echo "${ECHO_T}no" >&6
9061 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9062 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9064 # Check whether --enable-accessibility or --disable-accessibility was given.
9065 if test "${enable_accessibility+set}" = set; then
9066 enableval="$enable_accessibility"
9068 if test "$enableval" = yes; then
9069 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=yes'
9071 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=no
'
9076 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9077 if test "x$LINE" != x ; then
9078 eval "DEFAULT_$LINE"
9083 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
='$DEFAULT_wxUSE_ACCESSIBILITY
9087 eval "$ac_cv_use_accessibility"
9088 if test "$no_cache" != 1; then
9089 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9092 if test "$wxUSE_ACCESSIBILITY" = yes; then
9093 echo "$as_me:$LINENO: result: yes" >&5
9094 echo "${ECHO_T}yes" >&6
9096 echo "$as_me:$LINENO: result: no" >&5
9097 echo "${ECHO_T}no" >&6
9104 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9105 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9107 # Check whether --enable-palette or --disable-palette was given.
9108 if test "${enable_palette+set}" = set; then
9109 enableval="$enable_palette"
9111 if test "$enableval" = yes; then
9112 ac_cv_use_palette='wxUSE_PALETTE
=yes'
9114 ac_cv_use_palette='wxUSE_PALETTE
=no
'
9119 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9120 if test "x$LINE" != x ; then
9121 eval "DEFAULT_$LINE"
9126 ac_cv_use_palette='wxUSE_PALETTE
='$DEFAULT_wxUSE_PALETTE
9130 eval "$ac_cv_use_palette"
9131 if test "$no_cache" != 1; then
9132 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9135 if test "$wxUSE_PALETTE" = yes; then
9136 echo "$as_me:$LINENO: result: yes" >&5
9137 echo "${ECHO_T}yes" >&6
9139 echo "$as_me:$LINENO: result: no" >&5
9140 echo "${ECHO_T}no" >&6
9145 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9146 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9148 # Check whether --enable-image or --disable-image was given.
9149 if test "${enable_image+set}" = set; then
9150 enableval="$enable_image"
9152 if test "$enableval" = yes; then
9153 ac_cv_use_image='wxUSE_IMAGE
=yes'
9155 ac_cv_use_image='wxUSE_IMAGE
=no
'
9160 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9161 if test "x$LINE" != x ; then
9162 eval "DEFAULT_$LINE"
9167 ac_cv_use_image='wxUSE_IMAGE
='$DEFAULT_wxUSE_IMAGE
9171 eval "$ac_cv_use_image"
9172 if test "$no_cache" != 1; then
9173 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9176 if test "$wxUSE_IMAGE" = yes; then
9177 echo "$as_me:$LINENO: result: yes" >&5
9178 echo "${ECHO_T}yes" >&6
9180 echo "$as_me:$LINENO: result: no" >&5
9181 echo "${ECHO_T}no" >&6
9186 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9187 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9189 # Check whether --enable-gif or --disable-gif was given.
9190 if test "${enable_gif+set}" = set; then
9191 enableval="$enable_gif"
9193 if test "$enableval" = yes; then
9194 ac_cv_use_gif='wxUSE_GIF
=yes'
9196 ac_cv_use_gif='wxUSE_GIF
=no
'
9201 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9202 if test "x$LINE" != x ; then
9203 eval "DEFAULT_$LINE"
9208 ac_cv_use_gif='wxUSE_GIF
='$DEFAULT_wxUSE_GIF
9212 eval "$ac_cv_use_gif"
9213 if test "$no_cache" != 1; then
9214 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9217 if test "$wxUSE_GIF" = yes; then
9218 echo "$as_me:$LINENO: result: yes" >&5
9219 echo "${ECHO_T}yes" >&6
9221 echo "$as_me:$LINENO: result: no" >&5
9222 echo "${ECHO_T}no" >&6
9227 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9228 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9230 # Check whether --enable-pcx or --disable-pcx was given.
9231 if test "${enable_pcx+set}" = set; then
9232 enableval="$enable_pcx"
9234 if test "$enableval" = yes; then
9235 ac_cv_use_pcx='wxUSE_PCX
=yes'
9237 ac_cv_use_pcx='wxUSE_PCX
=no
'
9242 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9243 if test "x$LINE" != x ; then
9244 eval "DEFAULT_$LINE"
9249 ac_cv_use_pcx='wxUSE_PCX
='$DEFAULT_wxUSE_PCX
9253 eval "$ac_cv_use_pcx"
9254 if test "$no_cache" != 1; then
9255 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9258 if test "$wxUSE_PCX" = yes; then
9259 echo "$as_me:$LINENO: result: yes" >&5
9260 echo "${ECHO_T}yes" >&6
9262 echo "$as_me:$LINENO: result: no" >&5
9263 echo "${ECHO_T}no" >&6
9268 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9269 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9271 # Check whether --enable-iff or --disable-iff was given.
9272 if test "${enable_iff+set}" = set; then
9273 enableval="$enable_iff"
9275 if test "$enableval" = yes; then
9276 ac_cv_use_iff='wxUSE_IFF
=yes'
9278 ac_cv_use_iff='wxUSE_IFF
=no
'
9283 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9284 if test "x$LINE" != x ; then
9285 eval "DEFAULT_$LINE"
9290 ac_cv_use_iff='wxUSE_IFF
='$DEFAULT_wxUSE_IFF
9294 eval "$ac_cv_use_iff"
9295 if test "$no_cache" != 1; then
9296 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9299 if test "$wxUSE_IFF" = yes; then
9300 echo "$as_me:$LINENO: result: yes" >&5
9301 echo "${ECHO_T}yes" >&6
9303 echo "$as_me:$LINENO: result: no" >&5
9304 echo "${ECHO_T}no" >&6
9309 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9310 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9312 # Check whether --enable-pnm or --disable-pnm was given.
9313 if test "${enable_pnm+set}" = set; then
9314 enableval="$enable_pnm"
9316 if test "$enableval" = yes; then
9317 ac_cv_use_pnm='wxUSE_PNM
=yes'
9319 ac_cv_use_pnm='wxUSE_PNM
=no
'
9324 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9325 if test "x$LINE" != x ; then
9326 eval "DEFAULT_$LINE"
9331 ac_cv_use_pnm='wxUSE_PNM
='$DEFAULT_wxUSE_PNM
9335 eval "$ac_cv_use_pnm"
9336 if test "$no_cache" != 1; then
9337 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9340 if test "$wxUSE_PNM" = yes; then
9341 echo "$as_me:$LINENO: result: yes" >&5
9342 echo "${ECHO_T}yes" >&6
9344 echo "$as_me:$LINENO: result: no" >&5
9345 echo "${ECHO_T}no" >&6
9350 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9351 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9353 # Check whether --enable-xpm or --disable-xpm was given.
9354 if test "${enable_xpm+set}" = set; then
9355 enableval="$enable_xpm"
9357 if test "$enableval" = yes; then
9358 ac_cv_use_xpm='wxUSE_XPM
=yes'
9360 ac_cv_use_xpm='wxUSE_XPM
=no
'
9365 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9366 if test "x$LINE" != x ; then
9367 eval "DEFAULT_$LINE"
9372 ac_cv_use_xpm='wxUSE_XPM
='$DEFAULT_wxUSE_XPM
9376 eval "$ac_cv_use_xpm"
9377 if test "$no_cache" != 1; then
9378 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9381 if test "$wxUSE_XPM" = yes; then
9382 echo "$as_me:$LINENO: result: yes" >&5
9383 echo "${ECHO_T}yes" >&6
9385 echo "$as_me:$LINENO: result: no" >&5
9386 echo "${ECHO_T}no" >&6
9391 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9392 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9394 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9395 if test "${enable_ico_cur+set}" = set; then
9396 enableval="$enable_ico_cur"
9398 if test "$enableval" = yes; then
9399 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=yes'
9401 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=no
'
9406 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9407 if test "x$LINE" != x ; then
9408 eval "DEFAULT_$LINE"
9413 ac_cv_use_ico_cur='wxUSE_ICO_CUR
='$DEFAULT_wxUSE_ICO_CUR
9417 eval "$ac_cv_use_ico_cur"
9418 if test "$no_cache" != 1; then
9419 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9422 if test "$wxUSE_ICO_CUR" = yes; then
9423 echo "$as_me:$LINENO: result: yes" >&5
9424 echo "${ECHO_T}yes" >&6
9426 echo "$as_me:$LINENO: result: no" >&5
9427 echo "${ECHO_T}no" >&6
9436 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9437 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9439 # Check whether --enable-official_build or --disable-official_build was given.
9440 if test "${enable_official_build+set}" = set; then
9441 enableval="$enable_official_build"
9443 if test "$enableval" = yes; then
9444 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
9446 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
9451 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9452 if test "x$LINE" != x ; then
9453 eval "DEFAULT_$LINE"
9458 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
='$DEFAULT_wxUSE_OFFICIAL_BUILD
9462 eval "$ac_cv_use_official_build"
9463 if test "$no_cache" != 1; then
9464 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9467 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9468 echo "$as_me:$LINENO: result: yes" >&5
9469 echo "${ECHO_T}yes" >&6
9471 echo "$as_me:$LINENO: result: no" >&5
9472 echo "${ECHO_T}no" >&6
9475 # Check whether --enable-vendor or --disable-vendor was given.
9476 if test "${enable_vendor+set}" = set; then
9477 enableval="$enable_vendor"
9480 if test "x$VENDOR" = "x"; then
9485 *-pc-os2_emx | *-pc-os2-emx )
9495 echo "saving argument cache $wx_arg_cache_file"
9496 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9500 echo "$as_me:$LINENO: checking for toolkit" >&5
9501 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9503 # In Wine, we need to default to MSW, not GTK or MOTIF
9504 if test "$wxUSE_WINE" = "yes"; then
9505 DEFAULT_DEFAULT_wxUSE_GTK=0
9506 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9507 DEFAULT_DEFAULT_wxUSE_MSW=1
9510 if test "$wxUSE_GUI" = "yes"; then
9512 if test "$USE_BEOS" = 1; then
9513 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9514 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9515 { (exit 1); exit 1; }; }
9518 if test "$TOOLKIT_GIVEN" = 1; then
9519 for toolkit in `echo $ALL_TOOLKITS`; do
9521 eval "value=\$${var}"
9522 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9525 for toolkit in `echo $ALL_TOOLKITS`; do
9526 if test "$has_toolkit_in_cache" != 1; then
9527 var=DEFAULT_DEFAULT_wxUSE_$toolkit
9529 var=DEFAULT_wxUSE_$toolkit
9531 eval "wxUSE_$toolkit=\$${var}"
9535 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9536 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9537 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9540 *-pc-os2_emx | *-pc-os2-emx )
9541 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9544 case "$NUM_TOOLKITS" in
9548 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9549 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9550 { (exit 1); exit 1; }; }
9553 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9554 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9555 { (exit 1); exit 1; }; }
9558 for toolkit in `echo $ALL_TOOLKITS`; do
9560 eval "value=\$${var}"
9561 if test "x$value" != x; then
9562 cache_var=CACHE_$toolkit
9563 eval "cache=\$${cache_var}"
9564 if test "$cache" = 1; then
9565 echo "$var=$value" >> ${wx_arg_cache_file}
9567 if test "$value" = 1; then
9568 toolkit_echo=`echo $toolkit | tr [A-Z] [a-z]`
9569 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9570 echo "${ECHO_T}$toolkit_echo" >&6
9575 if test "x$host_alias" != "x"; then
9576 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9577 echo "${ECHO_T}base ($host_alias hosted) only" >&6
9579 echo "$as_me:$LINENO: result: base only" >&5
9580 echo "${ECHO_T}base only" >&6
9588 if test "$wxUSE_MSW" = 1 ; then
9599 if test "$wxUSE_WINE" = "yes"; then
9606 if test "$wants_win32" = 1 ; then
9609 cat >>confdefs.h <<\_ACEOF
9613 cat >>confdefs.h <<\_ACEOF
9617 cat >>confdefs.h <<\_ACEOF
9618 #define __WINDOWS__ 1
9621 cat >>confdefs.h <<\_ACEOF
9622 #define __GNUWIN32__ 1
9625 cat >>confdefs.h <<\_ACEOF
9629 cat >>confdefs.h <<\_ACEOF
9630 #define WINVER 0x0400
9634 if test "$doesnt_want_win32" = 1 ; then
9639 if test "$USE_UNIX" = 1 ; then
9641 cat >>confdefs.h <<\_ACEOF
9648 cat >confcache <<\_ACEOF
9649 # This file is a shell script that caches the results of configure
9650 # tests run on this system so they can be shared between configure
9651 # scripts and configure runs, see configure's option
--config-cache.
9652 # It is not useful on other systems. If it contains results you don't
9653 # want to keep, you may remove or edit it.
9655 # config.status only pays attention to the cache file if you give it
9656 # the --recheck option to rerun configure.
9658 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9659 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9664 # The following way of writing the cache mishandles newlines in values,
9665 # but we know of no workaround that is simple, portable, and efficient.
9666 # So, don't put newlines in cache variables' values.
9667 # Ultrix sh set writes to stderr and can't be redirected directly,
9668 # and sets the high bit in the cache file unless we assign to the vars.
9671 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9673 # `set' does not quote correctly, so add quotes (double-quote
9674 # substitution turns \\\\ into \\, and sed turns \\ into \).
9677 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9680 # `set' quotes correctly as required by POSIX, so do not add quotes.
9682 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9689 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9691 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9693 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
9694 if test -w $cache_file; then
9695 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9696 cat confcache
>$cache_file
9698 echo "not updating unwritable cache $cache_file"
9703 if test "$build" != "$host" ; then
9704 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
9708 RANLIB
=$host_alias-ranlib
9709 DLLTOOL
=$host_alias-dlltool
9710 RESCOMP
=$host_alias-windres
9713 STRIP
=$host_alias-strip
9715 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
9716 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
9717 { (exit 1); exit 1; }; }
9723 ac_cpp
='$CPP $CPPFLAGS'
9724 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9725 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9726 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9727 if test -n "$ac_tool_prefix"; then
9728 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9729 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
9730 echo "$as_me:$LINENO: checking for $ac_word" >&5
9731 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9732 if test "${ac_cv_prog_CC+set}" = set; then
9733 echo $ECHO_N "(cached) $ECHO_C" >&6
9735 if test -n "$CC"; then
9736 ac_cv_prog_CC
="$CC" # Let the user override the test.
9738 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9742 test -z "$as_dir" && as_dir
=.
9743 for ac_exec_ext
in '' $ac_executable_extensions; do
9744 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9745 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
9746 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9755 if test -n "$CC"; then
9756 echo "$as_me:$LINENO: result: $CC" >&5
9757 echo "${ECHO_T}$CC" >&6
9759 echo "$as_me:$LINENO: result: no" >&5
9760 echo "${ECHO_T}no" >&6
9764 if test -z "$ac_cv_prog_CC"; then
9766 # Extract the first word of "gcc", so it can be a program name with args.
9767 set dummy gcc
; ac_word
=$2
9768 echo "$as_me:$LINENO: checking for $ac_word" >&5
9769 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9770 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9771 echo $ECHO_N "(cached) $ECHO_C" >&6
9773 if test -n "$ac_ct_CC"; then
9774 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
9776 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9780 test -z "$as_dir" && as_dir
=.
9781 for ac_exec_ext
in '' $ac_executable_extensions; do
9782 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9783 ac_cv_prog_ac_ct_CC
="gcc"
9784 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9792 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
9793 if test -n "$ac_ct_CC"; then
9794 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9795 echo "${ECHO_T}$ac_ct_CC" >&6
9797 echo "$as_me:$LINENO: result: no" >&5
9798 echo "${ECHO_T}no" >&6
9806 if test -z "$CC"; then
9807 if test -n "$ac_tool_prefix"; then
9808 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
9809 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
9810 echo "$as_me:$LINENO: checking for $ac_word" >&5
9811 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9812 if test "${ac_cv_prog_CC+set}" = set; then
9813 echo $ECHO_N "(cached) $ECHO_C" >&6
9815 if test -n "$CC"; then
9816 ac_cv_prog_CC
="$CC" # Let the user override the test.
9818 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9822 test -z "$as_dir" && as_dir
=.
9823 for ac_exec_ext
in '' $ac_executable_extensions; do
9824 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9825 ac_cv_prog_CC
="${ac_tool_prefix}cc"
9826 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9835 if test -n "$CC"; then
9836 echo "$as_me:$LINENO: result: $CC" >&5
9837 echo "${ECHO_T}$CC" >&6
9839 echo "$as_me:$LINENO: result: no" >&5
9840 echo "${ECHO_T}no" >&6
9844 if test -z "$ac_cv_prog_CC"; then
9846 # Extract the first word of "cc", so it can be a program name with args.
9847 set dummy cc
; ac_word
=$2
9848 echo "$as_me:$LINENO: checking for $ac_word" >&5
9849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9850 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9851 echo $ECHO_N "(cached) $ECHO_C" >&6
9853 if test -n "$ac_ct_CC"; then
9854 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
9856 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9860 test -z "$as_dir" && as_dir
=.
9861 for ac_exec_ext
in '' $ac_executable_extensions; do
9862 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9863 ac_cv_prog_ac_ct_CC
="cc"
9864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9872 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
9873 if test -n "$ac_ct_CC"; then
9874 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9875 echo "${ECHO_T}$ac_ct_CC" >&6
9877 echo "$as_me:$LINENO: result: no" >&5
9878 echo "${ECHO_T}no" >&6
9887 if test -z "$CC"; then
9888 # Extract the first word of "cc", so it can be a program name with args.
9889 set dummy cc
; ac_word
=$2
9890 echo "$as_me:$LINENO: checking for $ac_word" >&5
9891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9892 if test "${ac_cv_prog_CC+set}" = set; then
9893 echo $ECHO_N "(cached) $ECHO_C" >&6
9895 if test -n "$CC"; then
9896 ac_cv_prog_CC
="$CC" # Let the user override the test.
9899 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9903 test -z "$as_dir" && as_dir
=.
9904 for ac_exec_ext
in '' $ac_executable_extensions; do
9905 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9906 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
9907 ac_prog_rejected
=yes
9911 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9917 if test $ac_prog_rejected = yes; then
9918 # We found a bogon in the path, so make sure we never use it.
9919 set dummy
$ac_cv_prog_CC
9921 if test $# != 0; then
9922 # We chose a different compiler from the bogus one.
9923 # However, it has the same basename, so the bogon will be chosen
9924 # first if we set CC to just the basename; use the full file name.
9926 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
9932 if test -n "$CC"; then
9933 echo "$as_me:$LINENO: result: $CC" >&5
9934 echo "${ECHO_T}$CC" >&6
9936 echo "$as_me:$LINENO: result: no" >&5
9937 echo "${ECHO_T}no" >&6
9941 if test -z "$CC"; then
9942 if test -n "$ac_tool_prefix"; then
9945 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9946 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
9947 echo "$as_me:$LINENO: checking for $ac_word" >&5
9948 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9949 if test "${ac_cv_prog_CC+set}" = set; then
9950 echo $ECHO_N "(cached) $ECHO_C" >&6
9952 if test -n "$CC"; then
9953 ac_cv_prog_CC
="$CC" # Let the user override the test.
9955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9959 test -z "$as_dir" && as_dir
=.
9960 for ac_exec_ext
in '' $ac_executable_extensions; do
9961 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9962 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
9963 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9972 if test -n "$CC"; then
9973 echo "$as_me:$LINENO: result: $CC" >&5
9974 echo "${ECHO_T}$CC" >&6
9976 echo "$as_me:$LINENO: result: no" >&5
9977 echo "${ECHO_T}no" >&6
9980 test -n "$CC" && break
9983 if test -z "$CC"; then
9987 # Extract the first word of "$ac_prog", so it can be a program name with args.
9988 set dummy
$ac_prog; ac_word
=$2
9989 echo "$as_me:$LINENO: checking for $ac_word" >&5
9990 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9991 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9992 echo $ECHO_N "(cached) $ECHO_C" >&6
9994 if test -n "$ac_ct_CC"; then
9995 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
9997 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10001 test -z "$as_dir" && as_dir
=.
10002 for ac_exec_ext
in '' $ac_executable_extensions; do
10003 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10004 ac_cv_prog_ac_ct_CC
="$ac_prog"
10005 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10013 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10014 if test -n "$ac_ct_CC"; then
10015 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10016 echo "${ECHO_T}$ac_ct_CC" >&6
10018 echo "$as_me:$LINENO: result: no" >&5
10019 echo "${ECHO_T}no" >&6
10022 test -n "$ac_ct_CC" && break
10031 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10032 See \`config.log' for more details." >&5
10033 echo "$as_me: error: no acceptable C compiler found in \$PATH
10034 See \`config.log' for more details." >&2;}
10035 { (exit 1); exit 1; }; }
10037 # Provide some information about the compiler.
10038 echo "$as_me:$LINENO:" \
10039 "checking for C compiler version" >&5
10040 ac_compiler
=`set X $ac_compile; echo $2`
10041 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10042 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10045 (exit $ac_status); }
10046 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10047 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10050 (exit $ac_status); }
10051 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10052 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10055 (exit $ac_status); }
10057 cat >conftest.
$ac_ext <<_ACEOF
10058 #line $LINENO "configure"
10061 cat confdefs.h
>>conftest.
$ac_ext
10062 cat >>conftest.
$ac_ext <<_ACEOF
10063 /* end confdefs.h. */
10073 ac_clean_files_save
=$ac_clean_files
10074 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
10075 # Try to create an executable without -o first, disregard a.out.
10076 # It will help us diagnose broken compilers, and finding out an intuition
10078 echo "$as_me:$LINENO: checking for C compiler default output" >&5
10079 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
10080 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10081 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10082 (eval $ac_link_default) 2>&5
10084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10085 (exit $ac_status); }; then
10086 # Find the output, starting from the most likely. This scheme is
10087 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10090 # Be careful to initialize this variable, since it used to be cached.
10091 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10093 # b.out is created by i960 compilers.
10094 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10096 test -f "$ac_file" || continue
10098 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10101 # This is the source file.
10104 # We found the default executable, but exeext='' is most
10108 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10109 # FIXME: I believe we export ac_cv_exeext for Libtool,
10110 # but it would be cool to find out if it's true. Does anybody
10111 # maintain Libtool? --akim.
10112 export ac_cv_exeext
10119 echo "$as_me: failed program was:" >&5
10120 sed 's/^/| /' conftest.
$ac_ext >&5
10122 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10123 See \`config.log' for more details." >&5
10124 echo "$as_me: error: C compiler cannot create executables
10125 See \`config.log' for more details." >&2;}
10126 { (exit 77); exit 77; }; }
10129 ac_exeext
=$ac_cv_exeext
10130 echo "$as_me:$LINENO: result: $ac_file" >&5
10131 echo "${ECHO_T}$ac_file" >&6
10133 # Check the compiler produces executables we can run. If not, either
10134 # the compiler is broken, or we cross compile.
10135 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10136 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10137 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10138 # If not cross compiling, check that we can run a simple program.
10139 if test "$cross_compiling" != yes; then
10140 if { ac_try
='./$ac_file'
10141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10142 (eval $ac_try) 2>&5
10144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10145 (exit $ac_status); }; }; then
10148 if test "$cross_compiling" = maybe
; then
10149 cross_compiling
=yes
10151 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10152 If you meant to cross compile, use \`--host'.
10153 See \`config.log' for more details." >&5
10154 echo "$as_me: error: cannot run C compiled programs.
10155 If you meant to cross compile, use \`--host'.
10156 See \`config.log' for more details." >&2;}
10157 { (exit 1); exit 1; }; }
10161 echo "$as_me:$LINENO: result: yes" >&5
10162 echo "${ECHO_T}yes" >&6
10164 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
10165 ac_clean_files
=$ac_clean_files_save
10166 # Check the compiler produces executables we can run. If not, either
10167 # the compiler is broken, or we cross compile.
10168 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10169 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10170 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10171 echo "${ECHO_T}$cross_compiling" >&6
10173 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10174 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10176 (eval $ac_link) 2>&5
10178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10179 (exit $ac_status); }; then
10180 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10181 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10182 # work properly (i.e., refer to `conftest.exe'), while it won't with
10184 for ac_file
in conftest.exe conftest conftest.
*; do
10185 test -f "$ac_file" || continue
10187 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
10188 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10189 export ac_cv_exeext
10195 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10196 See \`config.log' for more details." >&5
10197 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10198 See \`config.log' for more details." >&2;}
10199 { (exit 1); exit 1; }; }
10202 rm -f conftest
$ac_cv_exeext
10203 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10204 echo "${ECHO_T}$ac_cv_exeext" >&6
10206 rm -f conftest.
$ac_ext
10207 EXEEXT
=$ac_cv_exeext
10209 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10210 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10211 if test "${ac_cv_objext+set}" = set; then
10212 echo $ECHO_N "(cached) $ECHO_C" >&6
10214 cat >conftest.
$ac_ext <<_ACEOF
10215 #line $LINENO "configure"
10218 cat confdefs.h
>>conftest.
$ac_ext
10219 cat >>conftest.
$ac_ext <<_ACEOF
10220 /* end confdefs.h. */
10230 rm -f conftest.o conftest.obj
10231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10232 (eval $ac_compile) 2>&5
10234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10235 (exit $ac_status); }; then
10236 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10238 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
10239 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
10244 echo "$as_me: failed program was:" >&5
10245 sed 's/^/| /' conftest.
$ac_ext >&5
10247 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10248 See \`config.log' for more details." >&5
10249 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10250 See \`config.log' for more details." >&2;}
10251 { (exit 1); exit 1; }; }
10254 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
10256 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10257 echo "${ECHO_T}$ac_cv_objext" >&6
10258 OBJEXT
=$ac_cv_objext
10260 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10261 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10262 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10263 echo $ECHO_N "(cached) $ECHO_C" >&6
10265 cat >conftest.
$ac_ext <<_ACEOF
10266 #line $LINENO "configure"
10269 cat confdefs.h
>>conftest.
$ac_ext
10270 cat >>conftest.
$ac_ext <<_ACEOF
10271 /* end confdefs.h. */
10284 rm -f conftest.
$ac_objext
10285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10286 (eval $ac_compile) 2>&5
10288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10289 (exit $ac_status); } &&
10290 { ac_try
='test -s conftest.$ac_objext'
10291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10292 (eval $ac_try) 2>&5
10294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10295 (exit $ac_status); }; }; then
10296 ac_compiler_gnu
=yes
10298 echo "$as_me: failed program was:" >&5
10299 sed 's/^/| /' conftest.
$ac_ext >&5
10303 rm -f conftest.
$ac_objext conftest.
$ac_ext
10304 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
10307 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10308 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10309 GCC
=`test $ac_compiler_gnu = yes && echo yes`
10310 ac_test_CFLAGS
=${CFLAGS+set}
10311 ac_save_CFLAGS
=$CFLAGS
10313 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10314 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10315 if test "${ac_cv_prog_cc_g+set}" = set; then
10316 echo $ECHO_N "(cached) $ECHO_C" >&6
10318 cat >conftest.
$ac_ext <<_ACEOF
10319 #line $LINENO "configure"
10322 cat confdefs.h
>>conftest.
$ac_ext
10323 cat >>conftest.
$ac_ext <<_ACEOF
10324 /* end confdefs.h. */
10334 rm -f conftest.
$ac_objext
10335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10336 (eval $ac_compile) 2>&5
10338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10339 (exit $ac_status); } &&
10340 { ac_try
='test -s conftest.$ac_objext'
10341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10342 (eval $ac_try) 2>&5
10344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10345 (exit $ac_status); }; }; then
10346 ac_cv_prog_cc_g
=yes
10348 echo "$as_me: failed program was:" >&5
10349 sed 's/^/| /' conftest.
$ac_ext >&5
10353 rm -f conftest.
$ac_objext conftest.
$ac_ext
10355 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10356 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10357 if test "$ac_test_CFLAGS" = set; then
10358 CFLAGS
=$ac_save_CFLAGS
10359 elif test $ac_cv_prog_cc_g = yes; then
10360 if test "$GCC" = yes; then
10366 if test "$GCC" = yes; then
10372 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10373 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10374 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10375 echo $ECHO_N "(cached) $ECHO_C" >&6
10377 ac_cv_prog_cc_stdc
=no
10379 cat >conftest.
$ac_ext <<_ACEOF
10380 #line $LINENO "configure"
10383 cat confdefs.h
>>conftest.
$ac_ext
10384 cat >>conftest.
$ac_ext <<_ACEOF
10385 /* end confdefs.h. */
10386 #include <stdarg.h>
10388 #include <sys/types.h>
10389 #include <sys/stat.h>
10390 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10391 struct buf { int x; };
10392 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10393 static char *e (p, i)
10399 static char *f (char * (*g) (char **, int), char **p, ...)
10404 s = g (p, va_arg (v,int));
10408 int test (int i, double x);
10409 struct s1 {int (*f) (int a);};
10410 struct s2 {int (*f) (double a);};
10411 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10417 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10422 # Don't try gcc -ansi; that turns off useful extensions and
10423 # breaks some systems' header files.
10424 # AIX -qlanglvl=ansi
10425 # Ultrix and OSF/1 -std1
10426 # HP-UX 10.20 and later -Ae
10427 # HP-UX older versions -Aa -D_HPUX_SOURCE
10428 # SVR4 -Xc -D__EXTENSIONS__
10429 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10431 CC
="$ac_save_CC $ac_arg"
10432 rm -f conftest.
$ac_objext
10433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10434 (eval $ac_compile) 2>&5
10436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10437 (exit $ac_status); } &&
10438 { ac_try
='test -s conftest.$ac_objext'
10439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10440 (eval $ac_try) 2>&5
10442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10443 (exit $ac_status); }; }; then
10444 ac_cv_prog_cc_stdc
=$ac_arg
10447 echo "$as_me: failed program was:" >&5
10448 sed 's/^/| /' conftest.
$ac_ext >&5
10451 rm -f conftest.
$ac_objext
10453 rm -f conftest.
$ac_ext conftest.
$ac_objext
10458 case "x$ac_cv_prog_cc_stdc" in
10460 echo "$as_me:$LINENO: result: none needed" >&5
10461 echo "${ECHO_T}none needed" >&6 ;;
10463 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10464 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10465 CC
="$CC $ac_cv_prog_cc_stdc" ;;
10468 # Some people use a C++ compiler to compile C. Since we use `exit',
10469 # in C++ we need to declare it. In case someone uses the same compiler
10470 # for both compiling C and C++ we need to have the C++ compiler decide
10471 # the declaration of exit, since it's the most demanding environment.
10472 cat >conftest.
$ac_ext <<_ACEOF
10473 #ifndef __cplusplus
10477 rm -f conftest.
$ac_objext
10478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10479 (eval $ac_compile) 2>&5
10481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10482 (exit $ac_status); } &&
10483 { ac_try
='test -s conftest.$ac_objext'
10484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10485 (eval $ac_try) 2>&5
10487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10488 (exit $ac_status); }; }; then
10489 for ac_declaration
in \
10491 '#include <stdlib.h>' \
10492 'extern "C" void std::exit (int) throw (); using std::exit;' \
10493 'extern "C" void std::exit (int); using std::exit;' \
10494 'extern "C" void exit (int) throw ();' \
10495 'extern "C" void exit (int);' \
10498 cat >conftest.
$ac_ext <<_ACEOF
10499 #line $LINENO "configure"
10502 cat confdefs.h
>>conftest.
$ac_ext
10503 cat >>conftest.
$ac_ext <<_ACEOF
10504 /* end confdefs.h. */
10505 #include <stdlib.h>
10515 rm -f conftest.
$ac_objext
10516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10517 (eval $ac_compile) 2>&5
10519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10520 (exit $ac_status); } &&
10521 { ac_try
='test -s conftest.$ac_objext'
10522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10523 (eval $ac_try) 2>&5
10525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10526 (exit $ac_status); }; }; then
10529 echo "$as_me: failed program was:" >&5
10530 sed 's/^/| /' conftest.
$ac_ext >&5
10534 rm -f conftest.
$ac_objext conftest.
$ac_ext
10535 cat >conftest.
$ac_ext <<_ACEOF
10536 #line $LINENO "configure"
10539 cat confdefs.h
>>conftest.
$ac_ext
10540 cat >>conftest.
$ac_ext <<_ACEOF
10541 /* end confdefs.h. */
10551 rm -f conftest.
$ac_objext
10552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10553 (eval $ac_compile) 2>&5
10555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10556 (exit $ac_status); } &&
10557 { ac_try
='test -s conftest.$ac_objext'
10558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10559 (eval $ac_try) 2>&5
10561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10562 (exit $ac_status); }; }; then
10565 echo "$as_me: failed program was:" >&5
10566 sed 's/^/| /' conftest.
$ac_ext >&5
10569 rm -f conftest.
$ac_objext conftest.
$ac_ext
10572 if test -n "$ac_declaration"; then
10573 echo '#ifdef __cplusplus' >>confdefs.h
10574 echo $ac_declaration >>confdefs.h
10575 echo '#endif' >>confdefs.h
10579 echo "$as_me: failed program was:" >&5
10580 sed 's/^/| /' conftest.
$ac_ext >&5
10583 rm -f conftest.
$ac_objext conftest.
$ac_ext
10585 ac_cpp
='$CPP $CPPFLAGS'
10586 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10587 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10588 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10593 ac_cpp
='$CPP $CPPFLAGS'
10594 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10595 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10596 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10597 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10598 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10599 # On Suns, sometimes $CPP names a directory.
10600 if test -n "$CPP" && test -d "$CPP"; then
10603 if test -z "$CPP"; then
10604 if test "${ac_cv_prog_CPP+set}" = set; then
10605 echo $ECHO_N "(cached) $ECHO_C" >&6
10607 # Double quotes because CPP needs to be expanded
10608 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10610 ac_preproc_ok
=false
10611 for ac_c_preproc_warn_flag
in '' yes
10613 # Use a header file that comes with gcc, so configuring glibc
10614 # with a fresh cross-compiler works.
10615 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10616 # <limits.h> exists even on freestanding compilers.
10617 # On the NeXT, cc -E runs the code through the compiler's parser,
10618 # not just through cpp. "Syntax error" is here to catch this case.
10619 cat >conftest.
$ac_ext <<_ACEOF
10620 #line $LINENO "configure"
10623 cat confdefs.h
>>conftest.
$ac_ext
10624 cat >>conftest.
$ac_ext <<_ACEOF
10625 /* end confdefs.h. */
10627 # include <limits.h>
10629 # include <assert.h>
10633 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10634 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10636 grep -v '^ *+' conftest.er1
>conftest.err
10638 cat conftest.err
>&5
10639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10640 (exit $ac_status); } >/dev
/null
; then
10641 if test -s conftest.err
; then
10642 ac_cpp_err
=$ac_c_preproc_warn_flag
10649 if test -z "$ac_cpp_err"; then
10652 echo "$as_me: failed program was:" >&5
10653 sed 's/^/| /' conftest.
$ac_ext >&5
10655 # Broken: fails on valid input.
10658 rm -f conftest.err conftest.
$ac_ext
10660 # OK, works on sane cases. Now check whether non-existent headers
10661 # can be detected and how.
10662 cat >conftest.
$ac_ext <<_ACEOF
10663 #line $LINENO "configure"
10666 cat confdefs.h
>>conftest.
$ac_ext
10667 cat >>conftest.
$ac_ext <<_ACEOF
10668 /* end confdefs.h. */
10669 #include <ac_nonexistent.h>
10671 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10672 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10674 grep -v '^ *+' conftest.er1
>conftest.err
10676 cat conftest.err
>&5
10677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10678 (exit $ac_status); } >/dev
/null
; then
10679 if test -s conftest.err
; then
10680 ac_cpp_err
=$ac_c_preproc_warn_flag
10687 if test -z "$ac_cpp_err"; then
10688 # Broken: success on invalid input.
10691 echo "$as_me: failed program was:" >&5
10692 sed 's/^/| /' conftest.
$ac_ext >&5
10694 # Passes both tests.
10698 rm -f conftest.err conftest.
$ac_ext
10701 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10702 rm -f conftest.err conftest.
$ac_ext
10703 if $ac_preproc_ok; then
10708 ac_cv_prog_CPP
=$CPP
10711 CPP
=$ac_cv_prog_CPP
10713 ac_cv_prog_CPP
=$CPP
10715 echo "$as_me:$LINENO: result: $CPP" >&5
10716 echo "${ECHO_T}$CPP" >&6
10717 ac_preproc_ok
=false
10718 for ac_c_preproc_warn_flag
in '' yes
10720 # Use a header file that comes with gcc, so configuring glibc
10721 # with a fresh cross-compiler works.
10722 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10723 # <limits.h> exists even on freestanding compilers.
10724 # On the NeXT, cc -E runs the code through the compiler's parser,
10725 # not just through cpp. "Syntax error" is here to catch this case.
10726 cat >conftest.
$ac_ext <<_ACEOF
10727 #line $LINENO "configure"
10730 cat confdefs.h
>>conftest.
$ac_ext
10731 cat >>conftest.
$ac_ext <<_ACEOF
10732 /* end confdefs.h. */
10734 # include <limits.h>
10736 # include <assert.h>
10740 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10741 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10743 grep -v '^ *+' conftest.er1
>conftest.err
10745 cat conftest.err
>&5
10746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10747 (exit $ac_status); } >/dev
/null
; then
10748 if test -s conftest.err
; then
10749 ac_cpp_err
=$ac_c_preproc_warn_flag
10756 if test -z "$ac_cpp_err"; then
10759 echo "$as_me: failed program was:" >&5
10760 sed 's/^/| /' conftest.
$ac_ext >&5
10762 # Broken: fails on valid input.
10765 rm -f conftest.err conftest.
$ac_ext
10767 # OK, works on sane cases. Now check whether non-existent headers
10768 # can be detected and how.
10769 cat >conftest.
$ac_ext <<_ACEOF
10770 #line $LINENO "configure"
10773 cat confdefs.h
>>conftest.
$ac_ext
10774 cat >>conftest.
$ac_ext <<_ACEOF
10775 /* end confdefs.h. */
10776 #include <ac_nonexistent.h>
10778 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10779 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10781 grep -v '^ *+' conftest.er1
>conftest.err
10783 cat conftest.err
>&5
10784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10785 (exit $ac_status); } >/dev
/null
; then
10786 if test -s conftest.err
; then
10787 ac_cpp_err
=$ac_c_preproc_warn_flag
10794 if test -z "$ac_cpp_err"; then
10795 # Broken: success on invalid input.
10798 echo "$as_me: failed program was:" >&5
10799 sed 's/^/| /' conftest.
$ac_ext >&5
10801 # Passes both tests.
10805 rm -f conftest.err conftest.
$ac_ext
10808 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10809 rm -f conftest.err conftest.
$ac_ext
10810 if $ac_preproc_ok; then
10813 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
10814 See \`config.log' for more details." >&5
10815 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
10816 See \`config.log' for more details." >&2;}
10817 { (exit 1); exit 1; }; }
10821 ac_cpp
='$CPP $CPPFLAGS'
10822 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10823 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10824 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10827 echo "$as_me:$LINENO: checking for egrep" >&5
10828 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
10829 if test "${ac_cv_prog_egrep+set}" = set; then
10830 echo $ECHO_N "(cached) $ECHO_C" >&6
10832 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
10833 then ac_cv_prog_egrep
='grep -E'
10834 else ac_cv_prog_egrep
='egrep'
10837 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
10838 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
10839 EGREP
=$ac_cv_prog_egrep
10842 if test $ac_cv_c_compiler_gnu = yes; then
10843 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
10844 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
10845 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
10846 echo $ECHO_N "(cached) $ECHO_C" >&6
10848 ac_pattern
="Autoconf.*'x'"
10849 cat >conftest.
$ac_ext <<_ACEOF
10850 #line $LINENO "configure"
10853 cat confdefs.h
>>conftest.
$ac_ext
10854 cat >>conftest.
$ac_ext <<_ACEOF
10855 /* end confdefs.h. */
10859 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10860 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
10861 ac_cv_prog_gcc_traditional
=yes
10863 ac_cv_prog_gcc_traditional
=no
10868 if test $ac_cv_prog_gcc_traditional = no
; then
10869 cat >conftest.
$ac_ext <<_ACEOF
10870 #line $LINENO "configure"
10873 cat confdefs.h
>>conftest.
$ac_ext
10874 cat >>conftest.
$ac_ext <<_ACEOF
10875 /* end confdefs.h. */
10876 #include <termio.h>
10879 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10880 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
10881 ac_cv_prog_gcc_traditional
=yes
10887 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
10888 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
10889 if test $ac_cv_prog_gcc_traditional = yes; then
10890 CC
="$CC -traditional"
10898 ac_cpp
='$CXXCPP $CPPFLAGS'
10899 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10900 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10901 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10904 CXXFLAGS
=${CXXFLAGS:=}
10906 ac_cpp
='$CXXCPP $CPPFLAGS'
10907 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10908 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10909 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10910 if test -n "$ac_tool_prefix"; then
10911 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
10913 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10914 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10915 echo "$as_me:$LINENO: checking for $ac_word" >&5
10916 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10917 if test "${ac_cv_prog_CXX+set}" = set; then
10918 echo $ECHO_N "(cached) $ECHO_C" >&6
10920 if test -n "$CXX"; then
10921 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
10923 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10924 for as_dir
in $PATH
10927 test -z "$as_dir" && as_dir
=.
10928 for ac_exec_ext
in '' $ac_executable_extensions; do
10929 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10930 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
10931 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10939 CXX
=$ac_cv_prog_CXX
10940 if test -n "$CXX"; then
10941 echo "$as_me:$LINENO: result: $CXX" >&5
10942 echo "${ECHO_T}$CXX" >&6
10944 echo "$as_me:$LINENO: result: no" >&5
10945 echo "${ECHO_T}no" >&6
10948 test -n "$CXX" && break
10951 if test -z "$CXX"; then
10953 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
10955 # Extract the first word of "$ac_prog", so it can be a program name with args.
10956 set dummy
$ac_prog; ac_word
=$2
10957 echo "$as_me:$LINENO: checking for $ac_word" >&5
10958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10959 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
10960 echo $ECHO_N "(cached) $ECHO_C" >&6
10962 if test -n "$ac_ct_CXX"; then
10963 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
10965 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10966 for as_dir
in $PATH
10969 test -z "$as_dir" && as_dir
=.
10970 for ac_exec_ext
in '' $ac_executable_extensions; do
10971 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10972 ac_cv_prog_ac_ct_CXX
="$ac_prog"
10973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10981 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
10982 if test -n "$ac_ct_CXX"; then
10983 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
10984 echo "${ECHO_T}$ac_ct_CXX" >&6
10986 echo "$as_me:$LINENO: result: no" >&5
10987 echo "${ECHO_T}no" >&6
10990 test -n "$ac_ct_CXX" && break
10992 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
10998 # Provide some information about the compiler.
10999 echo "$as_me:$LINENO:" \
11000 "checking for C++ compiler version" >&5
11001 ac_compiler
=`set X $ac_compile; echo $2`
11002 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11003 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11006 (exit $ac_status); }
11007 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11008 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11011 (exit $ac_status); }
11012 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11013 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11016 (exit $ac_status); }
11018 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11019 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11020 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11021 echo $ECHO_N "(cached) $ECHO_C" >&6
11023 cat >conftest.
$ac_ext <<_ACEOF
11024 #line $LINENO "configure"
11027 cat confdefs.h
>>conftest.
$ac_ext
11028 cat >>conftest.
$ac_ext <<_ACEOF
11029 /* end confdefs.h. */
11042 rm -f conftest.
$ac_objext
11043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11044 (eval $ac_compile) 2>&5
11046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11047 (exit $ac_status); } &&
11048 { ac_try
='test -s conftest.$ac_objext'
11049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11050 (eval $ac_try) 2>&5
11052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11053 (exit $ac_status); }; }; then
11054 ac_compiler_gnu
=yes
11056 echo "$as_me: failed program was:" >&5
11057 sed 's/^/| /' conftest.
$ac_ext >&5
11061 rm -f conftest.
$ac_objext conftest.
$ac_ext
11062 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11065 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11066 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11067 GXX
=`test $ac_compiler_gnu = yes && echo yes`
11068 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11069 ac_save_CXXFLAGS
=$CXXFLAGS
11071 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11072 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11073 if test "${ac_cv_prog_cxx_g+set}" = set; then
11074 echo $ECHO_N "(cached) $ECHO_C" >&6
11076 cat >conftest.
$ac_ext <<_ACEOF
11077 #line $LINENO "configure"
11080 cat confdefs.h
>>conftest.
$ac_ext
11081 cat >>conftest.
$ac_ext <<_ACEOF
11082 /* end confdefs.h. */
11092 rm -f conftest.
$ac_objext
11093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11094 (eval $ac_compile) 2>&5
11096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11097 (exit $ac_status); } &&
11098 { ac_try
='test -s conftest.$ac_objext'
11099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11100 (eval $ac_try) 2>&5
11102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11103 (exit $ac_status); }; }; then
11104 ac_cv_prog_cxx_g
=yes
11106 echo "$as_me: failed program was:" >&5
11107 sed 's/^/| /' conftest.
$ac_ext >&5
11109 ac_cv_prog_cxx_g
=no
11111 rm -f conftest.
$ac_objext conftest.
$ac_ext
11113 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11114 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11115 if test "$ac_test_CXXFLAGS" = set; then
11116 CXXFLAGS
=$ac_save_CXXFLAGS
11117 elif test $ac_cv_prog_cxx_g = yes; then
11118 if test "$GXX" = yes; then
11124 if test "$GXX" = yes; then
11130 for ac_declaration
in \
11132 '#include <stdlib.h>' \
11133 'extern "C" void std::exit (int) throw (); using std::exit;' \
11134 'extern "C" void std::exit (int); using std::exit;' \
11135 'extern "C" void exit (int) throw ();' \
11136 'extern "C" void exit (int);' \
11139 cat >conftest.
$ac_ext <<_ACEOF
11140 #line $LINENO "configure"
11143 cat confdefs.h
>>conftest.
$ac_ext
11144 cat >>conftest.
$ac_ext <<_ACEOF
11145 /* end confdefs.h. */
11146 #include <stdlib.h>
11156 rm -f conftest.
$ac_objext
11157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11158 (eval $ac_compile) 2>&5
11160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11161 (exit $ac_status); } &&
11162 { ac_try
='test -s conftest.$ac_objext'
11163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11164 (eval $ac_try) 2>&5
11166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11167 (exit $ac_status); }; }; then
11170 echo "$as_me: failed program was:" >&5
11171 sed 's/^/| /' conftest.
$ac_ext >&5
11175 rm -f conftest.
$ac_objext conftest.
$ac_ext
11176 cat >conftest.
$ac_ext <<_ACEOF
11177 #line $LINENO "configure"
11180 cat confdefs.h
>>conftest.
$ac_ext
11181 cat >>conftest.
$ac_ext <<_ACEOF
11182 /* end confdefs.h. */
11192 rm -f conftest.
$ac_objext
11193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11194 (eval $ac_compile) 2>&5
11196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11197 (exit $ac_status); } &&
11198 { ac_try
='test -s conftest.$ac_objext'
11199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11200 (eval $ac_try) 2>&5
11202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11203 (exit $ac_status); }; }; then
11206 echo "$as_me: failed program was:" >&5
11207 sed 's/^/| /' conftest.
$ac_ext >&5
11210 rm -f conftest.
$ac_objext conftest.
$ac_ext
11213 if test -n "$ac_declaration"; then
11214 echo '#ifdef __cplusplus' >>confdefs.h
11215 echo $ac_declaration >>confdefs.h
11216 echo '#endif' >>confdefs.h
11220 ac_cpp
='$CXXCPP $CPPFLAGS'
11221 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11222 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11223 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11227 ac_cpp
='$CPP $CPPFLAGS'
11228 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11229 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11230 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11233 if test -n "$ac_tool_prefix"; then
11234 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11235 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
11236 echo "$as_me:$LINENO: checking for $ac_word" >&5
11237 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11238 if test "${ac_cv_prog_RANLIB+set}" = set; then
11239 echo $ECHO_N "(cached) $ECHO_C" >&6
11241 if test -n "$RANLIB"; then
11242 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
11244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11245 for as_dir
in $PATH
11248 test -z "$as_dir" && as_dir
=.
11249 for ac_exec_ext
in '' $ac_executable_extensions; do
11250 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11251 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
11252 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11260 RANLIB
=$ac_cv_prog_RANLIB
11261 if test -n "$RANLIB"; then
11262 echo "$as_me:$LINENO: result: $RANLIB" >&5
11263 echo "${ECHO_T}$RANLIB" >&6
11265 echo "$as_me:$LINENO: result: no" >&5
11266 echo "${ECHO_T}no" >&6
11270 if test -z "$ac_cv_prog_RANLIB"; then
11271 ac_ct_RANLIB
=$RANLIB
11272 # Extract the first word of "ranlib", so it can be a program name with args.
11273 set dummy ranlib
; ac_word
=$2
11274 echo "$as_me:$LINENO: checking for $ac_word" >&5
11275 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11276 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11277 echo $ECHO_N "(cached) $ECHO_C" >&6
11279 if test -n "$ac_ct_RANLIB"; then
11280 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
11282 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11283 for as_dir
in $PATH
11286 test -z "$as_dir" && as_dir
=.
11287 for ac_exec_ext
in '' $ac_executable_extensions; do
11288 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11289 ac_cv_prog_ac_ct_RANLIB
="ranlib"
11290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11296 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
11299 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
11300 if test -n "$ac_ct_RANLIB"; then
11301 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11302 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11304 echo "$as_me:$LINENO: result: no" >&5
11305 echo "${ECHO_T}no" >&6
11308 RANLIB
=$ac_ct_RANLIB
11310 RANLIB
="$ac_cv_prog_RANLIB"
11314 # Extract the first word of "ar", so it can be a program name with args.
11315 set dummy
ar; ac_word
=$2
11316 echo "$as_me:$LINENO: checking for $ac_word" >&5
11317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11318 if test "${ac_cv_prog_AR+set}" = set; then
11319 echo $ECHO_N "(cached) $ECHO_C" >&6
11321 if test -n "$AR"; then
11322 ac_cv_prog_AR
="$AR" # Let the user override the test.
11324 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11325 for as_dir
in $PATH
11328 test -z "$as_dir" && as_dir
=.
11329 for ac_exec_ext
in '' $ac_executable_extensions; do
11330 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11332 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11341 if test -n "$AR"; then
11342 echo "$as_me:$LINENO: result: $AR" >&5
11343 echo "${ECHO_T}$AR" >&6
11345 echo "$as_me:$LINENO: result: no" >&5
11346 echo "${ECHO_T}no" >&6
11349 if test "x$AR" = "x" ; then
11350 { { echo "$as_me:$LINENO: error: ar is needed to build wxWindows" >&5
11351 echo "$as_me: error: ar is needed to build wxWindows" >&2;}
11352 { (exit 1); exit 1; }; }
11355 # Find a good install program. We prefer a C program (faster),
11356 # so one script is as good as another. But avoid the broken or
11357 # incompatible versions:
11358 # SysV /etc/install, /usr/sbin/install
11359 # SunOS /usr/etc/install
11360 # IRIX /sbin/install
11362 # AmigaOS /C/install, which installs bootblocks on floppy discs
11363 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11364 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11365 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11366 # ./install, which can be erroneously created by make from ./install.sh.
11367 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11368 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11369 if test -z "$INSTALL"; then
11370 if test "${ac_cv_path_install+set}" = set; then
11371 echo $ECHO_N "(cached) $ECHO_C" >&6
11373 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11374 for as_dir
in $PATH
11377 test -z "$as_dir" && as_dir
=.
11378 # Account for people who put trailing slashes in PATH elements.
11380 .
/ | .
// | /cC
/* | \
11381 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
11384 # OSF1 and SCO ODT 3.0 have their own names for install.
11385 # Don't use installbsd from OSF since it installs stuff as root
11387 for ac_prog
in ginstall scoinst
install; do
11388 for ac_exec_ext
in '' $ac_executable_extensions; do
11389 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11390 if test $ac_prog = install &&
11391 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11392 # AIX install. It has an incompatible calling convention.
11394 elif test $ac_prog = install &&
11395 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11396 # program-specific install script used by HP pwplus--don't use.
11399 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
11411 if test "${ac_cv_path_install+set}" = set; then
11412 INSTALL
=$ac_cv_path_install
11414 # As a last resort, use the slow shell script. We don't cache a
11415 # path for INSTALL within a source directory, because that will
11416 # break other packages using the cache if that directory is
11417 # removed, or if the path is relative.
11418 INSTALL
=$ac_install_sh
11421 echo "$as_me:$LINENO: result: $INSTALL" >&5
11422 echo "${ECHO_T}$INSTALL" >&6
11424 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11425 # It thinks the first close brace ends the variable substitution.
11426 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
11428 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
11430 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
11436 ?
:* ) # Drive letter, considered as absolute.
11439 INSTALL
=`pwd`/${INSTALL} ;;
11444 INSTALL_DIR
="mkdir"
11447 *) INSTALL_DIR
="$INSTALL -d"
11454 powerpc
-*-darwin* )
11455 INSTALL_PROGRAM
="cp -fp"
11456 INSTALL_DATA
="cp -fp"
11462 # Extract the first word of "strip", so it can be a program name with args.
11463 set dummy strip
; ac_word
=$2
11464 echo "$as_me:$LINENO: checking for $ac_word" >&5
11465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11466 if test "${ac_cv_prog_STRIP+set}" = set; then
11467 echo $ECHO_N "(cached) $ECHO_C" >&6
11469 if test -n "$STRIP"; then
11470 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
11472 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11473 for as_dir
in $PATH
11476 test -z "$as_dir" && as_dir
=.
11477 for ac_exec_ext
in '' $ac_executable_extensions; do
11478 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11479 ac_cv_prog_STRIP
="strip"
11480 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11486 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
11489 STRIP
=$ac_cv_prog_STRIP
11490 if test -n "$STRIP"; then
11491 echo "$as_me:$LINENO: result: $STRIP" >&5
11492 echo "${ECHO_T}$STRIP" >&6
11494 echo "$as_me:$LINENO: result: no" >&5
11495 echo "${ECHO_T}no" >&6
11499 echo "$as_me:$LINENO: checking if make is GNU make" >&5
11500 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11501 if test "${wx_cv_prog_makeisgnu+set}" = set; then
11502 echo $ECHO_N "(cached) $ECHO_C" >&6
11505 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
11506 egrep -s GNU
> /dev
/null
); then
11507 wx_cv_prog_makeisgnu
="yes"
11509 wx_cv_prog_makeisgnu
="no"
11513 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11514 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11516 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11524 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11525 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11526 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11527 if test "${wx_cv_prog_makevpath+set}" = set; then
11528 echo $ECHO_N "(cached) $ECHO_C" >&6
11531 cat - << EOF > confMake
11537 if test ! -d sub
; then
11540 echo dummy
> sub
/file
11541 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
11543 rm -f sub
/file check final_file confMake
11545 if test "$RESULT" = 0; then
11546 wx_cv_prog_makevpath
="yes"
11548 wx_cv_prog_makevpath
="no"
11552 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11553 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11555 if test "x$wx_cv_prog_makevpath" != "xyes"; then
11556 { { echo "$as_me:$LINENO: error:
11557 You need a make-utility that is able to use the variable
11559 If your version of make does not support VPATH correctly,
11560 please install GNU-make (possibly as gmake), and start
11561 configure with the following command:
11562 export MAKE=gmake; ./configure for sh-type shells
11563 setenv MAKE gmake; ./configure for csh-type shells
11564 Also please do remember to use gmake in this case every time
11565 you are trying to compile.
11567 echo "$as_me: error:
11568 You need a make-utility that is able to use the variable
11570 If your version of make does not support VPATH correctly,
11571 please install GNU-make (possibly as gmake), and start
11572 configure with the following command:
11573 export MAKE=gmake; ./configure for sh-type shells
11574 setenv MAKE gmake; ./configure for csh-type shells
11575 Also please do remember to use gmake in this case every time
11576 you are trying to compile.
11578 { (exit 1); exit 1; }; }
11580 echo "$as_me:$LINENO: checking whether ln -s works" >&5
11581 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11583 if test "$LN_S" = "ln -s"; then
11584 echo "$as_me:$LINENO: result: yes" >&5
11585 echo "${ECHO_T}yes" >&6
11587 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11588 echo "${ECHO_T}no, using $LN_S" >&6
11593 *-pc-os2_emx | *-pc-os2-emx )
11594 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11595 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11596 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11597 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11598 echo $ECHO_N "(cached) $ECHO_C" >&6
11600 ac_check_lib_save_LIBS
=$LIBS
11601 LIBS
="-lcExt $LIBS"
11602 cat >conftest.
$ac_ext <<_ACEOF
11603 #line $LINENO "configure"
11606 cat confdefs.h
>>conftest.
$ac_ext
11607 cat >>conftest.
$ac_ext <<_ACEOF
11608 /* end confdefs.h. */
11610 /* Override any gcc2 internal prototype to avoid an error. */
11614 /* We use char because int might match the return type of a gcc2
11615 builtin and then its argument prototype would still apply. */
11625 rm -f conftest.
$ac_objext conftest
$ac_exeext
11626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11627 (eval $ac_link) 2>&5
11629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11630 (exit $ac_status); } &&
11631 { ac_try
='test -s conftest$ac_exeext'
11632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11633 (eval $ac_try) 2>&5
11635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11636 (exit $ac_status); }; }; then
11637 ac_cv_lib_cExt_drand48
=yes
11639 echo "$as_me: failed program was:" >&5
11640 sed 's/^/| /' conftest.
$ac_ext >&5
11642 ac_cv_lib_cExt_drand48
=no
11644 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11645 LIBS
=$ac_check_lib_save_LIBS
11647 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
11648 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
11649 if test $ac_cv_lib_cExt_drand48 = yes; then
11650 LIBS
="$LIBS -lcExt"
11654 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
11660 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
11661 echo "$as_me:$LINENO: checking for strings.h" >&5
11662 echo $ECHO_N "checking for strings.h... $ECHO_C" >&6
11663 if test "${ac_cv_header_strings_h+set}" = set; then
11664 echo $ECHO_N "(cached) $ECHO_C" >&6
11666 ac_cv_header_strings_h
=no
11668 echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5
11669 echo "${ECHO_T}$ac_cv_header_strings_h" >&6
11670 if test "$ac_cv_header_strings_h" = "no"; then
11671 echo "$as_me:$LINENO: result: forced no into cache" >&5
11672 echo "${ECHO_T}forced no into cache" >&6
11674 { echo "$as_me:$LINENO: WARNING: strings.h is not compatible with Mac OS X" >&5
11675 echo "$as_me: WARNING: strings.h is not compatible with Mac OS X" >&2;}
11678 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11679 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11680 if test "${ac_cv_header_stdc+set}" = set; then
11681 echo $ECHO_N "(cached) $ECHO_C" >&6
11683 cat >conftest.
$ac_ext <<_ACEOF
11684 #line $LINENO "configure"
11687 cat confdefs.h
>>conftest.
$ac_ext
11688 cat >>conftest.
$ac_ext <<_ACEOF
11689 /* end confdefs.h. */
11690 #include <stdlib.h>
11691 #include <stdarg.h>
11692 #include <string.h>
11703 rm -f conftest.
$ac_objext
11704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11705 (eval $ac_compile) 2>&5
11707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11708 (exit $ac_status); } &&
11709 { ac_try
='test -s conftest.$ac_objext'
11710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11711 (eval $ac_try) 2>&5
11713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11714 (exit $ac_status); }; }; then
11715 ac_cv_header_stdc
=yes
11717 echo "$as_me: failed program was:" >&5
11718 sed 's/^/| /' conftest.
$ac_ext >&5
11720 ac_cv_header_stdc
=no
11722 rm -f conftest.
$ac_objext conftest.
$ac_ext
11724 if test $ac_cv_header_stdc = yes; then
11725 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11726 cat >conftest.
$ac_ext <<_ACEOF
11727 #line $LINENO "configure"
11730 cat confdefs.h
>>conftest.
$ac_ext
11731 cat >>conftest.
$ac_ext <<_ACEOF
11732 /* end confdefs.h. */
11733 #include <string.h>
11736 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11737 $EGREP "memchr" >/dev
/null
2>&1; then
11740 ac_cv_header_stdc
=no
11746 if test $ac_cv_header_stdc = yes; then
11747 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11748 cat >conftest.
$ac_ext <<_ACEOF
11749 #line $LINENO "configure"
11752 cat confdefs.h
>>conftest.
$ac_ext
11753 cat >>conftest.
$ac_ext <<_ACEOF
11754 /* end confdefs.h. */
11755 #include <stdlib.h>
11758 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11759 $EGREP "free" >/dev
/null
2>&1; then
11762 ac_cv_header_stdc
=no
11768 if test $ac_cv_header_stdc = yes; then
11769 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11770 if test "$cross_compiling" = yes; then
11773 cat >conftest.
$ac_ext <<_ACEOF
11774 #line $LINENO "configure"
11777 cat confdefs.h
>>conftest.
$ac_ext
11778 cat >>conftest.
$ac_ext <<_ACEOF
11779 /* end confdefs.h. */
11781 #if ((' ' & 0x0FF) == 0x020)
11782 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11783 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11785 # define ISLOWER(c) \
11786 (('a' <= (c) && (c) <= 'i') \
11787 || ('j' <= (c) && (c) <= 'r') \
11788 || ('s' <= (c) && (c) <= 'z'))
11789 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11792 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11797 for (i = 0; i < 256; i++)
11798 if (XOR (islower (i), ISLOWER (i))
11799 || toupper (i) != TOUPPER (i))
11804 rm -f conftest
$ac_exeext
11805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11806 (eval $ac_link) 2>&5
11808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11809 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11811 (eval $ac_try) 2>&5
11813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11814 (exit $ac_status); }; }; then
11817 echo "$as_me: program exited with status $ac_status" >&5
11818 echo "$as_me: failed program was:" >&5
11819 sed 's/^/| /' conftest.
$ac_ext >&5
11821 ( exit $ac_status )
11822 ac_cv_header_stdc
=no
11824 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11828 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
11829 echo "${ECHO_T}$ac_cv_header_stdc" >&6
11830 if test $ac_cv_header_stdc = yes; then
11832 cat >>confdefs.h
<<\_ACEOF
11833 #define STDC_HEADERS 1
11838 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
11848 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
11849 inttypes.h stdint.h unistd.h
11851 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11852 echo "$as_me:$LINENO: checking for $ac_header" >&5
11853 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11854 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11855 echo $ECHO_N "(cached) $ECHO_C" >&6
11857 cat >conftest.
$ac_ext <<_ACEOF
11858 #line $LINENO "configure"
11861 cat confdefs.h
>>conftest.
$ac_ext
11862 cat >>conftest.
$ac_ext <<_ACEOF
11863 /* end confdefs.h. */
11864 $ac_includes_default
11866 #include <$ac_header>
11868 rm -f conftest.
$ac_objext
11869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11870 (eval $ac_compile) 2>&5
11872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11873 (exit $ac_status); } &&
11874 { ac_try
='test -s conftest.$ac_objext'
11875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11876 (eval $ac_try) 2>&5
11878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11879 (exit $ac_status); }; }; then
11880 eval "$as_ac_Header=yes"
11882 echo "$as_me: failed program was:" >&5
11883 sed 's/^/| /' conftest.
$ac_ext >&5
11885 eval "$as_ac_Header=no"
11887 rm -f conftest.
$ac_objext conftest.
$ac_ext
11889 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11890 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11891 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11892 cat >>confdefs.h
<<_ACEOF
11893 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11902 for ac_header
in strings.h
11904 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11905 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11906 echo "$as_me:$LINENO: checking for $ac_header" >&5
11907 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11908 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11909 echo $ECHO_N "(cached) $ECHO_C" >&6
11911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11912 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11914 # Is the header compilable?
11915 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11916 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11917 cat >conftest.
$ac_ext <<_ACEOF
11918 #line $LINENO "configure"
11921 cat confdefs.h
>>conftest.
$ac_ext
11922 cat >>conftest.
$ac_ext <<_ACEOF
11923 /* end confdefs.h. */
11924 $ac_includes_default
11925 #include <$ac_header>
11927 rm -f conftest.
$ac_objext
11928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11929 (eval $ac_compile) 2>&5
11931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11932 (exit $ac_status); } &&
11933 { ac_try
='test -s conftest.$ac_objext'
11934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11935 (eval $ac_try) 2>&5
11937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11938 (exit $ac_status); }; }; then
11939 ac_header_compiler
=yes
11941 echo "$as_me: failed program was:" >&5
11942 sed 's/^/| /' conftest.
$ac_ext >&5
11944 ac_header_compiler
=no
11946 rm -f conftest.
$ac_objext conftest.
$ac_ext
11947 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11948 echo "${ECHO_T}$ac_header_compiler" >&6
11950 # Is the header present?
11951 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11952 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11953 cat >conftest.
$ac_ext <<_ACEOF
11954 #line $LINENO "configure"
11957 cat confdefs.h
>>conftest.
$ac_ext
11958 cat >>conftest.
$ac_ext <<_ACEOF
11959 /* end confdefs.h. */
11960 #include <$ac_header>
11962 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11963 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11965 grep -v '^ *+' conftest.er1
>conftest.err
11967 cat conftest.err
>&5
11968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11969 (exit $ac_status); } >/dev
/null
; then
11970 if test -s conftest.err
; then
11971 ac_cpp_err
=$ac_c_preproc_warn_flag
11978 if test -z "$ac_cpp_err"; then
11979 ac_header_preproc
=yes
11981 echo "$as_me: failed program was:" >&5
11982 sed 's/^/| /' conftest.
$ac_ext >&5
11984 ac_header_preproc
=no
11986 rm -f conftest.err conftest.
$ac_ext
11987 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11988 echo "${ECHO_T}$ac_header_preproc" >&6
11990 # So? What about this header?
11991 case $ac_header_compiler:$ac_header_preproc in
11993 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11994 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11995 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11996 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11999 ## ------------------------------------ ##
12000 ## Report this to bug-autoconf@gnu.org. ##
12001 ## ------------------------------------ ##
12004 sed "s/^/$as_me: WARNING: /" >&2
12007 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12008 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12009 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12010 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12011 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12012 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12015 ## ------------------------------------ ##
12016 ## Report this to bug-autoconf@gnu.org. ##
12017 ## ------------------------------------ ##
12020 sed "s/^/$as_me: WARNING: /" >&2
12023 echo "$as_me:$LINENO: checking for $ac_header" >&5
12024 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12025 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12026 echo $ECHO_N "(cached) $ECHO_C" >&6
12028 eval "$as_ac_Header=$ac_header_preproc"
12030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12031 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12034 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12035 cat >>confdefs.h
<<_ACEOF
12036 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12045 for ac_header
in stdlib.h
12047 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12048 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12049 echo "$as_me:$LINENO: checking for $ac_header" >&5
12050 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12051 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12052 echo $ECHO_N "(cached) $ECHO_C" >&6
12054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12055 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12057 # Is the header compilable?
12058 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12059 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12060 cat >conftest.
$ac_ext <<_ACEOF
12061 #line $LINENO "configure"
12064 cat confdefs.h
>>conftest.
$ac_ext
12065 cat >>conftest.
$ac_ext <<_ACEOF
12066 /* end confdefs.h. */
12067 $ac_includes_default
12068 #include <$ac_header>
12070 rm -f conftest.
$ac_objext
12071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12072 (eval $ac_compile) 2>&5
12074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12075 (exit $ac_status); } &&
12076 { ac_try
='test -s conftest.$ac_objext'
12077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12078 (eval $ac_try) 2>&5
12080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12081 (exit $ac_status); }; }; then
12082 ac_header_compiler
=yes
12084 echo "$as_me: failed program was:" >&5
12085 sed 's/^/| /' conftest.
$ac_ext >&5
12087 ac_header_compiler
=no
12089 rm -f conftest.
$ac_objext conftest.
$ac_ext
12090 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12091 echo "${ECHO_T}$ac_header_compiler" >&6
12093 # Is the header present?
12094 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12095 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12096 cat >conftest.
$ac_ext <<_ACEOF
12097 #line $LINENO "configure"
12100 cat confdefs.h
>>conftest.
$ac_ext
12101 cat >>conftest.
$ac_ext <<_ACEOF
12102 /* end confdefs.h. */
12103 #include <$ac_header>
12105 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12106 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12108 grep -v '^ *+' conftest.er1
>conftest.err
12110 cat conftest.err
>&5
12111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12112 (exit $ac_status); } >/dev
/null
; then
12113 if test -s conftest.err
; then
12114 ac_cpp_err
=$ac_c_preproc_warn_flag
12121 if test -z "$ac_cpp_err"; then
12122 ac_header_preproc
=yes
12124 echo "$as_me: failed program was:" >&5
12125 sed 's/^/| /' conftest.
$ac_ext >&5
12127 ac_header_preproc
=no
12129 rm -f conftest.err conftest.
$ac_ext
12130 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12131 echo "${ECHO_T}$ac_header_preproc" >&6
12133 # So? What about this header?
12134 case $ac_header_compiler:$ac_header_preproc in
12136 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12137 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12138 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12139 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12142 ## ------------------------------------ ##
12143 ## Report this to bug-autoconf@gnu.org. ##
12144 ## ------------------------------------ ##
12147 sed "s/^/$as_me: WARNING: /" >&2
12150 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12151 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12152 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12153 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12154 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12155 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12158 ## ------------------------------------ ##
12159 ## Report this to bug-autoconf@gnu.org. ##
12160 ## ------------------------------------ ##
12163 sed "s/^/$as_me: WARNING: /" >&2
12166 echo "$as_me:$LINENO: checking for $ac_header" >&5
12167 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12168 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12169 echo $ECHO_N "(cached) $ECHO_C" >&6
12171 eval "$as_ac_Header=$ac_header_preproc"
12173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12174 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12177 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12178 cat >>confdefs.h
<<_ACEOF
12179 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12187 for ac_header
in malloc.h
12189 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12190 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12191 echo "$as_me:$LINENO: checking for $ac_header" >&5
12192 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12193 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12194 echo $ECHO_N "(cached) $ECHO_C" >&6
12196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12197 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12199 # Is the header compilable?
12200 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12201 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12202 cat >conftest.
$ac_ext <<_ACEOF
12203 #line $LINENO "configure"
12206 cat confdefs.h
>>conftest.
$ac_ext
12207 cat >>conftest.
$ac_ext <<_ACEOF
12208 /* end confdefs.h. */
12209 $ac_includes_default
12210 #include <$ac_header>
12212 rm -f conftest.
$ac_objext
12213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12214 (eval $ac_compile) 2>&5
12216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12217 (exit $ac_status); } &&
12218 { ac_try
='test -s conftest.$ac_objext'
12219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12220 (eval $ac_try) 2>&5
12222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12223 (exit $ac_status); }; }; then
12224 ac_header_compiler
=yes
12226 echo "$as_me: failed program was:" >&5
12227 sed 's/^/| /' conftest.
$ac_ext >&5
12229 ac_header_compiler
=no
12231 rm -f conftest.
$ac_objext conftest.
$ac_ext
12232 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12233 echo "${ECHO_T}$ac_header_compiler" >&6
12235 # Is the header present?
12236 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12237 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12238 cat >conftest.
$ac_ext <<_ACEOF
12239 #line $LINENO "configure"
12242 cat confdefs.h
>>conftest.
$ac_ext
12243 cat >>conftest.
$ac_ext <<_ACEOF
12244 /* end confdefs.h. */
12245 #include <$ac_header>
12247 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12248 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12250 grep -v '^ *+' conftest.er1
>conftest.err
12252 cat conftest.err
>&5
12253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12254 (exit $ac_status); } >/dev
/null
; then
12255 if test -s conftest.err
; then
12256 ac_cpp_err
=$ac_c_preproc_warn_flag
12263 if test -z "$ac_cpp_err"; then
12264 ac_header_preproc
=yes
12266 echo "$as_me: failed program was:" >&5
12267 sed 's/^/| /' conftest.
$ac_ext >&5
12269 ac_header_preproc
=no
12271 rm -f conftest.err conftest.
$ac_ext
12272 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12273 echo "${ECHO_T}$ac_header_preproc" >&6
12275 # So? What about this header?
12276 case $ac_header_compiler:$ac_header_preproc in
12278 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12279 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12280 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12281 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12284 ## ------------------------------------ ##
12285 ## Report this to bug-autoconf@gnu.org. ##
12286 ## ------------------------------------ ##
12289 sed "s/^/$as_me: WARNING: /" >&2
12292 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12293 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12294 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12295 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12296 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12297 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12300 ## ------------------------------------ ##
12301 ## Report this to bug-autoconf@gnu.org. ##
12302 ## ------------------------------------ ##
12305 sed "s/^/$as_me: WARNING: /" >&2
12308 echo "$as_me:$LINENO: checking for $ac_header" >&5
12309 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12310 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12311 echo $ECHO_N "(cached) $ECHO_C" >&6
12313 eval "$as_ac_Header=$ac_header_preproc"
12315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12316 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12319 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12320 cat >>confdefs.h
<<_ACEOF
12321 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12329 for ac_header
in unistd.h
12331 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12332 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12333 echo "$as_me:$LINENO: checking for $ac_header" >&5
12334 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12335 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12336 echo $ECHO_N "(cached) $ECHO_C" >&6
12338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12339 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12341 # Is the header compilable?
12342 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12343 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12344 cat >conftest.
$ac_ext <<_ACEOF
12345 #line $LINENO "configure"
12348 cat confdefs.h
>>conftest.
$ac_ext
12349 cat >>conftest.
$ac_ext <<_ACEOF
12350 /* end confdefs.h. */
12351 $ac_includes_default
12352 #include <$ac_header>
12354 rm -f conftest.
$ac_objext
12355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12356 (eval $ac_compile) 2>&5
12358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12359 (exit $ac_status); } &&
12360 { ac_try
='test -s conftest.$ac_objext'
12361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12362 (eval $ac_try) 2>&5
12364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12365 (exit $ac_status); }; }; then
12366 ac_header_compiler
=yes
12368 echo "$as_me: failed program was:" >&5
12369 sed 's/^/| /' conftest.
$ac_ext >&5
12371 ac_header_compiler
=no
12373 rm -f conftest.
$ac_objext conftest.
$ac_ext
12374 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12375 echo "${ECHO_T}$ac_header_compiler" >&6
12377 # Is the header present?
12378 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12379 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12380 cat >conftest.
$ac_ext <<_ACEOF
12381 #line $LINENO "configure"
12384 cat confdefs.h
>>conftest.
$ac_ext
12385 cat >>conftest.
$ac_ext <<_ACEOF
12386 /* end confdefs.h. */
12387 #include <$ac_header>
12389 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12390 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12392 grep -v '^ *+' conftest.er1
>conftest.err
12394 cat conftest.err
>&5
12395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12396 (exit $ac_status); } >/dev
/null
; then
12397 if test -s conftest.err
; then
12398 ac_cpp_err
=$ac_c_preproc_warn_flag
12405 if test -z "$ac_cpp_err"; then
12406 ac_header_preproc
=yes
12408 echo "$as_me: failed program was:" >&5
12409 sed 's/^/| /' conftest.
$ac_ext >&5
12411 ac_header_preproc
=no
12413 rm -f conftest.err conftest.
$ac_ext
12414 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12415 echo "${ECHO_T}$ac_header_preproc" >&6
12417 # So? What about this header?
12418 case $ac_header_compiler:$ac_header_preproc in
12420 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12421 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12422 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12423 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12426 ## ------------------------------------ ##
12427 ## Report this to bug-autoconf@gnu.org. ##
12428 ## ------------------------------------ ##
12431 sed "s/^/$as_me: WARNING: /" >&2
12434 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12435 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12436 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12437 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12438 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12439 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12442 ## ------------------------------------ ##
12443 ## Report this to bug-autoconf@gnu.org. ##
12444 ## ------------------------------------ ##
12447 sed "s/^/$as_me: WARNING: /" >&2
12450 echo "$as_me:$LINENO: checking for $ac_header" >&5
12451 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12452 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12453 echo $ECHO_N "(cached) $ECHO_C" >&6
12455 eval "$as_ac_Header=$ac_header_preproc"
12457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12458 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12461 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12462 cat >>confdefs.h
<<_ACEOF
12463 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12471 for ac_header
in wchar.h
12473 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12474 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12475 echo "$as_me:$LINENO: checking for $ac_header" >&5
12476 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12477 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12478 echo $ECHO_N "(cached) $ECHO_C" >&6
12480 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12481 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12483 # Is the header compilable?
12484 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12485 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12486 cat >conftest.
$ac_ext <<_ACEOF
12487 #line $LINENO "configure"
12490 cat confdefs.h
>>conftest.
$ac_ext
12491 cat >>conftest.
$ac_ext <<_ACEOF
12492 /* end confdefs.h. */
12493 $ac_includes_default
12494 #include <$ac_header>
12496 rm -f conftest.
$ac_objext
12497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12498 (eval $ac_compile) 2>&5
12500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12501 (exit $ac_status); } &&
12502 { ac_try
='test -s conftest.$ac_objext'
12503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12504 (eval $ac_try) 2>&5
12506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12507 (exit $ac_status); }; }; then
12508 ac_header_compiler
=yes
12510 echo "$as_me: failed program was:" >&5
12511 sed 's/^/| /' conftest.
$ac_ext >&5
12513 ac_header_compiler
=no
12515 rm -f conftest.
$ac_objext conftest.
$ac_ext
12516 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12517 echo "${ECHO_T}$ac_header_compiler" >&6
12519 # Is the header present?
12520 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12521 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12522 cat >conftest.
$ac_ext <<_ACEOF
12523 #line $LINENO "configure"
12526 cat confdefs.h
>>conftest.
$ac_ext
12527 cat >>conftest.
$ac_ext <<_ACEOF
12528 /* end confdefs.h. */
12529 #include <$ac_header>
12531 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12532 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12534 grep -v '^ *+' conftest.er1
>conftest.err
12536 cat conftest.err
>&5
12537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12538 (exit $ac_status); } >/dev
/null
; then
12539 if test -s conftest.err
; then
12540 ac_cpp_err
=$ac_c_preproc_warn_flag
12547 if test -z "$ac_cpp_err"; then
12548 ac_header_preproc
=yes
12550 echo "$as_me: failed program was:" >&5
12551 sed 's/^/| /' conftest.
$ac_ext >&5
12553 ac_header_preproc
=no
12555 rm -f conftest.err conftest.
$ac_ext
12556 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12557 echo "${ECHO_T}$ac_header_preproc" >&6
12559 # So? What about this header?
12560 case $ac_header_compiler:$ac_header_preproc in
12562 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12563 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12564 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12565 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12568 ## ------------------------------------ ##
12569 ## Report this to bug-autoconf@gnu.org. ##
12570 ## ------------------------------------ ##
12573 sed "s/^/$as_me: WARNING: /" >&2
12576 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12577 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12578 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12579 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12580 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12581 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12584 ## ------------------------------------ ##
12585 ## Report this to bug-autoconf@gnu.org. ##
12586 ## ------------------------------------ ##
12589 sed "s/^/$as_me: WARNING: /" >&2
12592 echo "$as_me:$LINENO: checking for $ac_header" >&5
12593 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12594 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12595 echo $ECHO_N "(cached) $ECHO_C" >&6
12597 eval "$as_ac_Header=$ac_header_preproc"
12599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12600 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12603 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12604 cat >>confdefs.h
<<_ACEOF
12605 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12613 if test "$ac_cv_header_wchar_h" != "yes"; then
12615 for ac_header
in wcstr.h
12617 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12618 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12619 echo "$as_me:$LINENO: checking for $ac_header" >&5
12620 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12621 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12622 echo $ECHO_N "(cached) $ECHO_C" >&6
12624 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12625 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12627 # Is the header compilable?
12628 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12629 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12630 cat >conftest.
$ac_ext <<_ACEOF
12631 #line $LINENO "configure"
12634 cat confdefs.h
>>conftest.
$ac_ext
12635 cat >>conftest.
$ac_ext <<_ACEOF
12636 /* end confdefs.h. */
12637 $ac_includes_default
12638 #include <$ac_header>
12640 rm -f conftest.
$ac_objext
12641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12642 (eval $ac_compile) 2>&5
12644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12645 (exit $ac_status); } &&
12646 { ac_try
='test -s conftest.$ac_objext'
12647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12648 (eval $ac_try) 2>&5
12650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12651 (exit $ac_status); }; }; then
12652 ac_header_compiler
=yes
12654 echo "$as_me: failed program was:" >&5
12655 sed 's/^/| /' conftest.
$ac_ext >&5
12657 ac_header_compiler
=no
12659 rm -f conftest.
$ac_objext conftest.
$ac_ext
12660 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12661 echo "${ECHO_T}$ac_header_compiler" >&6
12663 # Is the header present?
12664 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12665 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12666 cat >conftest.
$ac_ext <<_ACEOF
12667 #line $LINENO "configure"
12670 cat confdefs.h
>>conftest.
$ac_ext
12671 cat >>conftest.
$ac_ext <<_ACEOF
12672 /* end confdefs.h. */
12673 #include <$ac_header>
12675 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12676 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12678 grep -v '^ *+' conftest.er1
>conftest.err
12680 cat conftest.err
>&5
12681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12682 (exit $ac_status); } >/dev
/null
; then
12683 if test -s conftest.err
; then
12684 ac_cpp_err
=$ac_c_preproc_warn_flag
12691 if test -z "$ac_cpp_err"; then
12692 ac_header_preproc
=yes
12694 echo "$as_me: failed program was:" >&5
12695 sed 's/^/| /' conftest.
$ac_ext >&5
12697 ac_header_preproc
=no
12699 rm -f conftest.err conftest.
$ac_ext
12700 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12701 echo "${ECHO_T}$ac_header_preproc" >&6
12703 # So? What about this header?
12704 case $ac_header_compiler:$ac_header_preproc in
12706 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12707 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12708 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12709 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12712 ## ------------------------------------ ##
12713 ## Report this to bug-autoconf@gnu.org. ##
12714 ## ------------------------------------ ##
12717 sed "s/^/$as_me: WARNING: /" >&2
12720 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12721 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12722 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12723 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12724 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12725 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12728 ## ------------------------------------ ##
12729 ## Report this to bug-autoconf@gnu.org. ##
12730 ## ------------------------------------ ##
12733 sed "s/^/$as_me: WARNING: /" >&2
12736 echo "$as_me:$LINENO: checking for $ac_header" >&5
12737 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12738 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12739 echo $ECHO_N "(cached) $ECHO_C" >&6
12741 eval "$as_ac_Header=$ac_header_preproc"
12743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12744 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12747 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12748 cat >>confdefs.h
<<_ACEOF
12749 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12759 for ac_header
in fnmatch.h
12761 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12762 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12763 echo "$as_me:$LINENO: checking for $ac_header" >&5
12764 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12765 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12766 echo $ECHO_N "(cached) $ECHO_C" >&6
12768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12769 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12771 # Is the header compilable?
12772 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12773 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12774 cat >conftest.
$ac_ext <<_ACEOF
12775 #line $LINENO "configure"
12778 cat confdefs.h
>>conftest.
$ac_ext
12779 cat >>conftest.
$ac_ext <<_ACEOF
12780 /* end confdefs.h. */
12781 $ac_includes_default
12782 #include <$ac_header>
12784 rm -f conftest.
$ac_objext
12785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12786 (eval $ac_compile) 2>&5
12788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12789 (exit $ac_status); } &&
12790 { ac_try
='test -s conftest.$ac_objext'
12791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12792 (eval $ac_try) 2>&5
12794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12795 (exit $ac_status); }; }; then
12796 ac_header_compiler
=yes
12798 echo "$as_me: failed program was:" >&5
12799 sed 's/^/| /' conftest.
$ac_ext >&5
12801 ac_header_compiler
=no
12803 rm -f conftest.
$ac_objext conftest.
$ac_ext
12804 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12805 echo "${ECHO_T}$ac_header_compiler" >&6
12807 # Is the header present?
12808 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12809 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12810 cat >conftest.
$ac_ext <<_ACEOF
12811 #line $LINENO "configure"
12814 cat confdefs.h
>>conftest.
$ac_ext
12815 cat >>conftest.
$ac_ext <<_ACEOF
12816 /* end confdefs.h. */
12817 #include <$ac_header>
12819 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12820 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12822 grep -v '^ *+' conftest.er1
>conftest.err
12824 cat conftest.err
>&5
12825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12826 (exit $ac_status); } >/dev
/null
; then
12827 if test -s conftest.err
; then
12828 ac_cpp_err
=$ac_c_preproc_warn_flag
12835 if test -z "$ac_cpp_err"; then
12836 ac_header_preproc
=yes
12838 echo "$as_me: failed program was:" >&5
12839 sed 's/^/| /' conftest.
$ac_ext >&5
12841 ac_header_preproc
=no
12843 rm -f conftest.err conftest.
$ac_ext
12844 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12845 echo "${ECHO_T}$ac_header_preproc" >&6
12847 # So? What about this header?
12848 case $ac_header_compiler:$ac_header_preproc in
12850 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12851 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12852 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12853 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12856 ## ------------------------------------ ##
12857 ## Report this to bug-autoconf@gnu.org. ##
12858 ## ------------------------------------ ##
12861 sed "s/^/$as_me: WARNING: /" >&2
12864 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12865 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12866 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12867 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12868 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12869 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12872 ## ------------------------------------ ##
12873 ## Report this to bug-autoconf@gnu.org. ##
12874 ## ------------------------------------ ##
12877 sed "s/^/$as_me: WARNING: /" >&2
12880 echo "$as_me:$LINENO: checking for $ac_header" >&5
12881 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12882 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12883 echo $ECHO_N "(cached) $ECHO_C" >&6
12885 eval "$as_ac_Header=$ac_header_preproc"
12887 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12888 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12891 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12892 cat >>confdefs.h
<<_ACEOF
12893 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12901 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
12903 for ac_func
in fnmatch
12905 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12906 echo "$as_me:$LINENO: checking for $ac_func" >&5
12907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12908 if eval "test \"\${$as_ac_var+set}\" = set"; then
12909 echo $ECHO_N "(cached) $ECHO_C" >&6
12911 cat >conftest.
$ac_ext <<_ACEOF
12912 #line $LINENO "configure"
12915 cat confdefs.h
>>conftest.
$ac_ext
12916 cat >>conftest.
$ac_ext <<_ACEOF
12917 /* end confdefs.h. */
12918 /* System header to define __stub macros and hopefully few prototypes,
12919 which can conflict with char $ac_func (); below.
12920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12921 <limits.h> exists even on freestanding compilers. */
12923 # include <limits.h>
12925 # include <assert.h>
12927 /* Override any gcc2 internal prototype to avoid an error. */
12932 /* We use char because int might match the return type of a gcc2
12933 builtin and then its argument prototype would still apply. */
12935 /* The GNU C library defines this for functions which it implements
12936 to always fail with ENOSYS. Some functions are actually named
12937 something starting with __ and the normal name is an alias. */
12938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12941 char (*f) () = $ac_func;
12950 return f != $ac_func;
12955 rm -f conftest.
$ac_objext conftest
$ac_exeext
12956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12957 (eval $ac_link) 2>&5
12959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12960 (exit $ac_status); } &&
12961 { ac_try
='test -s conftest$ac_exeext'
12962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12963 (eval $ac_try) 2>&5
12965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12966 (exit $ac_status); }; }; then
12967 eval "$as_ac_var=yes"
12969 echo "$as_me: failed program was:" >&5
12970 sed 's/^/| /' conftest.
$ac_ext >&5
12972 eval "$as_ac_var=no"
12974 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12977 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12978 if test `eval echo '${'$as_ac_var'}'` = yes; then
12979 cat >>confdefs.h
<<_ACEOF
12980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12989 for ac_header
in langinfo.h
12991 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12992 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12993 echo "$as_me:$LINENO: checking for $ac_header" >&5
12994 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12995 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12996 echo $ECHO_N "(cached) $ECHO_C" >&6
12998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12999 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13001 # Is the header compilable?
13002 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13003 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13004 cat >conftest.
$ac_ext <<_ACEOF
13005 #line $LINENO "configure"
13008 cat confdefs.h
>>conftest.
$ac_ext
13009 cat >>conftest.
$ac_ext <<_ACEOF
13010 /* end confdefs.h. */
13011 $ac_includes_default
13012 #include <$ac_header>
13014 rm -f conftest.
$ac_objext
13015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13016 (eval $ac_compile) 2>&5
13018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13019 (exit $ac_status); } &&
13020 { ac_try
='test -s conftest.$ac_objext'
13021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13022 (eval $ac_try) 2>&5
13024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13025 (exit $ac_status); }; }; then
13026 ac_header_compiler
=yes
13028 echo "$as_me: failed program was:" >&5
13029 sed 's/^/| /' conftest.
$ac_ext >&5
13031 ac_header_compiler
=no
13033 rm -f conftest.
$ac_objext conftest.
$ac_ext
13034 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13035 echo "${ECHO_T}$ac_header_compiler" >&6
13037 # Is the header present?
13038 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13039 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13040 cat >conftest.
$ac_ext <<_ACEOF
13041 #line $LINENO "configure"
13044 cat confdefs.h
>>conftest.
$ac_ext
13045 cat >>conftest.
$ac_ext <<_ACEOF
13046 /* end confdefs.h. */
13047 #include <$ac_header>
13049 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13050 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13052 grep -v '^ *+' conftest.er1
>conftest.err
13054 cat conftest.err
>&5
13055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13056 (exit $ac_status); } >/dev
/null
; then
13057 if test -s conftest.err
; then
13058 ac_cpp_err
=$ac_c_preproc_warn_flag
13065 if test -z "$ac_cpp_err"; then
13066 ac_header_preproc
=yes
13068 echo "$as_me: failed program was:" >&5
13069 sed 's/^/| /' conftest.
$ac_ext >&5
13071 ac_header_preproc
=no
13073 rm -f conftest.err conftest.
$ac_ext
13074 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13075 echo "${ECHO_T}$ac_header_preproc" >&6
13077 # So? What about this header?
13078 case $ac_header_compiler:$ac_header_preproc in
13080 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13081 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13082 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13083 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13086 ## ------------------------------------ ##
13087 ## Report this to bug-autoconf@gnu.org. ##
13088 ## ------------------------------------ ##
13091 sed "s/^/$as_me: WARNING: /" >&2
13094 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13095 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13096 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13097 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13098 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13099 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13102 ## ------------------------------------ ##
13103 ## Report this to bug-autoconf@gnu.org. ##
13104 ## ------------------------------------ ##
13107 sed "s/^/$as_me: WARNING: /" >&2
13110 echo "$as_me:$LINENO: checking for $ac_header" >&5
13111 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13112 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13113 echo $ECHO_N "(cached) $ECHO_C" >&6
13115 eval "$as_ac_Header=$ac_header_preproc"
13117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13118 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13121 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13122 cat >>confdefs.h
<<_ACEOF
13123 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13132 *-pc-os2_emx | *-pc-os2-emx )
13133 if test $ac_cv_header_langinfo_h = "yes"; then
13134 LIBS
="$LIBS -lintl"
13139 if test "$wxUSE_GUI" = "yes"; then
13140 if test "$wxUSE_UNIX" = "yes"; then
13142 for ac_header
in X
11/Xlib.h
13144 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13145 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13146 echo "$as_me:$LINENO: checking for $ac_header" >&5
13147 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13148 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13149 echo $ECHO_N "(cached) $ECHO_C" >&6
13151 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13152 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13154 # Is the header compilable?
13155 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13156 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13157 cat >conftest.
$ac_ext <<_ACEOF
13158 #line $LINENO "configure"
13161 cat confdefs.h
>>conftest.
$ac_ext
13162 cat >>conftest.
$ac_ext <<_ACEOF
13163 /* end confdefs.h. */
13164 $ac_includes_default
13165 #include <$ac_header>
13167 rm -f conftest.
$ac_objext
13168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13169 (eval $ac_compile) 2>&5
13171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13172 (exit $ac_status); } &&
13173 { ac_try
='test -s conftest.$ac_objext'
13174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13175 (eval $ac_try) 2>&5
13177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13178 (exit $ac_status); }; }; then
13179 ac_header_compiler
=yes
13181 echo "$as_me: failed program was:" >&5
13182 sed 's/^/| /' conftest.
$ac_ext >&5
13184 ac_header_compiler
=no
13186 rm -f conftest.
$ac_objext conftest.
$ac_ext
13187 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13188 echo "${ECHO_T}$ac_header_compiler" >&6
13190 # Is the header present?
13191 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13192 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13193 cat >conftest.
$ac_ext <<_ACEOF
13194 #line $LINENO "configure"
13197 cat confdefs.h
>>conftest.
$ac_ext
13198 cat >>conftest.
$ac_ext <<_ACEOF
13199 /* end confdefs.h. */
13200 #include <$ac_header>
13202 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13203 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13205 grep -v '^ *+' conftest.er1
>conftest.err
13207 cat conftest.err
>&5
13208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13209 (exit $ac_status); } >/dev
/null
; then
13210 if test -s conftest.err
; then
13211 ac_cpp_err
=$ac_c_preproc_warn_flag
13218 if test -z "$ac_cpp_err"; then
13219 ac_header_preproc
=yes
13221 echo "$as_me: failed program was:" >&5
13222 sed 's/^/| /' conftest.
$ac_ext >&5
13224 ac_header_preproc
=no
13226 rm -f conftest.err conftest.
$ac_ext
13227 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13228 echo "${ECHO_T}$ac_header_preproc" >&6
13230 # So? What about this header?
13231 case $ac_header_compiler:$ac_header_preproc in
13233 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13234 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13235 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13236 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13239 ## ------------------------------------ ##
13240 ## Report this to bug-autoconf@gnu.org. ##
13241 ## ------------------------------------ ##
13244 sed "s/^/$as_me: WARNING: /" >&2
13247 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13248 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13249 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13250 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13251 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13252 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13255 ## ------------------------------------ ##
13256 ## Report this to bug-autoconf@gnu.org. ##
13257 ## ------------------------------------ ##
13260 sed "s/^/$as_me: WARNING: /" >&2
13263 echo "$as_me:$LINENO: checking for $ac_header" >&5
13264 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13265 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13266 echo $ECHO_N "(cached) $ECHO_C" >&6
13268 eval "$as_ac_Header=$ac_header_preproc"
13270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13271 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13274 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13275 cat >>confdefs.h
<<_ACEOF
13276 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13284 for ac_header
in X
11/XKBlib.h
13286 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13287 echo "$as_me:$LINENO: checking for $ac_header" >&5
13288 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13289 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13290 echo $ECHO_N "(cached) $ECHO_C" >&6
13292 cat >conftest.
$ac_ext <<_ACEOF
13293 #line $LINENO "configure"
13296 cat confdefs.h
>>conftest.
$ac_ext
13297 cat >>conftest.
$ac_ext <<_ACEOF
13298 /* end confdefs.h. */
13300 #if HAVE_X11_XLIB_H
13301 #include <X11/Xlib.h>
13305 #include <$ac_header>
13307 rm -f conftest.
$ac_objext
13308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13309 (eval $ac_compile) 2>&5
13311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13312 (exit $ac_status); } &&
13313 { ac_try
='test -s conftest.$ac_objext'
13314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13315 (eval $ac_try) 2>&5
13317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13318 (exit $ac_status); }; }; then
13319 eval "$as_ac_Header=yes"
13321 echo "$as_me: failed program was:" >&5
13322 sed 's/^/| /' conftest.
$ac_ext >&5
13324 eval "$as_ac_Header=no"
13326 rm -f conftest.
$ac_objext conftest.
$ac_ext
13328 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13329 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13330 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13331 cat >>confdefs.h
<<_ACEOF
13332 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13343 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13344 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13345 if test "${ac_cv_c_const+set}" = set; then
13346 echo $ECHO_N "(cached) $ECHO_C" >&6
13348 cat >conftest.
$ac_ext <<_ACEOF
13349 #line $LINENO "configure"
13352 cat confdefs.h
>>conftest.
$ac_ext
13353 cat >>conftest.
$ac_ext <<_ACEOF
13354 /* end confdefs.h. */
13359 /* FIXME: Include the comments suggested by Paul. */
13360 #ifndef __cplusplus
13361 /* Ultrix mips cc rejects this. */
13362 typedef int charset[2];
13364 /* SunOS 4.1.1 cc rejects this. */
13365 char const *const *ccp;
13367 /* NEC SVR4.0.2 mips cc rejects this. */
13368 struct point {int x, y;};
13369 static struct point const zero = {0,0};
13370 /* AIX XL C 1.02.0.0 rejects this.
13371 It does not let you subtract one const X* pointer from another in
13372 an arm of an if-expression whose if-part is not a constant
13374 const char *g = "string";
13375 ccp = &g + (g ? g-g : 0);
13376 /* HPUX 7.0 cc rejects these. */
13379 ccp = (char const *const *) p;
13380 { /* SCO 3.2v4 cc rejects this. */
13382 char const *s = 0 ? (char *) 0 : (char const *) 0;
13386 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13387 int x[] = {25, 17};
13388 const int *foo = &x[0];
13391 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13392 typedef const int *iptr;
13396 { /* AIX XL C 1.02.0.0 rejects this saying
13397 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13398 struct s { int j; const int *ap[3]; };
13399 struct s *b; b->j = 5;
13401 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13402 const int foo = 10;
13410 rm -f conftest.
$ac_objext
13411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13412 (eval $ac_compile) 2>&5
13414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13415 (exit $ac_status); } &&
13416 { ac_try
='test -s conftest.$ac_objext'
13417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13418 (eval $ac_try) 2>&5
13420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13421 (exit $ac_status); }; }; then
13424 echo "$as_me: failed program was:" >&5
13425 sed 's/^/| /' conftest.
$ac_ext >&5
13429 rm -f conftest.
$ac_objext conftest.
$ac_ext
13431 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13432 echo "${ECHO_T}$ac_cv_c_const" >&6
13433 if test $ac_cv_c_const = no
; then
13435 cat >>confdefs.h
<<\_ACEOF
13441 echo "$as_me:$LINENO: checking for inline" >&5
13442 echo $ECHO_N "checking for inline... $ECHO_C" >&6
13443 if test "${ac_cv_c_inline+set}" = set; then
13444 echo $ECHO_N "(cached) $ECHO_C" >&6
13447 for ac_kw
in inline __inline__ __inline
; do
13448 cat >conftest.
$ac_ext <<_ACEOF
13449 #line $LINENO "configure"
13452 cat confdefs.h
>>conftest.
$ac_ext
13453 cat >>conftest.
$ac_ext <<_ACEOF
13454 /* end confdefs.h. */
13455 #ifndef __cplusplus
13457 static $ac_kw foo_t static_foo () {return 0; }
13458 $ac_kw foo_t foo () {return 0; }
13462 rm -f conftest.
$ac_objext
13463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13464 (eval $ac_compile) 2>&5
13466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13467 (exit $ac_status); } &&
13468 { ac_try
='test -s conftest.$ac_objext'
13469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13470 (eval $ac_try) 2>&5
13472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13473 (exit $ac_status); }; }; then
13474 ac_cv_c_inline
=$ac_kw; break
13476 echo "$as_me: failed program was:" >&5
13477 sed 's/^/| /' conftest.
$ac_ext >&5
13480 rm -f conftest.
$ac_objext conftest.
$ac_ext
13484 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13485 echo "${ECHO_T}$ac_cv_c_inline" >&6
13486 case $ac_cv_c_inline in
13489 cat >>confdefs.h
<<\_ACEOF
13493 *) cat >>confdefs.h
<<_ACEOF
13494 #define inline $ac_cv_c_inline
13500 echo "$as_me:$LINENO: checking for char" >&5
13501 echo $ECHO_N "checking for char... $ECHO_C" >&6
13502 if test "${ac_cv_type_char+set}" = set; then
13503 echo $ECHO_N "(cached) $ECHO_C" >&6
13505 cat >conftest.
$ac_ext <<_ACEOF
13506 #line $LINENO "configure"
13509 cat confdefs.h
>>conftest.
$ac_ext
13510 cat >>conftest.
$ac_ext <<_ACEOF
13511 /* end confdefs.h. */
13512 $ac_includes_default
13524 rm -f conftest.
$ac_objext
13525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13526 (eval $ac_compile) 2>&5
13528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13529 (exit $ac_status); } &&
13530 { ac_try
='test -s conftest.$ac_objext'
13531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13532 (eval $ac_try) 2>&5
13534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13535 (exit $ac_status); }; }; then
13536 ac_cv_type_char
=yes
13538 echo "$as_me: failed program was:" >&5
13539 sed 's/^/| /' conftest.
$ac_ext >&5
13543 rm -f conftest.
$ac_objext conftest.
$ac_ext
13545 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13546 echo "${ECHO_T}$ac_cv_type_char" >&6
13548 echo "$as_me:$LINENO: checking size of char" >&5
13549 echo $ECHO_N "checking size of char... $ECHO_C" >&6
13550 if test "${ac_cv_sizeof_char+set}" = set; then
13551 echo $ECHO_N "(cached) $ECHO_C" >&6
13553 if test "$ac_cv_type_char" = yes; then
13554 # The cast to unsigned long works around a bug in the HP C Compiler
13555 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13556 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13557 # This bug is HP SR number 8606223364.
13558 if test "$cross_compiling" = yes; then
13559 # Depending upon the size, compute the lo and hi bounds.
13560 cat >conftest.
$ac_ext <<_ACEOF
13561 #line $LINENO "configure"
13564 cat confdefs.h
>>conftest.
$ac_ext
13565 cat >>conftest.
$ac_ext <<_ACEOF
13566 /* end confdefs.h. */
13567 $ac_includes_default
13571 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13578 rm -f conftest.
$ac_objext
13579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13580 (eval $ac_compile) 2>&5
13582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13583 (exit $ac_status); } &&
13584 { ac_try
='test -s conftest.$ac_objext'
13585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13586 (eval $ac_try) 2>&5
13588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13589 (exit $ac_status); }; }; then
13592 cat >conftest.
$ac_ext <<_ACEOF
13593 #line $LINENO "configure"
13596 cat confdefs.h
>>conftest.
$ac_ext
13597 cat >>conftest.
$ac_ext <<_ACEOF
13598 /* end confdefs.h. */
13599 $ac_includes_default
13603 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13610 rm -f conftest.
$ac_objext
13611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13612 (eval $ac_compile) 2>&5
13614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13615 (exit $ac_status); } &&
13616 { ac_try
='test -s conftest.$ac_objext'
13617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13618 (eval $ac_try) 2>&5
13620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13621 (exit $ac_status); }; }; then
13622 ac_hi
=$ac_mid; break
13624 echo "$as_me: failed program was:" >&5
13625 sed 's/^/| /' conftest.
$ac_ext >&5
13627 ac_lo
=`expr $ac_mid + 1`
13628 if test $ac_lo -le $ac_mid; then
13632 ac_mid
=`expr 2 '*' $ac_mid + 1`
13634 rm -f conftest.
$ac_objext conftest.
$ac_ext
13637 echo "$as_me: failed program was:" >&5
13638 sed 's/^/| /' conftest.
$ac_ext >&5
13640 cat >conftest.
$ac_ext <<_ACEOF
13641 #line $LINENO "configure"
13644 cat confdefs.h
>>conftest.
$ac_ext
13645 cat >>conftest.
$ac_ext <<_ACEOF
13646 /* end confdefs.h. */
13647 $ac_includes_default
13651 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
13658 rm -f conftest.
$ac_objext
13659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13660 (eval $ac_compile) 2>&5
13662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13663 (exit $ac_status); } &&
13664 { ac_try
='test -s conftest.$ac_objext'
13665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13666 (eval $ac_try) 2>&5
13668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13669 (exit $ac_status); }; }; then
13672 cat >conftest.
$ac_ext <<_ACEOF
13673 #line $LINENO "configure"
13676 cat confdefs.h
>>conftest.
$ac_ext
13677 cat >>conftest.
$ac_ext <<_ACEOF
13678 /* end confdefs.h. */
13679 $ac_includes_default
13683 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
13690 rm -f conftest.
$ac_objext
13691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13692 (eval $ac_compile) 2>&5
13694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13695 (exit $ac_status); } &&
13696 { ac_try
='test -s conftest.$ac_objext'
13697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13698 (eval $ac_try) 2>&5
13700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13701 (exit $ac_status); }; }; then
13702 ac_lo
=$ac_mid; break
13704 echo "$as_me: failed program was:" >&5
13705 sed 's/^/| /' conftest.
$ac_ext >&5
13707 ac_hi
=`expr '(' $ac_mid ')' - 1`
13708 if test $ac_mid -le $ac_hi; then
13712 ac_mid
=`expr 2 '*' $ac_mid`
13714 rm -f conftest.
$ac_objext conftest.
$ac_ext
13717 echo "$as_me: failed program was:" >&5
13718 sed 's/^/| /' conftest.
$ac_ext >&5
13722 rm -f conftest.
$ac_objext conftest.
$ac_ext
13724 rm -f conftest.
$ac_objext conftest.
$ac_ext
13725 # Binary search between lo and hi bounds.
13726 while test "x$ac_lo" != "x$ac_hi"; do
13727 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13728 cat >conftest.
$ac_ext <<_ACEOF
13729 #line $LINENO "configure"
13732 cat confdefs.h
>>conftest.
$ac_ext
13733 cat >>conftest.
$ac_ext <<_ACEOF
13734 /* end confdefs.h. */
13735 $ac_includes_default
13739 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13746 rm -f conftest.
$ac_objext
13747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13748 (eval $ac_compile) 2>&5
13750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13751 (exit $ac_status); } &&
13752 { ac_try
='test -s conftest.$ac_objext'
13753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13754 (eval $ac_try) 2>&5
13756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13757 (exit $ac_status); }; }; then
13760 echo "$as_me: failed program was:" >&5
13761 sed 's/^/| /' conftest.
$ac_ext >&5
13763 ac_lo
=`expr '(' $ac_mid ')' + 1`
13765 rm -f conftest.
$ac_objext conftest.
$ac_ext
13768 ?
*) ac_cv_sizeof_char
=$ac_lo;;
13769 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13770 See \`config.log' for more details." >&5
13771 echo "$as_me: error: cannot compute sizeof (char), 77
13772 See \`config.log' for more details." >&2;}
13773 { (exit 1); exit 1; }; } ;;
13776 if test "$cross_compiling" = yes; then
13777 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13778 See \`config.log' for more details." >&5
13779 echo "$as_me: error: cannot run test program while cross compiling
13780 See \`config.log' for more details." >&2;}
13781 { (exit 1); exit 1; }; }
13783 cat >conftest.
$ac_ext <<_ACEOF
13784 #line $LINENO "configure"
13787 cat confdefs.h
>>conftest.
$ac_ext
13788 cat >>conftest.
$ac_ext <<_ACEOF
13789 /* end confdefs.h. */
13790 $ac_includes_default
13791 long longval () { return (long) (sizeof (char)); }
13792 unsigned long ulongval () { return (long) (sizeof (char)); }
13794 #include <stdlib.h>
13799 FILE *f = fopen ("conftest.val", "w");
13802 if (((long) (sizeof (char))) < 0)
13804 long i = longval ();
13805 if (i != ((long) (sizeof (char))))
13807 fprintf (f, "%ld\n", i);
13811 unsigned long i = ulongval ();
13812 if (i != ((long) (sizeof (char))))
13814 fprintf (f, "%lu\n", i);
13816 exit (ferror (f) || fclose (f) != 0);
13822 rm -f conftest
$ac_exeext
13823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13824 (eval $ac_link) 2>&5
13826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13827 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13829 (eval $ac_try) 2>&5
13831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13832 (exit $ac_status); }; }; then
13833 ac_cv_sizeof_char
=`cat conftest.val`
13835 echo "$as_me: program exited with status $ac_status" >&5
13836 echo "$as_me: failed program was:" >&5
13837 sed 's/^/| /' conftest.
$ac_ext >&5
13839 ( exit $ac_status )
13840 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13841 See \`config.log' for more details." >&5
13842 echo "$as_me: error: cannot compute sizeof (char), 77
13843 See \`config.log' for more details." >&2;}
13844 { (exit 1); exit 1; }; }
13846 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13851 ac_cv_sizeof_char
=0
13854 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
13855 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
13856 cat >>confdefs.h
<<_ACEOF
13857 #define SIZEOF_CHAR $ac_cv_sizeof_char
13861 echo "$as_me:$LINENO: checking for short" >&5
13862 echo $ECHO_N "checking for short... $ECHO_C" >&6
13863 if test "${ac_cv_type_short+set}" = set; then
13864 echo $ECHO_N "(cached) $ECHO_C" >&6
13866 cat >conftest.
$ac_ext <<_ACEOF
13867 #line $LINENO "configure"
13870 cat confdefs.h
>>conftest.
$ac_ext
13871 cat >>conftest.
$ac_ext <<_ACEOF
13872 /* end confdefs.h. */
13873 $ac_includes_default
13879 if (sizeof (short))
13885 rm -f conftest.
$ac_objext
13886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13887 (eval $ac_compile) 2>&5
13889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13890 (exit $ac_status); } &&
13891 { ac_try
='test -s conftest.$ac_objext'
13892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13893 (eval $ac_try) 2>&5
13895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13896 (exit $ac_status); }; }; then
13897 ac_cv_type_short
=yes
13899 echo "$as_me: failed program was:" >&5
13900 sed 's/^/| /' conftest.
$ac_ext >&5
13902 ac_cv_type_short
=no
13904 rm -f conftest.
$ac_objext conftest.
$ac_ext
13906 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
13907 echo "${ECHO_T}$ac_cv_type_short" >&6
13909 echo "$as_me:$LINENO: checking size of short" >&5
13910 echo $ECHO_N "checking size of short... $ECHO_C" >&6
13911 if test "${ac_cv_sizeof_short+set}" = set; then
13912 echo $ECHO_N "(cached) $ECHO_C" >&6
13914 if test "$ac_cv_type_short" = yes; then
13915 # The cast to unsigned long works around a bug in the HP C Compiler
13916 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13917 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13918 # This bug is HP SR number 8606223364.
13919 if test "$cross_compiling" = yes; then
13920 # Depending upon the size, compute the lo and hi bounds.
13921 cat >conftest.
$ac_ext <<_ACEOF
13922 #line $LINENO "configure"
13925 cat confdefs.h
>>conftest.
$ac_ext
13926 cat >>conftest.
$ac_ext <<_ACEOF
13927 /* end confdefs.h. */
13928 $ac_includes_default
13932 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
13939 rm -f conftest.
$ac_objext
13940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13941 (eval $ac_compile) 2>&5
13943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13944 (exit $ac_status); } &&
13945 { ac_try
='test -s conftest.$ac_objext'
13946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13947 (eval $ac_try) 2>&5
13949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13950 (exit $ac_status); }; }; then
13953 cat >conftest.
$ac_ext <<_ACEOF
13954 #line $LINENO "configure"
13957 cat confdefs.h
>>conftest.
$ac_ext
13958 cat >>conftest.
$ac_ext <<_ACEOF
13959 /* end confdefs.h. */
13960 $ac_includes_default
13964 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
13971 rm -f conftest.
$ac_objext
13972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13973 (eval $ac_compile) 2>&5
13975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13976 (exit $ac_status); } &&
13977 { ac_try
='test -s conftest.$ac_objext'
13978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13979 (eval $ac_try) 2>&5
13981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13982 (exit $ac_status); }; }; then
13983 ac_hi
=$ac_mid; break
13985 echo "$as_me: failed program was:" >&5
13986 sed 's/^/| /' conftest.
$ac_ext >&5
13988 ac_lo
=`expr $ac_mid + 1`
13989 if test $ac_lo -le $ac_mid; then
13993 ac_mid
=`expr 2 '*' $ac_mid + 1`
13995 rm -f conftest.
$ac_objext conftest.
$ac_ext
13998 echo "$as_me: failed program was:" >&5
13999 sed 's/^/| /' conftest.
$ac_ext >&5
14001 cat >conftest.
$ac_ext <<_ACEOF
14002 #line $LINENO "configure"
14005 cat confdefs.h
>>conftest.
$ac_ext
14006 cat >>conftest.
$ac_ext <<_ACEOF
14007 /* end confdefs.h. */
14008 $ac_includes_default
14012 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14019 rm -f conftest.
$ac_objext
14020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14021 (eval $ac_compile) 2>&5
14023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14024 (exit $ac_status); } &&
14025 { ac_try
='test -s conftest.$ac_objext'
14026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14027 (eval $ac_try) 2>&5
14029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14030 (exit $ac_status); }; }; then
14033 cat >conftest.
$ac_ext <<_ACEOF
14034 #line $LINENO "configure"
14037 cat confdefs.h
>>conftest.
$ac_ext
14038 cat >>conftest.
$ac_ext <<_ACEOF
14039 /* end confdefs.h. */
14040 $ac_includes_default
14044 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14051 rm -f conftest.
$ac_objext
14052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14053 (eval $ac_compile) 2>&5
14055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14056 (exit $ac_status); } &&
14057 { ac_try
='test -s conftest.$ac_objext'
14058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14059 (eval $ac_try) 2>&5
14061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14062 (exit $ac_status); }; }; then
14063 ac_lo
=$ac_mid; break
14065 echo "$as_me: failed program was:" >&5
14066 sed 's/^/| /' conftest.
$ac_ext >&5
14068 ac_hi
=`expr '(' $ac_mid ')' - 1`
14069 if test $ac_mid -le $ac_hi; then
14073 ac_mid
=`expr 2 '*' $ac_mid`
14075 rm -f conftest.
$ac_objext conftest.
$ac_ext
14078 echo "$as_me: failed program was:" >&5
14079 sed 's/^/| /' conftest.
$ac_ext >&5
14083 rm -f conftest.
$ac_objext conftest.
$ac_ext
14085 rm -f conftest.
$ac_objext conftest.
$ac_ext
14086 # Binary search between lo and hi bounds.
14087 while test "x$ac_lo" != "x$ac_hi"; do
14088 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14089 cat >conftest.
$ac_ext <<_ACEOF
14090 #line $LINENO "configure"
14093 cat confdefs.h
>>conftest.
$ac_ext
14094 cat >>conftest.
$ac_ext <<_ACEOF
14095 /* end confdefs.h. */
14096 $ac_includes_default
14100 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14107 rm -f conftest.
$ac_objext
14108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14109 (eval $ac_compile) 2>&5
14111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14112 (exit $ac_status); } &&
14113 { ac_try
='test -s conftest.$ac_objext'
14114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14115 (eval $ac_try) 2>&5
14117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14118 (exit $ac_status); }; }; then
14121 echo "$as_me: failed program was:" >&5
14122 sed 's/^/| /' conftest.
$ac_ext >&5
14124 ac_lo
=`expr '(' $ac_mid ')' + 1`
14126 rm -f conftest.
$ac_objext conftest.
$ac_ext
14129 ?
*) ac_cv_sizeof_short
=$ac_lo;;
14130 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14131 See \`config.log' for more details." >&5
14132 echo "$as_me: error: cannot compute sizeof (short), 77
14133 See \`config.log' for more details." >&2;}
14134 { (exit 1); exit 1; }; } ;;
14137 if test "$cross_compiling" = yes; then
14138 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14139 See \`config.log' for more details." >&5
14140 echo "$as_me: error: cannot run test program while cross compiling
14141 See \`config.log' for more details." >&2;}
14142 { (exit 1); exit 1; }; }
14144 cat >conftest.
$ac_ext <<_ACEOF
14145 #line $LINENO "configure"
14148 cat confdefs.h
>>conftest.
$ac_ext
14149 cat >>conftest.
$ac_ext <<_ACEOF
14150 /* end confdefs.h. */
14151 $ac_includes_default
14152 long longval () { return (long) (sizeof (short)); }
14153 unsigned long ulongval () { return (long) (sizeof (short)); }
14155 #include <stdlib.h>
14160 FILE *f = fopen ("conftest.val", "w");
14163 if (((long) (sizeof (short))) < 0)
14165 long i = longval ();
14166 if (i != ((long) (sizeof (short))))
14168 fprintf (f, "%ld\n", i);
14172 unsigned long i = ulongval ();
14173 if (i != ((long) (sizeof (short))))
14175 fprintf (f, "%lu\n", i);
14177 exit (ferror (f) || fclose (f) != 0);
14183 rm -f conftest
$ac_exeext
14184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14185 (eval $ac_link) 2>&5
14187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14188 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14190 (eval $ac_try) 2>&5
14192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14193 (exit $ac_status); }; }; then
14194 ac_cv_sizeof_short
=`cat conftest.val`
14196 echo "$as_me: program exited with status $ac_status" >&5
14197 echo "$as_me: failed program was:" >&5
14198 sed 's/^/| /' conftest.
$ac_ext >&5
14200 ( exit $ac_status )
14201 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14202 See \`config.log' for more details." >&5
14203 echo "$as_me: error: cannot compute sizeof (short), 77
14204 See \`config.log' for more details." >&2;}
14205 { (exit 1); exit 1; }; }
14207 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14212 ac_cv_sizeof_short
=0
14215 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14216 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14217 cat >>confdefs.h
<<_ACEOF
14218 #define SIZEOF_SHORT $ac_cv_sizeof_short
14222 echo "$as_me:$LINENO: checking for void *" >&5
14223 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14224 if test "${ac_cv_type_void_p+set}" = set; then
14225 echo $ECHO_N "(cached) $ECHO_C" >&6
14227 cat >conftest.
$ac_ext <<_ACEOF
14228 #line $LINENO "configure"
14231 cat confdefs.h
>>conftest.
$ac_ext
14232 cat >>conftest.
$ac_ext <<_ACEOF
14233 /* end confdefs.h. */
14234 $ac_includes_default
14240 if (sizeof (void *))
14246 rm -f conftest.
$ac_objext
14247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14248 (eval $ac_compile) 2>&5
14250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14251 (exit $ac_status); } &&
14252 { ac_try
='test -s conftest.$ac_objext'
14253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14254 (eval $ac_try) 2>&5
14256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14257 (exit $ac_status); }; }; then
14258 ac_cv_type_void_p
=yes
14260 echo "$as_me: failed program was:" >&5
14261 sed 's/^/| /' conftest.
$ac_ext >&5
14263 ac_cv_type_void_p
=no
14265 rm -f conftest.
$ac_objext conftest.
$ac_ext
14267 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14268 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14270 echo "$as_me:$LINENO: checking size of void *" >&5
14271 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14272 if test "${ac_cv_sizeof_void_p+set}" = set; then
14273 echo $ECHO_N "(cached) $ECHO_C" >&6
14275 if test "$ac_cv_type_void_p" = yes; then
14276 # The cast to unsigned long works around a bug in the HP C Compiler
14277 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14278 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14279 # This bug is HP SR number 8606223364.
14280 if test "$cross_compiling" = yes; then
14281 # Depending upon the size, compute the lo and hi bounds.
14282 cat >conftest.
$ac_ext <<_ACEOF
14283 #line $LINENO "configure"
14286 cat confdefs.h
>>conftest.
$ac_ext
14287 cat >>conftest.
$ac_ext <<_ACEOF
14288 /* end confdefs.h. */
14289 $ac_includes_default
14293 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14300 rm -f conftest.
$ac_objext
14301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14302 (eval $ac_compile) 2>&5
14304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14305 (exit $ac_status); } &&
14306 { ac_try
='test -s conftest.$ac_objext'
14307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14308 (eval $ac_try) 2>&5
14310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14311 (exit $ac_status); }; }; then
14314 cat >conftest.
$ac_ext <<_ACEOF
14315 #line $LINENO "configure"
14318 cat confdefs.h
>>conftest.
$ac_ext
14319 cat >>conftest.
$ac_ext <<_ACEOF
14320 /* end confdefs.h. */
14321 $ac_includes_default
14325 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14332 rm -f conftest.
$ac_objext
14333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14334 (eval $ac_compile) 2>&5
14336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14337 (exit $ac_status); } &&
14338 { ac_try
='test -s conftest.$ac_objext'
14339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14340 (eval $ac_try) 2>&5
14342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14343 (exit $ac_status); }; }; then
14344 ac_hi
=$ac_mid; break
14346 echo "$as_me: failed program was:" >&5
14347 sed 's/^/| /' conftest.
$ac_ext >&5
14349 ac_lo
=`expr $ac_mid + 1`
14350 if test $ac_lo -le $ac_mid; then
14354 ac_mid
=`expr 2 '*' $ac_mid + 1`
14356 rm -f conftest.
$ac_objext conftest.
$ac_ext
14359 echo "$as_me: failed program was:" >&5
14360 sed 's/^/| /' conftest.
$ac_ext >&5
14362 cat >conftest.
$ac_ext <<_ACEOF
14363 #line $LINENO "configure"
14366 cat confdefs.h
>>conftest.
$ac_ext
14367 cat >>conftest.
$ac_ext <<_ACEOF
14368 /* end confdefs.h. */
14369 $ac_includes_default
14373 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14380 rm -f conftest.
$ac_objext
14381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14382 (eval $ac_compile) 2>&5
14384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14385 (exit $ac_status); } &&
14386 { ac_try
='test -s conftest.$ac_objext'
14387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14388 (eval $ac_try) 2>&5
14390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14391 (exit $ac_status); }; }; then
14394 cat >conftest.
$ac_ext <<_ACEOF
14395 #line $LINENO "configure"
14398 cat confdefs.h
>>conftest.
$ac_ext
14399 cat >>conftest.
$ac_ext <<_ACEOF
14400 /* end confdefs.h. */
14401 $ac_includes_default
14405 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14412 rm -f conftest.
$ac_objext
14413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14414 (eval $ac_compile) 2>&5
14416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14417 (exit $ac_status); } &&
14418 { ac_try
='test -s conftest.$ac_objext'
14419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14420 (eval $ac_try) 2>&5
14422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14423 (exit $ac_status); }; }; then
14424 ac_lo
=$ac_mid; break
14426 echo "$as_me: failed program was:" >&5
14427 sed 's/^/| /' conftest.
$ac_ext >&5
14429 ac_hi
=`expr '(' $ac_mid ')' - 1`
14430 if test $ac_mid -le $ac_hi; then
14434 ac_mid
=`expr 2 '*' $ac_mid`
14436 rm -f conftest.
$ac_objext conftest.
$ac_ext
14439 echo "$as_me: failed program was:" >&5
14440 sed 's/^/| /' conftest.
$ac_ext >&5
14444 rm -f conftest.
$ac_objext conftest.
$ac_ext
14446 rm -f conftest.
$ac_objext conftest.
$ac_ext
14447 # Binary search between lo and hi bounds.
14448 while test "x$ac_lo" != "x$ac_hi"; do
14449 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14450 cat >conftest.
$ac_ext <<_ACEOF
14451 #line $LINENO "configure"
14454 cat confdefs.h
>>conftest.
$ac_ext
14455 cat >>conftest.
$ac_ext <<_ACEOF
14456 /* end confdefs.h. */
14457 $ac_includes_default
14461 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14468 rm -f conftest.
$ac_objext
14469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14470 (eval $ac_compile) 2>&5
14472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14473 (exit $ac_status); } &&
14474 { ac_try
='test -s conftest.$ac_objext'
14475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14476 (eval $ac_try) 2>&5
14478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14479 (exit $ac_status); }; }; then
14482 echo "$as_me: failed program was:" >&5
14483 sed 's/^/| /' conftest.
$ac_ext >&5
14485 ac_lo
=`expr '(' $ac_mid ')' + 1`
14487 rm -f conftest.
$ac_objext conftest.
$ac_ext
14490 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
14491 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14492 See \`config.log' for more details." >&5
14493 echo "$as_me: error: cannot compute sizeof (void *), 77
14494 See \`config.log' for more details." >&2;}
14495 { (exit 1); exit 1; }; } ;;
14498 if test "$cross_compiling" = yes; then
14499 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14500 See \`config.log' for more details." >&5
14501 echo "$as_me: error: cannot run test program while cross compiling
14502 See \`config.log' for more details." >&2;}
14503 { (exit 1); exit 1; }; }
14505 cat >conftest.
$ac_ext <<_ACEOF
14506 #line $LINENO "configure"
14509 cat confdefs.h
>>conftest.
$ac_ext
14510 cat >>conftest.
$ac_ext <<_ACEOF
14511 /* end confdefs.h. */
14512 $ac_includes_default
14513 long longval () { return (long) (sizeof (void *)); }
14514 unsigned long ulongval () { return (long) (sizeof (void *)); }
14516 #include <stdlib.h>
14521 FILE *f = fopen ("conftest.val", "w");
14524 if (((long) (sizeof (void *))) < 0)
14526 long i = longval ();
14527 if (i != ((long) (sizeof (void *))))
14529 fprintf (f, "%ld\n", i);
14533 unsigned long i = ulongval ();
14534 if (i != ((long) (sizeof (void *))))
14536 fprintf (f, "%lu\n", i);
14538 exit (ferror (f) || fclose (f) != 0);
14544 rm -f conftest
$ac_exeext
14545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14546 (eval $ac_link) 2>&5
14548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14549 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14551 (eval $ac_try) 2>&5
14553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14554 (exit $ac_status); }; }; then
14555 ac_cv_sizeof_void_p
=`cat conftest.val`
14557 echo "$as_me: program exited with status $ac_status" >&5
14558 echo "$as_me: failed program was:" >&5
14559 sed 's/^/| /' conftest.
$ac_ext >&5
14561 ( exit $ac_status )
14562 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14563 See \`config.log' for more details." >&5
14564 echo "$as_me: error: cannot compute sizeof (void *), 77
14565 See \`config.log' for more details." >&2;}
14566 { (exit 1); exit 1; }; }
14568 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14573 ac_cv_sizeof_void_p
=0
14576 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14577 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14578 cat >>confdefs.h
<<_ACEOF
14579 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14583 echo "$as_me:$LINENO: checking for int" >&5
14584 echo $ECHO_N "checking for int... $ECHO_C" >&6
14585 if test "${ac_cv_type_int+set}" = set; then
14586 echo $ECHO_N "(cached) $ECHO_C" >&6
14588 cat >conftest.
$ac_ext <<_ACEOF
14589 #line $LINENO "configure"
14592 cat confdefs.h
>>conftest.
$ac_ext
14593 cat >>conftest.
$ac_ext <<_ACEOF
14594 /* end confdefs.h. */
14595 $ac_includes_default
14607 rm -f conftest.
$ac_objext
14608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14609 (eval $ac_compile) 2>&5
14611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14612 (exit $ac_status); } &&
14613 { ac_try
='test -s conftest.$ac_objext'
14614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14615 (eval $ac_try) 2>&5
14617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14618 (exit $ac_status); }; }; then
14621 echo "$as_me: failed program was:" >&5
14622 sed 's/^/| /' conftest.
$ac_ext >&5
14626 rm -f conftest.
$ac_objext conftest.
$ac_ext
14628 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14629 echo "${ECHO_T}$ac_cv_type_int" >&6
14631 echo "$as_me:$LINENO: checking size of int" >&5
14632 echo $ECHO_N "checking size of int... $ECHO_C" >&6
14633 if test "${ac_cv_sizeof_int+set}" = set; then
14634 echo $ECHO_N "(cached) $ECHO_C" >&6
14636 if test "$ac_cv_type_int" = yes; then
14637 # The cast to unsigned long works around a bug in the HP C Compiler
14638 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14639 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14640 # This bug is HP SR number 8606223364.
14641 if test "$cross_compiling" = yes; then
14642 # Depending upon the size, compute the lo and hi bounds.
14643 cat >conftest.
$ac_ext <<_ACEOF
14644 #line $LINENO "configure"
14647 cat confdefs.h
>>conftest.
$ac_ext
14648 cat >>conftest.
$ac_ext <<_ACEOF
14649 /* end confdefs.h. */
14650 $ac_includes_default
14654 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14661 rm -f conftest.
$ac_objext
14662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14663 (eval $ac_compile) 2>&5
14665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14666 (exit $ac_status); } &&
14667 { ac_try
='test -s conftest.$ac_objext'
14668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14669 (eval $ac_try) 2>&5
14671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14672 (exit $ac_status); }; }; then
14675 cat >conftest.
$ac_ext <<_ACEOF
14676 #line $LINENO "configure"
14679 cat confdefs.h
>>conftest.
$ac_ext
14680 cat >>conftest.
$ac_ext <<_ACEOF
14681 /* end confdefs.h. */
14682 $ac_includes_default
14686 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14693 rm -f conftest.
$ac_objext
14694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14695 (eval $ac_compile) 2>&5
14697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14698 (exit $ac_status); } &&
14699 { ac_try
='test -s conftest.$ac_objext'
14700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14701 (eval $ac_try) 2>&5
14703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14704 (exit $ac_status); }; }; then
14705 ac_hi
=$ac_mid; break
14707 echo "$as_me: failed program was:" >&5
14708 sed 's/^/| /' conftest.
$ac_ext >&5
14710 ac_lo
=`expr $ac_mid + 1`
14711 if test $ac_lo -le $ac_mid; then
14715 ac_mid
=`expr 2 '*' $ac_mid + 1`
14717 rm -f conftest.
$ac_objext conftest.
$ac_ext
14720 echo "$as_me: failed program was:" >&5
14721 sed 's/^/| /' conftest.
$ac_ext >&5
14723 cat >conftest.
$ac_ext <<_ACEOF
14724 #line $LINENO "configure"
14727 cat confdefs.h
>>conftest.
$ac_ext
14728 cat >>conftest.
$ac_ext <<_ACEOF
14729 /* end confdefs.h. */
14730 $ac_includes_default
14734 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
14741 rm -f conftest.
$ac_objext
14742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14743 (eval $ac_compile) 2>&5
14745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14746 (exit $ac_status); } &&
14747 { ac_try
='test -s conftest.$ac_objext'
14748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14749 (eval $ac_try) 2>&5
14751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14752 (exit $ac_status); }; }; then
14755 cat >conftest.
$ac_ext <<_ACEOF
14756 #line $LINENO "configure"
14759 cat confdefs.h
>>conftest.
$ac_ext
14760 cat >>conftest.
$ac_ext <<_ACEOF
14761 /* end confdefs.h. */
14762 $ac_includes_default
14766 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
14773 rm -f conftest.
$ac_objext
14774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14775 (eval $ac_compile) 2>&5
14777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14778 (exit $ac_status); } &&
14779 { ac_try
='test -s conftest.$ac_objext'
14780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14781 (eval $ac_try) 2>&5
14783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14784 (exit $ac_status); }; }; then
14785 ac_lo
=$ac_mid; break
14787 echo "$as_me: failed program was:" >&5
14788 sed 's/^/| /' conftest.
$ac_ext >&5
14790 ac_hi
=`expr '(' $ac_mid ')' - 1`
14791 if test $ac_mid -le $ac_hi; then
14795 ac_mid
=`expr 2 '*' $ac_mid`
14797 rm -f conftest.
$ac_objext conftest.
$ac_ext
14800 echo "$as_me: failed program was:" >&5
14801 sed 's/^/| /' conftest.
$ac_ext >&5
14805 rm -f conftest.
$ac_objext conftest.
$ac_ext
14807 rm -f conftest.
$ac_objext conftest.
$ac_ext
14808 # Binary search between lo and hi bounds.
14809 while test "x$ac_lo" != "x$ac_hi"; do
14810 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14811 cat >conftest.
$ac_ext <<_ACEOF
14812 #line $LINENO "configure"
14815 cat confdefs.h
>>conftest.
$ac_ext
14816 cat >>conftest.
$ac_ext <<_ACEOF
14817 /* end confdefs.h. */
14818 $ac_includes_default
14822 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14829 rm -f conftest.
$ac_objext
14830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14831 (eval $ac_compile) 2>&5
14833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14834 (exit $ac_status); } &&
14835 { ac_try
='test -s conftest.$ac_objext'
14836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14837 (eval $ac_try) 2>&5
14839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14840 (exit $ac_status); }; }; then
14843 echo "$as_me: failed program was:" >&5
14844 sed 's/^/| /' conftest.
$ac_ext >&5
14846 ac_lo
=`expr '(' $ac_mid ')' + 1`
14848 rm -f conftest.
$ac_objext conftest.
$ac_ext
14851 ?
*) ac_cv_sizeof_int
=$ac_lo;;
14852 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
14853 See \`config.log' for more details." >&5
14854 echo "$as_me: error: cannot compute sizeof (int), 77
14855 See \`config.log' for more details." >&2;}
14856 { (exit 1); exit 1; }; } ;;
14859 if test "$cross_compiling" = yes; then
14860 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14861 See \`config.log' for more details." >&5
14862 echo "$as_me: error: cannot run test program while cross compiling
14863 See \`config.log' for more details." >&2;}
14864 { (exit 1); exit 1; }; }
14866 cat >conftest.
$ac_ext <<_ACEOF
14867 #line $LINENO "configure"
14870 cat confdefs.h
>>conftest.
$ac_ext
14871 cat >>conftest.
$ac_ext <<_ACEOF
14872 /* end confdefs.h. */
14873 $ac_includes_default
14874 long longval () { return (long) (sizeof (int)); }
14875 unsigned long ulongval () { return (long) (sizeof (int)); }
14877 #include <stdlib.h>
14882 FILE *f = fopen ("conftest.val", "w");
14885 if (((long) (sizeof (int))) < 0)
14887 long i = longval ();
14888 if (i != ((long) (sizeof (int))))
14890 fprintf (f, "%ld\n", i);
14894 unsigned long i = ulongval ();
14895 if (i != ((long) (sizeof (int))))
14897 fprintf (f, "%lu\n", i);
14899 exit (ferror (f) || fclose (f) != 0);
14905 rm -f conftest
$ac_exeext
14906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14907 (eval $ac_link) 2>&5
14909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14910 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14912 (eval $ac_try) 2>&5
14914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14915 (exit $ac_status); }; }; then
14916 ac_cv_sizeof_int
=`cat conftest.val`
14918 echo "$as_me: program exited with status $ac_status" >&5
14919 echo "$as_me: failed program was:" >&5
14920 sed 's/^/| /' conftest.
$ac_ext >&5
14922 ( exit $ac_status )
14923 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
14924 See \`config.log' for more details." >&5
14925 echo "$as_me: error: cannot compute sizeof (int), 77
14926 See \`config.log' for more details." >&2;}
14927 { (exit 1); exit 1; }; }
14929 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14937 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
14938 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
14939 cat >>confdefs.h
<<_ACEOF
14940 #define SIZEOF_INT $ac_cv_sizeof_int
14944 echo "$as_me:$LINENO: checking for long" >&5
14945 echo $ECHO_N "checking for long... $ECHO_C" >&6
14946 if test "${ac_cv_type_long+set}" = set; then
14947 echo $ECHO_N "(cached) $ECHO_C" >&6
14949 cat >conftest.
$ac_ext <<_ACEOF
14950 #line $LINENO "configure"
14953 cat confdefs.h
>>conftest.
$ac_ext
14954 cat >>conftest.
$ac_ext <<_ACEOF
14955 /* end confdefs.h. */
14956 $ac_includes_default
14968 rm -f conftest.
$ac_objext
14969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14970 (eval $ac_compile) 2>&5
14972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14973 (exit $ac_status); } &&
14974 { ac_try
='test -s conftest.$ac_objext'
14975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14976 (eval $ac_try) 2>&5
14978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14979 (exit $ac_status); }; }; then
14980 ac_cv_type_long
=yes
14982 echo "$as_me: failed program was:" >&5
14983 sed 's/^/| /' conftest.
$ac_ext >&5
14987 rm -f conftest.
$ac_objext conftest.
$ac_ext
14989 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
14990 echo "${ECHO_T}$ac_cv_type_long" >&6
14992 echo "$as_me:$LINENO: checking size of long" >&5
14993 echo $ECHO_N "checking size of long... $ECHO_C" >&6
14994 if test "${ac_cv_sizeof_long+set}" = set; then
14995 echo $ECHO_N "(cached) $ECHO_C" >&6
14997 if test "$ac_cv_type_long" = yes; then
14998 # The cast to unsigned long works around a bug in the HP C Compiler
14999 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15000 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15001 # This bug is HP SR number 8606223364.
15002 if test "$cross_compiling" = yes; then
15003 # Depending upon the size, compute the lo and hi bounds.
15004 cat >conftest.
$ac_ext <<_ACEOF
15005 #line $LINENO "configure"
15008 cat confdefs.h
>>conftest.
$ac_ext
15009 cat >>conftest.
$ac_ext <<_ACEOF
15010 /* end confdefs.h. */
15011 $ac_includes_default
15015 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15022 rm -f conftest.
$ac_objext
15023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15024 (eval $ac_compile) 2>&5
15026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15027 (exit $ac_status); } &&
15028 { ac_try
='test -s conftest.$ac_objext'
15029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15030 (eval $ac_try) 2>&5
15032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15033 (exit $ac_status); }; }; then
15036 cat >conftest.
$ac_ext <<_ACEOF
15037 #line $LINENO "configure"
15040 cat confdefs.h
>>conftest.
$ac_ext
15041 cat >>conftest.
$ac_ext <<_ACEOF
15042 /* end confdefs.h. */
15043 $ac_includes_default
15047 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15054 rm -f conftest.
$ac_objext
15055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15056 (eval $ac_compile) 2>&5
15058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15059 (exit $ac_status); } &&
15060 { ac_try
='test -s conftest.$ac_objext'
15061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15062 (eval $ac_try) 2>&5
15064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15065 (exit $ac_status); }; }; then
15066 ac_hi
=$ac_mid; break
15068 echo "$as_me: failed program was:" >&5
15069 sed 's/^/| /' conftest.
$ac_ext >&5
15071 ac_lo
=`expr $ac_mid + 1`
15072 if test $ac_lo -le $ac_mid; then
15076 ac_mid
=`expr 2 '*' $ac_mid + 1`
15078 rm -f conftest.
$ac_objext conftest.
$ac_ext
15081 echo "$as_me: failed program was:" >&5
15082 sed 's/^/| /' conftest.
$ac_ext >&5
15084 cat >conftest.
$ac_ext <<_ACEOF
15085 #line $LINENO "configure"
15088 cat confdefs.h
>>conftest.
$ac_ext
15089 cat >>conftest.
$ac_ext <<_ACEOF
15090 /* end confdefs.h. */
15091 $ac_includes_default
15095 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15102 rm -f conftest.
$ac_objext
15103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15104 (eval $ac_compile) 2>&5
15106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15107 (exit $ac_status); } &&
15108 { ac_try
='test -s conftest.$ac_objext'
15109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15110 (eval $ac_try) 2>&5
15112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15113 (exit $ac_status); }; }; then
15116 cat >conftest.
$ac_ext <<_ACEOF
15117 #line $LINENO "configure"
15120 cat confdefs.h
>>conftest.
$ac_ext
15121 cat >>conftest.
$ac_ext <<_ACEOF
15122 /* end confdefs.h. */
15123 $ac_includes_default
15127 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15134 rm -f conftest.
$ac_objext
15135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15136 (eval $ac_compile) 2>&5
15138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15139 (exit $ac_status); } &&
15140 { ac_try
='test -s conftest.$ac_objext'
15141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15142 (eval $ac_try) 2>&5
15144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15145 (exit $ac_status); }; }; then
15146 ac_lo
=$ac_mid; break
15148 echo "$as_me: failed program was:" >&5
15149 sed 's/^/| /' conftest.
$ac_ext >&5
15151 ac_hi
=`expr '(' $ac_mid ')' - 1`
15152 if test $ac_mid -le $ac_hi; then
15156 ac_mid
=`expr 2 '*' $ac_mid`
15158 rm -f conftest.
$ac_objext conftest.
$ac_ext
15161 echo "$as_me: failed program was:" >&5
15162 sed 's/^/| /' conftest.
$ac_ext >&5
15166 rm -f conftest.
$ac_objext conftest.
$ac_ext
15168 rm -f conftest.
$ac_objext conftest.
$ac_ext
15169 # Binary search between lo and hi bounds.
15170 while test "x$ac_lo" != "x$ac_hi"; do
15171 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15172 cat >conftest.
$ac_ext <<_ACEOF
15173 #line $LINENO "configure"
15176 cat confdefs.h
>>conftest.
$ac_ext
15177 cat >>conftest.
$ac_ext <<_ACEOF
15178 /* end confdefs.h. */
15179 $ac_includes_default
15183 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15190 rm -f conftest.
$ac_objext
15191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15192 (eval $ac_compile) 2>&5
15194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15195 (exit $ac_status); } &&
15196 { ac_try
='test -s conftest.$ac_objext'
15197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15198 (eval $ac_try) 2>&5
15200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15201 (exit $ac_status); }; }; then
15204 echo "$as_me: failed program was:" >&5
15205 sed 's/^/| /' conftest.
$ac_ext >&5
15207 ac_lo
=`expr '(' $ac_mid ')' + 1`
15209 rm -f conftest.
$ac_objext conftest.
$ac_ext
15212 ?
*) ac_cv_sizeof_long
=$ac_lo;;
15213 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15214 See \`config.log' for more details." >&5
15215 echo "$as_me: error: cannot compute sizeof (long), 77
15216 See \`config.log' for more details." >&2;}
15217 { (exit 1); exit 1; }; } ;;
15220 if test "$cross_compiling" = yes; then
15221 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15222 See \`config.log' for more details." >&5
15223 echo "$as_me: error: cannot run test program while cross compiling
15224 See \`config.log' for more details." >&2;}
15225 { (exit 1); exit 1; }; }
15227 cat >conftest.
$ac_ext <<_ACEOF
15228 #line $LINENO "configure"
15231 cat confdefs.h
>>conftest.
$ac_ext
15232 cat >>conftest.
$ac_ext <<_ACEOF
15233 /* end confdefs.h. */
15234 $ac_includes_default
15235 long longval () { return (long) (sizeof (long)); }
15236 unsigned long ulongval () { return (long) (sizeof (long)); }
15238 #include <stdlib.h>
15243 FILE *f = fopen ("conftest.val", "w");
15246 if (((long) (sizeof (long))) < 0)
15248 long i = longval ();
15249 if (i != ((long) (sizeof (long))))
15251 fprintf (f, "%ld\n", i);
15255 unsigned long i = ulongval ();
15256 if (i != ((long) (sizeof (long))))
15258 fprintf (f, "%lu\n", i);
15260 exit (ferror (f) || fclose (f) != 0);
15266 rm -f conftest
$ac_exeext
15267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15268 (eval $ac_link) 2>&5
15270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15271 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15273 (eval $ac_try) 2>&5
15275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15276 (exit $ac_status); }; }; then
15277 ac_cv_sizeof_long
=`cat conftest.val`
15279 echo "$as_me: program exited with status $ac_status" >&5
15280 echo "$as_me: failed program was:" >&5
15281 sed 's/^/| /' conftest.
$ac_ext >&5
15283 ( exit $ac_status )
15284 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15285 See \`config.log' for more details." >&5
15286 echo "$as_me: error: cannot compute sizeof (long), 77
15287 See \`config.log' for more details." >&2;}
15288 { (exit 1); exit 1; }; }
15290 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15295 ac_cv_sizeof_long
=0
15298 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15299 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15300 cat >>confdefs.h
<<_ACEOF
15301 #define SIZEOF_LONG $ac_cv_sizeof_long
15308 echo "$as_me:$LINENO: checking for long long" >&5
15309 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15310 if test "${ac_cv_type_long_long+set}" = set; then
15311 echo $ECHO_N "(cached) $ECHO_C" >&6
15313 cat >conftest.
$ac_ext <<_ACEOF
15314 #line $LINENO "configure"
15317 cat confdefs.h
>>conftest.
$ac_ext
15318 cat >>conftest.
$ac_ext <<_ACEOF
15319 /* end confdefs.h. */
15320 $ac_includes_default
15324 if ((long long *) 0)
15326 if (sizeof (long long))
15332 rm -f conftest.
$ac_objext
15333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15334 (eval $ac_compile) 2>&5
15336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15337 (exit $ac_status); } &&
15338 { ac_try
='test -s conftest.$ac_objext'
15339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15340 (eval $ac_try) 2>&5
15342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15343 (exit $ac_status); }; }; then
15344 ac_cv_type_long_long
=yes
15346 echo "$as_me: failed program was:" >&5
15347 sed 's/^/| /' conftest.
$ac_ext >&5
15349 ac_cv_type_long_long
=no
15351 rm -f conftest.
$ac_objext conftest.
$ac_ext
15353 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15354 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15356 echo "$as_me:$LINENO: checking size of long long" >&5
15357 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15358 if test "${ac_cv_sizeof_long_long+set}" = set; then
15359 echo $ECHO_N "(cached) $ECHO_C" >&6
15361 if test "$ac_cv_type_long_long" = yes; then
15362 # The cast to unsigned long works around a bug in the HP C Compiler
15363 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15364 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15365 # This bug is HP SR number 8606223364.
15366 if test "$cross_compiling" = yes; then
15367 # Depending upon the size, compute the lo and hi bounds.
15368 cat >conftest.
$ac_ext <<_ACEOF
15369 #line $LINENO "configure"
15372 cat confdefs.h
>>conftest.
$ac_ext
15373 cat >>conftest.
$ac_ext <<_ACEOF
15374 /* end confdefs.h. */
15375 $ac_includes_default
15379 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15386 rm -f conftest.
$ac_objext
15387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15388 (eval $ac_compile) 2>&5
15390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15391 (exit $ac_status); } &&
15392 { ac_try
='test -s conftest.$ac_objext'
15393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15394 (eval $ac_try) 2>&5
15396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15397 (exit $ac_status); }; }; then
15400 cat >conftest.
$ac_ext <<_ACEOF
15401 #line $LINENO "configure"
15404 cat confdefs.h
>>conftest.
$ac_ext
15405 cat >>conftest.
$ac_ext <<_ACEOF
15406 /* end confdefs.h. */
15407 $ac_includes_default
15411 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15418 rm -f conftest.
$ac_objext
15419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15420 (eval $ac_compile) 2>&5
15422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15423 (exit $ac_status); } &&
15424 { ac_try
='test -s conftest.$ac_objext'
15425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15426 (eval $ac_try) 2>&5
15428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15429 (exit $ac_status); }; }; then
15430 ac_hi
=$ac_mid; break
15432 echo "$as_me: failed program was:" >&5
15433 sed 's/^/| /' conftest.
$ac_ext >&5
15435 ac_lo
=`expr $ac_mid + 1`
15436 if test $ac_lo -le $ac_mid; then
15440 ac_mid
=`expr 2 '*' $ac_mid + 1`
15442 rm -f conftest.
$ac_objext conftest.
$ac_ext
15445 echo "$as_me: failed program was:" >&5
15446 sed 's/^/| /' conftest.
$ac_ext >&5
15448 cat >conftest.
$ac_ext <<_ACEOF
15449 #line $LINENO "configure"
15452 cat confdefs.h
>>conftest.
$ac_ext
15453 cat >>conftest.
$ac_ext <<_ACEOF
15454 /* end confdefs.h. */
15455 $ac_includes_default
15459 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15466 rm -f conftest.
$ac_objext
15467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15468 (eval $ac_compile) 2>&5
15470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15471 (exit $ac_status); } &&
15472 { ac_try
='test -s conftest.$ac_objext'
15473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15474 (eval $ac_try) 2>&5
15476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15477 (exit $ac_status); }; }; then
15480 cat >conftest.
$ac_ext <<_ACEOF
15481 #line $LINENO "configure"
15484 cat confdefs.h
>>conftest.
$ac_ext
15485 cat >>conftest.
$ac_ext <<_ACEOF
15486 /* end confdefs.h. */
15487 $ac_includes_default
15491 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15498 rm -f conftest.
$ac_objext
15499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15500 (eval $ac_compile) 2>&5
15502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15503 (exit $ac_status); } &&
15504 { ac_try
='test -s conftest.$ac_objext'
15505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15506 (eval $ac_try) 2>&5
15508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15509 (exit $ac_status); }; }; then
15510 ac_lo
=$ac_mid; break
15512 echo "$as_me: failed program was:" >&5
15513 sed 's/^/| /' conftest.
$ac_ext >&5
15515 ac_hi
=`expr '(' $ac_mid ')' - 1`
15516 if test $ac_mid -le $ac_hi; then
15520 ac_mid
=`expr 2 '*' $ac_mid`
15522 rm -f conftest.
$ac_objext conftest.
$ac_ext
15525 echo "$as_me: failed program was:" >&5
15526 sed 's/^/| /' conftest.
$ac_ext >&5
15530 rm -f conftest.
$ac_objext conftest.
$ac_ext
15532 rm -f conftest.
$ac_objext conftest.
$ac_ext
15533 # Binary search between lo and hi bounds.
15534 while test "x$ac_lo" != "x$ac_hi"; do
15535 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15536 cat >conftest.
$ac_ext <<_ACEOF
15537 #line $LINENO "configure"
15540 cat confdefs.h
>>conftest.
$ac_ext
15541 cat >>conftest.
$ac_ext <<_ACEOF
15542 /* end confdefs.h. */
15543 $ac_includes_default
15547 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15554 rm -f conftest.
$ac_objext
15555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15556 (eval $ac_compile) 2>&5
15558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15559 (exit $ac_status); } &&
15560 { ac_try
='test -s conftest.$ac_objext'
15561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15562 (eval $ac_try) 2>&5
15564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15565 (exit $ac_status); }; }; then
15568 echo "$as_me: failed program was:" >&5
15569 sed 's/^/| /' conftest.
$ac_ext >&5
15571 ac_lo
=`expr '(' $ac_mid ')' + 1`
15573 rm -f conftest.
$ac_objext conftest.
$ac_ext
15576 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
15577 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15578 See \`config.log' for more details." >&5
15579 echo "$as_me: error: cannot compute sizeof (long long), 77
15580 See \`config.log' for more details." >&2;}
15581 { (exit 1); exit 1; }; } ;;
15584 if test "$cross_compiling" = yes; then
15585 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15586 See \`config.log' for more details." >&5
15587 echo "$as_me: error: cannot run test program while cross compiling
15588 See \`config.log' for more details." >&2;}
15589 { (exit 1); exit 1; }; }
15591 cat >conftest.
$ac_ext <<_ACEOF
15592 #line $LINENO "configure"
15595 cat confdefs.h
>>conftest.
$ac_ext
15596 cat >>conftest.
$ac_ext <<_ACEOF
15597 /* end confdefs.h. */
15598 $ac_includes_default
15599 long longval () { return (long) (sizeof (long long)); }
15600 unsigned long ulongval () { return (long) (sizeof (long long)); }
15602 #include <stdlib.h>
15607 FILE *f = fopen ("conftest.val", "w");
15610 if (((long) (sizeof (long long))) < 0)
15612 long i = longval ();
15613 if (i != ((long) (sizeof (long long))))
15615 fprintf (f, "%ld\n", i);
15619 unsigned long i = ulongval ();
15620 if (i != ((long) (sizeof (long long))))
15622 fprintf (f, "%lu\n", i);
15624 exit (ferror (f) || fclose (f) != 0);
15630 rm -f conftest
$ac_exeext
15631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15632 (eval $ac_link) 2>&5
15634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15635 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15637 (eval $ac_try) 2>&5
15639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15640 (exit $ac_status); }; }; then
15641 ac_cv_sizeof_long_long
=`cat conftest.val`
15643 echo "$as_me: program exited with status $ac_status" >&5
15644 echo "$as_me: failed program was:" >&5
15645 sed 's/^/| /' conftest.
$ac_ext >&5
15647 ( exit $ac_status )
15648 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15649 See \`config.log' for more details." >&5
15650 echo "$as_me: error: cannot compute sizeof (long long), 77
15651 See \`config.log' for more details." >&2;}
15652 { (exit 1); exit 1; }; }
15654 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15659 ac_cv_sizeof_long_long
=0
15662 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
15663 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
15664 cat >>confdefs.h
<<_ACEOF
15665 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15671 echo "$as_me:$LINENO: checking for long long" >&5
15672 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15673 if test "${ac_cv_type_long_long+set}" = set; then
15674 echo $ECHO_N "(cached) $ECHO_C" >&6
15676 cat >conftest.
$ac_ext <<_ACEOF
15677 #line $LINENO "configure"
15680 cat confdefs.h
>>conftest.
$ac_ext
15681 cat >>conftest.
$ac_ext <<_ACEOF
15682 /* end confdefs.h. */
15683 $ac_includes_default
15687 if ((long long *) 0)
15689 if (sizeof (long long))
15695 rm -f conftest.
$ac_objext
15696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15697 (eval $ac_compile) 2>&5
15699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15700 (exit $ac_status); } &&
15701 { ac_try
='test -s conftest.$ac_objext'
15702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15703 (eval $ac_try) 2>&5
15705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15706 (exit $ac_status); }; }; then
15707 ac_cv_type_long_long
=yes
15709 echo "$as_me: failed program was:" >&5
15710 sed 's/^/| /' conftest.
$ac_ext >&5
15712 ac_cv_type_long_long
=no
15714 rm -f conftest.
$ac_objext conftest.
$ac_ext
15716 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15717 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15719 echo "$as_me:$LINENO: checking size of long long" >&5
15720 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15721 if test "${ac_cv_sizeof_long_long+set}" = set; then
15722 echo $ECHO_N "(cached) $ECHO_C" >&6
15724 if test "$ac_cv_type_long_long" = yes; then
15725 # The cast to unsigned long works around a bug in the HP C Compiler
15726 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15727 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15728 # This bug is HP SR number 8606223364.
15729 if test "$cross_compiling" = yes; then
15730 # Depending upon the size, compute the lo and hi bounds.
15731 cat >conftest.
$ac_ext <<_ACEOF
15732 #line $LINENO "configure"
15735 cat confdefs.h
>>conftest.
$ac_ext
15736 cat >>conftest.
$ac_ext <<_ACEOF
15737 /* end confdefs.h. */
15738 $ac_includes_default
15742 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15749 rm -f conftest.
$ac_objext
15750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15751 (eval $ac_compile) 2>&5
15753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15754 (exit $ac_status); } &&
15755 { ac_try
='test -s conftest.$ac_objext'
15756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15757 (eval $ac_try) 2>&5
15759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15760 (exit $ac_status); }; }; then
15763 cat >conftest.
$ac_ext <<_ACEOF
15764 #line $LINENO "configure"
15767 cat confdefs.h
>>conftest.
$ac_ext
15768 cat >>conftest.
$ac_ext <<_ACEOF
15769 /* end confdefs.h. */
15770 $ac_includes_default
15774 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15781 rm -f conftest.
$ac_objext
15782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15783 (eval $ac_compile) 2>&5
15785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15786 (exit $ac_status); } &&
15787 { ac_try
='test -s conftest.$ac_objext'
15788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15789 (eval $ac_try) 2>&5
15791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15792 (exit $ac_status); }; }; then
15793 ac_hi
=$ac_mid; break
15795 echo "$as_me: failed program was:" >&5
15796 sed 's/^/| /' conftest.
$ac_ext >&5
15798 ac_lo
=`expr $ac_mid + 1`
15799 if test $ac_lo -le $ac_mid; then
15803 ac_mid
=`expr 2 '*' $ac_mid + 1`
15805 rm -f conftest.
$ac_objext conftest.
$ac_ext
15808 echo "$as_me: failed program was:" >&5
15809 sed 's/^/| /' conftest.
$ac_ext >&5
15811 cat >conftest.
$ac_ext <<_ACEOF
15812 #line $LINENO "configure"
15815 cat confdefs.h
>>conftest.
$ac_ext
15816 cat >>conftest.
$ac_ext <<_ACEOF
15817 /* end confdefs.h. */
15818 $ac_includes_default
15822 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15829 rm -f conftest.
$ac_objext
15830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15831 (eval $ac_compile) 2>&5
15833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15834 (exit $ac_status); } &&
15835 { ac_try
='test -s conftest.$ac_objext'
15836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15837 (eval $ac_try) 2>&5
15839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15840 (exit $ac_status); }; }; then
15843 cat >conftest.
$ac_ext <<_ACEOF
15844 #line $LINENO "configure"
15847 cat confdefs.h
>>conftest.
$ac_ext
15848 cat >>conftest.
$ac_ext <<_ACEOF
15849 /* end confdefs.h. */
15850 $ac_includes_default
15854 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15861 rm -f conftest.
$ac_objext
15862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15863 (eval $ac_compile) 2>&5
15865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15866 (exit $ac_status); } &&
15867 { ac_try
='test -s conftest.$ac_objext'
15868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15869 (eval $ac_try) 2>&5
15871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15872 (exit $ac_status); }; }; then
15873 ac_lo
=$ac_mid; break
15875 echo "$as_me: failed program was:" >&5
15876 sed 's/^/| /' conftest.
$ac_ext >&5
15878 ac_hi
=`expr '(' $ac_mid ')' - 1`
15879 if test $ac_mid -le $ac_hi; then
15883 ac_mid
=`expr 2 '*' $ac_mid`
15885 rm -f conftest.
$ac_objext conftest.
$ac_ext
15888 echo "$as_me: failed program was:" >&5
15889 sed 's/^/| /' conftest.
$ac_ext >&5
15893 rm -f conftest.
$ac_objext conftest.
$ac_ext
15895 rm -f conftest.
$ac_objext conftest.
$ac_ext
15896 # Binary search between lo and hi bounds.
15897 while test "x$ac_lo" != "x$ac_hi"; do
15898 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15899 cat >conftest.
$ac_ext <<_ACEOF
15900 #line $LINENO "configure"
15903 cat confdefs.h
>>conftest.
$ac_ext
15904 cat >>conftest.
$ac_ext <<_ACEOF
15905 /* end confdefs.h. */
15906 $ac_includes_default
15910 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15917 rm -f conftest.
$ac_objext
15918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15919 (eval $ac_compile) 2>&5
15921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15922 (exit $ac_status); } &&
15923 { ac_try
='test -s conftest.$ac_objext'
15924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15925 (eval $ac_try) 2>&5
15927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15928 (exit $ac_status); }; }; then
15931 echo "$as_me: failed program was:" >&5
15932 sed 's/^/| /' conftest.
$ac_ext >&5
15934 ac_lo
=`expr '(' $ac_mid ')' + 1`
15936 rm -f conftest.
$ac_objext conftest.
$ac_ext
15939 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
15940 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15941 See \`config.log' for more details." >&5
15942 echo "$as_me: error: cannot compute sizeof (long long), 77
15943 See \`config.log' for more details." >&2;}
15944 { (exit 1); exit 1; }; } ;;
15947 if test "$cross_compiling" = yes; then
15948 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15949 See \`config.log' for more details." >&5
15950 echo "$as_me: error: cannot run test program while cross compiling
15951 See \`config.log' for more details." >&2;}
15952 { (exit 1); exit 1; }; }
15954 cat >conftest.
$ac_ext <<_ACEOF
15955 #line $LINENO "configure"
15958 cat confdefs.h
>>conftest.
$ac_ext
15959 cat >>conftest.
$ac_ext <<_ACEOF
15960 /* end confdefs.h. */
15961 $ac_includes_default
15962 long longval () { return (long) (sizeof (long long)); }
15963 unsigned long ulongval () { return (long) (sizeof (long long)); }
15965 #include <stdlib.h>
15970 FILE *f = fopen ("conftest.val", "w");
15973 if (((long) (sizeof (long long))) < 0)
15975 long i = longval ();
15976 if (i != ((long) (sizeof (long long))))
15978 fprintf (f, "%ld\n", i);
15982 unsigned long i = ulongval ();
15983 if (i != ((long) (sizeof (long long))))
15985 fprintf (f, "%lu\n", i);
15987 exit (ferror (f) || fclose (f) != 0);
15993 rm -f conftest
$ac_exeext
15994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15995 (eval $ac_link) 2>&5
15997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15998 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16000 (eval $ac_try) 2>&5
16002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16003 (exit $ac_status); }; }; then
16004 ac_cv_sizeof_long_long
=`cat conftest.val`
16006 echo "$as_me: program exited with status $ac_status" >&5
16007 echo "$as_me: failed program was:" >&5
16008 sed 's/^/| /' conftest.
$ac_ext >&5
16010 ( exit $ac_status )
16011 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16012 See \`config.log' for more details." >&5
16013 echo "$as_me: error: cannot compute sizeof (long long), 77
16014 See \`config.log' for more details." >&2;}
16015 { (exit 1); exit 1; }; }
16017 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16022 ac_cv_sizeof_long_long
=0
16025 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16026 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16027 cat >>confdefs.h
<<_ACEOF
16028 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16032 if test "$ac_cv_sizeof_long_long" != "0"; then
16033 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
16037 echo "$as_me:$LINENO: checking for long long" >&5
16038 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16039 if test "${ac_cv_type_long_long+set}" = set; then
16040 echo $ECHO_N "(cached) $ECHO_C" >&6
16042 cat >conftest.
$ac_ext <<_ACEOF
16043 #line $LINENO "configure"
16046 cat confdefs.h
>>conftest.
$ac_ext
16047 cat >>conftest.
$ac_ext <<_ACEOF
16048 /* end confdefs.h. */
16049 $ac_includes_default
16053 if ((long long *) 0)
16055 if (sizeof (long long))
16061 rm -f conftest.
$ac_objext
16062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16063 (eval $ac_compile) 2>&5
16065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16066 (exit $ac_status); } &&
16067 { ac_try
='test -s conftest.$ac_objext'
16068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16069 (eval $ac_try) 2>&5
16071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16072 (exit $ac_status); }; }; then
16073 ac_cv_type_long_long
=yes
16075 echo "$as_me: failed program was:" >&5
16076 sed 's/^/| /' conftest.
$ac_ext >&5
16078 ac_cv_type_long_long
=no
16080 rm -f conftest.
$ac_objext conftest.
$ac_ext
16082 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16083 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16085 echo "$as_me:$LINENO: checking size of long long" >&5
16086 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16087 if test "${ac_cv_sizeof_long_long+set}" = set; then
16088 echo $ECHO_N "(cached) $ECHO_C" >&6
16090 if test "$ac_cv_type_long_long" = yes; then
16091 # The cast to unsigned long works around a bug in the HP C Compiler
16092 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16093 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16094 # This bug is HP SR number 8606223364.
16095 if test "$cross_compiling" = yes; then
16096 # Depending upon the size, compute the lo and hi bounds.
16097 cat >conftest.
$ac_ext <<_ACEOF
16098 #line $LINENO "configure"
16101 cat confdefs.h
>>conftest.
$ac_ext
16102 cat >>conftest.
$ac_ext <<_ACEOF
16103 /* end confdefs.h. */
16104 $ac_includes_default
16108 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16115 rm -f conftest.
$ac_objext
16116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16117 (eval $ac_compile) 2>&5
16119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16120 (exit $ac_status); } &&
16121 { ac_try
='test -s conftest.$ac_objext'
16122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16123 (eval $ac_try) 2>&5
16125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16126 (exit $ac_status); }; }; then
16129 cat >conftest.
$ac_ext <<_ACEOF
16130 #line $LINENO "configure"
16133 cat confdefs.h
>>conftest.
$ac_ext
16134 cat >>conftest.
$ac_ext <<_ACEOF
16135 /* end confdefs.h. */
16136 $ac_includes_default
16140 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16147 rm -f conftest.
$ac_objext
16148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16149 (eval $ac_compile) 2>&5
16151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16152 (exit $ac_status); } &&
16153 { ac_try
='test -s conftest.$ac_objext'
16154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16155 (eval $ac_try) 2>&5
16157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16158 (exit $ac_status); }; }; then
16159 ac_hi
=$ac_mid; break
16161 echo "$as_me: failed program was:" >&5
16162 sed 's/^/| /' conftest.
$ac_ext >&5
16164 ac_lo
=`expr $ac_mid + 1`
16165 if test $ac_lo -le $ac_mid; then
16169 ac_mid
=`expr 2 '*' $ac_mid + 1`
16171 rm -f conftest.
$ac_objext conftest.
$ac_ext
16174 echo "$as_me: failed program was:" >&5
16175 sed 's/^/| /' conftest.
$ac_ext >&5
16177 cat >conftest.
$ac_ext <<_ACEOF
16178 #line $LINENO "configure"
16181 cat confdefs.h
>>conftest.
$ac_ext
16182 cat >>conftest.
$ac_ext <<_ACEOF
16183 /* end confdefs.h. */
16184 $ac_includes_default
16188 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16195 rm -f conftest.
$ac_objext
16196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16197 (eval $ac_compile) 2>&5
16199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16200 (exit $ac_status); } &&
16201 { ac_try
='test -s conftest.$ac_objext'
16202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16203 (eval $ac_try) 2>&5
16205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16206 (exit $ac_status); }; }; then
16209 cat >conftest.
$ac_ext <<_ACEOF
16210 #line $LINENO "configure"
16213 cat confdefs.h
>>conftest.
$ac_ext
16214 cat >>conftest.
$ac_ext <<_ACEOF
16215 /* end confdefs.h. */
16216 $ac_includes_default
16220 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16227 rm -f conftest.
$ac_objext
16228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16229 (eval $ac_compile) 2>&5
16231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16232 (exit $ac_status); } &&
16233 { ac_try
='test -s conftest.$ac_objext'
16234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16235 (eval $ac_try) 2>&5
16237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16238 (exit $ac_status); }; }; then
16239 ac_lo
=$ac_mid; break
16241 echo "$as_me: failed program was:" >&5
16242 sed 's/^/| /' conftest.
$ac_ext >&5
16244 ac_hi
=`expr '(' $ac_mid ')' - 1`
16245 if test $ac_mid -le $ac_hi; then
16249 ac_mid
=`expr 2 '*' $ac_mid`
16251 rm -f conftest.
$ac_objext conftest.
$ac_ext
16254 echo "$as_me: failed program was:" >&5
16255 sed 's/^/| /' conftest.
$ac_ext >&5
16259 rm -f conftest.
$ac_objext conftest.
$ac_ext
16261 rm -f conftest.
$ac_objext conftest.
$ac_ext
16262 # Binary search between lo and hi bounds.
16263 while test "x$ac_lo" != "x$ac_hi"; do
16264 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16265 cat >conftest.
$ac_ext <<_ACEOF
16266 #line $LINENO "configure"
16269 cat confdefs.h
>>conftest.
$ac_ext
16270 cat >>conftest.
$ac_ext <<_ACEOF
16271 /* end confdefs.h. */
16272 $ac_includes_default
16276 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16283 rm -f conftest.
$ac_objext
16284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16285 (eval $ac_compile) 2>&5
16287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16288 (exit $ac_status); } &&
16289 { ac_try
='test -s conftest.$ac_objext'
16290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16291 (eval $ac_try) 2>&5
16293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16294 (exit $ac_status); }; }; then
16297 echo "$as_me: failed program was:" >&5
16298 sed 's/^/| /' conftest.
$ac_ext >&5
16300 ac_lo
=`expr '(' $ac_mid ')' + 1`
16302 rm -f conftest.
$ac_objext conftest.
$ac_ext
16305 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
16306 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16307 See \`config.log' for more details." >&5
16308 echo "$as_me: error: cannot compute sizeof (long long), 77
16309 See \`config.log' for more details." >&2;}
16310 { (exit 1); exit 1; }; } ;;
16313 if test "$cross_compiling" = yes; then
16314 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16315 See \`config.log' for more details." >&5
16316 echo "$as_me: error: cannot run test program while cross compiling
16317 See \`config.log' for more details." >&2;}
16318 { (exit 1); exit 1; }; }
16320 cat >conftest.
$ac_ext <<_ACEOF
16321 #line $LINENO "configure"
16324 cat confdefs.h
>>conftest.
$ac_ext
16325 cat >>conftest.
$ac_ext <<_ACEOF
16326 /* end confdefs.h. */
16327 $ac_includes_default
16328 long longval () { return (long) (sizeof (long long)); }
16329 unsigned long ulongval () { return (long) (sizeof (long long)); }
16331 #include <stdlib.h>
16336 FILE *f = fopen ("conftest.val", "w");
16339 if (((long) (sizeof (long long))) < 0)
16341 long i = longval ();
16342 if (i != ((long) (sizeof (long long))))
16344 fprintf (f, "%ld\n", i);
16348 unsigned long i = ulongval ();
16349 if (i != ((long) (sizeof (long long))))
16351 fprintf (f, "%lu\n", i);
16353 exit (ferror (f) || fclose (f) != 0);
16359 rm -f conftest
$ac_exeext
16360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16361 (eval $ac_link) 2>&5
16363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16364 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16366 (eval $ac_try) 2>&5
16368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16369 (exit $ac_status); }; }; then
16370 ac_cv_sizeof_long_long
=`cat conftest.val`
16372 echo "$as_me: program exited with status $ac_status" >&5
16373 echo "$as_me: failed program was:" >&5
16374 sed 's/^/| /' conftest.
$ac_ext >&5
16376 ( exit $ac_status )
16377 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16378 See \`config.log' for more details." >&5
16379 echo "$as_me: error: cannot compute sizeof (long long), 77
16380 See \`config.log' for more details." >&2;}
16381 { (exit 1); exit 1; }; }
16383 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16388 ac_cv_sizeof_long_long
=0
16391 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16392 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16393 cat >>confdefs.h
<<_ACEOF
16394 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16400 echo "$as_me:$LINENO: checking size of wchar_t" >&5
16401 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
16402 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
16403 echo $ECHO_N "(cached) $ECHO_C" >&6
16406 if test "$cross_compiling" = yes; then
16410 wx_cv_sizeof_wchar_t
=0
16413 wx_cv_sizeof_wchar_t
=4
16419 cat >conftest.
$ac_ext <<_ACEOF
16420 #line $LINENO "configure"
16423 cat confdefs.h
>>conftest.
$ac_ext
16424 cat >>conftest.
$ac_ext <<_ACEOF
16425 /* end confdefs.h. */
16427 /* DJGPP only has fake wchar_t: */
16429 # error "fake wchar_t"
16431 #ifdef HAVE_WCHAR_H
16433 # include <stddef.h>
16435 # include <wchar.h>
16437 #ifdef HAVE_STDLIB_H
16438 # include <stdlib.h>
16443 FILE *f=fopen("conftestval", "w");
16445 fprintf(f, "%i", sizeof(wchar_t));
16450 rm -f conftest
$ac_exeext
16451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16452 (eval $ac_link) 2>&5
16454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16455 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16457 (eval $ac_try) 2>&5
16459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16460 (exit $ac_status); }; }; then
16461 wx_cv_sizeof_wchar_t
=`cat conftestval`
16463 echo "$as_me: program exited with status $ac_status" >&5
16464 echo "$as_me: failed program was:" >&5
16465 sed 's/^/| /' conftest.
$ac_ext >&5
16467 ( exit $ac_status )
16468 wx_cv_sizeof_wchar_t
=0
16470 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16474 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
16475 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
16477 cat >>confdefs.h
<<_ACEOF
16478 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
16482 # Check whether --enable-largefile or --disable-largefile was given.
16483 if test "${enable_largefile+set}" = set; then
16484 enableval
="$enable_largefile"
16487 if test "$enable_largefile" != no
; then
16490 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16491 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
16492 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
16493 echo $ECHO_N "(cached) $ECHO_C" >&6
16496 cat >conftest.
$ac_ext <<_ACEOF
16497 #line $LINENO "configure"
16500 cat confdefs.h
>>conftest.
$ac_ext
16501 cat >>conftest.
$ac_ext <<_ACEOF
16502 /* end confdefs.h. */
16503 #define _FILE_OFFSET_BITS 64
16504 #include <sys/types.h>
16509 unsigned int field: sizeof(off_t) == 8;
16516 rm -f conftest.
$ac_objext
16517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16518 (eval $ac_compile) 2>&5
16520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16521 (exit $ac_status); } &&
16522 { ac_try
='test -s conftest.$ac_objext'
16523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16524 (eval $ac_try) 2>&5
16526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16527 (exit $ac_status); }; }; then
16528 ac_cv_sys_file_offset_bits
=64
16530 echo "$as_me: failed program was:" >&5
16531 sed 's/^/| /' conftest.
$ac_ext >&5
16533 ac_cv_sys_file_offset_bits
=no
16535 rm -f conftest.
$ac_objext conftest.
$ac_ext
16539 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
16540 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
16542 if test "$ac_cv_sys_file_offset_bits" != no
; then
16544 cat >>confdefs.h
<<_ACEOF
16545 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16550 if test "x$wx_largefile" != "xyes"; then
16552 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
16553 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
16554 if test "${ac_cv_sys_large_files+set}" = set; then
16555 echo $ECHO_N "(cached) $ECHO_C" >&6
16558 cat >conftest.
$ac_ext <<_ACEOF
16559 #line $LINENO "configure"
16562 cat confdefs.h
>>conftest.
$ac_ext
16563 cat >>conftest.
$ac_ext <<_ACEOF
16564 /* end confdefs.h. */
16565 #define _LARGE_FILES 1
16566 #include <sys/types.h>
16571 unsigned int field: sizeof(off_t) == 8;
16578 rm -f conftest.
$ac_objext
16579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16580 (eval $ac_compile) 2>&5
16582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16583 (exit $ac_status); } &&
16584 { ac_try
='test -s conftest.$ac_objext'
16585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16586 (eval $ac_try) 2>&5
16588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16589 (exit $ac_status); }; }; then
16590 ac_cv_sys_large_files
=1
16592 echo "$as_me: failed program was:" >&5
16593 sed 's/^/| /' conftest.
$ac_ext >&5
16595 ac_cv_sys_large_files
=no
16597 rm -f conftest.
$ac_objext conftest.
$ac_ext
16601 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
16602 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
16604 if test "$ac_cv_sys_large_files" != no
; then
16606 cat >>confdefs.h
<<_ACEOF
16607 #define _LARGE_FILES $ac_cv_sys_large_files
16614 echo "$as_me:$LINENO: checking if large file support is available" >&5
16615 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
16616 if test "x$wx_largefile" = "xyes"; then
16617 cat >>confdefs.h
<<\_ACEOF
16618 #define HAVE_LARGEFILE_SUPPORT 1
16622 echo "$as_me:$LINENO: result: $wx_largefile" >&5
16623 echo "${ECHO_T}$wx_largefile" >&6
16627 if test "x$wx_largefile" = "xyes"; then
16628 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
16629 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
16631 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
16633 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
16636 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16637 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16638 if test "${ac_cv_c_bigendian+set}" = set; then
16639 echo $ECHO_N "(cached) $ECHO_C" >&6
16641 ac_cv_c_bigendian
=unknown
16642 # See if sys/param.h defines the BYTE_ORDER macro.
16643 cat >conftest.
$ac_ext <<_ACEOF
16644 #line $LINENO "configure"
16647 cat confdefs.h
>>conftest.
$ac_ext
16648 cat >>conftest.
$ac_ext <<_ACEOF
16649 /* end confdefs.h. */
16650 #include <sys/types.h>
16651 #include <sys/param.h>
16656 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16657 bogus endian macros
16663 rm -f conftest.
$ac_objext
16664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16665 (eval $ac_compile) 2>&5
16667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16668 (exit $ac_status); } &&
16669 { ac_try
='test -s conftest.$ac_objext'
16670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16671 (eval $ac_try) 2>&5
16673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16674 (exit $ac_status); }; }; then
16675 # It does; now see whether it defined to BIG_ENDIAN or not.
16676 cat >conftest.
$ac_ext <<_ACEOF
16677 #line $LINENO "configure"
16680 cat confdefs.h
>>conftest.
$ac_ext
16681 cat >>conftest.
$ac_ext <<_ACEOF
16682 /* end confdefs.h. */
16683 #include <sys/types.h>
16684 #include <sys/param.h>
16689 #if BYTE_ORDER != BIG_ENDIAN
16696 rm -f conftest.
$ac_objext
16697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16698 (eval $ac_compile) 2>&5
16700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16701 (exit $ac_status); } &&
16702 { ac_try
='test -s conftest.$ac_objext'
16703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16704 (eval $ac_try) 2>&5
16706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16707 (exit $ac_status); }; }; then
16708 ac_cv_c_bigendian
=yes
16710 echo "$as_me: failed program was:" >&5
16711 sed 's/^/| /' conftest.
$ac_ext >&5
16713 ac_cv_c_bigendian
=no
16715 rm -f conftest.
$ac_objext conftest.
$ac_ext
16717 echo "$as_me: failed program was:" >&5
16718 sed 's/^/| /' conftest.
$ac_ext >&5
16721 rm -f conftest.
$ac_objext conftest.
$ac_ext
16722 if test $ac_cv_c_bigendian = unknown
; then
16723 if test "$cross_compiling" = yes; then
16724 ac_cv_c_bigendian
=unknown
16726 cat >conftest.
$ac_ext <<_ACEOF
16727 #line $LINENO "configure"
16730 cat confdefs.h
>>conftest.
$ac_ext
16731 cat >>conftest.
$ac_ext <<_ACEOF
16732 /* end confdefs.h. */
16734 /* Are we little or big endian? From Harbison&Steele. */
16738 char c[sizeof (long)];
16741 exit (u.c[sizeof (long) - 1] == 1);
16744 rm -f conftest
$ac_exeext
16745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16746 (eval $ac_link) 2>&5
16748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16749 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16751 (eval $ac_try) 2>&5
16753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16754 (exit $ac_status); }; }; then
16755 ac_cv_c_bigendian
=no
16757 echo "$as_me: program exited with status $ac_status" >&5
16758 echo "$as_me: failed program was:" >&5
16759 sed 's/^/| /' conftest.
$ac_ext >&5
16761 ( exit $ac_status )
16762 ac_cv_c_bigendian
=yes
16764 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16768 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
16769 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
16770 if test $ac_cv_c_bigendian = unknown
; then
16771 { 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
16772 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;}
16774 if test $ac_cv_c_bigendian = yes; then
16775 cat >>confdefs.h
<<\_ACEOF
16776 #define WORDS_BIGENDIAN 1
16784 ac_cpp
='$CXXCPP $CPPFLAGS'
16785 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16786 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16787 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16788 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16789 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16790 if test -z "$CXXCPP"; then
16791 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16792 echo $ECHO_N "(cached) $ECHO_C" >&6
16794 # Double quotes because CXXCPP needs to be expanded
16795 for CXXCPP
in "$CXX -E" "/lib/cpp"
16797 ac_preproc_ok
=false
16798 for ac_cxx_preproc_warn_flag
in '' yes
16800 # Use a header file that comes with gcc, so configuring glibc
16801 # with a fresh cross-compiler works.
16802 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16803 # <limits.h> exists even on freestanding compilers.
16804 # On the NeXT, cc -E runs the code through the compiler's parser,
16805 # not just through cpp. "Syntax error" is here to catch this case.
16806 cat >conftest.
$ac_ext <<_ACEOF
16807 #line $LINENO "configure"
16810 cat confdefs.h
>>conftest.
$ac_ext
16811 cat >>conftest.
$ac_ext <<_ACEOF
16812 /* end confdefs.h. */
16814 # include <limits.h>
16816 # include <assert.h>
16820 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16821 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16823 grep -v '^ *+' conftest.er1
>conftest.err
16825 cat conftest.err
>&5
16826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16827 (exit $ac_status); } >/dev
/null
; then
16828 if test -s conftest.err
; then
16829 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16836 if test -z "$ac_cpp_err"; then
16839 echo "$as_me: failed program was:" >&5
16840 sed 's/^/| /' conftest.
$ac_ext >&5
16842 # Broken: fails on valid input.
16845 rm -f conftest.err conftest.
$ac_ext
16847 # OK, works on sane cases. Now check whether non-existent headers
16848 # can be detected and how.
16849 cat >conftest.
$ac_ext <<_ACEOF
16850 #line $LINENO "configure"
16853 cat confdefs.h
>>conftest.
$ac_ext
16854 cat >>conftest.
$ac_ext <<_ACEOF
16855 /* end confdefs.h. */
16856 #include <ac_nonexistent.h>
16858 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16859 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16861 grep -v '^ *+' conftest.er1
>conftest.err
16863 cat conftest.err
>&5
16864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16865 (exit $ac_status); } >/dev
/null
; then
16866 if test -s conftest.err
; then
16867 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16874 if test -z "$ac_cpp_err"; then
16875 # Broken: success on invalid input.
16878 echo "$as_me: failed program was:" >&5
16879 sed 's/^/| /' conftest.
$ac_ext >&5
16881 # Passes both tests.
16885 rm -f conftest.err conftest.
$ac_ext
16888 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16889 rm -f conftest.err conftest.
$ac_ext
16890 if $ac_preproc_ok; then
16895 ac_cv_prog_CXXCPP
=$CXXCPP
16898 CXXCPP
=$ac_cv_prog_CXXCPP
16900 ac_cv_prog_CXXCPP
=$CXXCPP
16902 echo "$as_me:$LINENO: result: $CXXCPP" >&5
16903 echo "${ECHO_T}$CXXCPP" >&6
16904 ac_preproc_ok
=false
16905 for ac_cxx_preproc_warn_flag
in '' yes
16907 # Use a header file that comes with gcc, so configuring glibc
16908 # with a fresh cross-compiler works.
16909 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16910 # <limits.h> exists even on freestanding compilers.
16911 # On the NeXT, cc -E runs the code through the compiler's parser,
16912 # not just through cpp. "Syntax error" is here to catch this case.
16913 cat >conftest.
$ac_ext <<_ACEOF
16914 #line $LINENO "configure"
16917 cat confdefs.h
>>conftest.
$ac_ext
16918 cat >>conftest.
$ac_ext <<_ACEOF
16919 /* end confdefs.h. */
16921 # include <limits.h>
16923 # include <assert.h>
16927 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16928 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16930 grep -v '^ *+' conftest.er1
>conftest.err
16932 cat conftest.err
>&5
16933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16934 (exit $ac_status); } >/dev
/null
; then
16935 if test -s conftest.err
; then
16936 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16943 if test -z "$ac_cpp_err"; then
16946 echo "$as_me: failed program was:" >&5
16947 sed 's/^/| /' conftest.
$ac_ext >&5
16949 # Broken: fails on valid input.
16952 rm -f conftest.err conftest.
$ac_ext
16954 # OK, works on sane cases. Now check whether non-existent headers
16955 # can be detected and how.
16956 cat >conftest.
$ac_ext <<_ACEOF
16957 #line $LINENO "configure"
16960 cat confdefs.h
>>conftest.
$ac_ext
16961 cat >>conftest.
$ac_ext <<_ACEOF
16962 /* end confdefs.h. */
16963 #include <ac_nonexistent.h>
16965 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16966 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16968 grep -v '^ *+' conftest.er1
>conftest.err
16970 cat conftest.err
>&5
16971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16972 (exit $ac_status); } >/dev
/null
; then
16973 if test -s conftest.err
; then
16974 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16981 if test -z "$ac_cpp_err"; then
16982 # Broken: success on invalid input.
16985 echo "$as_me: failed program was:" >&5
16986 sed 's/^/| /' conftest.
$ac_ext >&5
16988 # Passes both tests.
16992 rm -f conftest.err conftest.
$ac_ext
16995 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16996 rm -f conftest.err conftest.
$ac_ext
16997 if $ac_preproc_ok; then
17000 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17001 See \`config.log' for more details." >&5
17002 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17003 See \`config.log' for more details." >&2;}
17004 { (exit 1); exit 1; }; }
17008 ac_cpp
='$CXXCPP $CPPFLAGS'
17009 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17010 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17011 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17015 if test "$cross_compiling" = "yes"; then
17016 cat >>confdefs.h
<<\_ACEOF
17017 #define wxUSE_IOSTREAMH 1
17024 ac_cpp
='$CXXCPP $CPPFLAGS'
17025 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17026 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17027 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17031 for ac_header
in iostream
17033 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17034 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17035 echo "$as_me:$LINENO: checking for $ac_header" >&5
17036 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17037 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17038 echo $ECHO_N "(cached) $ECHO_C" >&6
17040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17041 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17043 # Is the header compilable?
17044 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17045 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17046 cat >conftest.
$ac_ext <<_ACEOF
17047 #line $LINENO "configure"
17050 cat confdefs.h
>>conftest.
$ac_ext
17051 cat >>conftest.
$ac_ext <<_ACEOF
17052 /* end confdefs.h. */
17053 $ac_includes_default
17054 #include <$ac_header>
17056 rm -f conftest.
$ac_objext
17057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17058 (eval $ac_compile) 2>&5
17060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17061 (exit $ac_status); } &&
17062 { ac_try
='test -s conftest.$ac_objext'
17063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17064 (eval $ac_try) 2>&5
17066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17067 (exit $ac_status); }; }; then
17068 ac_header_compiler
=yes
17070 echo "$as_me: failed program was:" >&5
17071 sed 's/^/| /' conftest.
$ac_ext >&5
17073 ac_header_compiler
=no
17075 rm -f conftest.
$ac_objext conftest.
$ac_ext
17076 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17077 echo "${ECHO_T}$ac_header_compiler" >&6
17079 # Is the header present?
17080 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17081 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17082 cat >conftest.
$ac_ext <<_ACEOF
17083 #line $LINENO "configure"
17086 cat confdefs.h
>>conftest.
$ac_ext
17087 cat >>conftest.
$ac_ext <<_ACEOF
17088 /* end confdefs.h. */
17089 #include <$ac_header>
17091 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17092 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17094 grep -v '^ *+' conftest.er1
>conftest.err
17096 cat conftest.err
>&5
17097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17098 (exit $ac_status); } >/dev
/null
; then
17099 if test -s conftest.err
; then
17100 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17107 if test -z "$ac_cpp_err"; then
17108 ac_header_preproc
=yes
17110 echo "$as_me: failed program was:" >&5
17111 sed 's/^/| /' conftest.
$ac_ext >&5
17113 ac_header_preproc
=no
17115 rm -f conftest.err conftest.
$ac_ext
17116 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17117 echo "${ECHO_T}$ac_header_preproc" >&6
17119 # So? What about this header?
17120 case $ac_header_compiler:$ac_header_preproc in
17122 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17123 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17124 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17125 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17128 ## ------------------------------------ ##
17129 ## Report this to bug-autoconf@gnu.org. ##
17130 ## ------------------------------------ ##
17133 sed "s/^/$as_me: WARNING: /" >&2
17136 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17137 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17138 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17139 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17140 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17141 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17144 ## ------------------------------------ ##
17145 ## Report this to bug-autoconf@gnu.org. ##
17146 ## ------------------------------------ ##
17149 sed "s/^/$as_me: WARNING: /" >&2
17152 echo "$as_me:$LINENO: checking for $ac_header" >&5
17153 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17154 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17155 echo $ECHO_N "(cached) $ECHO_C" >&6
17157 eval "$as_ac_Header=$ac_header_preproc"
17159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17160 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17163 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17164 cat >>confdefs.h
<<_ACEOF
17165 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17173 if test "$ac_cv_header_iostream" = "yes" ; then
17176 cat >>confdefs.h
<<\_ACEOF
17177 #define wxUSE_IOSTREAMH 1
17183 ac_cpp
='$CPP $CPPFLAGS'
17184 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17185 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17186 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17192 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
17193 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
17194 if test "${wx_cv_cpp_bool+set}" = set; then
17195 echo $ECHO_N "(cached) $ECHO_C" >&6
17201 ac_cpp
='$CXXCPP $CPPFLAGS'
17202 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17203 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17204 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17207 cat >conftest.
$ac_ext <<_ACEOF
17208 #line $LINENO "configure"
17211 cat confdefs.h
>>conftest.
$ac_ext
17212 cat >>conftest.
$ac_ext <<_ACEOF
17213 /* end confdefs.h. */
17228 rm -f conftest.
$ac_objext
17229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17230 (eval $ac_compile) 2>&5
17232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17233 (exit $ac_status); } &&
17234 { ac_try
='test -s conftest.$ac_objext'
17235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17236 (eval $ac_try) 2>&5
17238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17239 (exit $ac_status); }; }; then
17244 echo "$as_me: failed program was:" >&5
17245 sed 's/^/| /' conftest.
$ac_ext >&5
17252 rm -f conftest.
$ac_objext conftest.
$ac_ext
17255 ac_cpp
='$CPP $CPPFLAGS'
17256 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17257 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17258 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17262 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
17263 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
17265 if test "$wx_cv_cpp_bool" = "yes"; then
17266 cat >>confdefs.h
<<\_ACEOF
17267 #define HAVE_BOOL 1
17274 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
17275 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
17276 if test "${wx_cv_explicit+set}" = set; then
17277 echo $ECHO_N "(cached) $ECHO_C" >&6
17283 ac_cpp
='$CXXCPP $CPPFLAGS'
17284 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17285 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17286 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17289 cat >conftest.
$ac_ext <<_ACEOF
17290 #line $LINENO "configure"
17293 cat confdefs.h
>>conftest.
$ac_ext
17294 cat >>conftest.
$ac_ext <<_ACEOF
17295 /* end confdefs.h. */
17297 class Foo { public: explicit Foo(int) {} };
17309 rm -f conftest.
$ac_objext
17310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17311 (eval $ac_compile) 2>&5
17313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17314 (exit $ac_status); } &&
17315 { ac_try
='test -s conftest.$ac_objext'
17316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17317 (eval $ac_try) 2>&5
17319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17320 (exit $ac_status); }; }; then
17322 cat >conftest.
$ac_ext <<_ACEOF
17323 #line $LINENO "configure"
17326 cat confdefs.h
>>conftest.
$ac_ext
17327 cat >>conftest.
$ac_ext <<_ACEOF
17328 /* end confdefs.h. */
17330 class Foo { public: explicit Foo(int) {} };
17331 static void TakeFoo(const Foo& foo) { }
17344 rm -f conftest.
$ac_objext
17345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17346 (eval $ac_compile) 2>&5
17348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17349 (exit $ac_status); } &&
17350 { ac_try
='test -s conftest.$ac_objext'
17351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17352 (eval $ac_try) 2>&5
17354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17355 (exit $ac_status); }; }; then
17358 echo "$as_me: failed program was:" >&5
17359 sed 's/^/| /' conftest.
$ac_ext >&5
17364 rm -f conftest.
$ac_objext conftest.
$ac_ext
17367 echo "$as_me: failed program was:" >&5
17368 sed 's/^/| /' conftest.
$ac_ext >&5
17373 rm -f conftest.
$ac_objext conftest.
$ac_ext
17376 ac_cpp
='$CPP $CPPFLAGS'
17377 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17378 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17379 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17383 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
17384 echo "${ECHO_T}$wx_cv_explicit" >&6
17386 if test "$wx_cv_explicit" = "yes"; then
17387 cat >>confdefs.h
<<\_ACEOF
17388 #define HAVE_EXPLICIT 1
17394 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
17395 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
17396 if test "${ac_cv_cxx_const_cast+set}" = set; then
17397 echo $ECHO_N "(cached) $ECHO_C" >&6
17402 ac_cpp
='$CXXCPP $CPPFLAGS'
17403 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17404 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17405 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17407 cat >conftest.
$ac_ext <<_ACEOF
17408 #line $LINENO "configure"
17411 cat confdefs.h
>>conftest.
$ac_ext
17412 cat >>conftest.
$ac_ext <<_ACEOF
17413 /* end confdefs.h. */
17418 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
17423 rm -f conftest.
$ac_objext
17424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17425 (eval $ac_compile) 2>&5
17427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17428 (exit $ac_status); } &&
17429 { ac_try
='test -s conftest.$ac_objext'
17430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17431 (eval $ac_try) 2>&5
17433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17434 (exit $ac_status); }; }; then
17435 ac_cv_cxx_const_cast
=yes
17437 echo "$as_me: failed program was:" >&5
17438 sed 's/^/| /' conftest.
$ac_ext >&5
17440 ac_cv_cxx_const_cast
=no
17442 rm -f conftest.
$ac_objext conftest.
$ac_ext
17444 ac_cpp
='$CPP $CPPFLAGS'
17445 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17446 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17447 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17451 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
17452 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
17453 if test "$ac_cv_cxx_const_cast" = yes; then
17455 cat >>confdefs.h
<<\_ACEOF
17456 #define HAVE_CONST_CAST
17462 if test "$wxUSE_STL" = "yes"; then
17464 ac_cpp
='$CXXCPP $CPPFLAGS'
17465 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17466 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17467 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17470 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
17471 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
17472 cat >conftest.
$ac_ext <<_ACEOF
17473 #line $LINENO "configure"
17476 cat confdefs.h
>>conftest.
$ac_ext
17477 cat >>conftest.
$ac_ext <<_ACEOF
17478 /* end confdefs.h. */
17480 #include <functional>
17481 #include <algorithm>
17487 std::vector<int> moo;
17488 std::list<int> foo;
17489 std::vector<int>::iterator it =
17490 std::find_if(moo.begin(), moo.end(),
17491 std::bind2nd(std::less<int>(), 3));
17496 rm -f conftest.
$ac_objext
17497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17498 (eval $ac_compile) 2>&5
17500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17501 (exit $ac_status); } &&
17502 { ac_try
='test -s conftest.$ac_objext'
17503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17504 (eval $ac_try) 2>&5
17506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17507 (exit $ac_status); }; }; then
17508 echo "$as_me:$LINENO: result: yes" >&5
17509 echo "${ECHO_T}yes" >&6
17511 echo "$as_me: failed program was:" >&5
17512 sed 's/^/| /' conftest.
$ac_ext >&5
17514 echo "$as_me:$LINENO: result: no" >&5
17515 echo "${ECHO_T}no" >&6
17516 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
17517 echo "$as_me: error: Basic STL functionality missing" >&2;}
17518 { (exit 1); exit 1; }; }
17520 rm -f conftest.
$ac_objext conftest.
$ac_ext
17522 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
17523 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
17524 cat >conftest.
$ac_ext <<_ACEOF
17525 #line $LINENO "configure"
17528 cat confdefs.h
>>conftest.
$ac_ext
17529 cat >>conftest.
$ac_ext <<_ACEOF
17530 /* end confdefs.h. */
17540 rm -f conftest.
$ac_objext
17541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17542 (eval $ac_compile) 2>&5
17544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17545 (exit $ac_status); } &&
17546 { ac_try
='test -s conftest.$ac_objext'
17547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17548 (eval $ac_try) 2>&5
17550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17551 (exit $ac_status); }; }; then
17552 echo "$as_me:$LINENO: result: yes" >&5
17553 echo "${ECHO_T}yes" >&6
17554 cat >>confdefs.h
<<\_ACEOF
17555 #define HAVE_STD_WSTRING 1
17559 echo "$as_me: failed program was:" >&5
17560 sed 's/^/| /' conftest.
$ac_ext >&5
17562 echo "$as_me:$LINENO: result: no" >&5
17563 echo "${ECHO_T}no" >&6
17565 rm -f conftest.
$ac_objext conftest.
$ac_ext
17567 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
17568 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
17569 cat >conftest.
$ac_ext <<_ACEOF
17570 #line $LINENO "configure"
17573 cat confdefs.h
>>conftest.
$ac_ext
17574 cat >>conftest.
$ac_ext <<_ACEOF
17575 /* end confdefs.h. */
17580 std::string foo, bar;
17582 foo.compare(1, 1, bar);
17583 foo.compare(1, 1, bar, 1, 1);
17585 foo.compare(1, 1, "");
17586 foo.compare(1, 1, "", 2);
17591 rm -f conftest.
$ac_objext
17592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17593 (eval $ac_compile) 2>&5
17595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17596 (exit $ac_status); } &&
17597 { ac_try
='test -s conftest.$ac_objext'
17598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17599 (eval $ac_try) 2>&5
17601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17602 (exit $ac_status); }; }; then
17603 echo "$as_me:$LINENO: result: yes" >&5
17604 echo "${ECHO_T}yes" >&6
17605 cat >>confdefs.h
<<\_ACEOF
17606 #define HAVE_STD_STRING_COMPARE 1
17610 echo "$as_me: failed program was:" >&5
17611 sed 's/^/| /' conftest.
$ac_ext >&5
17613 echo "$as_me:$LINENO: result: no" >&5
17614 echo "${ECHO_T}no" >&6
17616 rm -f conftest.
$ac_objext conftest.
$ac_ext
17619 ac_cpp
='$CPP $CPPFLAGS'
17620 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17621 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17622 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17628 /usr/local/include \
17630 /usr/Motif-1.2/include \
17631 /usr/Motif-2.1/include \
17633 /usr/include/Motif1.2 \
17634 /opt/xpm/include/X11 \
17635 /opt/GBxpm/include/ \
17636 /opt/GBxpm/X11/include/ \
17638 /usr/Motif1.2/include \
17640 /usr/openwin/include \
17644 /usr/X11R6/include \
17645 /usr/X11R6.4/include \
17646 /usr/X11R5/include \
17647 /usr/X11R4/include \
17649 /usr/include/X11R6 \
17650 /usr/include/X11R5 \
17651 /usr/include/X11R4 \
17653 /usr/local/X11R6/include \
17654 /usr/local/X11R5/include \
17655 /usr/local/X11R4/include \
17657 /usr/local/include/X11R6 \
17658 /usr/local/include/X11R5 \
17659 /usr/local/include/X11R4 \
17663 /usr/local/X11/include \
17664 /usr/local/include/X11 \
17666 /usr/X386/include \
17667 /usr/x386/include \
17668 /usr/XFree86/include/X11 \
17670 X:/XFree86/include \
17671 X:/XFree86/include/X11 \
17674 /usr/local/include/gtk \
17675 /usr/include/glib \
17676 /usr/local/include/glib \
17679 /usr/local/include/qt \
17681 /usr/include/windows \
17682 /usr/include/wine \
17683 /usr/local/include/wine \
17685 /usr/unsupported/include \
17686 /usr/athena/include \
17687 /usr/local/x11r5/include \
17688 /usr/lpp/Xamples/include \
17690 /usr/openwin/share/include"
17692 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
17695 cat >confcache
<<\_ACEOF
17696 # This file is a shell script that caches the results of configure
17697 # tests run on this system so they can be shared between configure
17698 # scripts and configure runs, see configure's option --config-cache.
17699 # It is not useful on other systems. If it contains results you don't
17700 # want to keep, you may remove or edit it.
17702 # config.status only pays attention to the cache file if you give it
17703 # the --recheck option to rerun configure.
17705 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17706 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17707 # following values.
17711 # The following way of writing the cache mishandles newlines in values,
17712 # but we know of no workaround that is simple, portable, and efficient.
17713 # So, don't put newlines in cache variables' values.
17714 # Ultrix sh set writes to stderr and can't be redirected directly,
17715 # and sets the high bit in the cache file unless we assign to the vars.
17718 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17720 # `set' does not quote correctly, so add quotes (double-quote
17721 # substitution turns \\\\ into \\, and sed turns \\ into \).
17724 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17727 # `set' quotes correctly as required by POSIX, so do not add quotes.
17729 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17736 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17738 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17740 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
17741 if test -w $cache_file; then
17742 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
17743 cat confcache
>$cache_file
17745 echo "not updating unwritable cache $cache_file"
17750 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
17751 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
17752 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
17753 if test "${wx_cv_lib_glibc21+set}" = set; then
17754 echo $ECHO_N "(cached) $ECHO_C" >&6
17757 cat >conftest.
$ac_ext <<_ACEOF
17758 #line $LINENO "configure"
17761 cat confdefs.h
>>conftest.
$ac_ext
17762 cat >>conftest.
$ac_ext <<_ACEOF
17763 /* end confdefs.h. */
17764 #include <features.h>
17769 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
17770 #error not glibc2.1
17777 rm -f conftest.
$ac_objext
17778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17779 (eval $ac_compile) 2>&5
17781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17782 (exit $ac_status); } &&
17783 { ac_try
='test -s conftest.$ac_objext'
17784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17785 (eval $ac_try) 2>&5
17787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17788 (exit $ac_status); }; }; then
17790 wx_cv_lib_glibc21
=yes
17793 echo "$as_me: failed program was:" >&5
17794 sed 's/^/| /' conftest.
$ac_ext >&5
17797 wx_cv_lib_glibc21
=no
17801 rm -f conftest.
$ac_objext conftest.
$ac_ext
17804 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
17805 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
17806 if test "$wx_cv_lib_glibc21" = "yes"; then
17807 cat >>confdefs.h
<<\_ACEOF
17808 #define wxHAVE_GLIBC2 1
17814 if test "x$wx_cv_lib_glibc21" = "xyes"; then
17815 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
17816 cat >>confdefs.h
<<\_ACEOF
17817 #define _GNU_SOURCE 1
17826 if test "$wxUSE_REGEX" != "no"; then
17827 cat >>confdefs.h
<<\_ACEOF
17828 #define wxUSE_REGEX 1
17832 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
17833 if test "${ac_cv_header_regex_h+set}" = set; then
17834 echo "$as_me:$LINENO: checking for regex.h" >&5
17835 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
17836 if test "${ac_cv_header_regex_h+set}" = set; then
17837 echo $ECHO_N "(cached) $ECHO_C" >&6
17839 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
17840 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
17842 # Is the header compilable?
17843 echo "$as_me:$LINENO: checking regex.h usability" >&5
17844 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
17845 cat >conftest.
$ac_ext <<_ACEOF
17846 #line $LINENO "configure"
17849 cat confdefs.h
>>conftest.
$ac_ext
17850 cat >>conftest.
$ac_ext <<_ACEOF
17851 /* end confdefs.h. */
17852 $ac_includes_default
17855 rm -f conftest.
$ac_objext
17856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17857 (eval $ac_compile) 2>&5
17859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17860 (exit $ac_status); } &&
17861 { ac_try
='test -s conftest.$ac_objext'
17862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17863 (eval $ac_try) 2>&5
17865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17866 (exit $ac_status); }; }; then
17867 ac_header_compiler
=yes
17869 echo "$as_me: failed program was:" >&5
17870 sed 's/^/| /' conftest.
$ac_ext >&5
17872 ac_header_compiler
=no
17874 rm -f conftest.
$ac_objext conftest.
$ac_ext
17875 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17876 echo "${ECHO_T}$ac_header_compiler" >&6
17878 # Is the header present?
17879 echo "$as_me:$LINENO: checking regex.h presence" >&5
17880 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
17881 cat >conftest.
$ac_ext <<_ACEOF
17882 #line $LINENO "configure"
17885 cat confdefs.h
>>conftest.
$ac_ext
17886 cat >>conftest.
$ac_ext <<_ACEOF
17887 /* end confdefs.h. */
17890 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17891 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17893 grep -v '^ *+' conftest.er1
>conftest.err
17895 cat conftest.err
>&5
17896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17897 (exit $ac_status); } >/dev
/null
; then
17898 if test -s conftest.err
; then
17899 ac_cpp_err
=$ac_c_preproc_warn_flag
17906 if test -z "$ac_cpp_err"; then
17907 ac_header_preproc
=yes
17909 echo "$as_me: failed program was:" >&5
17910 sed 's/^/| /' conftest.
$ac_ext >&5
17912 ac_header_preproc
=no
17914 rm -f conftest.err conftest.
$ac_ext
17915 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17916 echo "${ECHO_T}$ac_header_preproc" >&6
17918 # So? What about this header?
17919 case $ac_header_compiler:$ac_header_preproc in
17921 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
17922 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
17923 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
17924 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
17927 ## ------------------------------------ ##
17928 ## Report this to bug-autoconf@gnu.org. ##
17929 ## ------------------------------------ ##
17932 sed "s/^/$as_me: WARNING: /" >&2
17935 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
17936 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
17937 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
17938 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
17939 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
17940 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
17943 ## ------------------------------------ ##
17944 ## Report this to bug-autoconf@gnu.org. ##
17945 ## ------------------------------------ ##
17948 sed "s/^/$as_me: WARNING: /" >&2
17951 echo "$as_me:$LINENO: checking for regex.h" >&5
17952 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
17953 if test "${ac_cv_header_regex_h+set}" = set; then
17954 echo $ECHO_N "(cached) $ECHO_C" >&6
17956 ac_cv_header_regex_h
=$ac_header_preproc
17958 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
17959 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
17962 if test $ac_cv_header_regex_h = yes; then
17964 for ac_func
in regcomp
17966 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17967 echo "$as_me:$LINENO: checking for $ac_func" >&5
17968 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17969 if eval "test \"\${$as_ac_var+set}\" = set"; then
17970 echo $ECHO_N "(cached) $ECHO_C" >&6
17972 cat >conftest.
$ac_ext <<_ACEOF
17973 #line $LINENO "configure"
17976 cat confdefs.h
>>conftest.
$ac_ext
17977 cat >>conftest.
$ac_ext <<_ACEOF
17978 /* end confdefs.h. */
17979 /* System header to define __stub macros and hopefully few prototypes,
17980 which can conflict with char $ac_func (); below.
17981 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17982 <limits.h> exists even on freestanding compilers. */
17984 # include <limits.h>
17986 # include <assert.h>
17988 /* Override any gcc2 internal prototype to avoid an error. */
17993 /* We use char because int might match the return type of a gcc2
17994 builtin and then its argument prototype would still apply. */
17996 /* The GNU C library defines this for functions which it implements
17997 to always fail with ENOSYS. Some functions are actually named
17998 something starting with __ and the normal name is an alias. */
17999 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18002 char (*f) () = $ac_func;
18011 return f != $ac_func;
18016 rm -f conftest.
$ac_objext conftest
$ac_exeext
18017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18018 (eval $ac_link) 2>&5
18020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18021 (exit $ac_status); } &&
18022 { ac_try
='test -s conftest$ac_exeext'
18023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18024 (eval $ac_try) 2>&5
18026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18027 (exit $ac_status); }; }; then
18028 eval "$as_ac_var=yes"
18030 echo "$as_me: failed program was:" >&5
18031 sed 's/^/| /' conftest.
$ac_ext >&5
18033 eval "$as_ac_var=no"
18035 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18038 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18039 if test `eval echo '${'$as_ac_var'}'` = yes; then
18040 cat >>confdefs.h
<<_ACEOF
18041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18051 if test "x$ac_cv_func_regcomp" != "xyes"; then
18052 if test "$wxUSE_REGEX" = "sys" ; then
18053 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
18054 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
18055 { (exit 1); exit 1; }; }
18057 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
18058 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
18059 wxUSE_REGEX
=builtin
18066 if test "$wxUSE_REGEX" = "builtin" ; then
18067 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
18074 if test "$wxUSE_ZLIB" != "no" ; then
18075 cat >>confdefs.h
<<\_ACEOF
18076 #define wxUSE_ZLIB 1
18080 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
18081 if test "$USE_DARWIN" = 1; then
18082 system_zlib_h_ok
="yes"
18084 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
18085 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
18086 if test "${ac_cv_header_zlib_h+set}" = set; then
18087 echo $ECHO_N "(cached) $ECHO_C" >&6
18089 if test "$cross_compiling" = yes; then
18090 unset ac_cv_header_zlib_h
18093 cat >conftest.
$ac_ext <<_ACEOF
18094 #line $LINENO "configure"
18097 cat confdefs.h
>>conftest.
$ac_ext
18098 cat >>conftest.
$ac_ext <<_ACEOF
18099 /* end confdefs.h. */
18106 FILE *f=fopen("conftestval", "w");
18109 ZLIB_VERSION[0] == '1' &&
18110 (ZLIB_VERSION[2] > '1' ||
18111 (ZLIB_VERSION[2] == '1' &&
18112 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
18117 rm -f conftest
$ac_exeext
18118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18119 (eval $ac_link) 2>&5
18121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18122 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18124 (eval $ac_try) 2>&5
18126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18127 (exit $ac_status); }; }; then
18128 ac_cv_header_zlib_h
=`cat conftestval`
18130 echo "$as_me: program exited with status $ac_status" >&5
18131 echo "$as_me: failed program was:" >&5
18132 sed 's/^/| /' conftest.
$ac_ext >&5
18134 ( exit $ac_status )
18135 ac_cv_header_zlib_h
=no
18137 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18141 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18142 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18143 if test "${ac_cv_header_zlib_h+set}" = set; then
18144 echo "$as_me:$LINENO: checking for zlib.h" >&5
18145 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18146 if test "${ac_cv_header_zlib_h+set}" = set; then
18147 echo $ECHO_N "(cached) $ECHO_C" >&6
18149 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18150 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18152 # Is the header compilable?
18153 echo "$as_me:$LINENO: checking zlib.h usability" >&5
18154 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
18155 cat >conftest.
$ac_ext <<_ACEOF
18156 #line $LINENO "configure"
18159 cat confdefs.h
>>conftest.
$ac_ext
18160 cat >>conftest.
$ac_ext <<_ACEOF
18161 /* end confdefs.h. */
18162 $ac_includes_default
18165 rm -f conftest.
$ac_objext
18166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18167 (eval $ac_compile) 2>&5
18169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18170 (exit $ac_status); } &&
18171 { ac_try
='test -s conftest.$ac_objext'
18172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18173 (eval $ac_try) 2>&5
18175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18176 (exit $ac_status); }; }; then
18177 ac_header_compiler
=yes
18179 echo "$as_me: failed program was:" >&5
18180 sed 's/^/| /' conftest.
$ac_ext >&5
18182 ac_header_compiler
=no
18184 rm -f conftest.
$ac_objext conftest.
$ac_ext
18185 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18186 echo "${ECHO_T}$ac_header_compiler" >&6
18188 # Is the header present?
18189 echo "$as_me:$LINENO: checking zlib.h presence" >&5
18190 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
18191 cat >conftest.
$ac_ext <<_ACEOF
18192 #line $LINENO "configure"
18195 cat confdefs.h
>>conftest.
$ac_ext
18196 cat >>conftest.
$ac_ext <<_ACEOF
18197 /* end confdefs.h. */
18200 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18201 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18203 grep -v '^ *+' conftest.er1
>conftest.err
18205 cat conftest.err
>&5
18206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18207 (exit $ac_status); } >/dev
/null
; then
18208 if test -s conftest.err
; then
18209 ac_cpp_err
=$ac_c_preproc_warn_flag
18216 if test -z "$ac_cpp_err"; then
18217 ac_header_preproc
=yes
18219 echo "$as_me: failed program was:" >&5
18220 sed 's/^/| /' conftest.
$ac_ext >&5
18222 ac_header_preproc
=no
18224 rm -f conftest.err conftest.
$ac_ext
18225 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18226 echo "${ECHO_T}$ac_header_preproc" >&6
18228 # So? What about this header?
18229 case $ac_header_compiler:$ac_header_preproc in
18231 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
18232 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18233 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18234 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18237 ## ------------------------------------ ##
18238 ## Report this to bug-autoconf@gnu.org. ##
18239 ## ------------------------------------ ##
18242 sed "s/^/$as_me: WARNING: /" >&2
18245 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
18246 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
18247 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
18248 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
18249 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18250 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18253 ## ------------------------------------ ##
18254 ## Report this to bug-autoconf@gnu.org. ##
18255 ## ------------------------------------ ##
18258 sed "s/^/$as_me: WARNING: /" >&2
18261 echo "$as_me:$LINENO: checking for zlib.h" >&5
18262 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18263 if test "${ac_cv_header_zlib_h+set}" = set; then
18264 echo $ECHO_N "(cached) $ECHO_C" >&6
18266 ac_cv_header_zlib_h
=$ac_header_preproc
18268 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18269 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18275 system_zlib_h_ok
=$ac_cv_header_zlib_h
18278 if test "$system_zlib_h_ok" = "yes"; then
18279 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
18280 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
18281 if test "${ac_cv_lib_z_deflate+set}" = set; then
18282 echo $ECHO_N "(cached) $ECHO_C" >&6
18284 ac_check_lib_save_LIBS
=$LIBS
18286 cat >conftest.
$ac_ext <<_ACEOF
18287 #line $LINENO "configure"
18290 cat confdefs.h
>>conftest.
$ac_ext
18291 cat >>conftest.
$ac_ext <<_ACEOF
18292 /* end confdefs.h. */
18294 /* Override any gcc2 internal prototype to avoid an error. */
18298 /* We use char because int might match the return type of a gcc2
18299 builtin and then its argument prototype would still apply. */
18309 rm -f conftest.
$ac_objext conftest
$ac_exeext
18310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18311 (eval $ac_link) 2>&5
18313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18314 (exit $ac_status); } &&
18315 { ac_try
='test -s conftest$ac_exeext'
18316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18317 (eval $ac_try) 2>&5
18319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18320 (exit $ac_status); }; }; then
18321 ac_cv_lib_z_deflate
=yes
18323 echo "$as_me: failed program was:" >&5
18324 sed 's/^/| /' conftest.
$ac_ext >&5
18326 ac_cv_lib_z_deflate
=no
18328 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18329 LIBS
=$ac_check_lib_save_LIBS
18331 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
18332 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
18333 if test $ac_cv_lib_z_deflate = yes; then
18339 if test "x$ZLIB_LINK" = "x" ; then
18340 if test "$wxUSE_ZLIB" = "sys" ; then
18341 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
18342 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
18343 { (exit 1); exit 1; }; }
18345 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
18346 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
18354 if test "$wxUSE_ZLIB" = "builtin" ; then
18355 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
18362 if test "$wxUSE_LIBPNG" != "no" ; then
18363 cat >>confdefs.h
<<\_ACEOF
18364 #define wxUSE_LIBPNG 1
18368 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
18369 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
18370 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
18374 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
18375 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
18376 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
18377 wxUSE_LIBPNG
=builtin
18380 if test "$wxUSE_MGL" != 1 ; then
18381 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
18382 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
18383 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
18384 if test "${ac_cv_header_png_h+set}" = set; then
18385 echo $ECHO_N "(cached) $ECHO_C" >&6
18387 if test "$cross_compiling" = yes; then
18388 unset ac_cv_header_png_h
18391 cat >conftest.
$ac_ext <<_ACEOF
18392 #line $LINENO "configure"
18395 cat confdefs.h
>>conftest.
$ac_ext
18396 cat >>conftest.
$ac_ext <<_ACEOF
18397 /* end confdefs.h. */
18404 FILE *f=fopen("conftestval", "w");
18407 PNG_LIBPNG_VER > 90 ? "yes" : "no");
18412 rm -f conftest
$ac_exeext
18413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18414 (eval $ac_link) 2>&5
18416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18417 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18419 (eval $ac_try) 2>&5
18421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18422 (exit $ac_status); }; }; then
18423 ac_cv_header_png_h
=`cat conftestval`
18425 echo "$as_me: program exited with status $ac_status" >&5
18426 echo "$as_me: failed program was:" >&5
18427 sed 's/^/| /' conftest.
$ac_ext >&5
18429 ( exit $ac_status )
18430 ac_cv_header_png_h
=no
18432 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18436 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18437 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18438 if test "${ac_cv_header_png_h+set}" = set; then
18439 echo "$as_me:$LINENO: checking for png.h" >&5
18440 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18441 if test "${ac_cv_header_png_h+set}" = set; then
18442 echo $ECHO_N "(cached) $ECHO_C" >&6
18444 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18445 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18447 # Is the header compilable?
18448 echo "$as_me:$LINENO: checking png.h usability" >&5
18449 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
18450 cat >conftest.
$ac_ext <<_ACEOF
18451 #line $LINENO "configure"
18454 cat confdefs.h
>>conftest.
$ac_ext
18455 cat >>conftest.
$ac_ext <<_ACEOF
18456 /* end confdefs.h. */
18457 $ac_includes_default
18460 rm -f conftest.
$ac_objext
18461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18462 (eval $ac_compile) 2>&5
18464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18465 (exit $ac_status); } &&
18466 { ac_try
='test -s conftest.$ac_objext'
18467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18468 (eval $ac_try) 2>&5
18470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18471 (exit $ac_status); }; }; then
18472 ac_header_compiler
=yes
18474 echo "$as_me: failed program was:" >&5
18475 sed 's/^/| /' conftest.
$ac_ext >&5
18477 ac_header_compiler
=no
18479 rm -f conftest.
$ac_objext conftest.
$ac_ext
18480 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18481 echo "${ECHO_T}$ac_header_compiler" >&6
18483 # Is the header present?
18484 echo "$as_me:$LINENO: checking png.h presence" >&5
18485 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
18486 cat >conftest.
$ac_ext <<_ACEOF
18487 #line $LINENO "configure"
18490 cat confdefs.h
>>conftest.
$ac_ext
18491 cat >>conftest.
$ac_ext <<_ACEOF
18492 /* end confdefs.h. */
18495 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18496 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18498 grep -v '^ *+' conftest.er1
>conftest.err
18500 cat conftest.err
>&5
18501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18502 (exit $ac_status); } >/dev
/null
; then
18503 if test -s conftest.err
; then
18504 ac_cpp_err
=$ac_c_preproc_warn_flag
18511 if test -z "$ac_cpp_err"; then
18512 ac_header_preproc
=yes
18514 echo "$as_me: failed program was:" >&5
18515 sed 's/^/| /' conftest.
$ac_ext >&5
18517 ac_header_preproc
=no
18519 rm -f conftest.err conftest.
$ac_ext
18520 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18521 echo "${ECHO_T}$ac_header_preproc" >&6
18523 # So? What about this header?
18524 case $ac_header_compiler:$ac_header_preproc in
18526 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
18527 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18528 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18529 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18532 ## ------------------------------------ ##
18533 ## Report this to bug-autoconf@gnu.org. ##
18534 ## ------------------------------------ ##
18537 sed "s/^/$as_me: WARNING: /" >&2
18540 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
18541 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
18542 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
18543 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
18544 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18545 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18548 ## ------------------------------------ ##
18549 ## Report this to bug-autoconf@gnu.org. ##
18550 ## ------------------------------------ ##
18553 sed "s/^/$as_me: WARNING: /" >&2
18556 echo "$as_me:$LINENO: checking for png.h" >&5
18557 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18558 if test "${ac_cv_header_png_h+set}" = set; then
18559 echo $ECHO_N "(cached) $ECHO_C" >&6
18561 ac_cv_header_png_h
=$ac_header_preproc
18563 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18564 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18570 if test "$ac_cv_header_png_h" = "yes"; then
18571 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
18572 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
18573 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
18574 echo $ECHO_N "(cached) $ECHO_C" >&6
18576 ac_check_lib_save_LIBS
=$LIBS
18577 LIBS
="-lpng -lz -lm $LIBS"
18578 cat >conftest.
$ac_ext <<_ACEOF
18579 #line $LINENO "configure"
18582 cat confdefs.h
>>conftest.
$ac_ext
18583 cat >>conftest.
$ac_ext <<_ACEOF
18584 /* end confdefs.h. */
18586 /* Override any gcc2 internal prototype to avoid an error. */
18590 /* We use char because int might match the return type of a gcc2
18591 builtin and then its argument prototype would still apply. */
18592 char png_check_sig ();
18601 rm -f conftest.
$ac_objext conftest
$ac_exeext
18602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18603 (eval $ac_link) 2>&5
18605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18606 (exit $ac_status); } &&
18607 { ac_try
='test -s conftest$ac_exeext'
18608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18609 (eval $ac_try) 2>&5
18611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18612 (exit $ac_status); }; }; then
18613 ac_cv_lib_png_png_check_sig
=yes
18615 echo "$as_me: failed program was:" >&5
18616 sed 's/^/| /' conftest.
$ac_ext >&5
18618 ac_cv_lib_png_png_check_sig
=no
18620 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18621 LIBS
=$ac_check_lib_save_LIBS
18623 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
18624 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
18625 if test $ac_cv_lib_png_png_check_sig = yes; then
18631 if test "x$PNG_LINK" = "x" ; then
18632 if test "$wxUSE_LIBPNG" = "sys" ; then
18633 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
18634 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
18635 { (exit 1); exit 1; }; }
18637 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
18638 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
18639 wxUSE_LIBPNG
=builtin
18647 if test "$wxUSE_LIBPNG" = "builtin" ; then
18648 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
18651 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
18657 if test "$wxUSE_LIBJPEG" != "no" ; then
18658 cat >>confdefs.h
<<\_ACEOF
18659 #define wxUSE_LIBJPEG 1
18663 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
18664 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
18665 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
18669 if test "$wxUSE_MGL" != 1 ; then
18670 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
18671 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
18672 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
18673 if test "${ac_cv_header_jpeglib_h+set}" = set; then
18674 echo $ECHO_N "(cached) $ECHO_C" >&6
18676 cat >conftest.
$ac_ext <<_ACEOF
18677 #line $LINENO "configure"
18680 cat confdefs.h
>>conftest.
$ac_ext
18681 cat >>conftest.
$ac_ext <<_ACEOF
18682 /* end confdefs.h. */
18684 #undef HAVE_STDLIB_H
18686 #include <jpeglib.h>
18697 rm -f conftest.
$ac_objext
18698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18699 (eval $ac_compile) 2>&5
18701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18702 (exit $ac_status); } &&
18703 { ac_try
='test -s conftest.$ac_objext'
18704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18705 (eval $ac_try) 2>&5
18707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18708 (exit $ac_status); }; }; then
18709 ac_cv_header_jpeglib_h
=yes
18711 echo "$as_me: failed program was:" >&5
18712 sed 's/^/| /' conftest.
$ac_ext >&5
18714 ac_cv_header_jpeglib_h
=no
18717 rm -f conftest.
$ac_objext conftest.
$ac_ext
18721 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
18722 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
18724 if test "$ac_cv_header_jpeglib_h" = "yes"; then
18725 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
18726 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
18727 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
18728 echo $ECHO_N "(cached) $ECHO_C" >&6
18730 ac_check_lib_save_LIBS
=$LIBS
18731 LIBS
="-ljpeg $LIBS"
18732 cat >conftest.
$ac_ext <<_ACEOF
18733 #line $LINENO "configure"
18736 cat confdefs.h
>>conftest.
$ac_ext
18737 cat >>conftest.
$ac_ext <<_ACEOF
18738 /* end confdefs.h. */
18740 /* Override any gcc2 internal prototype to avoid an error. */
18744 /* We use char because int might match the return type of a gcc2
18745 builtin and then its argument prototype would still apply. */
18746 char jpeg_read_header ();
18750 jpeg_read_header ();
18755 rm -f conftest.
$ac_objext conftest
$ac_exeext
18756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18757 (eval $ac_link) 2>&5
18759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18760 (exit $ac_status); } &&
18761 { ac_try
='test -s conftest$ac_exeext'
18762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18763 (eval $ac_try) 2>&5
18765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18766 (exit $ac_status); }; }; then
18767 ac_cv_lib_jpeg_jpeg_read_header
=yes
18769 echo "$as_me: failed program was:" >&5
18770 sed 's/^/| /' conftest.
$ac_ext >&5
18772 ac_cv_lib_jpeg_jpeg_read_header
=no
18774 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18775 LIBS
=$ac_check_lib_save_LIBS
18777 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
18778 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
18779 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
18780 JPEG_LINK
=" -ljpeg"
18785 if test "x$JPEG_LINK" = "x" ; then
18786 if test "$wxUSE_LIBJPEG" = "sys" ; then
18787 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
18788 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
18789 { (exit 1); exit 1; }; }
18791 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
18792 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
18793 wxUSE_LIBJPEG
=builtin
18801 if test "$wxUSE_LIBJPEG" = "builtin" ; then
18802 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
18809 TIFF_PREREQ_LINKS
=-lm
18810 if test "$wxUSE_LIBTIFF" != "no" ; then
18811 cat >>confdefs.h
<<\_ACEOF
18812 #define wxUSE_LIBTIFF 1
18816 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
18817 if test "$wxUSE_LIBJPEG" = "sys"; then
18818 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
18820 if test "$wxUSE_ZLIB" = "sys"; then
18821 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
18823 if test "${ac_cv_header_tiffio_h+set}" = set; then
18824 echo "$as_me:$LINENO: checking for tiffio.h" >&5
18825 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
18826 if test "${ac_cv_header_tiffio_h+set}" = set; then
18827 echo $ECHO_N "(cached) $ECHO_C" >&6
18829 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
18830 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
18832 # Is the header compilable?
18833 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
18834 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
18835 cat >conftest.
$ac_ext <<_ACEOF
18836 #line $LINENO "configure"
18839 cat confdefs.h
>>conftest.
$ac_ext
18840 cat >>conftest.
$ac_ext <<_ACEOF
18841 /* end confdefs.h. */
18842 $ac_includes_default
18843 #include <tiffio.h>
18845 rm -f conftest.
$ac_objext
18846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18847 (eval $ac_compile) 2>&5
18849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18850 (exit $ac_status); } &&
18851 { ac_try
='test -s conftest.$ac_objext'
18852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18853 (eval $ac_try) 2>&5
18855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18856 (exit $ac_status); }; }; then
18857 ac_header_compiler
=yes
18859 echo "$as_me: failed program was:" >&5
18860 sed 's/^/| /' conftest.
$ac_ext >&5
18862 ac_header_compiler
=no
18864 rm -f conftest.
$ac_objext conftest.
$ac_ext
18865 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18866 echo "${ECHO_T}$ac_header_compiler" >&6
18868 # Is the header present?
18869 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
18870 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
18871 cat >conftest.
$ac_ext <<_ACEOF
18872 #line $LINENO "configure"
18875 cat confdefs.h
>>conftest.
$ac_ext
18876 cat >>conftest.
$ac_ext <<_ACEOF
18877 /* end confdefs.h. */
18878 #include <tiffio.h>
18880 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18881 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18883 grep -v '^ *+' conftest.er1
>conftest.err
18885 cat conftest.err
>&5
18886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18887 (exit $ac_status); } >/dev
/null
; then
18888 if test -s conftest.err
; then
18889 ac_cpp_err
=$ac_c_preproc_warn_flag
18896 if test -z "$ac_cpp_err"; then
18897 ac_header_preproc
=yes
18899 echo "$as_me: failed program was:" >&5
18900 sed 's/^/| /' conftest.
$ac_ext >&5
18902 ac_header_preproc
=no
18904 rm -f conftest.err conftest.
$ac_ext
18905 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18906 echo "${ECHO_T}$ac_header_preproc" >&6
18908 # So? What about this header?
18909 case $ac_header_compiler:$ac_header_preproc in
18911 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
18912 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18913 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
18914 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
18917 ## ------------------------------------ ##
18918 ## Report this to bug-autoconf@gnu.org. ##
18919 ## ------------------------------------ ##
18922 sed "s/^/$as_me: WARNING: /" >&2
18925 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
18926 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
18927 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
18928 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
18929 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
18930 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
18933 ## ------------------------------------ ##
18934 ## Report this to bug-autoconf@gnu.org. ##
18935 ## ------------------------------------ ##
18938 sed "s/^/$as_me: WARNING: /" >&2
18941 echo "$as_me:$LINENO: checking for tiffio.h" >&5
18942 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
18943 if test "${ac_cv_header_tiffio_h+set}" = set; then
18944 echo $ECHO_N "(cached) $ECHO_C" >&6
18946 ac_cv_header_tiffio_h
=$ac_header_preproc
18948 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
18949 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
18952 if test $ac_cv_header_tiffio_h = yes; then
18953 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
18954 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
18955 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
18956 echo $ECHO_N "(cached) $ECHO_C" >&6
18958 ac_check_lib_save_LIBS
=$LIBS
18959 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
18960 cat >conftest.
$ac_ext <<_ACEOF
18961 #line $LINENO "configure"
18964 cat confdefs.h
>>conftest.
$ac_ext
18965 cat >>conftest.
$ac_ext <<_ACEOF
18966 /* end confdefs.h. */
18968 /* Override any gcc2 internal prototype to avoid an error. */
18972 /* We use char because int might match the return type of a gcc2
18973 builtin and then its argument prototype would still apply. */
18983 rm -f conftest.
$ac_objext conftest
$ac_exeext
18984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18985 (eval $ac_link) 2>&5
18987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18988 (exit $ac_status); } &&
18989 { ac_try
='test -s conftest$ac_exeext'
18990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18991 (eval $ac_try) 2>&5
18993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18994 (exit $ac_status); }; }; then
18995 ac_cv_lib_tiff_TIFFError
=yes
18997 echo "$as_me: failed program was:" >&5
18998 sed 's/^/| /' conftest.
$ac_ext >&5
19000 ac_cv_lib_tiff_TIFFError
=no
19002 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19003 LIBS
=$ac_check_lib_save_LIBS
19005 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
19006 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
19007 if test $ac_cv_lib_tiff_TIFFError = yes; then
19008 TIFF_LINK
=" -ltiff"
19016 if test "x$TIFF_LINK" = "x" ; then
19017 if test "$wxUSE_LIBTIFF" = "sys" ; then
19018 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
19019 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
19020 { (exit 1); exit 1; }; }
19022 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
19023 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
19024 wxUSE_LIBTIFF
=builtin
19031 if test "$wxUSE_LIBTIFF" = "builtin" ; then
19032 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
19037 if test "$wxUSE_EXPAT" != "no"; then
19039 cat >>confdefs.h
<<\_ACEOF
19040 #define wxUSE_EXPAT 1
19043 cat >>confdefs.h
<<\_ACEOF
19044 #define wxUSE_XML 1
19048 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
19049 if test "${ac_cv_header_expat_h+set}" = set; then
19050 echo "$as_me:$LINENO: checking for expat.h" >&5
19051 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19052 if test "${ac_cv_header_expat_h+set}" = set; then
19053 echo $ECHO_N "(cached) $ECHO_C" >&6
19055 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19056 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19058 # Is the header compilable?
19059 echo "$as_me:$LINENO: checking expat.h usability" >&5
19060 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
19061 cat >conftest.
$ac_ext <<_ACEOF
19062 #line $LINENO "configure"
19065 cat confdefs.h
>>conftest.
$ac_ext
19066 cat >>conftest.
$ac_ext <<_ACEOF
19067 /* end confdefs.h. */
19068 $ac_includes_default
19071 rm -f conftest.
$ac_objext
19072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19073 (eval $ac_compile) 2>&5
19075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19076 (exit $ac_status); } &&
19077 { ac_try
='test -s conftest.$ac_objext'
19078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19079 (eval $ac_try) 2>&5
19081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19082 (exit $ac_status); }; }; then
19083 ac_header_compiler
=yes
19085 echo "$as_me: failed program was:" >&5
19086 sed 's/^/| /' conftest.
$ac_ext >&5
19088 ac_header_compiler
=no
19090 rm -f conftest.
$ac_objext conftest.
$ac_ext
19091 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19092 echo "${ECHO_T}$ac_header_compiler" >&6
19094 # Is the header present?
19095 echo "$as_me:$LINENO: checking expat.h presence" >&5
19096 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
19097 cat >conftest.
$ac_ext <<_ACEOF
19098 #line $LINENO "configure"
19101 cat confdefs.h
>>conftest.
$ac_ext
19102 cat >>conftest.
$ac_ext <<_ACEOF
19103 /* end confdefs.h. */
19106 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19107 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19109 grep -v '^ *+' conftest.er1
>conftest.err
19111 cat conftest.err
>&5
19112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19113 (exit $ac_status); } >/dev
/null
; then
19114 if test -s conftest.err
; then
19115 ac_cpp_err
=$ac_c_preproc_warn_flag
19122 if test -z "$ac_cpp_err"; then
19123 ac_header_preproc
=yes
19125 echo "$as_me: failed program was:" >&5
19126 sed 's/^/| /' conftest.
$ac_ext >&5
19128 ac_header_preproc
=no
19130 rm -f conftest.err conftest.
$ac_ext
19131 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19132 echo "${ECHO_T}$ac_header_preproc" >&6
19134 # So? What about this header?
19135 case $ac_header_compiler:$ac_header_preproc in
19137 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
19138 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19139 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19140 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19143 ## ------------------------------------ ##
19144 ## Report this to bug-autoconf@gnu.org. ##
19145 ## ------------------------------------ ##
19148 sed "s/^/$as_me: WARNING: /" >&2
19151 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
19152 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
19153 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
19154 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
19155 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19156 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19159 ## ------------------------------------ ##
19160 ## Report this to bug-autoconf@gnu.org. ##
19161 ## ------------------------------------ ##
19164 sed "s/^/$as_me: WARNING: /" >&2
19167 echo "$as_me:$LINENO: checking for expat.h" >&5
19168 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19169 if test "${ac_cv_header_expat_h+set}" = set; then
19170 echo $ECHO_N "(cached) $ECHO_C" >&6
19172 ac_cv_header_expat_h
=$ac_header_preproc
19174 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19175 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19178 if test $ac_cv_header_expat_h = yes; then
19183 if test "x$found_expat_h" = "x1"; then
19184 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
19185 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
19186 if test "${wx_cv_expat_is_not_broken+set}" = set; then
19187 echo $ECHO_N "(cached) $ECHO_C" >&6
19193 ac_cpp
='$CXXCPP $CPPFLAGS'
19194 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19195 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19196 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19198 cat >conftest.
$ac_ext <<_ACEOF
19199 #line $LINENO "configure"
19202 cat confdefs.h
>>conftest.
$ac_ext
19203 cat >>conftest.
$ac_ext <<_ACEOF
19204 /* end confdefs.h. */
19214 rm -f conftest.
$ac_objext
19215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19216 (eval $ac_compile) 2>&5
19218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19219 (exit $ac_status); } &&
19220 { ac_try
='test -s conftest.$ac_objext'
19221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19222 (eval $ac_try) 2>&5
19224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19225 (exit $ac_status); }; }; then
19226 wx_cv_expat_is_not_broken
=yes
19228 echo "$as_me: failed program was:" >&5
19229 sed 's/^/| /' conftest.
$ac_ext >&5
19231 wx_cv_expat_is_not_broken
=no
19234 rm -f conftest.
$ac_objext conftest.
$ac_ext
19236 ac_cpp
='$CPP $CPPFLAGS'
19237 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19238 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19239 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19244 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
19245 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
19246 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
19247 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
19248 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
19249 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
19250 echo $ECHO_N "(cached) $ECHO_C" >&6
19252 ac_check_lib_save_LIBS
=$LIBS
19253 LIBS
="-lexpat $LIBS"
19254 cat >conftest.
$ac_ext <<_ACEOF
19255 #line $LINENO "configure"
19258 cat confdefs.h
>>conftest.
$ac_ext
19259 cat >>conftest.
$ac_ext <<_ACEOF
19260 /* end confdefs.h. */
19262 /* Override any gcc2 internal prototype to avoid an error. */
19266 /* We use char because int might match the return type of a gcc2
19267 builtin and then its argument prototype would still apply. */
19268 char XML_ParserCreate ();
19272 XML_ParserCreate ();
19277 rm -f conftest.
$ac_objext conftest
$ac_exeext
19278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19279 (eval $ac_link) 2>&5
19281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19282 (exit $ac_status); } &&
19283 { ac_try
='test -s conftest$ac_exeext'
19284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19285 (eval $ac_try) 2>&5
19287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19288 (exit $ac_status); }; }; then
19289 ac_cv_lib_expat_XML_ParserCreate
=yes
19291 echo "$as_me: failed program was:" >&5
19292 sed 's/^/| /' conftest.
$ac_ext >&5
19294 ac_cv_lib_expat_XML_ParserCreate
=no
19296 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19297 LIBS
=$ac_check_lib_save_LIBS
19299 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
19300 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
19301 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
19302 EXPAT_LINK
=" -lexpat"
19307 if test "x$EXPAT_LINK" = "x" ; then
19308 if test "$wxUSE_EXPAT" = "sys" ; then
19309 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
19310 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
19311 { (exit 1); exit 1; }; }
19313 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
19314 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
19315 wxUSE_EXPAT
=builtin
19321 if test "$wxUSE_EXPAT" = "builtin" ; then
19324 subdirs
="$subdirs src/expat"
19338 if test "$USE_WIN32" = 1 ; then
19340 for ac_header
in w32api.h
19342 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19343 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19344 echo "$as_me:$LINENO: checking for $ac_header" >&5
19345 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19346 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19347 echo $ECHO_N "(cached) $ECHO_C" >&6
19349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19350 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19352 # Is the header compilable?
19353 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19354 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19355 cat >conftest.
$ac_ext <<_ACEOF
19356 #line $LINENO "configure"
19359 cat confdefs.h
>>conftest.
$ac_ext
19360 cat >>conftest.
$ac_ext <<_ACEOF
19361 /* end confdefs.h. */
19362 $ac_includes_default
19363 #include <$ac_header>
19365 rm -f conftest.
$ac_objext
19366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19367 (eval $ac_compile) 2>&5
19369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19370 (exit $ac_status); } &&
19371 { ac_try
='test -s conftest.$ac_objext'
19372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19373 (eval $ac_try) 2>&5
19375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19376 (exit $ac_status); }; }; then
19377 ac_header_compiler
=yes
19379 echo "$as_me: failed program was:" >&5
19380 sed 's/^/| /' conftest.
$ac_ext >&5
19382 ac_header_compiler
=no
19384 rm -f conftest.
$ac_objext conftest.
$ac_ext
19385 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19386 echo "${ECHO_T}$ac_header_compiler" >&6
19388 # Is the header present?
19389 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19390 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19391 cat >conftest.
$ac_ext <<_ACEOF
19392 #line $LINENO "configure"
19395 cat confdefs.h
>>conftest.
$ac_ext
19396 cat >>conftest.
$ac_ext <<_ACEOF
19397 /* end confdefs.h. */
19398 #include <$ac_header>
19400 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19401 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19403 grep -v '^ *+' conftest.er1
>conftest.err
19405 cat conftest.err
>&5
19406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19407 (exit $ac_status); } >/dev
/null
; then
19408 if test -s conftest.err
; then
19409 ac_cpp_err
=$ac_c_preproc_warn_flag
19416 if test -z "$ac_cpp_err"; then
19417 ac_header_preproc
=yes
19419 echo "$as_me: failed program was:" >&5
19420 sed 's/^/| /' conftest.
$ac_ext >&5
19422 ac_header_preproc
=no
19424 rm -f conftest.err conftest.
$ac_ext
19425 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19426 echo "${ECHO_T}$ac_header_preproc" >&6
19428 # So? What about this header?
19429 case $ac_header_compiler:$ac_header_preproc in
19431 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19432 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19433 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19434 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19437 ## ------------------------------------ ##
19438 ## Report this to bug-autoconf@gnu.org. ##
19439 ## ------------------------------------ ##
19442 sed "s/^/$as_me: WARNING: /" >&2
19445 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19446 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19447 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19448 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19449 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19450 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19453 ## ------------------------------------ ##
19454 ## Report this to bug-autoconf@gnu.org. ##
19455 ## ------------------------------------ ##
19458 sed "s/^/$as_me: WARNING: /" >&2
19461 echo "$as_me:$LINENO: checking for $ac_header" >&5
19462 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19463 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19464 echo $ECHO_N "(cached) $ECHO_C" >&6
19466 eval "$as_ac_Header=$ac_header_preproc"
19468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19469 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19472 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19473 cat >>confdefs.h
<<_ACEOF
19474 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19481 if test "${ac_cv_header_windows_h+set}" = set; then
19482 echo "$as_me:$LINENO: checking for windows.h" >&5
19483 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19484 if test "${ac_cv_header_windows_h+set}" = set; then
19485 echo $ECHO_N "(cached) $ECHO_C" >&6
19487 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19488 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19490 # Is the header compilable?
19491 echo "$as_me:$LINENO: checking windows.h usability" >&5
19492 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
19493 cat >conftest.
$ac_ext <<_ACEOF
19494 #line $LINENO "configure"
19497 cat confdefs.h
>>conftest.
$ac_ext
19498 cat >>conftest.
$ac_ext <<_ACEOF
19499 /* end confdefs.h. */
19500 $ac_includes_default
19501 #include <windows.h>
19503 rm -f conftest.
$ac_objext
19504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19505 (eval $ac_compile) 2>&5
19507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19508 (exit $ac_status); } &&
19509 { ac_try
='test -s conftest.$ac_objext'
19510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19511 (eval $ac_try) 2>&5
19513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19514 (exit $ac_status); }; }; then
19515 ac_header_compiler
=yes
19517 echo "$as_me: failed program was:" >&5
19518 sed 's/^/| /' conftest.
$ac_ext >&5
19520 ac_header_compiler
=no
19522 rm -f conftest.
$ac_objext conftest.
$ac_ext
19523 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19524 echo "${ECHO_T}$ac_header_compiler" >&6
19526 # Is the header present?
19527 echo "$as_me:$LINENO: checking windows.h presence" >&5
19528 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
19529 cat >conftest.
$ac_ext <<_ACEOF
19530 #line $LINENO "configure"
19533 cat confdefs.h
>>conftest.
$ac_ext
19534 cat >>conftest.
$ac_ext <<_ACEOF
19535 /* end confdefs.h. */
19536 #include <windows.h>
19538 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19539 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19541 grep -v '^ *+' conftest.er1
>conftest.err
19543 cat conftest.err
>&5
19544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19545 (exit $ac_status); } >/dev
/null
; then
19546 if test -s conftest.err
; then
19547 ac_cpp_err
=$ac_c_preproc_warn_flag
19554 if test -z "$ac_cpp_err"; then
19555 ac_header_preproc
=yes
19557 echo "$as_me: failed program was:" >&5
19558 sed 's/^/| /' conftest.
$ac_ext >&5
19560 ac_header_preproc
=no
19562 rm -f conftest.err conftest.
$ac_ext
19563 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19564 echo "${ECHO_T}$ac_header_preproc" >&6
19566 # So? What about this header?
19567 case $ac_header_compiler:$ac_header_preproc in
19569 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
19570 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19571 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19572 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19575 ## ------------------------------------ ##
19576 ## Report this to bug-autoconf@gnu.org. ##
19577 ## ------------------------------------ ##
19580 sed "s/^/$as_me: WARNING: /" >&2
19583 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
19584 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
19585 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
19586 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
19587 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19588 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19591 ## ------------------------------------ ##
19592 ## Report this to bug-autoconf@gnu.org. ##
19593 ## ------------------------------------ ##
19596 sed "s/^/$as_me: WARNING: /" >&2
19599 echo "$as_me:$LINENO: checking for windows.h" >&5
19600 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19601 if test "${ac_cv_header_windows_h+set}" = set; then
19602 echo $ECHO_N "(cached) $ECHO_C" >&6
19604 ac_cv_header_windows_h
=$ac_header_preproc
19606 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19607 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19610 if test $ac_cv_header_windows_h = yes; then
19614 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
19615 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
19616 { (exit 1); exit 1; }; }
19622 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
19624 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
19625 LIBS
="$LIBS -loleacc"
19630 LIBS
="$LIBS -lkernel32 -luser32"
19631 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
19634 if test "$wxUSE_ODBC" = "sys" ; then
19637 if test "$wxUSE_ODBC" = "yes" ; then
19638 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
19639 cat >>confdefs.h
<<\_ACEOF
19640 #define wxUSE_ODBC 1
19645 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
19646 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
19648 WIN32INSTALL
=win32install
19651 if test "$wxUSE_GUI" = "yes"; then
19660 if test "$wxUSE_MSW" = 1 ; then
19666 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
19670 if test "$wxUSE_GTK" = 1; then
19671 echo "$as_me:$LINENO: checking for GTK+ version" >&5
19672 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
19674 gtk_version_cached
=1
19675 if test "${wx_cv_lib_gtk+set}" = set; then
19676 echo $ECHO_N "(cached) $ECHO_C" >&6
19679 gtk_version_cached
=0
19680 echo "$as_me:$LINENO: result: " >&5
19681 echo "${ECHO_T}" >&6
19684 if test "$wxUSE_THREADS" = "yes"; then
19685 GTK_MODULES
=gthread
19689 if test "x$wxUSE_GTK2" = "xyes"; then
19690 # Check whether --enable-gtktest or --disable-gtktest was given.
19691 if test "${enable_gtktest+set}" = set; then
19692 enableval
="$enable_gtktest"
19698 pkg_config_args
=gtk
+-2.0
19699 for module
in .
$GTK_MODULES
19703 pkg_config_args
="$pkg_config_args gthread-2.0"
19710 # Extract the first word of "pkg-config", so it can be a program name with args.
19711 set dummy pkg
-config; ac_word
=$2
19712 echo "$as_me:$LINENO: checking for $ac_word" >&5
19713 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19714 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19715 echo $ECHO_N "(cached) $ECHO_C" >&6
19717 case $PKG_CONFIG in
19719 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
19722 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19723 for as_dir
in $PATH
19726 test -z "$as_dir" && as_dir
=.
19727 for ac_exec_ext
in '' $ac_executable_extensions; do
19728 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19729 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
19730 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19736 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
19740 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
19742 if test -n "$PKG_CONFIG"; then
19743 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19744 echo "${ECHO_T}$PKG_CONFIG" >&6
19746 echo "$as_me:$LINENO: result: no" >&5
19747 echo "${ECHO_T}no" >&6
19751 if test x
$PKG_CONFIG != xno
; then
19752 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
19755 echo *** pkg
-config too old
; version
0.7 or better required.
19763 min_gtk_version
=2.0.0
19764 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
19765 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
19767 if test x
$PKG_CONFIG != xno
; then
19768 ## don't try to run the test against uninstalled libtool libs
19769 if $PKG_CONFIG --uninstalled $pkg_config_args; then
19770 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
19774 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
19781 if test x
"$no_gtk" = x
; then
19782 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
19783 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
19784 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
19785 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
19786 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
19787 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
19788 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
19789 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
19790 if test "x$enable_gtktest" = "xyes" ; then
19791 ac_save_CFLAGS
="$CFLAGS"
19792 ac_save_LIBS
="$LIBS"
19793 CFLAGS
="$CFLAGS $GTK_CFLAGS"
19794 LIBS
="$GTK_LIBS $LIBS"
19796 if test "$cross_compiling" = yes; then
19797 echo $ac_n "cross compiling; assumed OK... $ac_c"
19799 cat >conftest.
$ac_ext <<_ACEOF
19800 #line $LINENO "configure"
19803 cat confdefs.h
>>conftest.
$ac_ext
19804 cat >>conftest.
$ac_ext <<_ACEOF
19805 /* end confdefs.h. */
19807 #include <gtk/gtk.h>
19809 #include <stdlib.h>
19814 int major, minor, micro;
19817 system ("touch conf.gtktest");
19819 /* HP/UX 9 (%@#!) writes to sscanf strings */
19820 tmp_version = g_strdup("$min_gtk_version");
19821 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
19822 printf("%s, bad version string\n", "$min_gtk_version");
19826 if ((gtk_major_version != $gtk_config_major_version) ||
19827 (gtk_minor_version != $gtk_config_minor_version) ||
19828 (gtk_micro_version != $gtk_config_micro_version))
19830 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
19831 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
19832 gtk_major_version, gtk_minor_version, gtk_micro_version);
19833 printf ("*** was found! If pkg-config was correct, then it is best\n");
19834 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
19835 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
19836 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
19837 printf("*** required on your system.\n");
19838 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
19839 printf("*** to point to the correct configuration files\n");
19841 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
19842 (gtk_minor_version != GTK_MINOR_VERSION) ||
19843 (gtk_micro_version != GTK_MICRO_VERSION))
19845 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
19846 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
19847 printf("*** library (version %d.%d.%d)\n",
19848 gtk_major_version, gtk_minor_version, gtk_micro_version);
19852 if ((gtk_major_version > major) ||
19853 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
19854 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
19860 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
19861 gtk_major_version, gtk_minor_version, gtk_micro_version);
19862 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
19863 major, minor, micro);
19864 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
19866 printf("*** If you have already installed a sufficiently new version, this error\n");
19867 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
19868 printf("*** being found. The easiest way to fix this is to remove the old version\n");
19869 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
19870 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
19871 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
19872 printf("*** so that the correct libraries are found at run-time))\n");
19879 rm -f conftest
$ac_exeext
19880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19881 (eval $ac_link) 2>&5
19883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19884 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19886 (eval $ac_try) 2>&5
19888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19889 (exit $ac_status); }; }; then
19892 echo "$as_me: program exited with status $ac_status" >&5
19893 echo "$as_me: failed program was:" >&5
19894 sed 's/^/| /' conftest.
$ac_ext >&5
19896 ( exit $ac_status )
19899 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19901 CFLAGS
="$ac_save_CFLAGS"
19902 LIBS
="$ac_save_LIBS"
19905 if test "x$no_gtk" = x
; then
19906 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
19907 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
19910 echo "$as_me:$LINENO: result: no" >&5
19911 echo "${ECHO_T}no" >&6
19912 if test "$PKG_CONFIG" = "no" ; then
19913 echo "*** A new enough version of pkg-config was not found."
19914 echo "*** See http://pkgconfig.sourceforge.net"
19916 if test -f conf.gtktest
; then
19919 echo "*** Could not run GTK+ test program, checking why..."
19920 ac_save_CFLAGS
="$CFLAGS"
19921 ac_save_LIBS
="$LIBS"
19922 CFLAGS
="$CFLAGS $GTK_CFLAGS"
19923 LIBS
="$LIBS $GTK_LIBS"
19924 cat >conftest.
$ac_ext <<_ACEOF
19925 #line $LINENO "configure"
19928 cat confdefs.h
>>conftest.
$ac_ext
19929 cat >>conftest.
$ac_ext <<_ACEOF
19930 /* end confdefs.h. */
19932 #include <gtk/gtk.h>
19938 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
19943 rm -f conftest.
$ac_objext conftest
$ac_exeext
19944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19945 (eval $ac_link) 2>&5
19947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19948 (exit $ac_status); } &&
19949 { ac_try
='test -s conftest$ac_exeext'
19950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19951 (eval $ac_try) 2>&5
19953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19954 (exit $ac_status); }; }; then
19955 echo "*** The test program compiled, but did not run. This usually means"
19956 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
19957 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
19958 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
19959 echo "*** to the installed location Also, make sure you have run ldconfig if that"
19960 echo "*** is required on your system"
19962 echo "*** If you have an old version installed, it is best to remove it, although"
19963 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
19965 echo "$as_me: failed program was:" >&5
19966 sed 's/^/| /' conftest.
$ac_ext >&5
19968 echo "*** The test program failed to compile or link. See the file config.log for the"
19969 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
19971 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19972 CFLAGS
="$ac_save_CFLAGS"
19973 LIBS
="$ac_save_LIBS"
19986 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
19987 if test "${with_gtk_prefix+set}" = set; then
19988 withval
="$with_gtk_prefix"
19989 gtk_config_prefix
="$withval"
19991 gtk_config_prefix
=""
19994 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
19995 if test "${with_gtk_exec_prefix+set}" = set; then
19996 withval
="$with_gtk_exec_prefix"
19997 gtk_config_exec_prefix
="$withval"
19999 gtk_config_exec_prefix
=""
20001 # Check whether --enable-gtktest or --disable-gtktest was given.
20002 if test "${enable_gtktest+set}" = set; then
20003 enableval
="$enable_gtktest"
20009 for module
in .
$GTK_MODULES
20013 gtk_config_args
="$gtk_config_args gthread"
20018 if test x
$gtk_config_exec_prefix != x
; then
20019 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20020 if test x
${GTK_CONFIG+set} != xset
; then
20021 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
20024 if test x
$gtk_config_prefix != x
; then
20025 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
20026 if test x
${GTK_CONFIG+set} != xset
; then
20027 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
20031 # Extract the first word of "gtk-config", so it can be a program name with args.
20032 set dummy gtk
-config; ac_word
=$2
20033 echo "$as_me:$LINENO: checking for $ac_word" >&5
20034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20035 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20036 echo $ECHO_N "(cached) $ECHO_C" >&6
20038 case $GTK_CONFIG in
20040 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
20043 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20044 for as_dir
in $PATH
20047 test -z "$as_dir" && as_dir
=.
20048 for ac_exec_ext
in '' $ac_executable_extensions; do
20049 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20050 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20051 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20057 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
20061 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
20063 if test -n "$GTK_CONFIG"; then
20064 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20065 echo "${ECHO_T}$GTK_CONFIG" >&6
20067 echo "$as_me:$LINENO: result: no" >&5
20068 echo "${ECHO_T}no" >&6
20071 min_gtk_version
=1.2.7
20072 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20073 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20075 if test "$GTK_CONFIG" = "no" ; then
20078 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
20079 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
20080 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
20081 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20082 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
20083 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20084 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
20085 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20086 if test "x$enable_gtktest" = "xyes" ; then
20087 ac_save_CFLAGS
="$CFLAGS"
20088 ac_save_LIBS
="$LIBS"
20089 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20090 LIBS
="$GTK_LIBS $LIBS"
20092 if test "$cross_compiling" = yes; then
20093 echo $ac_n "cross compiling; assumed OK... $ac_c"
20095 cat >conftest.
$ac_ext <<_ACEOF
20096 #line $LINENO "configure"
20099 cat confdefs.h
>>conftest.
$ac_ext
20100 cat >>conftest.
$ac_ext <<_ACEOF
20101 /* end confdefs.h. */
20103 #include <gtk/gtk.h>
20105 #include <stdlib.h>
20110 int major, minor, micro;
20113 system ("touch conf.gtktest");
20115 /* HP/UX 9 (%@#!) writes to sscanf strings */
20116 tmp_version = g_strdup("$min_gtk_version");
20117 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
20118 printf("%s, bad version string\n", "$min_gtk_version");
20122 if ((gtk_major_version != $gtk_config_major_version) ||
20123 (gtk_minor_version != $gtk_config_minor_version) ||
20124 (gtk_micro_version != $gtk_config_micro_version))
20126 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20127 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20128 gtk_major_version, gtk_minor_version, gtk_micro_version);
20129 printf ("*** was found! If gtk-config was correct, then it is best\n");
20130 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20131 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20132 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20133 printf("*** required on your system.\n");
20134 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20135 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20136 printf("*** before re-running configure\n");
20138 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20139 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20140 (gtk_minor_version != GTK_MINOR_VERSION) ||
20141 (gtk_micro_version != GTK_MICRO_VERSION))
20143 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20144 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20145 printf("*** library (version %d.%d.%d)\n",
20146 gtk_major_version, gtk_minor_version, gtk_micro_version);
20148 #endif /* defined (GTK_MAJOR_VERSION) ... */
20151 if ((gtk_major_version > major) ||
20152 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20153 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20159 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20160 gtk_major_version, gtk_minor_version, gtk_micro_version);
20161 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20162 major, minor, micro);
20163 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20165 printf("*** If you have already installed a sufficiently new version, this error\n");
20166 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20167 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20168 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20169 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20170 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20171 printf("*** so that the correct libraries are found at run-time))\n");
20178 rm -f conftest
$ac_exeext
20179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20180 (eval $ac_link) 2>&5
20182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20183 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20185 (eval $ac_try) 2>&5
20187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20188 (exit $ac_status); }; }; then
20191 echo "$as_me: program exited with status $ac_status" >&5
20192 echo "$as_me: failed program was:" >&5
20193 sed 's/^/| /' conftest.
$ac_ext >&5
20195 ( exit $ac_status )
20198 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20200 CFLAGS
="$ac_save_CFLAGS"
20201 LIBS
="$ac_save_LIBS"
20204 if test "x$no_gtk" = x
; then
20205 echo "$as_me:$LINENO: result: yes" >&5
20206 echo "${ECHO_T}yes" >&6
20207 wx_cv_lib_gtk
=1.2.7
20209 echo "$as_me:$LINENO: result: no" >&5
20210 echo "${ECHO_T}no" >&6
20211 if test "$GTK_CONFIG" = "no" ; then
20212 echo "*** The gtk-config script installed by GTK could not be found"
20213 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20214 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20215 echo "*** full path to gtk-config."
20217 if test -f conf.gtktest
; then
20220 echo "*** Could not run GTK test program, checking why..."
20221 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20222 LIBS
="$LIBS $GTK_LIBS"
20223 cat >conftest.
$ac_ext <<_ACEOF
20224 #line $LINENO "configure"
20227 cat confdefs.h
>>conftest.
$ac_ext
20228 cat >>conftest.
$ac_ext <<_ACEOF
20229 /* end confdefs.h. */
20231 #include <gtk/gtk.h>
20237 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20242 rm -f conftest.
$ac_objext conftest
$ac_exeext
20243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20244 (eval $ac_link) 2>&5
20246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20247 (exit $ac_status); } &&
20248 { ac_try
='test -s conftest$ac_exeext'
20249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20250 (eval $ac_try) 2>&5
20252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20253 (exit $ac_status); }; }; then
20254 echo "*** The test program compiled, but did not run. This usually means"
20255 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20256 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20257 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20258 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20259 echo "*** is required on your system"
20261 echo "*** If you have an old version installed, it is best to remove it, although"
20262 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20264 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20265 echo "*** came with the system with the command"
20267 echo "*** rpm --erase --nodeps gtk gtk-devel"
20269 echo "$as_me: failed program was:" >&5
20270 sed 's/^/| /' conftest.
$ac_ext >&5
20272 echo "*** The test program failed to compile or link. See the file config.log for the"
20273 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20274 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20275 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20277 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20278 CFLAGS
="$ac_save_CFLAGS"
20279 LIBS
="$ac_save_LIBS"
20291 if test -z "$wx_cv_lib_gtk"; then
20293 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20294 if test "${with_gtk_prefix+set}" = set; then
20295 withval
="$with_gtk_prefix"
20296 gtk_config_prefix
="$withval"
20298 gtk_config_prefix
=""
20301 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20302 if test "${with_gtk_exec_prefix+set}" = set; then
20303 withval
="$with_gtk_exec_prefix"
20304 gtk_config_exec_prefix
="$withval"
20306 gtk_config_exec_prefix
=""
20308 # Check whether --enable-gtktest or --disable-gtktest was given.
20309 if test "${enable_gtktest+set}" = set; then
20310 enableval
="$enable_gtktest"
20316 for module
in .
$GTK_MODULES
20320 gtk_config_args
="$gtk_config_args gthread"
20325 if test x
$gtk_config_exec_prefix != x
; then
20326 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20327 if test x
${GTK_CONFIG+set} != xset
; then
20328 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
20331 if test x
$gtk_config_prefix != x
; then
20332 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
20333 if test x
${GTK_CONFIG+set} != xset
; then
20334 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
20338 # Extract the first word of "gtk-config", so it can be a program name with args.
20339 set dummy gtk
-config; ac_word
=$2
20340 echo "$as_me:$LINENO: checking for $ac_word" >&5
20341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20342 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20343 echo $ECHO_N "(cached) $ECHO_C" >&6
20345 case $GTK_CONFIG in
20347 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
20350 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20351 for as_dir
in $PATH
20354 test -z "$as_dir" && as_dir
=.
20355 for ac_exec_ext
in '' $ac_executable_extensions; do
20356 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20357 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20358 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20364 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
20368 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
20370 if test -n "$GTK_CONFIG"; then
20371 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20372 echo "${ECHO_T}$GTK_CONFIG" >&6
20374 echo "$as_me:$LINENO: result: no" >&5
20375 echo "${ECHO_T}no" >&6
20378 min_gtk_version
=1.2.3
20379 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20380 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20382 if test "$GTK_CONFIG" = "no" ; then
20385 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
20386 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
20387 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
20388 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20389 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
20390 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20391 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
20392 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20393 if test "x$enable_gtktest" = "xyes" ; then
20394 ac_save_CFLAGS
="$CFLAGS"
20395 ac_save_LIBS
="$LIBS"
20396 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20397 LIBS
="$GTK_LIBS $LIBS"
20399 if test "$cross_compiling" = yes; then
20400 echo $ac_n "cross compiling; assumed OK... $ac_c"
20402 cat >conftest.
$ac_ext <<_ACEOF
20403 #line $LINENO "configure"
20406 cat confdefs.h
>>conftest.
$ac_ext
20407 cat >>conftest.
$ac_ext <<_ACEOF
20408 /* end confdefs.h. */
20410 #include <gtk/gtk.h>
20412 #include <stdlib.h>
20417 int major, minor, micro;
20420 system ("touch conf.gtktest");
20422 /* HP/UX 9 (%@#!) writes to sscanf strings */
20423 tmp_version = g_strdup("$min_gtk_version");
20424 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
20425 printf("%s, bad version string\n", "$min_gtk_version");
20429 if ((gtk_major_version != $gtk_config_major_version) ||
20430 (gtk_minor_version != $gtk_config_minor_version) ||
20431 (gtk_micro_version != $gtk_config_micro_version))
20433 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20434 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20435 gtk_major_version, gtk_minor_version, gtk_micro_version);
20436 printf ("*** was found! If gtk-config was correct, then it is best\n");
20437 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20438 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20439 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20440 printf("*** required on your system.\n");
20441 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20442 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20443 printf("*** before re-running configure\n");
20445 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20446 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20447 (gtk_minor_version != GTK_MINOR_VERSION) ||
20448 (gtk_micro_version != GTK_MICRO_VERSION))
20450 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20451 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20452 printf("*** library (version %d.%d.%d)\n",
20453 gtk_major_version, gtk_minor_version, gtk_micro_version);
20455 #endif /* defined (GTK_MAJOR_VERSION) ... */
20458 if ((gtk_major_version > major) ||
20459 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20460 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20466 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20467 gtk_major_version, gtk_minor_version, gtk_micro_version);
20468 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20469 major, minor, micro);
20470 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20472 printf("*** If you have already installed a sufficiently new version, this error\n");
20473 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20474 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20475 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20476 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20477 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20478 printf("*** so that the correct libraries are found at run-time))\n");
20485 rm -f conftest
$ac_exeext
20486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20487 (eval $ac_link) 2>&5
20489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20490 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20492 (eval $ac_try) 2>&5
20494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20495 (exit $ac_status); }; }; then
20498 echo "$as_me: program exited with status $ac_status" >&5
20499 echo "$as_me: failed program was:" >&5
20500 sed 's/^/| /' conftest.
$ac_ext >&5
20502 ( exit $ac_status )
20505 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20507 CFLAGS
="$ac_save_CFLAGS"
20508 LIBS
="$ac_save_LIBS"
20511 if test "x$no_gtk" = x
; then
20512 echo "$as_me:$LINENO: result: yes" >&5
20513 echo "${ECHO_T}yes" >&6
20514 wx_cv_lib_gtk
=1.2.3
20516 echo "$as_me:$LINENO: result: no" >&5
20517 echo "${ECHO_T}no" >&6
20518 if test "$GTK_CONFIG" = "no" ; then
20519 echo "*** The gtk-config script installed by GTK could not be found"
20520 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20521 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20522 echo "*** full path to gtk-config."
20524 if test -f conf.gtktest
; then
20527 echo "*** Could not run GTK test program, checking why..."
20528 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20529 LIBS
="$LIBS $GTK_LIBS"
20530 cat >conftest.
$ac_ext <<_ACEOF
20531 #line $LINENO "configure"
20534 cat confdefs.h
>>conftest.
$ac_ext
20535 cat >>conftest.
$ac_ext <<_ACEOF
20536 /* end confdefs.h. */
20538 #include <gtk/gtk.h>
20544 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20549 rm -f conftest.
$ac_objext conftest
$ac_exeext
20550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20551 (eval $ac_link) 2>&5
20553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20554 (exit $ac_status); } &&
20555 { ac_try
='test -s conftest$ac_exeext'
20556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20557 (eval $ac_try) 2>&5
20559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20560 (exit $ac_status); }; }; then
20561 echo "*** The test program compiled, but did not run. This usually means"
20562 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20563 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20564 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20565 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20566 echo "*** is required on your system"
20568 echo "*** If you have an old version installed, it is best to remove it, although"
20569 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20571 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20572 echo "*** came with the system with the command"
20574 echo "*** rpm --erase --nodeps gtk gtk-devel"
20576 echo "$as_me: failed program was:" >&5
20577 sed 's/^/| /' conftest.
$ac_ext >&5
20579 echo "*** The test program failed to compile or link. See the file config.log for the"
20580 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20581 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20582 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20584 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20585 CFLAGS
="$ac_save_CFLAGS"
20586 LIBS
="$ac_save_LIBS"
20600 if test -z "$wx_cv_lib_gtk"; then
20603 wx_cv_cflags_gtk
=$GTK_CFLAGS
20604 wx_cv_libs_gtk
=$GTK_LIBS
20611 if test "$gtk_version_cached" = 1; then
20612 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
20613 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
20616 case "$wx_cv_lib_gtk" in
20625 *) { { echo "$as_me:$LINENO: error:
20626 Please check that gtk-config is in path, the directory
20627 where GTK+ libraries are installed (returned by
20628 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20629 equivalent variable and GTK+ is version 1.2.3 or above.
20631 echo "$as_me: error:
20632 Please check that gtk-config is in path, the directory
20633 where GTK+ libraries are installed (returned by
20634 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20635 equivalent variable and GTK+ is version 1.2.3 or above.
20637 { (exit 1); exit 1; }; }
20641 if test "$WXGTK20" = 1; then
20642 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
20646 if test -z "$PKG_CONFIG"; then
20647 # Extract the first word of "pkg-config", so it can be a program name with args.
20648 set dummy pkg
-config; ac_word
=$2
20649 echo "$as_me:$LINENO: checking for $ac_word" >&5
20650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20651 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20652 echo $ECHO_N "(cached) $ECHO_C" >&6
20654 case $PKG_CONFIG in
20656 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20660 for as_dir
in $PATH
20663 test -z "$as_dir" && as_dir
=.
20664 for ac_exec_ext
in '' $ac_executable_extensions; do
20665 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20666 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20673 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
20677 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20679 if test -n "$PKG_CONFIG"; then
20680 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20681 echo "${ECHO_T}$PKG_CONFIG" >&6
20683 echo "$as_me:$LINENO: result: no" >&5
20684 echo "${ECHO_T}no" >&6
20689 if test "$PKG_CONFIG" = "no" ; then
20690 echo "*** The pkg-config script could not be found. Make sure it is"
20691 echo "*** in your path, or set the PKG_CONFIG environment variable"
20692 echo "*** to the full path to pkg-config."
20693 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20695 PKG_CONFIG_MIN_VERSION
=0.9.0
20696 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20697 echo "$as_me:$LINENO: checking for pangoft2" >&5
20698 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
20700 if $PKG_CONFIG --exists "pangoft2" ; then
20701 echo "$as_me:$LINENO: result: yes" >&5
20702 echo "${ECHO_T}yes" >&6
20705 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
20706 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
20707 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
20708 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
20709 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
20711 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
20712 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
20713 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
20714 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
20715 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
20719 ## If we have a custom action on failure, don't print errors, but
20720 ## do set a variable so people can do so.
20721 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
20728 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20729 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20733 if test $succeeded = yes; then
20735 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
20736 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
20740 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
20741 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
20742 wxUSE_PRINTING_ARCHITECTURE
="no"
20749 if test "$wxUSE_UNICODE" = "yes"; then
20750 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
20751 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
20756 if test "$USE_DARWIN" != 1; then
20758 for ac_func
in poll
20760 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20761 echo "$as_me:$LINENO: checking for $ac_func" >&5
20762 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20763 if eval "test \"\${$as_ac_var+set}\" = set"; then
20764 echo $ECHO_N "(cached) $ECHO_C" >&6
20766 cat >conftest.
$ac_ext <<_ACEOF
20767 #line $LINENO "configure"
20770 cat confdefs.h
>>conftest.
$ac_ext
20771 cat >>conftest.
$ac_ext <<_ACEOF
20772 /* end confdefs.h. */
20773 /* System header to define __stub macros and hopefully few prototypes,
20774 which can conflict with char $ac_func (); below.
20775 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20776 <limits.h> exists even on freestanding compilers. */
20778 # include <limits.h>
20780 # include <assert.h>
20782 /* Override any gcc2 internal prototype to avoid an error. */
20787 /* We use char because int might match the return type of a gcc2
20788 builtin and then its argument prototype would still apply. */
20790 /* The GNU C library defines this for functions which it implements
20791 to always fail with ENOSYS. Some functions are actually named
20792 something starting with __ and the normal name is an alias. */
20793 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20796 char (*f) () = $ac_func;
20805 return f != $ac_func;
20810 rm -f conftest.
$ac_objext conftest
$ac_exeext
20811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20812 (eval $ac_link) 2>&5
20814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20815 (exit $ac_status); } &&
20816 { ac_try
='test -s conftest$ac_exeext'
20817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20818 (eval $ac_try) 2>&5
20820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20821 (exit $ac_status); }; }; then
20822 eval "$as_ac_var=yes"
20824 echo "$as_me: failed program was:" >&5
20825 sed 's/^/| /' conftest.
$ac_ext >&5
20827 eval "$as_ac_var=no"
20829 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20832 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20833 if test `eval echo '${'$as_ac_var'}'` = yes; then
20834 cat >>confdefs.h
<<_ACEOF
20835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20843 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
20844 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
20846 AFMINSTALL
=afminstall
20850 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
20851 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
20852 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
20853 echo $ECHO_N "(cached) $ECHO_C" >&6
20855 ac_check_lib_save_LIBS
=$LIBS
20857 cat >conftest.
$ac_ext <<_ACEOF
20858 #line $LINENO "configure"
20861 cat confdefs.h
>>conftest.
$ac_ext
20862 cat >>conftest.
$ac_ext <<_ACEOF
20863 /* end confdefs.h. */
20865 /* Override any gcc2 internal prototype to avoid an error. */
20869 /* We use char because int might match the return type of a gcc2
20870 builtin and then its argument prototype would still apply. */
20871 char gdk_im_open ();
20880 rm -f conftest.
$ac_objext conftest
$ac_exeext
20881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20882 (eval $ac_link) 2>&5
20884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20885 (exit $ac_status); } &&
20886 { ac_try
='test -s conftest$ac_exeext'
20887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20888 (eval $ac_try) 2>&5
20890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20891 (exit $ac_status); }; }; then
20892 ac_cv_lib_gdk_gdk_im_open
=yes
20894 echo "$as_me: failed program was:" >&5
20895 sed 's/^/| /' conftest.
$ac_ext >&5
20897 ac_cv_lib_gdk_gdk_im_open
=no
20899 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20900 LIBS
=$ac_check_lib_save_LIBS
20902 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
20903 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
20904 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
20905 cat >>confdefs.h
<<\_ACEOF
20913 if test "$wxUSE_MGL" = 1; then
20914 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
20915 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
20916 if test "x$MGL_ROOT" = x
; then
20917 echo "$as_me:$LINENO: result: not found" >&5
20918 echo "${ECHO_T}not found" >&6
20919 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
20920 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
20921 { (exit 1); exit 1; }; }
20923 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
20924 echo "${ECHO_T}$MGL_ROOT" >&6
20927 echo "$as_me:$LINENO: checking for libmgl location" >&5
20928 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
20931 if test "x$wxUSE_SHARED" = xyes
; then
20932 mgl_os_candidates
="linux/gcc/glibc.so linux/gcc/glibc"
20934 mgl_os_candidates
="linux/gcc/glibc linux/gcc/glibc.so"
20938 mgl_os_candidates
="dos32/dj2"
20941 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
20942 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
20943 { (exit 1); exit 1; }; }
20949 for mgl_os_i
in $mgl_os_candidates ; do
20950 if test "x$mgl_os" = x
; then
20951 if test "$wxUSE_DEBUG_FLAG" = yes ; then
20952 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
20953 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
20958 if test "x$mgl_lib_type" = x
; then
20959 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
20960 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
20961 mgl_lib_type
=release
20968 if test "x$mgl_os" = x
; then
20969 echo "$as_me:$LINENO: result: not found" >&5
20970 echo "${ECHO_T}not found" >&6
20971 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
20972 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
20973 { (exit 1); exit 1; }; }
20975 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
20976 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
20978 wxUSE_UNIVERSAL
="yes"
20980 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
20981 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
20983 AFMINSTALL
=afminstall
20988 if test "$wxUSE_MICROWIN" = 1; then
20989 echo "$as_me:$LINENO: checking for MicroWindows" >&5
20990 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
20991 if test "x$MICROWINDOWS" = x
; then
20992 echo "$as_me:$LINENO: result: not found" >&5
20993 echo "${ECHO_T}not found" >&6
20994 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
20995 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
20996 { (exit 1); exit 1; }; }
20998 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
20999 echo "${ECHO_T}$MICROWINDOWS" >&6
21002 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
21003 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
21004 echo "${ECHO_T}MicroWindows' libraries found." >&6
21006 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
21007 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
21008 { (exit 1); exit 1; }; }
21011 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
21012 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
21014 wxUSE_UNIVERSAL
="yes"
21016 AFMINSTALL
=afminstall
21018 GUIDIST
=MICROWIN_DIST
21020 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
21023 if test "$wxUSE_X11" = 1; then
21024 echo "$as_me:$LINENO: checking for X" >&5
21025 echo $ECHO_N "checking for X... $ECHO_C" >&6
21028 # Check whether --with-x or --without-x was given.
21029 if test "${with_x+set}" = set; then
21033 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
21034 if test "x$with_x" = xno
; then
21035 # The user explicitly disabled X.
21038 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
21039 # Both variables are already set.
21042 if test "${ac_cv_have_x+set}" = set; then
21043 echo $ECHO_N "(cached) $ECHO_C" >&6
21045 # One or both of the vars are not set, and there is no cached value.
21046 ac_x_includes
=no ac_x_libraries
=no
21047 rm -fr conftest.dir
21048 if mkdir conftest.dir
; then
21050 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
21051 cat >Imakefile
<<'_ACEOF'
21053 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
21055 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
21056 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
21057 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
21058 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
21059 for ac_extension
in a so sl
; do
21060 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
21061 test -f $ac_im_libdir/libX11.
$ac_extension; then
21062 ac_im_usrlibdir
=$ac_im_libdir; break
21065 # Screen out bogus values from the imake configuration. They are
21066 # bogus both because they are the default anyway, and because
21067 # using them would break gcc on systems where it needs fixed includes.
21068 case $ac_im_incroot in
21070 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
21072 case $ac_im_usrlibdir in
21073 /usr
/lib
| /lib
) ;;
21074 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
21078 rm -fr conftest.dir
21081 # Standard set of common directories for X headers.
21082 # Check X11 before X11Rn because it is often a symlink to the current release.
21094 /usr/local/X11/include
21095 /usr/local/X11R6/include
21096 /usr/local/X11R5/include
21097 /usr/local/X11R4/include
21099 /usr/local/include/X11
21100 /usr/local/include/X11R6
21101 /usr/local/include/X11R5
21102 /usr/local/include/X11R4
21106 /usr/XFree86/include/X11
21110 /usr/unsupported/include
21111 /usr/athena/include
21112 /usr/local/x11r5/include
21113 /usr/lpp/Xamples/include
21115 /usr/openwin/include
21116 /usr/openwin/share/include'
21118 if test "$ac_x_includes" = no
; then
21119 # Guess where to find include files, by looking for Intrinsic.h.
21120 # First, try using that file with no special directory specified.
21121 cat >conftest.
$ac_ext <<_ACEOF
21122 #line $LINENO "configure"
21125 cat confdefs.h
>>conftest.
$ac_ext
21126 cat >>conftest.
$ac_ext <<_ACEOF
21127 /* end confdefs.h. */
21128 #include <X11/Intrinsic.h>
21130 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21131 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21133 grep -v '^ *+' conftest.er1
>conftest.err
21135 cat conftest.err
>&5
21136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21137 (exit $ac_status); } >/dev
/null
; then
21138 if test -s conftest.err
; then
21139 ac_cpp_err
=$ac_c_preproc_warn_flag
21146 if test -z "$ac_cpp_err"; then
21147 # We can compile using X headers with no special include directory.
21150 echo "$as_me: failed program was:" >&5
21151 sed 's/^/| /' conftest.
$ac_ext >&5
21153 for ac_dir
in $ac_x_header_dirs; do
21154 if test -r "$ac_dir/X11/Intrinsic.h"; then
21155 ac_x_includes
=$ac_dir
21160 rm -f conftest.err conftest.
$ac_ext
21161 fi # $ac_x_includes = no
21163 if test "$ac_x_libraries" = no
; then
21164 # Check for the libraries.
21165 # See if we find them without any special options.
21166 # Don't add to $LIBS permanently.
21169 cat >conftest.
$ac_ext <<_ACEOF
21170 #line $LINENO "configure"
21173 cat confdefs.h
>>conftest.
$ac_ext
21174 cat >>conftest.
$ac_ext <<_ACEOF
21175 /* end confdefs.h. */
21176 #include <X11/Intrinsic.h>
21185 rm -f conftest.
$ac_objext conftest
$ac_exeext
21186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21187 (eval $ac_link) 2>&5
21189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21190 (exit $ac_status); } &&
21191 { ac_try
='test -s conftest$ac_exeext'
21192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21193 (eval $ac_try) 2>&5
21195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21196 (exit $ac_status); }; }; then
21198 # We can link X programs with no special library path.
21201 echo "$as_me: failed program was:" >&5
21202 sed 's/^/| /' conftest.
$ac_ext >&5
21205 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
21207 # Don't even attempt the hair of trying to link an X program!
21208 for ac_extension
in a so sl
; do
21209 if test -r $ac_dir/libXt.
$ac_extension; then
21210 ac_x_libraries
=$ac_dir
21216 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21217 fi # $ac_x_libraries = no
21219 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
21220 # Didn't find X anywhere. Cache the known absence of X.
21221 ac_cv_have_x
="have_x=no"
21223 # Record where we found X for the cache.
21224 ac_cv_have_x
="have_x=yes \
21225 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
21230 eval "$ac_cv_have_x"
21233 if test "$have_x" != yes; then
21234 echo "$as_me:$LINENO: result: $have_x" >&5
21235 echo "${ECHO_T}$have_x" >&6
21238 # If each of the values was on the command line, it overrides each guess.
21239 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
21240 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
21241 # Update the cache value to reflect the command line values.
21242 ac_cv_have_x
="have_x=yes \
21243 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
21244 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
21245 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
21248 if test "$no_x" = yes; then
21249 # Not all programs may use this symbol, but it does not hurt to define it.
21251 cat >>confdefs.h
<<\_ACEOF
21252 #define X_DISPLAY_MISSING 1
21255 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
21257 if test -n "$x_includes"; then
21258 X_CFLAGS
="$X_CFLAGS -I$x_includes"
21261 # It would also be nice to do this for all -L options, not just this one.
21262 if test -n "$x_libraries"; then
21263 X_LIBS
="$X_LIBS -L$x_libraries"
21264 # For Solaris; some versions of Sun CC require a space after -R and
21265 # others require no space. Words are not sufficient . . . .
21266 case `(uname -sr) 2>/dev/null` in
21268 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
21269 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
21270 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
21271 cat >conftest.
$ac_ext <<_ACEOF
21272 #line $LINENO "configure"
21275 cat confdefs.h
>>conftest.
$ac_ext
21276 cat >>conftest.
$ac_ext <<_ACEOF
21277 /* end confdefs.h. */
21287 rm -f conftest.
$ac_objext conftest
$ac_exeext
21288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21289 (eval $ac_link) 2>&5
21291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21292 (exit $ac_status); } &&
21293 { ac_try
='test -s conftest$ac_exeext'
21294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21295 (eval $ac_try) 2>&5
21297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21298 (exit $ac_status); }; }; then
21301 echo "$as_me: failed program was:" >&5
21302 sed 's/^/| /' conftest.
$ac_ext >&5
21306 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21307 if test $ac_R_nospace = yes; then
21308 echo "$as_me:$LINENO: result: no" >&5
21309 echo "${ECHO_T}no" >&6
21310 X_LIBS
="$X_LIBS -R$x_libraries"
21312 LIBS
="$ac_xsave_LIBS -R $x_libraries"
21313 cat >conftest.
$ac_ext <<_ACEOF
21314 #line $LINENO "configure"
21317 cat confdefs.h
>>conftest.
$ac_ext
21318 cat >>conftest.
$ac_ext <<_ACEOF
21319 /* end confdefs.h. */
21329 rm -f conftest.
$ac_objext conftest
$ac_exeext
21330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21331 (eval $ac_link) 2>&5
21333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21334 (exit $ac_status); } &&
21335 { ac_try
='test -s conftest$ac_exeext'
21336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21337 (eval $ac_try) 2>&5
21339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21340 (exit $ac_status); }; }; then
21343 echo "$as_me: failed program was:" >&5
21344 sed 's/^/| /' conftest.
$ac_ext >&5
21348 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21349 if test $ac_R_space = yes; then
21350 echo "$as_me:$LINENO: result: yes" >&5
21351 echo "${ECHO_T}yes" >&6
21352 X_LIBS
="$X_LIBS -R $x_libraries"
21354 echo "$as_me:$LINENO: result: neither works" >&5
21355 echo "${ECHO_T}neither works" >&6
21358 LIBS
=$ac_xsave_LIBS
21362 # Check for system-dependent libraries X programs must link with.
21363 # Do this before checking for the system-independent R6 libraries
21364 # (-lICE), since we may need -lsocket or whatever for X linking.
21366 if test "$ISC" = yes; then
21367 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
21369 # Martyn Johnson says this is needed for Ultrix, if the X
21370 # libraries were built with DECnet support. And Karl Berry says
21371 # the Alpha needs dnet_stub (dnet does not exist).
21372 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
21373 cat >conftest.
$ac_ext <<_ACEOF
21374 #line $LINENO "configure"
21377 cat confdefs.h
>>conftest.
$ac_ext
21378 cat >>conftest.
$ac_ext <<_ACEOF
21379 /* end confdefs.h. */
21381 /* Override any gcc2 internal prototype to avoid an error. */
21385 /* We use char because int might match the return type of a gcc2
21386 builtin and then its argument prototype would still apply. */
21387 char XOpenDisplay ();
21396 rm -f conftest.
$ac_objext conftest
$ac_exeext
21397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21398 (eval $ac_link) 2>&5
21400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21401 (exit $ac_status); } &&
21402 { ac_try
='test -s conftest$ac_exeext'
21403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21404 (eval $ac_try) 2>&5
21406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21407 (exit $ac_status); }; }; then
21410 echo "$as_me: failed program was:" >&5
21411 sed 's/^/| /' conftest.
$ac_ext >&5
21413 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
21414 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
21415 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
21416 echo $ECHO_N "(cached) $ECHO_C" >&6
21418 ac_check_lib_save_LIBS
=$LIBS
21419 LIBS
="-ldnet $LIBS"
21420 cat >conftest.
$ac_ext <<_ACEOF
21421 #line $LINENO "configure"
21424 cat confdefs.h
>>conftest.
$ac_ext
21425 cat >>conftest.
$ac_ext <<_ACEOF
21426 /* end confdefs.h. */
21428 /* Override any gcc2 internal prototype to avoid an error. */
21432 /* We use char because int might match the return type of a gcc2
21433 builtin and then its argument prototype would still apply. */
21443 rm -f conftest.
$ac_objext conftest
$ac_exeext
21444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21445 (eval $ac_link) 2>&5
21447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21448 (exit $ac_status); } &&
21449 { ac_try
='test -s conftest$ac_exeext'
21450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21451 (eval $ac_try) 2>&5
21453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21454 (exit $ac_status); }; }; then
21455 ac_cv_lib_dnet_dnet_ntoa
=yes
21457 echo "$as_me: failed program was:" >&5
21458 sed 's/^/| /' conftest.
$ac_ext >&5
21460 ac_cv_lib_dnet_dnet_ntoa
=no
21462 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21463 LIBS
=$ac_check_lib_save_LIBS
21465 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
21466 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
21467 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
21468 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
21471 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
21472 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
21473 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
21474 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
21475 echo $ECHO_N "(cached) $ECHO_C" >&6
21477 ac_check_lib_save_LIBS
=$LIBS
21478 LIBS
="-ldnet_stub $LIBS"
21479 cat >conftest.
$ac_ext <<_ACEOF
21480 #line $LINENO "configure"
21483 cat confdefs.h
>>conftest.
$ac_ext
21484 cat >>conftest.
$ac_ext <<_ACEOF
21485 /* end confdefs.h. */
21487 /* Override any gcc2 internal prototype to avoid an error. */
21491 /* We use char because int might match the return type of a gcc2
21492 builtin and then its argument prototype would still apply. */
21502 rm -f conftest.
$ac_objext conftest
$ac_exeext
21503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21504 (eval $ac_link) 2>&5
21506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21507 (exit $ac_status); } &&
21508 { ac_try
='test -s conftest$ac_exeext'
21509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21510 (eval $ac_try) 2>&5
21512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21513 (exit $ac_status); }; }; then
21514 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
21516 echo "$as_me: failed program was:" >&5
21517 sed 's/^/| /' conftest.
$ac_ext >&5
21519 ac_cv_lib_dnet_stub_dnet_ntoa
=no
21521 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21522 LIBS
=$ac_check_lib_save_LIBS
21524 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
21525 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
21526 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
21527 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
21532 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21533 LIBS
="$ac_xsave_LIBS"
21535 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
21536 # to get the SysV transport functions.
21537 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
21539 # The nsl library prevents programs from opening the X display
21540 # on Irix 5.2, according to T.E. Dickey.
21541 # The functions gethostbyname, getservbyname, and inet_addr are
21542 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
21543 echo "$as_me:$LINENO: checking for gethostbyname" >&5
21544 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
21545 if test "${ac_cv_func_gethostbyname+set}" = set; then
21546 echo $ECHO_N "(cached) $ECHO_C" >&6
21548 cat >conftest.
$ac_ext <<_ACEOF
21549 #line $LINENO "configure"
21552 cat confdefs.h
>>conftest.
$ac_ext
21553 cat >>conftest.
$ac_ext <<_ACEOF
21554 /* end confdefs.h. */
21555 /* System header to define __stub macros and hopefully few prototypes,
21556 which can conflict with char gethostbyname (); below.
21557 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21558 <limits.h> exists even on freestanding compilers. */
21560 # include <limits.h>
21562 # include <assert.h>
21564 /* Override any gcc2 internal prototype to avoid an error. */
21569 /* We use char because int might match the return type of a gcc2
21570 builtin and then its argument prototype would still apply. */
21571 char gethostbyname ();
21572 /* The GNU C library defines this for functions which it implements
21573 to always fail with ENOSYS. Some functions are actually named
21574 something starting with __ and the normal name is an alias. */
21575 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
21578 char (*f) () = gethostbyname;
21587 return f != gethostbyname;
21592 rm -f conftest.
$ac_objext conftest
$ac_exeext
21593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21594 (eval $ac_link) 2>&5
21596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21597 (exit $ac_status); } &&
21598 { ac_try
='test -s conftest$ac_exeext'
21599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21600 (eval $ac_try) 2>&5
21602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21603 (exit $ac_status); }; }; then
21604 ac_cv_func_gethostbyname
=yes
21606 echo "$as_me: failed program was:" >&5
21607 sed 's/^/| /' conftest.
$ac_ext >&5
21609 ac_cv_func_gethostbyname
=no
21611 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21613 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
21614 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
21616 if test $ac_cv_func_gethostbyname = no
; then
21617 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
21618 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
21619 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
21620 echo $ECHO_N "(cached) $ECHO_C" >&6
21622 ac_check_lib_save_LIBS
=$LIBS
21624 cat >conftest.
$ac_ext <<_ACEOF
21625 #line $LINENO "configure"
21628 cat confdefs.h
>>conftest.
$ac_ext
21629 cat >>conftest.
$ac_ext <<_ACEOF
21630 /* end confdefs.h. */
21632 /* Override any gcc2 internal prototype to avoid an error. */
21636 /* We use char because int might match the return type of a gcc2
21637 builtin and then its argument prototype would still apply. */
21638 char gethostbyname ();
21647 rm -f conftest.
$ac_objext conftest
$ac_exeext
21648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21649 (eval $ac_link) 2>&5
21651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21652 (exit $ac_status); } &&
21653 { ac_try
='test -s conftest$ac_exeext'
21654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21655 (eval $ac_try) 2>&5
21657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21658 (exit $ac_status); }; }; then
21659 ac_cv_lib_nsl_gethostbyname
=yes
21661 echo "$as_me: failed program was:" >&5
21662 sed 's/^/| /' conftest.
$ac_ext >&5
21664 ac_cv_lib_nsl_gethostbyname
=no
21666 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21667 LIBS
=$ac_check_lib_save_LIBS
21669 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
21670 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
21671 if test $ac_cv_lib_nsl_gethostbyname = yes; then
21672 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
21675 if test $ac_cv_lib_nsl_gethostbyname = no
; then
21676 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
21677 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
21678 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
21679 echo $ECHO_N "(cached) $ECHO_C" >&6
21681 ac_check_lib_save_LIBS
=$LIBS
21683 cat >conftest.
$ac_ext <<_ACEOF
21684 #line $LINENO "configure"
21687 cat confdefs.h
>>conftest.
$ac_ext
21688 cat >>conftest.
$ac_ext <<_ACEOF
21689 /* end confdefs.h. */
21691 /* Override any gcc2 internal prototype to avoid an error. */
21695 /* We use char because int might match the return type of a gcc2
21696 builtin and then its argument prototype would still apply. */
21697 char gethostbyname ();
21706 rm -f conftest.
$ac_objext conftest
$ac_exeext
21707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21708 (eval $ac_link) 2>&5
21710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21711 (exit $ac_status); } &&
21712 { ac_try
='test -s conftest$ac_exeext'
21713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21714 (eval $ac_try) 2>&5
21716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21717 (exit $ac_status); }; }; then
21718 ac_cv_lib_bsd_gethostbyname
=yes
21720 echo "$as_me: failed program was:" >&5
21721 sed 's/^/| /' conftest.
$ac_ext >&5
21723 ac_cv_lib_bsd_gethostbyname
=no
21725 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21726 LIBS
=$ac_check_lib_save_LIBS
21728 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
21729 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
21730 if test $ac_cv_lib_bsd_gethostbyname = yes; then
21731 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
21737 # lieder@skyler.mavd.honeywell.com says without -lsocket,
21738 # socket/setsockopt and other routines are undefined under SCO ODT
21739 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
21740 # on later versions), says Simon Leinen: it contains gethostby*
21741 # variants that don't use the name server (or something). -lsocket
21742 # must be given before -lnsl if both are needed. We assume that
21743 # if connect needs -lnsl, so does gethostbyname.
21744 echo "$as_me:$LINENO: checking for connect" >&5
21745 echo $ECHO_N "checking for connect... $ECHO_C" >&6
21746 if test "${ac_cv_func_connect+set}" = set; then
21747 echo $ECHO_N "(cached) $ECHO_C" >&6
21749 cat >conftest.
$ac_ext <<_ACEOF
21750 #line $LINENO "configure"
21753 cat confdefs.h
>>conftest.
$ac_ext
21754 cat >>conftest.
$ac_ext <<_ACEOF
21755 /* end confdefs.h. */
21756 /* System header to define __stub macros and hopefully few prototypes,
21757 which can conflict with char connect (); below.
21758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21759 <limits.h> exists even on freestanding compilers. */
21761 # include <limits.h>
21763 # include <assert.h>
21765 /* Override any gcc2 internal prototype to avoid an error. */
21770 /* We use char because int might match the return type of a gcc2
21771 builtin and then its argument prototype would still apply. */
21773 /* The GNU C library defines this for functions which it implements
21774 to always fail with ENOSYS. Some functions are actually named
21775 something starting with __ and the normal name is an alias. */
21776 #if defined (__stub_connect) || defined (__stub___connect)
21779 char (*f) () = connect;
21788 return f != connect;
21793 rm -f conftest.
$ac_objext conftest
$ac_exeext
21794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21795 (eval $ac_link) 2>&5
21797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21798 (exit $ac_status); } &&
21799 { ac_try
='test -s conftest$ac_exeext'
21800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21801 (eval $ac_try) 2>&5
21803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21804 (exit $ac_status); }; }; then
21805 ac_cv_func_connect
=yes
21807 echo "$as_me: failed program was:" >&5
21808 sed 's/^/| /' conftest.
$ac_ext >&5
21810 ac_cv_func_connect
=no
21812 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21814 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
21815 echo "${ECHO_T}$ac_cv_func_connect" >&6
21817 if test $ac_cv_func_connect = no
; then
21818 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
21819 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
21820 if test "${ac_cv_lib_socket_connect+set}" = set; then
21821 echo $ECHO_N "(cached) $ECHO_C" >&6
21823 ac_check_lib_save_LIBS
=$LIBS
21824 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
21825 cat >conftest.
$ac_ext <<_ACEOF
21826 #line $LINENO "configure"
21829 cat confdefs.h
>>conftest.
$ac_ext
21830 cat >>conftest.
$ac_ext <<_ACEOF
21831 /* end confdefs.h. */
21833 /* Override any gcc2 internal prototype to avoid an error. */
21837 /* We use char because int might match the return type of a gcc2
21838 builtin and then its argument prototype would still apply. */
21848 rm -f conftest.
$ac_objext conftest
$ac_exeext
21849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21850 (eval $ac_link) 2>&5
21852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21853 (exit $ac_status); } &&
21854 { ac_try
='test -s conftest$ac_exeext'
21855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21856 (eval $ac_try) 2>&5
21858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21859 (exit $ac_status); }; }; then
21860 ac_cv_lib_socket_connect
=yes
21862 echo "$as_me: failed program was:" >&5
21863 sed 's/^/| /' conftest.
$ac_ext >&5
21865 ac_cv_lib_socket_connect
=no
21867 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21868 LIBS
=$ac_check_lib_save_LIBS
21870 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
21871 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
21872 if test $ac_cv_lib_socket_connect = yes; then
21873 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
21878 # Guillermo Gomez says -lposix is necessary on A/UX.
21879 echo "$as_me:$LINENO: checking for remove" >&5
21880 echo $ECHO_N "checking for remove... $ECHO_C" >&6
21881 if test "${ac_cv_func_remove+set}" = set; then
21882 echo $ECHO_N "(cached) $ECHO_C" >&6
21884 cat >conftest.
$ac_ext <<_ACEOF
21885 #line $LINENO "configure"
21888 cat confdefs.h
>>conftest.
$ac_ext
21889 cat >>conftest.
$ac_ext <<_ACEOF
21890 /* end confdefs.h. */
21891 /* System header to define __stub macros and hopefully few prototypes,
21892 which can conflict with char remove (); below.
21893 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21894 <limits.h> exists even on freestanding compilers. */
21896 # include <limits.h>
21898 # include <assert.h>
21900 /* Override any gcc2 internal prototype to avoid an error. */
21905 /* We use char because int might match the return type of a gcc2
21906 builtin and then its argument prototype would still apply. */
21908 /* The GNU C library defines this for functions which it implements
21909 to always fail with ENOSYS. Some functions are actually named
21910 something starting with __ and the normal name is an alias. */
21911 #if defined (__stub_remove) || defined (__stub___remove)
21914 char (*f) () = remove;
21923 return f != remove;
21928 rm -f conftest.
$ac_objext conftest
$ac_exeext
21929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21930 (eval $ac_link) 2>&5
21932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21933 (exit $ac_status); } &&
21934 { ac_try
='test -s conftest$ac_exeext'
21935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21936 (eval $ac_try) 2>&5
21938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21939 (exit $ac_status); }; }; then
21940 ac_cv_func_remove
=yes
21942 echo "$as_me: failed program was:" >&5
21943 sed 's/^/| /' conftest.
$ac_ext >&5
21945 ac_cv_func_remove
=no
21947 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21949 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
21950 echo "${ECHO_T}$ac_cv_func_remove" >&6
21952 if test $ac_cv_func_remove = no
; then
21953 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
21954 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
21955 if test "${ac_cv_lib_posix_remove+set}" = set; then
21956 echo $ECHO_N "(cached) $ECHO_C" >&6
21958 ac_check_lib_save_LIBS
=$LIBS
21959 LIBS
="-lposix $LIBS"
21960 cat >conftest.
$ac_ext <<_ACEOF
21961 #line $LINENO "configure"
21964 cat confdefs.h
>>conftest.
$ac_ext
21965 cat >>conftest.
$ac_ext <<_ACEOF
21966 /* end confdefs.h. */
21968 /* Override any gcc2 internal prototype to avoid an error. */
21972 /* We use char because int might match the return type of a gcc2
21973 builtin and then its argument prototype would still apply. */
21983 rm -f conftest.
$ac_objext conftest
$ac_exeext
21984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21985 (eval $ac_link) 2>&5
21987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21988 (exit $ac_status); } &&
21989 { ac_try
='test -s conftest$ac_exeext'
21990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21991 (eval $ac_try) 2>&5
21993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21994 (exit $ac_status); }; }; then
21995 ac_cv_lib_posix_remove
=yes
21997 echo "$as_me: failed program was:" >&5
21998 sed 's/^/| /' conftest.
$ac_ext >&5
22000 ac_cv_lib_posix_remove
=no
22002 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22003 LIBS
=$ac_check_lib_save_LIBS
22005 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
22006 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
22007 if test $ac_cv_lib_posix_remove = yes; then
22008 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
22013 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
22014 echo "$as_me:$LINENO: checking for shmat" >&5
22015 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
22016 if test "${ac_cv_func_shmat+set}" = set; then
22017 echo $ECHO_N "(cached) $ECHO_C" >&6
22019 cat >conftest.
$ac_ext <<_ACEOF
22020 #line $LINENO "configure"
22023 cat confdefs.h
>>conftest.
$ac_ext
22024 cat >>conftest.
$ac_ext <<_ACEOF
22025 /* end confdefs.h. */
22026 /* System header to define __stub macros and hopefully few prototypes,
22027 which can conflict with char shmat (); below.
22028 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22029 <limits.h> exists even on freestanding compilers. */
22031 # include <limits.h>
22033 # include <assert.h>
22035 /* Override any gcc2 internal prototype to avoid an error. */
22040 /* We use char because int might match the return type of a gcc2
22041 builtin and then its argument prototype would still apply. */
22043 /* The GNU C library defines this for functions which it implements
22044 to always fail with ENOSYS. Some functions are actually named
22045 something starting with __ and the normal name is an alias. */
22046 #if defined (__stub_shmat) || defined (__stub___shmat)
22049 char (*f) () = shmat;
22063 rm -f conftest.
$ac_objext conftest
$ac_exeext
22064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22065 (eval $ac_link) 2>&5
22067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22068 (exit $ac_status); } &&
22069 { ac_try
='test -s conftest$ac_exeext'
22070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22071 (eval $ac_try) 2>&5
22073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22074 (exit $ac_status); }; }; then
22075 ac_cv_func_shmat
=yes
22077 echo "$as_me: failed program was:" >&5
22078 sed 's/^/| /' conftest.
$ac_ext >&5
22080 ac_cv_func_shmat
=no
22082 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22084 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
22085 echo "${ECHO_T}$ac_cv_func_shmat" >&6
22087 if test $ac_cv_func_shmat = no
; then
22088 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
22089 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
22090 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
22091 echo $ECHO_N "(cached) $ECHO_C" >&6
22093 ac_check_lib_save_LIBS
=$LIBS
22095 cat >conftest.
$ac_ext <<_ACEOF
22096 #line $LINENO "configure"
22099 cat confdefs.h
>>conftest.
$ac_ext
22100 cat >>conftest.
$ac_ext <<_ACEOF
22101 /* end confdefs.h. */
22103 /* Override any gcc2 internal prototype to avoid an error. */
22107 /* We use char because int might match the return type of a gcc2
22108 builtin and then its argument prototype would still apply. */
22118 rm -f conftest.
$ac_objext conftest
$ac_exeext
22119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22120 (eval $ac_link) 2>&5
22122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22123 (exit $ac_status); } &&
22124 { ac_try
='test -s conftest$ac_exeext'
22125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22126 (eval $ac_try) 2>&5
22128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22129 (exit $ac_status); }; }; then
22130 ac_cv_lib_ipc_shmat
=yes
22132 echo "$as_me: failed program was:" >&5
22133 sed 's/^/| /' conftest.
$ac_ext >&5
22135 ac_cv_lib_ipc_shmat
=no
22137 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22138 LIBS
=$ac_check_lib_save_LIBS
22140 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
22141 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
22142 if test $ac_cv_lib_ipc_shmat = yes; then
22143 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
22149 # Check for libraries that X11R6 Xt/Xaw programs need.
22150 ac_save_LDFLAGS
=$LDFLAGS
22151 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
22152 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
22153 # check for ICE first), but we must link in the order -lSM -lICE or
22154 # we get undefined symbols. So assume we have SM if we have ICE.
22155 # These have to be linked with before -lX11, unlike the other
22156 # libraries we check for below, so use a different variable.
22157 # John Interrante, Karl Berry
22158 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
22159 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
22160 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
22161 echo $ECHO_N "(cached) $ECHO_C" >&6
22163 ac_check_lib_save_LIBS
=$LIBS
22164 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
22165 cat >conftest.
$ac_ext <<_ACEOF
22166 #line $LINENO "configure"
22169 cat confdefs.h
>>conftest.
$ac_ext
22170 cat >>conftest.
$ac_ext <<_ACEOF
22171 /* end confdefs.h. */
22173 /* Override any gcc2 internal prototype to avoid an error. */
22177 /* We use char because int might match the return type of a gcc2
22178 builtin and then its argument prototype would still apply. */
22179 char IceConnectionNumber ();
22183 IceConnectionNumber ();
22188 rm -f conftest.
$ac_objext conftest
$ac_exeext
22189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22190 (eval $ac_link) 2>&5
22192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22193 (exit $ac_status); } &&
22194 { ac_try
='test -s conftest$ac_exeext'
22195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22196 (eval $ac_try) 2>&5
22198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22199 (exit $ac_status); }; }; then
22200 ac_cv_lib_ICE_IceConnectionNumber
=yes
22202 echo "$as_me: failed program was:" >&5
22203 sed 's/^/| /' conftest.
$ac_ext >&5
22205 ac_cv_lib_ICE_IceConnectionNumber
=no
22207 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22208 LIBS
=$ac_check_lib_save_LIBS
22210 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
22211 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
22212 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
22213 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
22216 LDFLAGS
=$ac_save_LDFLAGS
22221 if test "$no_x" = "yes"; then
22222 { { echo "$as_me:$LINENO: error: X11 not found" >&5
22223 echo "$as_me: error: X11 not found" >&2;}
22224 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
22227 GUI_TK_LIBRARY
="$X_LIBS"
22228 TOOLKIT_INCLUDE
="$X_CFLAGS"
22229 AFMINSTALL
=afminstall
22230 COMPILED_X_PROGRAM
=0
22232 if test "$wxUSE_NANOX" = "yes"; then
22233 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
22234 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
22235 if test "x$MICROWIN" = x
; then
22236 echo "$as_me:$LINENO: result: not found" >&5
22237 echo "${ECHO_T}not found" >&6
22238 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
22239 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
22240 { (exit 1); exit 1; }; }
22242 echo "$as_me:$LINENO: result: $MICROWIN" >&5
22243 echo "${ECHO_T}$MICROWIN" >&6
22244 cat >>confdefs.h
<<\_ACEOF
22245 #define wxUSE_NANOX 1
22252 echo "$as_me:$LINENO: checking for Xpm library" >&5
22253 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
22256 for ac_dir
in $SEARCH_LIB /usr
/lib
;
22258 for ac_extension
in a so sl dylib
; do
22259 if test -f "$ac_dir/libXpm.$ac_extension"; then
22260 ac_find_libraries
=$ac_dir
22266 if test "$ac_find_libraries" != "" ; then
22268 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
22270 if test $result = 0; then
22273 ac_path_to_link
=" -L$ac_find_libraries"
22276 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
22278 cat >>confdefs.h
<<\_ACEOF
22279 #define wxHAVE_LIB_XPM 1
22282 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
22283 echo "${ECHO_T}found at $ac_find_libraries" >&6
22285 cat >conftest.
$ac_ext <<_ACEOF
22286 #line $LINENO "configure"
22289 cat confdefs.h
>>conftest.
$ac_ext
22290 cat >>conftest.
$ac_ext <<_ACEOF
22291 /* end confdefs.h. */
22293 #include <X11/xpm.h>
22300 version = XpmLibraryVersion();
22306 rm -f conftest.
$ac_objext
22307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22308 (eval $ac_compile) 2>&5
22310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22311 (exit $ac_status); } &&
22312 { ac_try
='test -s conftest.$ac_objext'
22313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22314 (eval $ac_try) 2>&5
22316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22317 (exit $ac_status); }; }; then
22320 cat >>confdefs.h
<<\_ACEOF
22321 #define wxHAVE_LIB_XPM 1
22324 echo "$as_me:$LINENO: result: found in default search path" >&5
22325 echo "${ECHO_T}found in default search path" >&6
22326 COMPILED_X_PROGRAM
=0
22329 echo "$as_me: failed program was:" >&5
22330 sed 's/^/| /' conftest.
$ac_ext >&5
22333 echo "$as_me:$LINENO: result: no" >&5
22334 echo "${ECHO_T}no" >&6
22335 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
22336 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
22340 rm -f conftest.
$ac_objext conftest.
$ac_ext
22343 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
22344 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
22345 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
22346 echo $ECHO_N "(cached) $ECHO_C" >&6
22348 ac_check_lib_save_LIBS
=$LIBS
22349 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
22350 cat >conftest.
$ac_ext <<_ACEOF
22351 #line $LINENO "configure"
22354 cat confdefs.h
>>conftest.
$ac_ext
22355 cat >>conftest.
$ac_ext <<_ACEOF
22356 /* end confdefs.h. */
22358 /* Override any gcc2 internal prototype to avoid an error. */
22362 /* We use char because int might match the return type of a gcc2
22363 builtin and then its argument prototype would still apply. */
22364 char XShapeQueryExtension ();
22368 XShapeQueryExtension ();
22373 rm -f conftest.
$ac_objext conftest
$ac_exeext
22374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22375 (eval $ac_link) 2>&5
22377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22378 (exit $ac_status); } &&
22379 { ac_try
='test -s conftest$ac_exeext'
22380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22381 (eval $ac_try) 2>&5
22383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22384 (exit $ac_status); }; }; then
22385 ac_cv_lib_Xext_XShapeQueryExtension
=yes
22387 echo "$as_me: failed program was:" >&5
22388 sed 's/^/| /' conftest.
$ac_ext >&5
22390 ac_cv_lib_Xext_XShapeQueryExtension
=no
22392 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22393 LIBS
=$ac_check_lib_save_LIBS
22395 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
22396 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
22397 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
22399 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
22405 if test "$wxUSE_UNICODE" = "yes"; then
22409 if test -z "$PKG_CONFIG"; then
22410 # Extract the first word of "pkg-config", so it can be a program name with args.
22411 set dummy pkg
-config; ac_word
=$2
22412 echo "$as_me:$LINENO: checking for $ac_word" >&5
22413 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22414 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22415 echo $ECHO_N "(cached) $ECHO_C" >&6
22417 case $PKG_CONFIG in
22419 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22422 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22423 for as_dir
in $PATH
22426 test -z "$as_dir" && as_dir
=.
22427 for ac_exec_ext
in '' $ac_executable_extensions; do
22428 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22429 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22430 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22436 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22440 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22442 if test -n "$PKG_CONFIG"; then
22443 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22444 echo "${ECHO_T}$PKG_CONFIG" >&6
22446 echo "$as_me:$LINENO: result: no" >&5
22447 echo "${ECHO_T}no" >&6
22452 if test "$PKG_CONFIG" = "no" ; then
22453 echo "*** The pkg-config script could not be found. Make sure it is"
22454 echo "*** in your path, or set the PKG_CONFIG environment variable"
22455 echo "*** to the full path to pkg-config."
22456 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22458 PKG_CONFIG_MIN_VERSION
=0.9.0
22459 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22460 echo "$as_me:$LINENO: checking for pangox" >&5
22461 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
22463 if $PKG_CONFIG --exists "pangox" ; then
22464 echo "$as_me:$LINENO: result: yes" >&5
22465 echo "${ECHO_T}yes" >&6
22468 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
22469 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
22470 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
22471 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
22472 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
22474 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
22475 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
22476 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
22477 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
22478 echo "${ECHO_T}$PANGOX_LIBS" >&6
22482 ## If we have a custom action on failure, don't print errors, but
22483 ## do set a variable so people can do so.
22484 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
22491 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22492 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22496 if test $succeeded = yes; then
22498 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
22499 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
22503 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
22504 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
22505 { (exit 1); exit 1; }; }
22513 if test -z "$PKG_CONFIG"; then
22514 # Extract the first word of "pkg-config", so it can be a program name with args.
22515 set dummy pkg
-config; ac_word
=$2
22516 echo "$as_me:$LINENO: checking for $ac_word" >&5
22517 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22518 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22519 echo $ECHO_N "(cached) $ECHO_C" >&6
22521 case $PKG_CONFIG in
22523 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22526 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22527 for as_dir
in $PATH
22530 test -z "$as_dir" && as_dir
=.
22531 for ac_exec_ext
in '' $ac_executable_extensions; do
22532 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22533 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22534 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22540 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22544 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22546 if test -n "$PKG_CONFIG"; then
22547 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22548 echo "${ECHO_T}$PKG_CONFIG" >&6
22550 echo "$as_me:$LINENO: result: no" >&5
22551 echo "${ECHO_T}no" >&6
22556 if test "$PKG_CONFIG" = "no" ; then
22557 echo "*** The pkg-config script could not be found. Make sure it is"
22558 echo "*** in your path, or set the PKG_CONFIG environment variable"
22559 echo "*** to the full path to pkg-config."
22560 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22562 PKG_CONFIG_MIN_VERSION
=0.9.0
22563 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22564 echo "$as_me:$LINENO: checking for pangoft2" >&5
22565 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22567 if $PKG_CONFIG --exists "pangoft2" ; then
22568 echo "$as_me:$LINENO: result: yes" >&5
22569 echo "${ECHO_T}yes" >&6
22572 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22573 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22574 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
22575 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22576 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22578 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22579 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22580 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
22581 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22582 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22586 ## If we have a custom action on failure, don't print errors, but
22587 ## do set a variable so people can do so.
22588 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22595 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22596 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22600 if test $succeeded = yes; then
22602 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
22603 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22607 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22608 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22609 wxUSE_PRINTING_ARCHITECTURE
="no"
22617 if test -z "$PKG_CONFIG"; then
22618 # Extract the first word of "pkg-config", so it can be a program name with args.
22619 set dummy pkg
-config; ac_word
=$2
22620 echo "$as_me:$LINENO: checking for $ac_word" >&5
22621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22622 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22623 echo $ECHO_N "(cached) $ECHO_C" >&6
22625 case $PKG_CONFIG in
22627 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22630 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22631 for as_dir
in $PATH
22634 test -z "$as_dir" && as_dir
=.
22635 for ac_exec_ext
in '' $ac_executable_extensions; do
22636 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22637 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22644 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22648 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22650 if test -n "$PKG_CONFIG"; then
22651 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22652 echo "${ECHO_T}$PKG_CONFIG" >&6
22654 echo "$as_me:$LINENO: result: no" >&5
22655 echo "${ECHO_T}no" >&6
22660 if test "$PKG_CONFIG" = "no" ; then
22661 echo "*** The pkg-config script could not be found. Make sure it is"
22662 echo "*** in your path, or set the PKG_CONFIG environment variable"
22663 echo "*** to the full path to pkg-config."
22664 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22666 PKG_CONFIG_MIN_VERSION
=0.9.0
22667 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22668 echo "$as_me:$LINENO: checking for pangoxft" >&5
22669 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
22671 if $PKG_CONFIG --exists "pangoxft" ; then
22672 echo "$as_me:$LINENO: result: yes" >&5
22673 echo "${ECHO_T}yes" >&6
22676 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
22677 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
22678 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
22679 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
22680 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
22682 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
22683 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
22684 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
22685 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
22686 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
22690 ## If we have a custom action on failure, don't print errors, but
22691 ## do set a variable so people can do so.
22692 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
22699 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22700 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22704 if test $succeeded = yes; then
22706 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
22707 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
22711 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
22712 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
22719 wxUSE_UNIVERSAL
="yes"
22721 if test "$wxUSE_NANOX" = "yes"; then
22722 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
22723 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"
22724 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
22726 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11$xpm_link"
22729 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
22734 if test "$wxUSE_MOTIF" = 1; then
22735 if test "$no_x" = yes; then
22736 # Not all programs may use this symbol, but it does not hurt to define it.
22738 cat >>confdefs.h
<<\_ACEOF
22739 #define X_DISPLAY_MISSING 1
22742 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
22744 if test -n "$x_includes"; then
22745 X_CFLAGS
="$X_CFLAGS -I$x_includes"
22748 # It would also be nice to do this for all -L options, not just this one.
22749 if test -n "$x_libraries"; then
22750 X_LIBS
="$X_LIBS -L$x_libraries"
22751 # For Solaris; some versions of Sun CC require a space after -R and
22752 # others require no space. Words are not sufficient . . . .
22753 case `(uname -sr) 2>/dev/null` in
22755 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
22756 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
22757 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
22758 cat >conftest.
$ac_ext <<_ACEOF
22759 #line $LINENO "configure"
22762 cat confdefs.h
>>conftest.
$ac_ext
22763 cat >>conftest.
$ac_ext <<_ACEOF
22764 /* end confdefs.h. */
22774 rm -f conftest.
$ac_objext conftest
$ac_exeext
22775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22776 (eval $ac_link) 2>&5
22778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22779 (exit $ac_status); } &&
22780 { ac_try
='test -s conftest$ac_exeext'
22781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22782 (eval $ac_try) 2>&5
22784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22785 (exit $ac_status); }; }; then
22788 echo "$as_me: failed program was:" >&5
22789 sed 's/^/| /' conftest.
$ac_ext >&5
22793 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22794 if test $ac_R_nospace = yes; then
22795 echo "$as_me:$LINENO: result: no" >&5
22796 echo "${ECHO_T}no" >&6
22797 X_LIBS
="$X_LIBS -R$x_libraries"
22799 LIBS
="$ac_xsave_LIBS -R $x_libraries"
22800 cat >conftest.
$ac_ext <<_ACEOF
22801 #line $LINENO "configure"
22804 cat confdefs.h
>>conftest.
$ac_ext
22805 cat >>conftest.
$ac_ext <<_ACEOF
22806 /* end confdefs.h. */
22816 rm -f conftest.
$ac_objext conftest
$ac_exeext
22817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22818 (eval $ac_link) 2>&5
22820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22821 (exit $ac_status); } &&
22822 { ac_try
='test -s conftest$ac_exeext'
22823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22824 (eval $ac_try) 2>&5
22826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22827 (exit $ac_status); }; }; then
22830 echo "$as_me: failed program was:" >&5
22831 sed 's/^/| /' conftest.
$ac_ext >&5
22835 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22836 if test $ac_R_space = yes; then
22837 echo "$as_me:$LINENO: result: yes" >&5
22838 echo "${ECHO_T}yes" >&6
22839 X_LIBS
="$X_LIBS -R $x_libraries"
22841 echo "$as_me:$LINENO: result: neither works" >&5
22842 echo "${ECHO_T}neither works" >&6
22845 LIBS
=$ac_xsave_LIBS
22849 # Check for system-dependent libraries X programs must link with.
22850 # Do this before checking for the system-independent R6 libraries
22851 # (-lICE), since we may need -lsocket or whatever for X linking.
22853 if test "$ISC" = yes; then
22854 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
22856 # Martyn Johnson says this is needed for Ultrix, if the X
22857 # libraries were built with DECnet support. And Karl Berry says
22858 # the Alpha needs dnet_stub (dnet does not exist).
22859 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
22860 cat >conftest.
$ac_ext <<_ACEOF
22861 #line $LINENO "configure"
22864 cat confdefs.h
>>conftest.
$ac_ext
22865 cat >>conftest.
$ac_ext <<_ACEOF
22866 /* end confdefs.h. */
22868 /* Override any gcc2 internal prototype to avoid an error. */
22872 /* We use char because int might match the return type of a gcc2
22873 builtin and then its argument prototype would still apply. */
22874 char XOpenDisplay ();
22883 rm -f conftest.
$ac_objext conftest
$ac_exeext
22884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22885 (eval $ac_link) 2>&5
22887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22888 (exit $ac_status); } &&
22889 { ac_try
='test -s conftest$ac_exeext'
22890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22891 (eval $ac_try) 2>&5
22893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22894 (exit $ac_status); }; }; then
22897 echo "$as_me: failed program was:" >&5
22898 sed 's/^/| /' conftest.
$ac_ext >&5
22900 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
22901 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
22902 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
22903 echo $ECHO_N "(cached) $ECHO_C" >&6
22905 ac_check_lib_save_LIBS
=$LIBS
22906 LIBS
="-ldnet $LIBS"
22907 cat >conftest.
$ac_ext <<_ACEOF
22908 #line $LINENO "configure"
22911 cat confdefs.h
>>conftest.
$ac_ext
22912 cat >>conftest.
$ac_ext <<_ACEOF
22913 /* end confdefs.h. */
22915 /* Override any gcc2 internal prototype to avoid an error. */
22919 /* We use char because int might match the return type of a gcc2
22920 builtin and then its argument prototype would still apply. */
22930 rm -f conftest.
$ac_objext conftest
$ac_exeext
22931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22932 (eval $ac_link) 2>&5
22934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22935 (exit $ac_status); } &&
22936 { ac_try
='test -s conftest$ac_exeext'
22937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22938 (eval $ac_try) 2>&5
22940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22941 (exit $ac_status); }; }; then
22942 ac_cv_lib_dnet_dnet_ntoa
=yes
22944 echo "$as_me: failed program was:" >&5
22945 sed 's/^/| /' conftest.
$ac_ext >&5
22947 ac_cv_lib_dnet_dnet_ntoa
=no
22949 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22950 LIBS
=$ac_check_lib_save_LIBS
22952 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
22953 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
22954 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
22955 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
22958 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
22959 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
22960 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
22961 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
22962 echo $ECHO_N "(cached) $ECHO_C" >&6
22964 ac_check_lib_save_LIBS
=$LIBS
22965 LIBS
="-ldnet_stub $LIBS"
22966 cat >conftest.
$ac_ext <<_ACEOF
22967 #line $LINENO "configure"
22970 cat confdefs.h
>>conftest.
$ac_ext
22971 cat >>conftest.
$ac_ext <<_ACEOF
22972 /* end confdefs.h. */
22974 /* Override any gcc2 internal prototype to avoid an error. */
22978 /* We use char because int might match the return type of a gcc2
22979 builtin and then its argument prototype would still apply. */
22989 rm -f conftest.
$ac_objext conftest
$ac_exeext
22990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22991 (eval $ac_link) 2>&5
22993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22994 (exit $ac_status); } &&
22995 { ac_try
='test -s conftest$ac_exeext'
22996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22997 (eval $ac_try) 2>&5
22999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23000 (exit $ac_status); }; }; then
23001 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
23003 echo "$as_me: failed program was:" >&5
23004 sed 's/^/| /' conftest.
$ac_ext >&5
23006 ac_cv_lib_dnet_stub_dnet_ntoa
=no
23008 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23009 LIBS
=$ac_check_lib_save_LIBS
23011 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23012 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23013 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23014 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
23019 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23020 LIBS
="$ac_xsave_LIBS"
23022 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23023 # to get the SysV transport functions.
23024 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23026 # The nsl library prevents programs from opening the X display
23027 # on Irix 5.2, according to T.E. Dickey.
23028 # The functions gethostbyname, getservbyname, and inet_addr are
23029 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23030 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23031 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23032 if test "${ac_cv_func_gethostbyname+set}" = set; then
23033 echo $ECHO_N "(cached) $ECHO_C" >&6
23035 cat >conftest.
$ac_ext <<_ACEOF
23036 #line $LINENO "configure"
23039 cat confdefs.h
>>conftest.
$ac_ext
23040 cat >>conftest.
$ac_ext <<_ACEOF
23041 /* end confdefs.h. */
23042 /* System header to define __stub macros and hopefully few prototypes,
23043 which can conflict with char gethostbyname (); below.
23044 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23045 <limits.h> exists even on freestanding compilers. */
23047 # include <limits.h>
23049 # include <assert.h>
23051 /* Override any gcc2 internal prototype to avoid an error. */
23056 /* We use char because int might match the return type of a gcc2
23057 builtin and then its argument prototype would still apply. */
23058 char gethostbyname ();
23059 /* The GNU C library defines this for functions which it implements
23060 to always fail with ENOSYS. Some functions are actually named
23061 something starting with __ and the normal name is an alias. */
23062 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23065 char (*f) () = gethostbyname;
23074 return f != gethostbyname;
23079 rm -f conftest.
$ac_objext conftest
$ac_exeext
23080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23081 (eval $ac_link) 2>&5
23083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23084 (exit $ac_status); } &&
23085 { ac_try
='test -s conftest$ac_exeext'
23086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23087 (eval $ac_try) 2>&5
23089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23090 (exit $ac_status); }; }; then
23091 ac_cv_func_gethostbyname
=yes
23093 echo "$as_me: failed program was:" >&5
23094 sed 's/^/| /' conftest.
$ac_ext >&5
23096 ac_cv_func_gethostbyname
=no
23098 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23100 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23101 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23103 if test $ac_cv_func_gethostbyname = no
; then
23104 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23105 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23106 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23107 echo $ECHO_N "(cached) $ECHO_C" >&6
23109 ac_check_lib_save_LIBS
=$LIBS
23111 cat >conftest.
$ac_ext <<_ACEOF
23112 #line $LINENO "configure"
23115 cat confdefs.h
>>conftest.
$ac_ext
23116 cat >>conftest.
$ac_ext <<_ACEOF
23117 /* end confdefs.h. */
23119 /* Override any gcc2 internal prototype to avoid an error. */
23123 /* We use char because int might match the return type of a gcc2
23124 builtin and then its argument prototype would still apply. */
23125 char gethostbyname ();
23134 rm -f conftest.
$ac_objext conftest
$ac_exeext
23135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23136 (eval $ac_link) 2>&5
23138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23139 (exit $ac_status); } &&
23140 { ac_try
='test -s conftest$ac_exeext'
23141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23142 (eval $ac_try) 2>&5
23144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23145 (exit $ac_status); }; }; then
23146 ac_cv_lib_nsl_gethostbyname
=yes
23148 echo "$as_me: failed program was:" >&5
23149 sed 's/^/| /' conftest.
$ac_ext >&5
23151 ac_cv_lib_nsl_gethostbyname
=no
23153 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23154 LIBS
=$ac_check_lib_save_LIBS
23156 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23157 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
23158 if test $ac_cv_lib_nsl_gethostbyname = yes; then
23159 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
23162 if test $ac_cv_lib_nsl_gethostbyname = no
; then
23163 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23164 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
23165 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23166 echo $ECHO_N "(cached) $ECHO_C" >&6
23168 ac_check_lib_save_LIBS
=$LIBS
23170 cat >conftest.
$ac_ext <<_ACEOF
23171 #line $LINENO "configure"
23174 cat confdefs.h
>>conftest.
$ac_ext
23175 cat >>conftest.
$ac_ext <<_ACEOF
23176 /* end confdefs.h. */
23178 /* Override any gcc2 internal prototype to avoid an error. */
23182 /* We use char because int might match the return type of a gcc2
23183 builtin and then its argument prototype would still apply. */
23184 char gethostbyname ();
23193 rm -f conftest.
$ac_objext conftest
$ac_exeext
23194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23195 (eval $ac_link) 2>&5
23197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23198 (exit $ac_status); } &&
23199 { ac_try
='test -s conftest$ac_exeext'
23200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23201 (eval $ac_try) 2>&5
23203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23204 (exit $ac_status); }; }; then
23205 ac_cv_lib_bsd_gethostbyname
=yes
23207 echo "$as_me: failed program was:" >&5
23208 sed 's/^/| /' conftest.
$ac_ext >&5
23210 ac_cv_lib_bsd_gethostbyname
=no
23212 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23213 LIBS
=$ac_check_lib_save_LIBS
23215 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
23216 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
23217 if test $ac_cv_lib_bsd_gethostbyname = yes; then
23218 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
23224 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23225 # socket/setsockopt and other routines are undefined under SCO ODT
23226 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23227 # on later versions), says Simon Leinen: it contains gethostby*
23228 # variants that don't use the name server (or something). -lsocket
23229 # must be given before -lnsl if both are needed. We assume that
23230 # if connect needs -lnsl, so does gethostbyname.
23231 echo "$as_me:$LINENO: checking for connect" >&5
23232 echo $ECHO_N "checking for connect... $ECHO_C" >&6
23233 if test "${ac_cv_func_connect+set}" = set; then
23234 echo $ECHO_N "(cached) $ECHO_C" >&6
23236 cat >conftest.
$ac_ext <<_ACEOF
23237 #line $LINENO "configure"
23240 cat confdefs.h
>>conftest.
$ac_ext
23241 cat >>conftest.
$ac_ext <<_ACEOF
23242 /* end confdefs.h. */
23243 /* System header to define __stub macros and hopefully few prototypes,
23244 which can conflict with char connect (); below.
23245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23246 <limits.h> exists even on freestanding compilers. */
23248 # include <limits.h>
23250 # include <assert.h>
23252 /* Override any gcc2 internal prototype to avoid an error. */
23257 /* We use char because int might match the return type of a gcc2
23258 builtin and then its argument prototype would still apply. */
23260 /* The GNU C library defines this for functions which it implements
23261 to always fail with ENOSYS. Some functions are actually named
23262 something starting with __ and the normal name is an alias. */
23263 #if defined (__stub_connect) || defined (__stub___connect)
23266 char (*f) () = connect;
23275 return f != connect;
23280 rm -f conftest.
$ac_objext conftest
$ac_exeext
23281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23282 (eval $ac_link) 2>&5
23284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23285 (exit $ac_status); } &&
23286 { ac_try
='test -s conftest$ac_exeext'
23287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23288 (eval $ac_try) 2>&5
23290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23291 (exit $ac_status); }; }; then
23292 ac_cv_func_connect
=yes
23294 echo "$as_me: failed program was:" >&5
23295 sed 's/^/| /' conftest.
$ac_ext >&5
23297 ac_cv_func_connect
=no
23299 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23301 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23302 echo "${ECHO_T}$ac_cv_func_connect" >&6
23304 if test $ac_cv_func_connect = no
; then
23305 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23306 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23307 if test "${ac_cv_lib_socket_connect+set}" = set; then
23308 echo $ECHO_N "(cached) $ECHO_C" >&6
23310 ac_check_lib_save_LIBS
=$LIBS
23311 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
23312 cat >conftest.
$ac_ext <<_ACEOF
23313 #line $LINENO "configure"
23316 cat confdefs.h
>>conftest.
$ac_ext
23317 cat >>conftest.
$ac_ext <<_ACEOF
23318 /* end confdefs.h. */
23320 /* Override any gcc2 internal prototype to avoid an error. */
23324 /* We use char because int might match the return type of a gcc2
23325 builtin and then its argument prototype would still apply. */
23335 rm -f conftest.
$ac_objext conftest
$ac_exeext
23336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23337 (eval $ac_link) 2>&5
23339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23340 (exit $ac_status); } &&
23341 { ac_try
='test -s conftest$ac_exeext'
23342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23343 (eval $ac_try) 2>&5
23345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23346 (exit $ac_status); }; }; then
23347 ac_cv_lib_socket_connect
=yes
23349 echo "$as_me: failed program was:" >&5
23350 sed 's/^/| /' conftest.
$ac_ext >&5
23352 ac_cv_lib_socket_connect
=no
23354 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23355 LIBS
=$ac_check_lib_save_LIBS
23357 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23358 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23359 if test $ac_cv_lib_socket_connect = yes; then
23360 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
23365 # Guillermo Gomez says -lposix is necessary on A/UX.
23366 echo "$as_me:$LINENO: checking for remove" >&5
23367 echo $ECHO_N "checking for remove... $ECHO_C" >&6
23368 if test "${ac_cv_func_remove+set}" = set; then
23369 echo $ECHO_N "(cached) $ECHO_C" >&6
23371 cat >conftest.
$ac_ext <<_ACEOF
23372 #line $LINENO "configure"
23375 cat confdefs.h
>>conftest.
$ac_ext
23376 cat >>conftest.
$ac_ext <<_ACEOF
23377 /* end confdefs.h. */
23378 /* System header to define __stub macros and hopefully few prototypes,
23379 which can conflict with char remove (); below.
23380 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23381 <limits.h> exists even on freestanding compilers. */
23383 # include <limits.h>
23385 # include <assert.h>
23387 /* Override any gcc2 internal prototype to avoid an error. */
23392 /* We use char because int might match the return type of a gcc2
23393 builtin and then its argument prototype would still apply. */
23395 /* The GNU C library defines this for functions which it implements
23396 to always fail with ENOSYS. Some functions are actually named
23397 something starting with __ and the normal name is an alias. */
23398 #if defined (__stub_remove) || defined (__stub___remove)
23401 char (*f) () = remove;
23410 return f != remove;
23415 rm -f conftest.
$ac_objext conftest
$ac_exeext
23416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23417 (eval $ac_link) 2>&5
23419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23420 (exit $ac_status); } &&
23421 { ac_try
='test -s conftest$ac_exeext'
23422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23423 (eval $ac_try) 2>&5
23425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23426 (exit $ac_status); }; }; then
23427 ac_cv_func_remove
=yes
23429 echo "$as_me: failed program was:" >&5
23430 sed 's/^/| /' conftest.
$ac_ext >&5
23432 ac_cv_func_remove
=no
23434 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23436 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23437 echo "${ECHO_T}$ac_cv_func_remove" >&6
23439 if test $ac_cv_func_remove = no
; then
23440 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23441 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23442 if test "${ac_cv_lib_posix_remove+set}" = set; then
23443 echo $ECHO_N "(cached) $ECHO_C" >&6
23445 ac_check_lib_save_LIBS
=$LIBS
23446 LIBS
="-lposix $LIBS"
23447 cat >conftest.
$ac_ext <<_ACEOF
23448 #line $LINENO "configure"
23451 cat confdefs.h
>>conftest.
$ac_ext
23452 cat >>conftest.
$ac_ext <<_ACEOF
23453 /* end confdefs.h. */
23455 /* Override any gcc2 internal prototype to avoid an error. */
23459 /* We use char because int might match the return type of a gcc2
23460 builtin and then its argument prototype would still apply. */
23470 rm -f conftest.
$ac_objext conftest
$ac_exeext
23471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23472 (eval $ac_link) 2>&5
23474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23475 (exit $ac_status); } &&
23476 { ac_try
='test -s conftest$ac_exeext'
23477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23478 (eval $ac_try) 2>&5
23480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23481 (exit $ac_status); }; }; then
23482 ac_cv_lib_posix_remove
=yes
23484 echo "$as_me: failed program was:" >&5
23485 sed 's/^/| /' conftest.
$ac_ext >&5
23487 ac_cv_lib_posix_remove
=no
23489 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23490 LIBS
=$ac_check_lib_save_LIBS
23492 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23493 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23494 if test $ac_cv_lib_posix_remove = yes; then
23495 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
23500 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23501 echo "$as_me:$LINENO: checking for shmat" >&5
23502 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23503 if test "${ac_cv_func_shmat+set}" = set; then
23504 echo $ECHO_N "(cached) $ECHO_C" >&6
23506 cat >conftest.
$ac_ext <<_ACEOF
23507 #line $LINENO "configure"
23510 cat confdefs.h
>>conftest.
$ac_ext
23511 cat >>conftest.
$ac_ext <<_ACEOF
23512 /* end confdefs.h. */
23513 /* System header to define __stub macros and hopefully few prototypes,
23514 which can conflict with char shmat (); below.
23515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23516 <limits.h> exists even on freestanding compilers. */
23518 # include <limits.h>
23520 # include <assert.h>
23522 /* Override any gcc2 internal prototype to avoid an error. */
23527 /* We use char because int might match the return type of a gcc2
23528 builtin and then its argument prototype would still apply. */
23530 /* The GNU C library defines this for functions which it implements
23531 to always fail with ENOSYS. Some functions are actually named
23532 something starting with __ and the normal name is an alias. */
23533 #if defined (__stub_shmat) || defined (__stub___shmat)
23536 char (*f) () = shmat;
23550 rm -f conftest.
$ac_objext conftest
$ac_exeext
23551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23552 (eval $ac_link) 2>&5
23554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23555 (exit $ac_status); } &&
23556 { ac_try
='test -s conftest$ac_exeext'
23557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23558 (eval $ac_try) 2>&5
23560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23561 (exit $ac_status); }; }; then
23562 ac_cv_func_shmat
=yes
23564 echo "$as_me: failed program was:" >&5
23565 sed 's/^/| /' conftest.
$ac_ext >&5
23567 ac_cv_func_shmat
=no
23569 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23571 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23572 echo "${ECHO_T}$ac_cv_func_shmat" >&6
23574 if test $ac_cv_func_shmat = no
; then
23575 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23576 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23577 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23578 echo $ECHO_N "(cached) $ECHO_C" >&6
23580 ac_check_lib_save_LIBS
=$LIBS
23582 cat >conftest.
$ac_ext <<_ACEOF
23583 #line $LINENO "configure"
23586 cat confdefs.h
>>conftest.
$ac_ext
23587 cat >>conftest.
$ac_ext <<_ACEOF
23588 /* end confdefs.h. */
23590 /* Override any gcc2 internal prototype to avoid an error. */
23594 /* We use char because int might match the return type of a gcc2
23595 builtin and then its argument prototype would still apply. */
23605 rm -f conftest.
$ac_objext conftest
$ac_exeext
23606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23607 (eval $ac_link) 2>&5
23609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23610 (exit $ac_status); } &&
23611 { ac_try
='test -s conftest$ac_exeext'
23612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23613 (eval $ac_try) 2>&5
23615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23616 (exit $ac_status); }; }; then
23617 ac_cv_lib_ipc_shmat
=yes
23619 echo "$as_me: failed program was:" >&5
23620 sed 's/^/| /' conftest.
$ac_ext >&5
23622 ac_cv_lib_ipc_shmat
=no
23624 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23625 LIBS
=$ac_check_lib_save_LIBS
23627 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23628 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23629 if test $ac_cv_lib_ipc_shmat = yes; then
23630 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
23636 # Check for libraries that X11R6 Xt/Xaw programs need.
23637 ac_save_LDFLAGS
=$LDFLAGS
23638 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
23639 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23640 # check for ICE first), but we must link in the order -lSM -lICE or
23641 # we get undefined symbols. So assume we have SM if we have ICE.
23642 # These have to be linked with before -lX11, unlike the other
23643 # libraries we check for below, so use a different variable.
23644 # John Interrante, Karl Berry
23645 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23646 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23647 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23648 echo $ECHO_N "(cached) $ECHO_C" >&6
23650 ac_check_lib_save_LIBS
=$LIBS
23651 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
23652 cat >conftest.
$ac_ext <<_ACEOF
23653 #line $LINENO "configure"
23656 cat confdefs.h
>>conftest.
$ac_ext
23657 cat >>conftest.
$ac_ext <<_ACEOF
23658 /* end confdefs.h. */
23660 /* Override any gcc2 internal prototype to avoid an error. */
23664 /* We use char because int might match the return type of a gcc2
23665 builtin and then its argument prototype would still apply. */
23666 char IceConnectionNumber ();
23670 IceConnectionNumber ();
23675 rm -f conftest.
$ac_objext conftest
$ac_exeext
23676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23677 (eval $ac_link) 2>&5
23679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23680 (exit $ac_status); } &&
23681 { ac_try
='test -s conftest$ac_exeext'
23682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23683 (eval $ac_try) 2>&5
23685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23686 (exit $ac_status); }; }; then
23687 ac_cv_lib_ICE_IceConnectionNumber
=yes
23689 echo "$as_me: failed program was:" >&5
23690 sed 's/^/| /' conftest.
$ac_ext >&5
23692 ac_cv_lib_ICE_IceConnectionNumber
=no
23694 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23695 LIBS
=$ac_check_lib_save_LIBS
23697 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23698 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
23699 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
23700 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
23703 LDFLAGS
=$ac_save_LDFLAGS
23708 if test "$no_x" = "yes"; then
23709 { { echo "$as_me:$LINENO: error: X11 not found" >&5
23710 echo "$as_me: error: X11 not found" >&2;}
23711 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
23714 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//'`
23715 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
23716 AFMINSTALL
=afminstall
23717 COMPILED_X_PROGRAM
=0
23719 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
23720 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
23723 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
23725 if test -f "$ac_dir/Xm/Xm.h"; then
23726 ac_find_includes
=$ac_dir
23731 if test "$ac_find_includes" != "" ; then
23732 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
23733 echo "${ECHO_T}found in $ac_find_includes" >&6
23735 if test "x$ac_find_includes" = "x/usr/include"; then
23736 ac_path_to_include
=""
23738 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
23740 if test $result = 0; then
23741 ac_path_to_include
=""
23743 ac_path_to_include
=" -I$ac_find_includes"
23747 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
23749 cat >conftest.
$ac_ext <<_ACEOF
23750 #line $LINENO "configure"
23753 cat confdefs.h
>>conftest.
$ac_ext
23754 cat >>conftest.
$ac_ext <<_ACEOF
23755 /* end confdefs.h. */
23764 version = xmUseVersion;
23770 rm -f conftest.
$ac_objext
23771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23772 (eval $ac_compile) 2>&5
23774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23775 (exit $ac_status); } &&
23776 { ac_try
='test -s conftest.$ac_objext'
23777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23778 (eval $ac_try) 2>&5
23780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23781 (exit $ac_status); }; }; then
23783 echo "$as_me:$LINENO: result: found in default search path" >&5
23784 echo "${ECHO_T}found in default search path" >&6
23785 COMPILED_X_PROGRAM
=1
23788 echo "$as_me: failed program was:" >&5
23789 sed 's/^/| /' conftest.
$ac_ext >&5
23792 echo "$as_me:$LINENO: result: no" >&5
23793 echo "${ECHO_T}no" >&6
23794 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
23795 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
23796 { (exit 1); exit 1; }; }
23800 rm -f conftest.
$ac_objext conftest.
$ac_ext
23803 if test "$COMPILED_X_PROGRAM" = 0; then
23804 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
23805 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
23808 for ac_dir
in $SEARCH_LIB /usr
/lib
;
23810 for ac_extension
in a so sl dylib
; do
23811 if test -f "$ac_dir/libXm.$ac_extension"; then
23812 ac_find_libraries
=$ac_dir
23818 if test "$ac_find_libraries" != "" ; then
23819 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23820 echo "${ECHO_T}found at $ac_find_libraries" >&6
23823 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
23825 if test $result = 0; then
23828 ac_path_to_link
=" -L$ac_find_libraries"
23831 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
23833 save_CFLAGS
=$CFLAGS
23834 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
23836 cat >conftest.
$ac_ext <<_ACEOF
23837 #line $LINENO "configure"
23840 cat confdefs.h
>>conftest.
$ac_ext
23841 cat >>conftest.
$ac_ext <<_ACEOF
23842 /* end confdefs.h. */
23851 version = xmUseVersion;
23857 rm -f conftest.
$ac_objext
23858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23859 (eval $ac_compile) 2>&5
23861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23862 (exit $ac_status); } &&
23863 { ac_try
='test -s conftest.$ac_objext'
23864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23865 (eval $ac_try) 2>&5
23867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23868 (exit $ac_status); }; }; then
23870 echo "$as_me:$LINENO: result: found in default search path" >&5
23871 echo "${ECHO_T}found in default search path" >&6
23872 COMPILED_X_PROGRAM
=1
23875 echo "$as_me: failed program was:" >&5
23876 sed 's/^/| /' conftest.
$ac_ext >&5
23879 echo "$as_me:$LINENO: result: no" >&5
23880 echo "${ECHO_T}no" >&6
23881 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
23882 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
23883 { (exit 1); exit 1; }; }
23887 rm -f conftest.
$ac_objext conftest.
$ac_ext
23889 CFLAGS
=$save_CFLAGS
23894 echo "$as_me:$LINENO: checking for Xpm library" >&5
23895 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
23898 for ac_dir
in $SEARCH_LIB /usr
/lib
;
23900 for ac_extension
in a so sl dylib
; do
23901 if test -f "$ac_dir/libXpm.$ac_extension"; then
23902 ac_find_libraries
=$ac_dir
23908 if test "$ac_find_libraries" != "" ; then
23910 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
23912 if test $result = 0; then
23915 ac_path_to_link
=" -L$ac_find_libraries"
23918 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
23921 cat >>confdefs.h
<<\_ACEOF
23922 #define wxHAVE_LIB_XPM 1
23925 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23926 echo "${ECHO_T}found at $ac_find_libraries" >&6
23928 save_CFLAGS
=$CFLAGS
23929 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
23931 cat >conftest.
$ac_ext <<_ACEOF
23932 #line $LINENO "configure"
23935 cat confdefs.h
>>conftest.
$ac_ext
23936 cat >>conftest.
$ac_ext <<_ACEOF
23937 /* end confdefs.h. */
23939 #include <X11/xpm.h>
23946 version = XpmLibraryVersion();
23952 rm -f conftest.
$ac_objext
23953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23954 (eval $ac_compile) 2>&5
23956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23957 (exit $ac_status); } &&
23958 { ac_try
='test -s conftest.$ac_objext'
23959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23960 (eval $ac_try) 2>&5
23962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23963 (exit $ac_status); }; }; then
23966 cat >>confdefs.h
<<\_ACEOF
23967 #define wxHAVE_LIB_XPM 1
23970 echo "$as_me:$LINENO: result: found in default search path" >&5
23971 echo "${ECHO_T}found in default search path" >&6
23972 COMPILED_X_PROGRAM
=0
23975 echo "$as_me: failed program was:" >&5
23976 sed 's/^/| /' conftest.
$ac_ext >&5
23979 echo "$as_me:$LINENO: result: no" >&5
23980 echo "${ECHO_T}no" >&6
23981 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
23982 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
23986 rm -f conftest.
$ac_objext conftest.
$ac_ext
23988 CFLAGS
=$save_CFLAGS
23991 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
23992 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
23996 for libp
in "" " -lXp"; do
23997 if test "$libs_found" = "0"; then
23998 for libsm_ice
in " -lSM -lICE"; do
23999 if test "$libs_found" = "0"; then
24001 LIBS
="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
24002 save_CFLAGS
=$CFLAGS
24003 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24005 cat >conftest.
$ac_ext <<_ACEOF
24006 #line $LINENO "configure"
24009 cat confdefs.h
>>conftest.
$ac_ext
24010 cat >>conftest.
$ac_ext <<_ACEOF
24011 /* end confdefs.h. */
24014 #include <Xm/List.h>
24020 XmString string = NULL;
24023 XmListAddItem(w, string, position);
24029 rm -f conftest.
$ac_objext conftest
$ac_exeext
24030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24031 (eval $ac_link) 2>&5
24033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24034 (exit $ac_status); } &&
24035 { ac_try
='test -s conftest$ac_exeext'
24036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24037 (eval $ac_try) 2>&5
24039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24040 (exit $ac_status); }; }; then
24043 libsm_ice_link
="$libsm_ice"
24044 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
24045 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
24049 echo "$as_me: failed program was:" >&5
24050 sed 's/^/| /' conftest.
$ac_ext >&5
24055 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24058 CFLAGS
=$save_CFLAGS
24064 if test "$libs_found" = "0"; then
24065 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
24066 echo "${ECHO_T}can't find the right libraries" >&6
24067 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
24068 echo "$as_me: error: can't link a simple motif program" >&2;}
24069 { (exit 1); exit 1; }; }
24072 save_CFLAGS
=$CFLAGS
24073 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24074 echo "$as_me:$LINENO: checking for Motif 2" >&5
24075 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
24076 cat >conftest.
$ac_ext <<_ACEOF
24077 #line $LINENO "configure"
24080 cat confdefs.h
>>conftest.
$ac_ext
24081 cat >>conftest.
$ac_ext <<_ACEOF
24082 /* end confdefs.h. */
24090 #if XmVersion < 2000
24091 #error "Not Motif 2"
24098 rm -f conftest.
$ac_objext
24099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24100 (eval $ac_compile) 2>&5
24102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24103 (exit $ac_status); } &&
24104 { ac_try
='test -s conftest.$ac_objext'
24105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24106 (eval $ac_try) 2>&5
24108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24109 (exit $ac_status); }; }; then
24111 cat >>confdefs.h
<<\_ACEOF
24112 #define __WXMOTIF20__ 1
24115 echo "$as_me:$LINENO: result: found" >&5
24116 echo "${ECHO_T}found" >&6
24119 echo "$as_me: failed program was:" >&5
24120 sed 's/^/| /' conftest.
$ac_ext >&5
24123 cat >>confdefs.h
<<\_ACEOF
24124 #define __WXMOTIF20__ 0
24127 echo "$as_me:$LINENO: result: not found" >&5
24128 echo "${ECHO_T}not found" >&6
24131 rm -f conftest.
$ac_objext conftest.
$ac_ext
24132 CFLAGS
=$save_CFLAGS
24134 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
24135 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
24141 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1 &&
24142 test "$wxHAVE_XEXT_LIB" = 1; then
24143 save_CFLAGS
="$CFLAGS"
24144 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24146 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
24147 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
24148 cat >conftest.
$ac_ext <<_ACEOF
24149 #line $LINENO "configure"
24152 cat confdefs.h
>>conftest.
$ac_ext
24153 cat >>conftest.
$ac_ext <<_ACEOF
24154 /* end confdefs.h. */
24156 #include <X11/Xlib.h>
24157 #include <X11/extensions/shape.h>
24163 int dummy1, dummy2;
24164 XShapeQueryExtension((Display*)NULL,
24165 (int*)NULL, (int*)NULL);
24171 rm -f conftest.
$ac_objext
24172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24173 (eval $ac_compile) 2>&5
24175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24176 (exit $ac_status); } &&
24177 { ac_try
='test -s conftest.$ac_objext'
24178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24179 (eval $ac_try) 2>&5
24181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24182 (exit $ac_status); }; }; then
24184 cat >>confdefs.h
<<\_ACEOF
24185 #define HAVE_XSHAPE 1
24188 echo "$as_me:$LINENO: result: found" >&5
24189 echo "${ECHO_T}found" >&6
24192 echo "$as_me: failed program was:" >&5
24193 sed 's/^/| /' conftest.
$ac_ext >&5
24196 echo "$as_me:$LINENO: result: not found" >&5
24197 echo "${ECHO_T}not found" >&6
24200 rm -f conftest.
$ac_objext conftest.
$ac_ext
24201 CFLAGS
="$save_CFLAGS"
24204 if test "$wxUSE_MAC" = 1; then
24205 CPPFLAGS
="$CPPFLAGS -fpascal-strings -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
24207 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
24210 WXBASEPORT
="_carbon"
24213 if test "$wxUSE_COCOA" = 1; then
24214 TOOLKIT_VPATH
="\${top_srcdir}/src/cocoa"
24219 if test "$wxUSE_PM" = 1; then
24222 { echo "$as_me:$LINENO: WARNING: OS/2 threads are not yet supported... disabled" >&5
24223 echo "$as_me: WARNING: OS/2 threads are not yet supported... disabled" >&2;}
24227 if test "$TOOLKIT" = "PM" ; then
24230 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
24233 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
24235 if test "$wxUSE_UNIVERSAL" = "yes"; then
24236 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
24238 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
24239 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
24241 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
24242 if test "$wxUSE_X11" = 1; then
24243 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
24245 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
24247 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
24250 ALL_OBJECTS
="\$(GUIOBJS)"
24251 ALL_SOURCES
="\$(ALL_SOURCES)"
24252 ALL_HEADERS
="\$(ALL_HEADERS)"
24255 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
24257 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
24258 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
24261 if test "$wxUSE_HTML" = "yes"; then
24262 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
24265 if test "$wxUSE_LIBJPEG" = "builtin" ; then
24266 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
24268 if test "$wxUSE_LIBTIFF" = "builtin" ; then
24269 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
24271 if test "$wxUSE_LIBPNG" = "builtin" ; then
24272 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
24275 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
24276 DISTDIR
="wx\$(TOOLKIT)"
24282 if test "$USE_WIN32" = 1 ; then
24283 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
24284 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
24288 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
24289 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
24292 ALL_SOURCES
="\$(ALL_SOURCES)"
24293 ALL_HEADERS
="\$(ALL_HEADERS)"
24295 PORT_FILES
="\${top_srcdir}/src/files.lst"
24297 GUIDIST
="BASE_DIST"
24307 if test "$TOOLKIT" != "MSW" ; then
24309 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
24311 if test "${ac_cv_header_sql_h+set}" = set; then
24312 echo "$as_me:$LINENO: checking for sql.h" >&5
24313 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24314 if test "${ac_cv_header_sql_h+set}" = set; then
24315 echo $ECHO_N "(cached) $ECHO_C" >&6
24317 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24318 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24320 # Is the header compilable?
24321 echo "$as_me:$LINENO: checking sql.h usability" >&5
24322 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
24323 cat >conftest.
$ac_ext <<_ACEOF
24324 #line $LINENO "configure"
24327 cat confdefs.h
>>conftest.
$ac_ext
24328 cat >>conftest.
$ac_ext <<_ACEOF
24329 /* end confdefs.h. */
24330 $ac_includes_default
24333 rm -f conftest.
$ac_objext
24334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24335 (eval $ac_compile) 2>&5
24337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24338 (exit $ac_status); } &&
24339 { ac_try
='test -s conftest.$ac_objext'
24340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24341 (eval $ac_try) 2>&5
24343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24344 (exit $ac_status); }; }; then
24345 ac_header_compiler
=yes
24347 echo "$as_me: failed program was:" >&5
24348 sed 's/^/| /' conftest.
$ac_ext >&5
24350 ac_header_compiler
=no
24352 rm -f conftest.
$ac_objext conftest.
$ac_ext
24353 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24354 echo "${ECHO_T}$ac_header_compiler" >&6
24356 # Is the header present?
24357 echo "$as_me:$LINENO: checking sql.h presence" >&5
24358 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
24359 cat >conftest.
$ac_ext <<_ACEOF
24360 #line $LINENO "configure"
24363 cat confdefs.h
>>conftest.
$ac_ext
24364 cat >>conftest.
$ac_ext <<_ACEOF
24365 /* end confdefs.h. */
24368 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24369 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24371 grep -v '^ *+' conftest.er1
>conftest.err
24373 cat conftest.err
>&5
24374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24375 (exit $ac_status); } >/dev
/null
; then
24376 if test -s conftest.err
; then
24377 ac_cpp_err
=$ac_c_preproc_warn_flag
24384 if test -z "$ac_cpp_err"; then
24385 ac_header_preproc
=yes
24387 echo "$as_me: failed program was:" >&5
24388 sed 's/^/| /' conftest.
$ac_ext >&5
24390 ac_header_preproc
=no
24392 rm -f conftest.err conftest.
$ac_ext
24393 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24394 echo "${ECHO_T}$ac_header_preproc" >&6
24396 # So? What about this header?
24397 case $ac_header_compiler:$ac_header_preproc in
24399 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
24400 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24401 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24402 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24405 ## ------------------------------------ ##
24406 ## Report this to bug-autoconf@gnu.org. ##
24407 ## ------------------------------------ ##
24410 sed "s/^/$as_me: WARNING: /" >&2
24413 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
24414 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
24415 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
24416 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
24417 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24418 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24421 ## ------------------------------------ ##
24422 ## Report this to bug-autoconf@gnu.org. ##
24423 ## ------------------------------------ ##
24426 sed "s/^/$as_me: WARNING: /" >&2
24429 echo "$as_me:$LINENO: checking for sql.h" >&5
24430 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24431 if test "${ac_cv_header_sql_h+set}" = set; then
24432 echo $ECHO_N "(cached) $ECHO_C" >&6
24434 ac_cv_header_sql_h
=$ac_header_preproc
24436 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24437 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24440 if test $ac_cv_header_sql_h = yes; then
24445 if test "x$found_sql_h" = "x1" ; then
24446 echo "$as_me:$LINENO: checking for iodbc in -lSQLAllocEnv" >&5
24447 echo $ECHO_N "checking for iodbc in -lSQLAllocEnv... $ECHO_C" >&6
24448 if test "${ac_cv_lib_SQLAllocEnv_iodbc+set}" = set; then
24449 echo $ECHO_N "(cached) $ECHO_C" >&6
24451 ac_check_lib_save_LIBS
=$LIBS
24452 LIBS
="-lSQLAllocEnv $LIBS"
24453 cat >conftest.
$ac_ext <<_ACEOF
24454 #line $LINENO "configure"
24457 cat confdefs.h
>>conftest.
$ac_ext
24458 cat >>conftest.
$ac_ext <<_ACEOF
24459 /* end confdefs.h. */
24461 /* Override any gcc2 internal prototype to avoid an error. */
24465 /* We use char because int might match the return type of a gcc2
24466 builtin and then its argument prototype would still apply. */
24476 rm -f conftest.
$ac_objext conftest
$ac_exeext
24477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24478 (eval $ac_link) 2>&5
24480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24481 (exit $ac_status); } &&
24482 { ac_try
='test -s conftest$ac_exeext'
24483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24484 (eval $ac_try) 2>&5
24486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24487 (exit $ac_status); }; }; then
24488 ac_cv_lib_SQLAllocEnv_iodbc
=yes
24490 echo "$as_me: failed program was:" >&5
24491 sed 's/^/| /' conftest.
$ac_ext >&5
24493 ac_cv_lib_SQLAllocEnv_iodbc
=no
24495 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24496 LIBS
=$ac_check_lib_save_LIBS
24498 echo "$as_me:$LINENO: result: $ac_cv_lib_SQLAllocEnv_iodbc" >&5
24499 echo "${ECHO_T}$ac_cv_lib_SQLAllocEnv_iodbc" >&6
24500 if test $ac_cv_lib_SQLAllocEnv_iodbc = yes; then
24501 ODBC_LINK
=" -liodbc"
24504 echo "$as_me:$LINENO: checking for unixodbc in -lSQLAllocEnv" >&5
24505 echo $ECHO_N "checking for unixodbc in -lSQLAllocEnv... $ECHO_C" >&6
24506 if test "${ac_cv_lib_SQLAllocEnv_unixodbc+set}" = set; then
24507 echo $ECHO_N "(cached) $ECHO_C" >&6
24509 ac_check_lib_save_LIBS
=$LIBS
24510 LIBS
="-lSQLAllocEnv $LIBS"
24511 cat >conftest.
$ac_ext <<_ACEOF
24512 #line $LINENO "configure"
24515 cat confdefs.h
>>conftest.
$ac_ext
24516 cat >>conftest.
$ac_ext <<_ACEOF
24517 /* end confdefs.h. */
24519 /* Override any gcc2 internal prototype to avoid an error. */
24523 /* We use char because int might match the return type of a gcc2
24524 builtin and then its argument prototype would still apply. */
24534 rm -f conftest.
$ac_objext conftest
$ac_exeext
24535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24536 (eval $ac_link) 2>&5
24538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24539 (exit $ac_status); } &&
24540 { ac_try
='test -s conftest$ac_exeext'
24541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24542 (eval $ac_try) 2>&5
24544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24545 (exit $ac_status); }; }; then
24546 ac_cv_lib_SQLAllocEnv_unixodbc
=yes
24548 echo "$as_me: failed program was:" >&5
24549 sed 's/^/| /' conftest.
$ac_ext >&5
24551 ac_cv_lib_SQLAllocEnv_unixodbc
=no
24553 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24554 LIBS
=$ac_check_lib_save_LIBS
24556 echo "$as_me:$LINENO: result: $ac_cv_lib_SQLAllocEnv_unixodbc" >&5
24557 echo "${ECHO_T}$ac_cv_lib_SQLAllocEnv_unixodbc" >&6
24558 if test $ac_cv_lib_SQLAllocEnv_unixodbc = yes; then
24559 ODBC_LINK
=" -lunixodbc"
24562 echo "$as_me:$LINENO: checking for odbc in -lSQLAllocEnv" >&5
24563 echo $ECHO_N "checking for odbc in -lSQLAllocEnv... $ECHO_C" >&6
24564 if test "${ac_cv_lib_SQLAllocEnv_odbc+set}" = set; then
24565 echo $ECHO_N "(cached) $ECHO_C" >&6
24567 ac_check_lib_save_LIBS
=$LIBS
24568 LIBS
="-lSQLAllocEnv $LIBS"
24569 cat >conftest.
$ac_ext <<_ACEOF
24570 #line $LINENO "configure"
24573 cat confdefs.h
>>conftest.
$ac_ext
24574 cat >>conftest.
$ac_ext <<_ACEOF
24575 /* end confdefs.h. */
24577 /* Override any gcc2 internal prototype to avoid an error. */
24581 /* We use char because int might match the return type of a gcc2
24582 builtin and then its argument prototype would still apply. */
24592 rm -f conftest.
$ac_objext conftest
$ac_exeext
24593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24594 (eval $ac_link) 2>&5
24596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24597 (exit $ac_status); } &&
24598 { ac_try
='test -s conftest$ac_exeext'
24599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24600 (eval $ac_try) 2>&5
24602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24603 (exit $ac_status); }; }; then
24604 ac_cv_lib_SQLAllocEnv_odbc
=yes
24606 echo "$as_me: failed program was:" >&5
24607 sed 's/^/| /' conftest.
$ac_ext >&5
24609 ac_cv_lib_SQLAllocEnv_odbc
=no
24611 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24612 LIBS
=$ac_check_lib_save_LIBS
24614 echo "$as_me:$LINENO: result: $ac_cv_lib_SQLAllocEnv_odbc" >&5
24615 echo "${ECHO_T}$ac_cv_lib_SQLAllocEnv_odbc" >&6
24616 if test $ac_cv_lib_SQLAllocEnv_odbc = yes; then
24617 ODBC_LINK
=" -lodbc"
24627 if test "x$ODBC_LINK" = "x" ; then
24628 if test "$wxUSE_ODBC" = "sys" ; then
24629 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
24630 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
24631 { (exit 1); exit 1; }; }
24633 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
24634 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
24641 if test "$wxUSE_ODBC" != "no" ; then
24642 cat >>confdefs.h
<<\_ACEOF
24643 #define wxUSE_ODBC 1
24646 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
24648 WXODBCFLAG
="-D_IODBC_"
24652 if test "$wxUSE_REGEX" = "builtin" ; then
24653 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
24655 if test "$wxUSE_ZLIB" = "builtin" ; then
24656 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
24661 if test "$wxUSE_OPENGL" = "yes"; then
24662 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
24663 OPENGL_LIBS
="-framework OpenGL -framework AGL"
24664 elif test "$wxUSE_MSW" = 1; then
24665 OPENGL_LIBS
="-lopengl32 -lglu32"
24670 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
24672 if test -f "$ac_dir/GL/gl.h"; then
24673 ac_find_includes
=$ac_dir
24678 if test "$ac_find_includes" != "" ; then
24679 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
24680 echo "${ECHO_T}found in $ac_find_includes" >&6
24682 if test "x$ac_find_includes" = "x/usr/include"; then
24683 ac_path_to_include
=""
24685 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
24687 if test $result = 0; then
24688 ac_path_to_include
=""
24690 ac_path_to_include
=" -I$ac_find_includes"
24694 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
24697 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24698 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24699 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24700 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24701 echo $ECHO_N "(cached) $ECHO_C" >&6
24703 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24704 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24706 # Is the header compilable?
24707 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
24708 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
24709 cat >conftest.
$ac_ext <<_ACEOF
24710 #line $LINENO "configure"
24713 cat confdefs.h
>>conftest.
$ac_ext
24714 cat >>conftest.
$ac_ext <<_ACEOF
24715 /* end confdefs.h. */
24716 $ac_includes_default
24719 rm -f conftest.
$ac_objext
24720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24721 (eval $ac_compile) 2>&5
24723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24724 (exit $ac_status); } &&
24725 { ac_try
='test -s conftest.$ac_objext'
24726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24727 (eval $ac_try) 2>&5
24729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24730 (exit $ac_status); }; }; then
24731 ac_header_compiler
=yes
24733 echo "$as_me: failed program was:" >&5
24734 sed 's/^/| /' conftest.
$ac_ext >&5
24736 ac_header_compiler
=no
24738 rm -f conftest.
$ac_objext conftest.
$ac_ext
24739 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24740 echo "${ECHO_T}$ac_header_compiler" >&6
24742 # Is the header present?
24743 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
24744 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
24745 cat >conftest.
$ac_ext <<_ACEOF
24746 #line $LINENO "configure"
24749 cat confdefs.h
>>conftest.
$ac_ext
24750 cat >>conftest.
$ac_ext <<_ACEOF
24751 /* end confdefs.h. */
24754 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24755 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24757 grep -v '^ *+' conftest.er1
>conftest.err
24759 cat conftest.err
>&5
24760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24761 (exit $ac_status); } >/dev
/null
; then
24762 if test -s conftest.err
; then
24763 ac_cpp_err
=$ac_c_preproc_warn_flag
24770 if test -z "$ac_cpp_err"; then
24771 ac_header_preproc
=yes
24773 echo "$as_me: failed program was:" >&5
24774 sed 's/^/| /' conftest.
$ac_ext >&5
24776 ac_header_preproc
=no
24778 rm -f conftest.err conftest.
$ac_ext
24779 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24780 echo "${ECHO_T}$ac_header_preproc" >&6
24782 # So? What about this header?
24783 case $ac_header_compiler:$ac_header_preproc in
24785 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
24786 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24787 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24788 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24791 ## ------------------------------------ ##
24792 ## Report this to bug-autoconf@gnu.org. ##
24793 ## ------------------------------------ ##
24796 sed "s/^/$as_me: WARNING: /" >&2
24799 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
24800 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
24801 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
24802 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
24803 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24804 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24807 ## ------------------------------------ ##
24808 ## Report this to bug-autoconf@gnu.org. ##
24809 ## ------------------------------------ ##
24812 sed "s/^/$as_me: WARNING: /" >&2
24815 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24816 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24817 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24818 echo $ECHO_N "(cached) $ECHO_C" >&6
24820 ac_cv_header_GL_gl_h
=$ac_header_preproc
24822 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24823 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24826 if test $ac_cv_header_GL_gl_h = yes; then
24830 echo "$as_me:$LINENO: checking for -lGL" >&5
24831 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
24834 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24836 for ac_extension
in a so sl dylib
; do
24837 if test -f "$ac_dir/libGL.$ac_extension"; then
24838 ac_find_libraries
=$ac_dir
24844 if test "$ac_find_libraries" != "" ; then
24846 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
24848 if test $result = 0; then
24851 ac_path_to_link
=" -L$ac_find_libraries"
24854 if test "$ac_path_to_link" != " -L/usr/lib" ; then
24855 LDFLAGS_GL
="$ac_path_to_link"
24860 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24862 for ac_extension
in a so sl dylib
; do
24863 if test -f "$ac_dir/libGLU.$ac_extension"; then
24864 ac_find_libraries
=$ac_dir
24870 if test "$ac_find_libraries" != "" ; then
24872 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
24874 if test $result = 0; then
24877 ac_path_to_link
=" -L$ac_find_libraries"
24880 if test "$ac_path_to_link" != " -L/usr/lib" -a \
24881 "$ac_path_to_link" != "$LDFLAGS_GL"; then
24882 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
24886 OPENGL_LIBS
="-lGL -lGLU"
24887 echo "$as_me:$LINENO: result: yes" >&5
24888 echo "${ECHO_T}yes" >&6
24892 if test "$found_gl" != 1; then
24893 echo "$as_me:$LINENO: result: no" >&5
24894 echo "${ECHO_T}no" >&6
24895 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
24896 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
24899 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24901 for ac_extension
in a so sl dylib
; do
24902 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
24903 ac_find_libraries
=$ac_dir
24909 if test "$ac_find_libraries" != "" ; then
24911 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
24913 if test $result = 0; then
24916 ac_path_to_link
=" -L$ac_find_libraries"
24919 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
24920 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
24921 echo "$as_me:$LINENO: result: yes" >&5
24922 echo "${ECHO_T}yes" >&6
24924 echo "$as_me:$LINENO: result: no" >&5
24925 echo "${ECHO_T}no" >&6
24933 if test "x$OPENGL_LIBS" = "x"; then
24934 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
24935 echo "$as_me: error: OpenGL libraries not available" >&2;}
24936 { (exit 1); exit 1; }; }
24940 if test "$wxUSE_OPENGL" = "yes"; then
24942 cat >>confdefs.h
<<\_ACEOF
24943 #define wxUSE_OPENGL 1
24946 cat >>confdefs.h
<<\_ACEOF
24947 #define wxUSE_GLCANVAS 1
24950 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
24954 if test -z "$TOOLKIT_VPATH" ; then
24955 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
24958 if test -n "$TOOLKIT" ; then
24959 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
24963 lib_unicode_suffix
=
24964 if test "$wxUSE_UNICODE" = "yes"; then
24965 lib_unicode_suffix
=u
24971 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
24977 if test "$wxUSE_DEBUG_INFO" = "yes"; then
24981 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
24983 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
24984 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
24986 if test "$cross_compiling" = "yes"; then
24987 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
24988 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
24989 HOST_SUFFIX
="-${host_alias}"
24992 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
24993 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
24994 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
24995 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
24997 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
24998 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25000 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
25001 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
25002 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
25003 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25006 *-*-cygwin* | *-*-mingw32* )
25007 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
25008 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25013 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25014 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25016 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
25017 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
25018 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
25019 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25021 if test "$wxUSE_MAC" = 1; then
25022 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.${WX_CURRENT}.r"
25023 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
25028 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
25029 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
25031 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
25032 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
25034 if test "$wxUSE_OPENGL" = "yes"; then
25035 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
25036 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
25041 if test "$wxUSE_SHARED" = "yes"; then
25043 *-pc-os2_emx | *-pc-os2-emx | \
25046 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
25047 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
25053 if test "$wxUSE_SHARED" = "yes"; then
25057 found_versioning
=no
25060 if test $found_versioning = no
; then
25061 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
25062 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
25063 if test "${wx_cv_version_script+set}" = set; then
25064 echo $ECHO_N "(cached) $ECHO_C" >&6
25067 echo "VER_1 { *; };" >conftest.sym
25068 echo "int main() { return 0; }" >conftest.cpp
25071 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
25072 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
25073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25074 (eval $ac_try) 2>&5
25076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25077 (exit $ac_status); }; } ; then
25078 if test -s conftest.stderr
; then
25079 wx_cv_version_script
=no
25081 wx_cv_version_script
=yes
25084 wx_cv_version_script
=no
25086 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
25089 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
25090 echo "${ECHO_T}$wx_cv_version_script" >&6
25091 if test $wx_cv_version_script = yes ; then
25092 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
25098 *-*-linux* | *-*-gnu* )
25099 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
25103 if test "$GCC" = yes ; then
25104 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
25106 saveLdflags
="$LDFLAGS"
25107 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
25108 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
25109 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
25110 cat >conftest.
$ac_ext <<_ACEOF
25111 #line $LINENO "configure"
25114 cat confdefs.h
>>conftest.
$ac_ext
25115 cat >>conftest.
$ac_ext <<_ACEOF
25116 /* end confdefs.h. */
25126 rm -f conftest.
$ac_objext conftest
$ac_exeext
25127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25128 (eval $ac_link) 2>&5
25130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25131 (exit $ac_status); } &&
25132 { ac_try
='test -s conftest$ac_exeext'
25133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25134 (eval $ac_try) 2>&5
25136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25137 (exit $ac_status); }; }; then
25139 echo "$as_me:$LINENO: result: yes" >&5
25140 echo "${ECHO_T}yes" >&6
25141 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
25144 echo "$as_me: failed program was:" >&5
25145 sed 's/^/| /' conftest.
$ac_ext >&5
25148 echo "$as_me:$LINENO: result: no" >&5
25149 echo "${ECHO_T}no" >&6
25150 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
25151 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
25152 LDFLAGS
="$saveLdflags -Wl,-R,/"
25153 cat >conftest.
$ac_ext <<_ACEOF
25154 #line $LINENO "configure"
25157 cat confdefs.h
>>conftest.
$ac_ext
25158 cat >>conftest.
$ac_ext <<_ACEOF
25159 /* end confdefs.h. */
25169 rm -f conftest.
$ac_objext conftest
$ac_exeext
25170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25171 (eval $ac_link) 2>&5
25173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25174 (exit $ac_status); } &&
25175 { ac_try
='test -s conftest$ac_exeext'
25176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25177 (eval $ac_try) 2>&5
25179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25180 (exit $ac_status); }; }; then
25182 echo "$as_me:$LINENO: result: yes" >&5
25183 echo "${ECHO_T}yes" >&6
25184 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
25186 echo "$as_me: failed program was:" >&5
25187 sed 's/^/| /' conftest.
$ac_ext >&5
25190 echo "$as_me:$LINENO: result: no" >&5
25191 echo "${ECHO_T}no" >&6
25194 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25197 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25198 LDFLAGS
="$saveLdflags"
25200 SHARED_LD
="${CXX} -G -o"
25202 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
25206 powerpc
-*-darwin* )
25207 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
25208 cat <<EOF >change-install-names
25210 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
25211 inst_cmd="install_name_tool "
25212 for i in \${libnames} ; do
25213 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
25217 chmod +x change
-install-names
25222 if test "x$WX_TARGET_LIBRARY" = "x"; then
25223 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
25224 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
25227 WX_TARGET_LIBRARY_TYPE
="so"
25228 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
25231 if test "$wxUSE_SHARED" = "no"; then
25233 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
25234 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
25237 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
25238 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
25241 if test "$wxUSE_OPENGL" = "yes"; then
25242 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
25243 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
25245 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
25248 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
25249 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
25251 WX_TARGET_LIBRARY_TYPE
="a"
25252 INSTALL_LIBRARY
='$(INSTALL_DATA)'
25262 if test "$wxUSE_MAC" = 1; then
25263 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
25264 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
25265 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
25266 # Extract the first word of "Rez", so it can be a program name with args.
25267 set dummy Rez
; ac_word
=$2
25268 echo "$as_me:$LINENO: checking for $ac_word" >&5
25269 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25270 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25271 echo $ECHO_N "(cached) $ECHO_C" >&6
25273 if test -n "$RESCOMP"; then
25274 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
25276 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25277 for as_dir
in $PATH
25280 test -z "$as_dir" && as_dir
=.
25281 for ac_exec_ext
in '' $ac_executable_extensions; do
25282 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25283 ac_cv_prog_RESCOMP
="Rez"
25284 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25290 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
25293 RESCOMP
=$ac_cv_prog_RESCOMP
25294 if test -n "$RESCOMP"; then
25295 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25296 echo "${ECHO_T}$RESCOMP" >&6
25298 echo "$as_me:$LINENO: result: no" >&5
25299 echo "${ECHO_T}no" >&6
25302 # Extract the first word of "DeRez", so it can be a program name with args.
25303 set dummy DeRez
; ac_word
=$2
25304 echo "$as_me:$LINENO: checking for $ac_word" >&5
25305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25306 if test "${ac_cv_prog_DEREZ+set}" = set; then
25307 echo $ECHO_N "(cached) $ECHO_C" >&6
25309 if test -n "$DEREZ"; then
25310 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
25312 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25313 for as_dir
in $PATH
25316 test -z "$as_dir" && as_dir
=.
25317 for ac_exec_ext
in '' $ac_executable_extensions; do
25318 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25319 ac_cv_prog_DEREZ
="DeRez"
25320 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25326 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
25329 DEREZ
=$ac_cv_prog_DEREZ
25330 if test -n "$DEREZ"; then
25331 echo "$as_me:$LINENO: result: $DEREZ" >&5
25332 echo "${ECHO_T}$DEREZ" >&6
25334 echo "$as_me:$LINENO: result: no" >&5
25335 echo "${ECHO_T}no" >&6
25338 # Extract the first word of "SetFile", so it can be a program name with args.
25339 set dummy SetFile
; ac_word
=$2
25340 echo "$as_me:$LINENO: checking for $ac_word" >&5
25341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25342 if test "${ac_cv_prog_SETFILE+set}" = set; then
25343 echo $ECHO_N "(cached) $ECHO_C" >&6
25345 if test -n "$SETFILE"; then
25346 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
25348 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25349 for as_dir
in $PATH
25352 test -z "$as_dir" && as_dir
=.
25353 for ac_exec_ext
in '' $ac_executable_extensions; do
25354 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25355 ac_cv_prog_SETFILE
="SetFile"
25356 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25362 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
25365 SETFILE
=$ac_cv_prog_SETFILE
25366 if test -n "$SETFILE"; then
25367 echo "$as_me:$LINENO: result: $SETFILE" >&5
25368 echo "${ECHO_T}$SETFILE" >&6
25370 echo "$as_me:$LINENO: result: no" >&5
25371 echo "${ECHO_T}no" >&6
25374 MACOSX_BUNDLE
="bundle"
25375 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
25376 MACSETFILE
="\$(SETFILE)"
25377 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25378 elif test "$wxUSE_COCOA" = 1; then
25379 # Extract the first word of "Rez", so it can be a program name with args.
25380 set dummy Rez
; ac_word
=$2
25381 echo "$as_me:$LINENO: checking for $ac_word" >&5
25382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25383 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25384 echo $ECHO_N "(cached) $ECHO_C" >&6
25386 if test -n "$RESCOMP"; then
25387 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
25389 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25390 for as_dir
in $PATH
25393 test -z "$as_dir" && as_dir
=.
25394 for ac_exec_ext
in '' $ac_executable_extensions; do
25395 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25396 ac_cv_prog_RESCOMP
="Rez"
25397 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25403 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
25406 RESCOMP
=$ac_cv_prog_RESCOMP
25407 if test -n "$RESCOMP"; then
25408 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25409 echo "${ECHO_T}$RESCOMP" >&6
25411 echo "$as_me:$LINENO: result: no" >&5
25412 echo "${ECHO_T}no" >&6
25415 # Extract the first word of "DeRez", so it can be a program name with args.
25416 set dummy DeRez
; ac_word
=$2
25417 echo "$as_me:$LINENO: checking for $ac_word" >&5
25418 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25419 if test "${ac_cv_prog_DEREZ+set}" = set; then
25420 echo $ECHO_N "(cached) $ECHO_C" >&6
25422 if test -n "$DEREZ"; then
25423 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
25425 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25426 for as_dir
in $PATH
25429 test -z "$as_dir" && as_dir
=.
25430 for ac_exec_ext
in '' $ac_executable_extensions; do
25431 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25432 ac_cv_prog_DEREZ
="DeRez"
25433 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25439 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
25442 DEREZ
=$ac_cv_prog_DEREZ
25443 if test -n "$DEREZ"; then
25444 echo "$as_me:$LINENO: result: $DEREZ" >&5
25445 echo "${ECHO_T}$DEREZ" >&6
25447 echo "$as_me:$LINENO: result: no" >&5
25448 echo "${ECHO_T}no" >&6
25451 # Extract the first word of "SetFile", so it can be a program name with args.
25452 set dummy SetFile
; ac_word
=$2
25453 echo "$as_me:$LINENO: checking for $ac_word" >&5
25454 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25455 if test "${ac_cv_prog_SETFILE+set}" = set; then
25456 echo $ECHO_N "(cached) $ECHO_C" >&6
25458 if test -n "$SETFILE"; then
25459 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
25461 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25462 for as_dir
in $PATH
25465 test -z "$as_dir" && as_dir
=.
25466 for ac_exec_ext
in '' $ac_executable_extensions; do
25467 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25468 ac_cv_prog_SETFILE
="SetFile"
25469 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25475 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
25478 SETFILE
=$ac_cv_prog_SETFILE
25479 if test -n "$SETFILE"; then
25480 echo "$as_me:$LINENO: result: $SETFILE" >&5
25481 echo "${ECHO_T}$SETFILE" >&6
25483 echo "$as_me:$LINENO: result: no" >&5
25484 echo "${ECHO_T}no" >&6
25487 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
25488 MACSETFILE
="\$(SETFILE)"
25489 MACRESWXCONFIG
="echo -n | ${RESCOMP} -d __DARWIN__ -t APPL \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25491 if test "$wxUSE_PM" = 1; then
25492 MACRESCOMP
="emxbind -ep"
25497 echo "$as_me:$LINENO: checking for mode_t" >&5
25498 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
25499 if test "${ac_cv_type_mode_t+set}" = set; then
25500 echo $ECHO_N "(cached) $ECHO_C" >&6
25502 cat >conftest.
$ac_ext <<_ACEOF
25503 #line $LINENO "configure"
25506 cat confdefs.h
>>conftest.
$ac_ext
25507 cat >>conftest.
$ac_ext <<_ACEOF
25508 /* end confdefs.h. */
25509 $ac_includes_default
25515 if (sizeof (mode_t))
25521 rm -f conftest.
$ac_objext
25522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25523 (eval $ac_compile) 2>&5
25525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25526 (exit $ac_status); } &&
25527 { ac_try
='test -s conftest.$ac_objext'
25528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25529 (eval $ac_try) 2>&5
25531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25532 (exit $ac_status); }; }; then
25533 ac_cv_type_mode_t
=yes
25535 echo "$as_me: failed program was:" >&5
25536 sed 's/^/| /' conftest.
$ac_ext >&5
25538 ac_cv_type_mode_t
=no
25540 rm -f conftest.
$ac_objext conftest.
$ac_ext
25542 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
25543 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
25544 if test $ac_cv_type_mode_t = yes; then
25548 cat >>confdefs.h
<<_ACEOF
25554 echo "$as_me:$LINENO: checking for off_t" >&5
25555 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
25556 if test "${ac_cv_type_off_t+set}" = set; then
25557 echo $ECHO_N "(cached) $ECHO_C" >&6
25559 cat >conftest.
$ac_ext <<_ACEOF
25560 #line $LINENO "configure"
25563 cat confdefs.h
>>conftest.
$ac_ext
25564 cat >>conftest.
$ac_ext <<_ACEOF
25565 /* end confdefs.h. */
25566 $ac_includes_default
25572 if (sizeof (off_t))
25578 rm -f conftest.
$ac_objext
25579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25580 (eval $ac_compile) 2>&5
25582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25583 (exit $ac_status); } &&
25584 { ac_try
='test -s conftest.$ac_objext'
25585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25586 (eval $ac_try) 2>&5
25588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25589 (exit $ac_status); }; }; then
25590 ac_cv_type_off_t
=yes
25592 echo "$as_me: failed program was:" >&5
25593 sed 's/^/| /' conftest.
$ac_ext >&5
25595 ac_cv_type_off_t
=no
25597 rm -f conftest.
$ac_objext conftest.
$ac_ext
25599 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
25600 echo "${ECHO_T}$ac_cv_type_off_t" >&6
25601 if test $ac_cv_type_off_t = yes; then
25605 cat >>confdefs.h
<<_ACEOF
25611 echo "$as_me:$LINENO: checking for pid_t" >&5
25612 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
25613 if test "${ac_cv_type_pid_t+set}" = set; then
25614 echo $ECHO_N "(cached) $ECHO_C" >&6
25616 cat >conftest.
$ac_ext <<_ACEOF
25617 #line $LINENO "configure"
25620 cat confdefs.h
>>conftest.
$ac_ext
25621 cat >>conftest.
$ac_ext <<_ACEOF
25622 /* end confdefs.h. */
25623 $ac_includes_default
25629 if (sizeof (pid_t))
25635 rm -f conftest.
$ac_objext
25636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25637 (eval $ac_compile) 2>&5
25639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25640 (exit $ac_status); } &&
25641 { ac_try
='test -s conftest.$ac_objext'
25642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25643 (eval $ac_try) 2>&5
25645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25646 (exit $ac_status); }; }; then
25647 ac_cv_type_pid_t
=yes
25649 echo "$as_me: failed program was:" >&5
25650 sed 's/^/| /' conftest.
$ac_ext >&5
25652 ac_cv_type_pid_t
=no
25654 rm -f conftest.
$ac_objext conftest.
$ac_ext
25656 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
25657 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
25658 if test $ac_cv_type_pid_t = yes; then
25662 cat >>confdefs.h
<<_ACEOF
25668 echo "$as_me:$LINENO: checking for size_t" >&5
25669 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
25670 if test "${ac_cv_type_size_t+set}" = set; then
25671 echo $ECHO_N "(cached) $ECHO_C" >&6
25673 cat >conftest.
$ac_ext <<_ACEOF
25674 #line $LINENO "configure"
25677 cat confdefs.h
>>conftest.
$ac_ext
25678 cat >>conftest.
$ac_ext <<_ACEOF
25679 /* end confdefs.h. */
25680 $ac_includes_default
25686 if (sizeof (size_t))
25692 rm -f conftest.
$ac_objext
25693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25694 (eval $ac_compile) 2>&5
25696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25697 (exit $ac_status); } &&
25698 { ac_try
='test -s conftest.$ac_objext'
25699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25700 (eval $ac_try) 2>&5
25702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25703 (exit $ac_status); }; }; then
25704 ac_cv_type_size_t
=yes
25706 echo "$as_me: failed program was:" >&5
25707 sed 's/^/| /' conftest.
$ac_ext >&5
25709 ac_cv_type_size_t
=no
25711 rm -f conftest.
$ac_objext conftest.
$ac_ext
25713 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
25714 echo "${ECHO_T}$ac_cv_type_size_t" >&6
25715 if test $ac_cv_type_size_t = yes; then
25719 cat >>confdefs.h
<<_ACEOF
25720 #define size_t unsigned
25725 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
25726 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
25727 if test "${ac_cv_type_uid_t+set}" = set; then
25728 echo $ECHO_N "(cached) $ECHO_C" >&6
25730 cat >conftest.
$ac_ext <<_ACEOF
25731 #line $LINENO "configure"
25734 cat confdefs.h
>>conftest.
$ac_ext
25735 cat >>conftest.
$ac_ext <<_ACEOF
25736 /* end confdefs.h. */
25737 #include <sys/types.h>
25740 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25741 $EGREP "uid_t" >/dev
/null
2>&1; then
25742 ac_cv_type_uid_t
=yes
25744 ac_cv_type_uid_t
=no
25749 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
25750 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
25751 if test $ac_cv_type_uid_t = no
; then
25753 cat >>confdefs.h
<<\_ACEOF
25758 cat >>confdefs.h
<<\_ACEOF
25768 ac_cpp
='$CXXCPP $CPPFLAGS'
25769 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25770 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25771 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25773 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
25774 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
25775 if test "${wx_cv_size_t_is_uint+set}" = set; then
25776 echo $ECHO_N "(cached) $ECHO_C" >&6
25779 cat >conftest.
$ac_ext <<_ACEOF
25780 #line $LINENO "configure"
25783 cat confdefs.h
>>conftest.
$ac_ext
25784 cat >>conftest.
$ac_ext <<_ACEOF
25785 /* end confdefs.h. */
25786 #include <stddef.h>
25793 struct Foo { void foo(size_t); void foo(unsigned int); };
25801 rm -f conftest.
$ac_objext
25802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25803 (eval $ac_compile) 2>&5
25805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25806 (exit $ac_status); } &&
25807 { ac_try
='test -s conftest.$ac_objext'
25808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25809 (eval $ac_try) 2>&5
25811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25812 (exit $ac_status); }; }; then
25813 wx_cv_size_t_is_uint
=no
25815 echo "$as_me: failed program was:" >&5
25816 sed 's/^/| /' conftest.
$ac_ext >&5
25818 wx_cv_size_t_is_uint
=yes
25821 rm -f conftest.
$ac_objext conftest.
$ac_ext
25825 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
25826 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
25828 if test "$wx_cv_size_t_is_uint" = "yes"; then
25829 cat >>confdefs.h
<<\_ACEOF
25830 #define wxSIZE_T_IS_UINT 1
25834 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
25835 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
25836 if test "${wx_cv_size_t_is_ulong+set}" = set; then
25837 echo $ECHO_N "(cached) $ECHO_C" >&6
25839 cat >conftest.
$ac_ext <<_ACEOF
25840 #line $LINENO "configure"
25843 cat confdefs.h
>>conftest.
$ac_ext
25844 cat >>conftest.
$ac_ext <<_ACEOF
25845 /* end confdefs.h. */
25846 #include <stddef.h>
25853 struct Foo { void foo(size_t); void foo(unsigned long); };
25861 rm -f conftest.
$ac_objext
25862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25863 (eval $ac_compile) 2>&5
25865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25866 (exit $ac_status); } &&
25867 { ac_try
='test -s conftest.$ac_objext'
25868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25869 (eval $ac_try) 2>&5
25871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25872 (exit $ac_status); }; }; then
25873 wx_cv_size_t_is_ulong
=no
25875 echo "$as_me: failed program was:" >&5
25876 sed 's/^/| /' conftest.
$ac_ext >&5
25878 wx_cv_size_t_is_ulong
=yes
25881 rm -f conftest.
$ac_objext conftest.
$ac_ext
25884 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
25885 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
25887 if test "$wx_cv_size_t_is_ulong" = "yes"; then
25888 cat >>confdefs.h
<<\_ACEOF
25889 #define wxSIZE_T_IS_ULONG 1
25896 ac_cpp
='$CPP $CPPFLAGS'
25897 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25898 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25899 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25903 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
25904 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
25905 if test "${wx_cv_struct_pw_gecos+set}" = set; then
25906 echo $ECHO_N "(cached) $ECHO_C" >&6
25909 cat >conftest.
$ac_ext <<_ACEOF
25910 #line $LINENO "configure"
25913 cat confdefs.h
>>conftest.
$ac_ext
25914 cat >>conftest.
$ac_ext <<_ACEOF
25915 /* end confdefs.h. */
25929 rm -f conftest.
$ac_objext
25930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25931 (eval $ac_compile) 2>&5
25933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25934 (exit $ac_status); } &&
25935 { ac_try
='test -s conftest.$ac_objext'
25936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25937 (eval $ac_try) 2>&5
25939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25940 (exit $ac_status); }; }; then
25942 wx_cv_struct_pw_gecos
=yes
25945 echo "$as_me: failed program was:" >&5
25946 sed 's/^/| /' conftest.
$ac_ext >&5
25949 wx_cv_struct_pw_gecos
=no
25953 rm -f conftest.
$ac_objext conftest.
$ac_ext
25957 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
25958 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
25960 if test "$wx_cv_struct_pw_gecos" = "yes"; then
25961 cat >>confdefs.h
<<\_ACEOF
25962 #define HAVE_PW_GECOS 1
25968 if test "$wx_cv_sizeof_wchar_t" != "0"; then
25969 cat >>confdefs.h
<<\_ACEOF
25970 #define wxUSE_WCHAR_T 1
25977 for ac_func
in wcslen
25979 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25980 echo "$as_me:$LINENO: checking for $ac_func" >&5
25981 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25982 if eval "test \"\${$as_ac_var+set}\" = set"; then
25983 echo $ECHO_N "(cached) $ECHO_C" >&6
25985 cat >conftest.
$ac_ext <<_ACEOF
25986 #line $LINENO "configure"
25989 cat confdefs.h
>>conftest.
$ac_ext
25990 cat >>conftest.
$ac_ext <<_ACEOF
25991 /* end confdefs.h. */
25992 /* System header to define __stub macros and hopefully few prototypes,
25993 which can conflict with char $ac_func (); below.
25994 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25995 <limits.h> exists even on freestanding compilers. */
25997 # include <limits.h>
25999 # include <assert.h>
26001 /* Override any gcc2 internal prototype to avoid an error. */
26006 /* We use char because int might match the return type of a gcc2
26007 builtin and then its argument prototype would still apply. */
26009 /* The GNU C library defines this for functions which it implements
26010 to always fail with ENOSYS. Some functions are actually named
26011 something starting with __ and the normal name is an alias. */
26012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26015 char (*f) () = $ac_func;
26024 return f != $ac_func;
26029 rm -f conftest.
$ac_objext conftest
$ac_exeext
26030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26031 (eval $ac_link) 2>&5
26033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26034 (exit $ac_status); } &&
26035 { ac_try
='test -s conftest$ac_exeext'
26036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26037 (eval $ac_try) 2>&5
26039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26040 (exit $ac_status); }; }; then
26041 eval "$as_ac_var=yes"
26043 echo "$as_me: failed program was:" >&5
26044 sed 's/^/| /' conftest.
$ac_ext >&5
26046 eval "$as_ac_var=no"
26048 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26051 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26052 if test `eval echo '${'$as_ac_var'}'` = yes; then
26053 cat >>confdefs.h
<<_ACEOF
26054 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26061 if test "$WCSLEN_FOUND" = 0; then
26062 if test "$TOOLKIT" = "MSW"; then
26063 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
26064 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
26065 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
26066 echo $ECHO_N "(cached) $ECHO_C" >&6
26068 ac_check_lib_save_LIBS
=$LIBS
26069 LIBS
="-lmsvcrt $LIBS"
26070 cat >conftest.
$ac_ext <<_ACEOF
26071 #line $LINENO "configure"
26074 cat confdefs.h
>>conftest.
$ac_ext
26075 cat >>conftest.
$ac_ext <<_ACEOF
26076 /* end confdefs.h. */
26078 /* Override any gcc2 internal prototype to avoid an error. */
26082 /* We use char because int might match the return type of a gcc2
26083 builtin and then its argument prototype would still apply. */
26093 rm -f conftest.
$ac_objext conftest
$ac_exeext
26094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26095 (eval $ac_link) 2>&5
26097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26098 (exit $ac_status); } &&
26099 { ac_try
='test -s conftest$ac_exeext'
26100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26101 (eval $ac_try) 2>&5
26103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26104 (exit $ac_status); }; }; then
26105 ac_cv_lib_msvcrt_wcslen
=yes
26107 echo "$as_me: failed program was:" >&5
26108 sed 's/^/| /' conftest.
$ac_ext >&5
26110 ac_cv_lib_msvcrt_wcslen
=no
26112 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26113 LIBS
=$ac_check_lib_save_LIBS
26115 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
26116 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
26117 if test $ac_cv_lib_msvcrt_wcslen = yes; then
26122 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
26123 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
26124 if test "${ac_cv_lib_w_wcslen+set}" = set; then
26125 echo $ECHO_N "(cached) $ECHO_C" >&6
26127 ac_check_lib_save_LIBS
=$LIBS
26129 cat >conftest.
$ac_ext <<_ACEOF
26130 #line $LINENO "configure"
26133 cat confdefs.h
>>conftest.
$ac_ext
26134 cat >>conftest.
$ac_ext <<_ACEOF
26135 /* end confdefs.h. */
26137 /* Override any gcc2 internal prototype to avoid an error. */
26141 /* We use char because int might match the return type of a gcc2
26142 builtin and then its argument prototype would still apply. */
26152 rm -f conftest.
$ac_objext conftest
$ac_exeext
26153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26154 (eval $ac_link) 2>&5
26156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26157 (exit $ac_status); } &&
26158 { ac_try
='test -s conftest$ac_exeext'
26159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26160 (eval $ac_try) 2>&5
26162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26163 (exit $ac_status); }; }; then
26164 ac_cv_lib_w_wcslen
=yes
26166 echo "$as_me: failed program was:" >&5
26167 sed 's/^/| /' conftest.
$ac_ext >&5
26169 ac_cv_lib_w_wcslen
=no
26171 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26172 LIBS
=$ac_check_lib_save_LIBS
26174 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
26175 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
26176 if test $ac_cv_lib_w_wcslen = yes; then
26186 if test "$WCSLEN_FOUND" = 1; then
26187 cat >>confdefs.h
<<\_ACEOF
26188 #define HAVE_WCSLEN 1
26194 for ac_func
in wcsrtombs
26196 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26197 echo "$as_me:$LINENO: checking for $ac_func" >&5
26198 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26199 if eval "test \"\${$as_ac_var+set}\" = set"; then
26200 echo $ECHO_N "(cached) $ECHO_C" >&6
26202 cat >conftest.
$ac_ext <<_ACEOF
26203 #line $LINENO "configure"
26206 cat confdefs.h
>>conftest.
$ac_ext
26207 cat >>conftest.
$ac_ext <<_ACEOF
26208 /* end confdefs.h. */
26209 /* System header to define __stub macros and hopefully few prototypes,
26210 which can conflict with char $ac_func (); below.
26211 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26212 <limits.h> exists even on freestanding compilers. */
26214 # include <limits.h>
26216 # include <assert.h>
26218 /* Override any gcc2 internal prototype to avoid an error. */
26223 /* We use char because int might match the return type of a gcc2
26224 builtin and then its argument prototype would still apply. */
26226 /* The GNU C library defines this for functions which it implements
26227 to always fail with ENOSYS. Some functions are actually named
26228 something starting with __ and the normal name is an alias. */
26229 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26232 char (*f) () = $ac_func;
26241 return f != $ac_func;
26246 rm -f conftest.
$ac_objext conftest
$ac_exeext
26247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26248 (eval $ac_link) 2>&5
26250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26251 (exit $ac_status); } &&
26252 { ac_try
='test -s conftest$ac_exeext'
26253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26254 (eval $ac_try) 2>&5
26256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26257 (exit $ac_status); }; }; then
26258 eval "$as_ac_var=yes"
26260 echo "$as_me: failed program was:" >&5
26261 sed 's/^/| /' conftest.
$ac_ext >&5
26263 eval "$as_ac_var=no"
26265 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26267 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26268 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26269 if test `eval echo '${'$as_ac_var'}'` = yes; then
26270 cat >>confdefs.h
<<_ACEOF
26271 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26278 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
26279 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
26285 ac_cpp
='$CXXCPP $CPPFLAGS'
26286 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26287 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26288 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26292 for ac_func
in vsnprintf
26294 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26295 echo "$as_me:$LINENO: checking for $ac_func" >&5
26296 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26297 if eval "test \"\${$as_ac_var+set}\" = set"; then
26298 echo $ECHO_N "(cached) $ECHO_C" >&6
26300 cat >conftest.
$ac_ext <<_ACEOF
26301 #line $LINENO "configure"
26304 cat confdefs.h
>>conftest.
$ac_ext
26305 cat >>conftest.
$ac_ext <<_ACEOF
26306 /* end confdefs.h. */
26307 /* System header to define __stub macros and hopefully few prototypes,
26308 which can conflict with char $ac_func (); below.
26309 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26310 <limits.h> exists even on freestanding compilers. */
26312 # include <limits.h>
26314 # include <assert.h>
26316 /* Override any gcc2 internal prototype to avoid an error. */
26321 /* We use char because int might match the return type of a gcc2
26322 builtin and then its argument prototype would still apply. */
26324 /* The GNU C library defines this for functions which it implements
26325 to always fail with ENOSYS. Some functions are actually named
26326 something starting with __ and the normal name is an alias. */
26327 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26330 char (*f) () = $ac_func;
26339 return f != $ac_func;
26344 rm -f conftest.
$ac_objext conftest
$ac_exeext
26345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26346 (eval $ac_link) 2>&5
26348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26349 (exit $ac_status); } &&
26350 { ac_try
='test -s conftest$ac_exeext'
26351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26352 (eval $ac_try) 2>&5
26354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26355 (exit $ac_status); }; }; then
26356 eval "$as_ac_var=yes"
26358 echo "$as_me: failed program was:" >&5
26359 sed 's/^/| /' conftest.
$ac_ext >&5
26361 eval "$as_ac_var=no"
26363 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26366 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26367 if test `eval echo '${'$as_ac_var'}'` = yes; then
26368 cat >>confdefs.h
<<_ACEOF
26369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26376 if test "$ac_cv_func_vsnprintf" = "yes"; then
26377 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
26378 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
26379 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
26380 echo $ECHO_N "(cached) $ECHO_C" >&6
26383 cat >conftest.
$ac_ext <<_ACEOF
26384 #line $LINENO "configure"
26387 cat confdefs.h
>>conftest.
$ac_ext
26388 cat >>conftest.
$ac_ext <<_ACEOF
26389 /* end confdefs.h. */
26392 #include <stdarg.h>
26400 vsnprintf(buf, 10u, "%s", ap);
26406 rm -f conftest.
$ac_objext
26407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26408 (eval $ac_compile) 2>&5
26410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26411 (exit $ac_status); } &&
26412 { ac_try
='test -s conftest.$ac_objext'
26413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26414 (eval $ac_try) 2>&5
26416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26417 (exit $ac_status); }; }; then
26418 wx_cv_func_vsnprintf_decl
=yes
26420 echo "$as_me: failed program was:" >&5
26421 sed 's/^/| /' conftest.
$ac_ext >&5
26423 wx_cv_func_vsnprintf_decl
=no
26426 rm -f conftest.
$ac_objext conftest.
$ac_ext
26430 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
26431 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
26433 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
26434 cat >>confdefs.h
<<\_ACEOF
26435 #define HAVE_VSNPRINTF_DECL 1
26441 if test "$wxUSE_UNICODE" = yes; then
26445 for ac_func
in fputwc wprintf vswprintf
26447 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26448 echo "$as_me:$LINENO: checking for $ac_func" >&5
26449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26450 if eval "test \"\${$as_ac_var+set}\" = set"; then
26451 echo $ECHO_N "(cached) $ECHO_C" >&6
26453 cat >conftest.
$ac_ext <<_ACEOF
26454 #line $LINENO "configure"
26457 cat confdefs.h
>>conftest.
$ac_ext
26458 cat >>conftest.
$ac_ext <<_ACEOF
26459 /* end confdefs.h. */
26460 /* System header to define __stub macros and hopefully few prototypes,
26461 which can conflict with char $ac_func (); below.
26462 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26463 <limits.h> exists even on freestanding compilers. */
26465 # include <limits.h>
26467 # include <assert.h>
26469 /* Override any gcc2 internal prototype to avoid an error. */
26474 /* We use char because int might match the return type of a gcc2
26475 builtin and then its argument prototype would still apply. */
26477 /* The GNU C library defines this for functions which it implements
26478 to always fail with ENOSYS. Some functions are actually named
26479 something starting with __ and the normal name is an alias. */
26480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26483 char (*f) () = $ac_func;
26492 return f != $ac_func;
26497 rm -f conftest.
$ac_objext conftest
$ac_exeext
26498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26499 (eval $ac_link) 2>&5
26501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26502 (exit $ac_status); } &&
26503 { ac_try
='test -s conftest$ac_exeext'
26504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26505 (eval $ac_try) 2>&5
26507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26508 (exit $ac_status); }; }; then
26509 eval "$as_ac_var=yes"
26511 echo "$as_me: failed program was:" >&5
26512 sed 's/^/| /' conftest.
$ac_ext >&5
26514 eval "$as_ac_var=no"
26516 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26519 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26520 if test `eval echo '${'$as_ac_var'}'` = yes; then
26521 cat >>confdefs.h
<<_ACEOF
26522 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26529 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
26530 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
26531 cat >conftest.
$ac_ext <<_ACEOF
26532 #line $LINENO "configure"
26535 cat confdefs.h
>>conftest.
$ac_ext
26536 cat >>conftest.
$ac_ext <<_ACEOF
26537 /* end confdefs.h. */
26547 rm -f conftest.
$ac_objext
26548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26549 (eval $ac_compile) 2>&5
26551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26552 (exit $ac_status); } &&
26553 { ac_try
='test -s conftest.$ac_objext'
26554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26555 (eval $ac_try) 2>&5
26557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26558 (exit $ac_status); }; }; then
26559 echo "$as_me:$LINENO: result: yes" >&5
26560 echo "${ECHO_T}yes" >&6
26561 cat >>confdefs.h
<<\_ACEOF
26562 #define HAVE__VSNWPRINTF 1
26566 echo "$as_me: failed program was:" >&5
26567 sed 's/^/| /' conftest.
$ac_ext >&5
26569 echo "$as_me:$LINENO: result: no" >&5
26570 echo "${ECHO_T}no" >&6
26572 rm -f conftest.
$ac_objext conftest.
$ac_ext;
26576 ac_cpp
='$CPP $CPPFLAGS'
26577 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26578 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26579 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26584 if test "$TOOLKIT" != "MSW"; then
26590 ac_cpp
='$CXXCPP $CPPFLAGS'
26591 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26592 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26593 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26598 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
26599 if test "${with_libiconv_prefix+set}" = set; then
26600 withval
="$with_libiconv_prefix"
26602 for dir
in `echo "$withval" | tr : ' '`; do
26603 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
26604 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
26609 echo "$as_me:$LINENO: checking for iconv" >&5
26610 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
26611 if test "${am_cv_func_iconv+set}" = set; then
26612 echo $ECHO_N "(cached) $ECHO_C" >&6
26615 am_cv_func_iconv
="no, consider installing GNU libiconv"
26617 cat >conftest.
$ac_ext <<_ACEOF
26618 #line $LINENO "configure"
26621 cat confdefs.h
>>conftest.
$ac_ext
26622 cat >>conftest.
$ac_ext <<_ACEOF
26623 /* end confdefs.h. */
26624 #include <stdlib.h>
26629 iconv_t cd = iconv_open("","");
26630 iconv(cd,NULL,NULL,NULL,NULL);
26636 rm -f conftest.
$ac_objext conftest
$ac_exeext
26637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26638 (eval $ac_link) 2>&5
26640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26641 (exit $ac_status); } &&
26642 { ac_try
='test -s conftest$ac_exeext'
26643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26644 (eval $ac_try) 2>&5
26646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26647 (exit $ac_status); }; }; then
26648 am_cv_func_iconv
=yes
26650 echo "$as_me: failed program was:" >&5
26651 sed 's/^/| /' conftest.
$ac_ext >&5
26654 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26655 if test "$am_cv_func_iconv" != yes; then
26656 am_save_LIBS
="$LIBS"
26657 LIBS
="$LIBS -liconv"
26658 cat >conftest.
$ac_ext <<_ACEOF
26659 #line $LINENO "configure"
26662 cat confdefs.h
>>conftest.
$ac_ext
26663 cat >>conftest.
$ac_ext <<_ACEOF
26664 /* end confdefs.h. */
26665 #include <stdlib.h>
26670 iconv_t cd = iconv_open("","");
26671 iconv(cd,NULL,NULL,NULL,NULL);
26677 rm -f conftest.
$ac_objext conftest
$ac_exeext
26678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26679 (eval $ac_link) 2>&5
26681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26682 (exit $ac_status); } &&
26683 { ac_try
='test -s conftest$ac_exeext'
26684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26685 (eval $ac_try) 2>&5
26687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26688 (exit $ac_status); }; }; then
26689 am_cv_lib_iconv
=yes
26690 am_cv_func_iconv
=yes
26692 echo "$as_me: failed program was:" >&5
26693 sed 's/^/| /' conftest.
$ac_ext >&5
26696 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26697 LIBS
="$am_save_LIBS"
26701 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
26702 echo "${ECHO_T}$am_cv_func_iconv" >&6
26703 if test "$am_cv_func_iconv" = yes; then
26705 cat >>confdefs.h
<<\_ACEOF
26706 #define HAVE_ICONV 1
26709 echo "$as_me:$LINENO: checking if iconv needs const" >&5
26710 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
26711 if test "${wx_cv_func_iconv_const+set}" = set; then
26712 echo $ECHO_N "(cached) $ECHO_C" >&6
26714 cat >conftest.
$ac_ext <<_ACEOF
26715 #line $LINENO "configure"
26718 cat confdefs.h
>>conftest.
$ac_ext
26719 cat >>conftest.
$ac_ext <<_ACEOF
26720 /* end confdefs.h. */
26722 #include <stdlib.h>
26728 #if defined(__STDC__) || defined(__cplusplus)
26729 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26742 rm -f conftest.
$ac_objext
26743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26744 (eval $ac_compile) 2>&5
26746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26747 (exit $ac_status); } &&
26748 { ac_try
='test -s conftest.$ac_objext'
26749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26750 (eval $ac_try) 2>&5
26752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26753 (exit $ac_status); }; }; then
26754 wx_cv_func_iconv_const
="no"
26756 echo "$as_me: failed program was:" >&5
26757 sed 's/^/| /' conftest.
$ac_ext >&5
26759 wx_cv_func_iconv_const
="yes"
26762 rm -f conftest.
$ac_objext conftest.
$ac_ext
26765 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
26766 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
26769 if test "x$wx_cv_func_iconv_const" = "xyes"; then
26770 iconv_const
="const"
26774 cat >>confdefs.h
<<_ACEOF
26775 #define ICONV_CONST $iconv_const
26780 if test "$am_cv_lib_iconv" = yes; then
26785 LIBS
="$LIBICONV $LIBS"
26787 ac_cpp
='$CPP $CPPFLAGS'
26788 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26789 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26790 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26793 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
26795 for ac_func
in sigaction
26797 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26798 echo "$as_me:$LINENO: checking for $ac_func" >&5
26799 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26800 if eval "test \"\${$as_ac_var+set}\" = set"; then
26801 echo $ECHO_N "(cached) $ECHO_C" >&6
26803 cat >conftest.
$ac_ext <<_ACEOF
26804 #line $LINENO "configure"
26807 cat confdefs.h
>>conftest.
$ac_ext
26808 cat >>conftest.
$ac_ext <<_ACEOF
26809 /* end confdefs.h. */
26810 /* System header to define __stub macros and hopefully few prototypes,
26811 which can conflict with char $ac_func (); below.
26812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26813 <limits.h> exists even on freestanding compilers. */
26815 # include <limits.h>
26817 # include <assert.h>
26819 /* Override any gcc2 internal prototype to avoid an error. */
26824 /* We use char because int might match the return type of a gcc2
26825 builtin and then its argument prototype would still apply. */
26827 /* The GNU C library defines this for functions which it implements
26828 to always fail with ENOSYS. Some functions are actually named
26829 something starting with __ and the normal name is an alias. */
26830 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26833 char (*f) () = $ac_func;
26842 return f != $ac_func;
26847 rm -f conftest.
$ac_objext conftest
$ac_exeext
26848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26849 (eval $ac_link) 2>&5
26851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26852 (exit $ac_status); } &&
26853 { ac_try
='test -s conftest$ac_exeext'
26854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26855 (eval $ac_try) 2>&5
26857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26858 (exit $ac_status); }; }; then
26859 eval "$as_ac_var=yes"
26861 echo "$as_me: failed program was:" >&5
26862 sed 's/^/| /' conftest.
$ac_ext >&5
26864 eval "$as_ac_var=no"
26866 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26869 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26870 if test `eval echo '${'$as_ac_var'}'` = yes; then
26871 cat >>confdefs.h
<<_ACEOF
26872 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26879 if test "$ac_cv_func_sigaction" = "no"; then
26880 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
26881 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
26882 wxUSE_ON_FATAL_EXCEPTION
=no
26885 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
26889 ac_cpp
='$CXXCPP $CPPFLAGS'
26890 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26891 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26892 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26895 echo "$as_me:$LINENO: checking for sa_handler type" >&5
26896 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
26897 if test "${wx_cv_type_sa_handler+set}" = set; then
26898 echo $ECHO_N "(cached) $ECHO_C" >&6
26901 cat >conftest.
$ac_ext <<_ACEOF
26902 #line $LINENO "configure"
26905 cat confdefs.h
>>conftest.
$ac_ext
26906 cat >>conftest.
$ac_ext <<_ACEOF
26907 /* end confdefs.h. */
26908 #include <signal.h>
26913 extern void testSigHandler(int);
26915 struct sigaction sa;
26916 sa.sa_handler = testSigHandler;
26922 rm -f conftest.
$ac_objext
26923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26924 (eval $ac_compile) 2>&5
26926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26927 (exit $ac_status); } &&
26928 { ac_try
='test -s conftest.$ac_objext'
26929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26930 (eval $ac_try) 2>&5
26932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26933 (exit $ac_status); }; }; then
26935 wx_cv_type_sa_handler
=int
26938 echo "$as_me: failed program was:" >&5
26939 sed 's/^/| /' conftest.
$ac_ext >&5
26942 wx_cv_type_sa_handler
=void
26945 rm -f conftest.
$ac_objext conftest.
$ac_ext
26948 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
26949 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
26952 ac_cpp
='$CPP $CPPFLAGS'
26953 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26954 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26955 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26958 cat >>confdefs.h
<<_ACEOF
26959 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
26967 for ac_func
in mkstemp mktemp
26969 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26970 echo "$as_me:$LINENO: checking for $ac_func" >&5
26971 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26972 if eval "test \"\${$as_ac_var+set}\" = set"; then
26973 echo $ECHO_N "(cached) $ECHO_C" >&6
26975 cat >conftest.
$ac_ext <<_ACEOF
26976 #line $LINENO "configure"
26979 cat confdefs.h
>>conftest.
$ac_ext
26980 cat >>conftest.
$ac_ext <<_ACEOF
26981 /* end confdefs.h. */
26982 /* System header to define __stub macros and hopefully few prototypes,
26983 which can conflict with char $ac_func (); below.
26984 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26985 <limits.h> exists even on freestanding compilers. */
26987 # include <limits.h>
26989 # include <assert.h>
26991 /* Override any gcc2 internal prototype to avoid an error. */
26996 /* We use char because int might match the return type of a gcc2
26997 builtin and then its argument prototype would still apply. */
26999 /* The GNU C library defines this for functions which it implements
27000 to always fail with ENOSYS. Some functions are actually named
27001 something starting with __ and the normal name is an alias. */
27002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27005 char (*f) () = $ac_func;
27014 return f != $ac_func;
27019 rm -f conftest.
$ac_objext conftest
$ac_exeext
27020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27021 (eval $ac_link) 2>&5
27023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27024 (exit $ac_status); } &&
27025 { ac_try
='test -s conftest$ac_exeext'
27026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27027 (eval $ac_try) 2>&5
27029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27030 (exit $ac_status); }; }; then
27031 eval "$as_ac_var=yes"
27033 echo "$as_me: failed program was:" >&5
27034 sed 's/^/| /' conftest.
$ac_ext >&5
27036 eval "$as_ac_var=no"
27038 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27041 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27042 if test `eval echo '${'$as_ac_var'}'` = yes; then
27043 cat >>confdefs.h
<<_ACEOF
27044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27051 echo "$as_me:$LINENO: checking for statfs" >&5
27052 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
27053 if test "${wx_cv_func_statfs+set}" = set; then
27054 echo $ECHO_N "(cached) $ECHO_C" >&6
27056 cat >conftest.
$ac_ext <<_ACEOF
27057 #line $LINENO "configure"
27060 cat confdefs.h
>>conftest.
$ac_ext
27061 cat >>conftest.
$ac_ext <<_ACEOF
27062 /* end confdefs.h. */
27064 #if defined(__BSD__)
27065 #include <sys/param.h>
27066 #include <sys/mount.h>
27068 #include <sys/vfs.h>
27086 rm -f conftest.
$ac_objext
27087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27088 (eval $ac_compile) 2>&5
27090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27091 (exit $ac_status); } &&
27092 { ac_try
='test -s conftest.$ac_objext'
27093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27094 (eval $ac_try) 2>&5
27096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27097 (exit $ac_status); }; }; then
27099 wx_cv_func_statfs
=yes
27102 echo "$as_me: failed program was:" >&5
27103 sed 's/^/| /' conftest.
$ac_ext >&5
27106 wx_cv_func_statfs
=no
27110 rm -f conftest.
$ac_objext conftest.
$ac_ext
27113 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
27114 echo "${ECHO_T}$wx_cv_func_statfs" >&6
27116 if test "$wx_cv_func_statfs" = "yes"; then
27117 wx_cv_type_statvfs_t
="struct statfs"
27118 cat >>confdefs.h
<<\_ACEOF
27119 #define HAVE_STATFS 1
27123 echo "$as_me:$LINENO: checking for statvfs" >&5
27124 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
27125 if test "${wx_cv_func_statvfs+set}" = set; then
27126 echo $ECHO_N "(cached) $ECHO_C" >&6
27128 cat >conftest.
$ac_ext <<_ACEOF
27129 #line $LINENO "configure"
27132 cat confdefs.h
>>conftest.
$ac_ext
27133 cat >>conftest.
$ac_ext <<_ACEOF
27134 /* end confdefs.h. */
27136 #include <stddef.h>
27137 #include <sys/statvfs.h>
27143 statvfs("/", NULL);
27149 rm -f conftest.
$ac_objext
27150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27151 (eval $ac_compile) 2>&5
27153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27154 (exit $ac_status); } &&
27155 { ac_try
='test -s conftest.$ac_objext'
27156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27157 (eval $ac_try) 2>&5
27159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27160 (exit $ac_status); }; }; then
27161 wx_cv_func_statvfs
=yes
27163 echo "$as_me: failed program was:" >&5
27164 sed 's/^/| /' conftest.
$ac_ext >&5
27166 wx_cv_func_statvfs
=no
27169 rm -f conftest.
$ac_objext conftest.
$ac_ext
27172 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
27173 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
27175 if test "$wx_cv_func_statvfs" = "yes"; then
27179 ac_cpp
='$CXXCPP $CPPFLAGS'
27180 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27181 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27182 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27185 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
27186 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
27187 if test "${wx_cv_type_statvfs_t+set}" = set; then
27188 echo $ECHO_N "(cached) $ECHO_C" >&6
27190 cat >conftest.
$ac_ext <<_ACEOF
27191 #line $LINENO "configure"
27194 cat confdefs.h
>>conftest.
$ac_ext
27195 cat >>conftest.
$ac_ext <<_ACEOF
27196 /* end confdefs.h. */
27198 #include <sys/statvfs.h>
27215 rm -f conftest.
$ac_objext
27216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27217 (eval $ac_compile) 2>&5
27219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27220 (exit $ac_status); } &&
27221 { ac_try
='test -s conftest.$ac_objext'
27222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27223 (eval $ac_try) 2>&5
27225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27226 (exit $ac_status); }; }; then
27227 wx_cv_type_statvfs_t
=statvfs_t
27229 echo "$as_me: failed program was:" >&5
27230 sed 's/^/| /' conftest.
$ac_ext >&5
27233 cat >conftest.
$ac_ext <<_ACEOF
27234 #line $LINENO "configure"
27237 cat confdefs.h
>>conftest.
$ac_ext
27238 cat >>conftest.
$ac_ext <<_ACEOF
27239 /* end confdefs.h. */
27241 #include <sys/statvfs.h>
27258 rm -f conftest.
$ac_objext
27259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27260 (eval $ac_compile) 2>&5
27262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27263 (exit $ac_status); } &&
27264 { ac_try
='test -s conftest.$ac_objext'
27265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27266 (eval $ac_try) 2>&5
27268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27269 (exit $ac_status); }; }; then
27270 wx_cv_type_statvfs_t
="struct statvfs"
27272 echo "$as_me: failed program was:" >&5
27273 sed 's/^/| /' conftest.
$ac_ext >&5
27275 wx_cv_type_statvfs_t
="unknown"
27278 rm -f conftest.
$ac_objext conftest.
$ac_ext
27282 rm -f conftest.
$ac_objext conftest.
$ac_ext
27285 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
27286 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
27289 ac_cpp
='$CPP $CPPFLAGS'
27290 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27291 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27292 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27295 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27296 cat >>confdefs.h
<<\_ACEOF
27297 #define HAVE_STATVFS 1
27302 wx_cv_type_statvfs_t
="unknown"
27306 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27307 cat >>confdefs.h
<<_ACEOF
27308 #define WX_STATFS_T $wx_cv_type_statvfs_t
27312 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
27313 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
27316 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
27319 for ac_func
in fcntl flock
27321 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27322 echo "$as_me:$LINENO: checking for $ac_func" >&5
27323 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27324 if eval "test \"\${$as_ac_var+set}\" = set"; then
27325 echo $ECHO_N "(cached) $ECHO_C" >&6
27327 cat >conftest.
$ac_ext <<_ACEOF
27328 #line $LINENO "configure"
27331 cat confdefs.h
>>conftest.
$ac_ext
27332 cat >>conftest.
$ac_ext <<_ACEOF
27333 /* end confdefs.h. */
27334 /* System header to define __stub macros and hopefully few prototypes,
27335 which can conflict with char $ac_func (); below.
27336 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27337 <limits.h> exists even on freestanding compilers. */
27339 # include <limits.h>
27341 # include <assert.h>
27343 /* Override any gcc2 internal prototype to avoid an error. */
27348 /* We use char because int might match the return type of a gcc2
27349 builtin and then its argument prototype would still apply. */
27351 /* The GNU C library defines this for functions which it implements
27352 to always fail with ENOSYS. Some functions are actually named
27353 something starting with __ and the normal name is an alias. */
27354 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27357 char (*f) () = $ac_func;
27366 return f != $ac_func;
27371 rm -f conftest.
$ac_objext conftest
$ac_exeext
27372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27373 (eval $ac_link) 2>&5
27375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27376 (exit $ac_status); } &&
27377 { ac_try
='test -s conftest$ac_exeext'
27378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27379 (eval $ac_try) 2>&5
27381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27382 (exit $ac_status); }; }; then
27383 eval "$as_ac_var=yes"
27385 echo "$as_me: failed program was:" >&5
27386 sed 's/^/| /' conftest.
$ac_ext >&5
27388 eval "$as_ac_var=no"
27390 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27393 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27394 if test `eval echo '${'$as_ac_var'}'` = yes; then
27395 cat >>confdefs.h
<<_ACEOF
27396 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27403 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
27404 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
27405 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
27406 wxUSE_SNGLINST_CHECKER
=no
27411 for ac_func
in timegm
27413 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27414 echo "$as_me:$LINENO: checking for $ac_func" >&5
27415 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27416 if eval "test \"\${$as_ac_var+set}\" = set"; then
27417 echo $ECHO_N "(cached) $ECHO_C" >&6
27419 cat >conftest.
$ac_ext <<_ACEOF
27420 #line $LINENO "configure"
27423 cat confdefs.h
>>conftest.
$ac_ext
27424 cat >>conftest.
$ac_ext <<_ACEOF
27425 /* end confdefs.h. */
27426 /* System header to define __stub macros and hopefully few prototypes,
27427 which can conflict with char $ac_func (); below.
27428 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27429 <limits.h> exists even on freestanding compilers. */
27431 # include <limits.h>
27433 # include <assert.h>
27435 /* Override any gcc2 internal prototype to avoid an error. */
27440 /* We use char because int might match the return type of a gcc2
27441 builtin and then its argument prototype would still apply. */
27443 /* The GNU C library defines this for functions which it implements
27444 to always fail with ENOSYS. Some functions are actually named
27445 something starting with __ and the normal name is an alias. */
27446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27449 char (*f) () = $ac_func;
27458 return f != $ac_func;
27463 rm -f conftest.
$ac_objext conftest
$ac_exeext
27464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27465 (eval $ac_link) 2>&5
27467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27468 (exit $ac_status); } &&
27469 { ac_try
='test -s conftest$ac_exeext'
27470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27471 (eval $ac_try) 2>&5
27473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27474 (exit $ac_status); }; }; then
27475 eval "$as_ac_var=yes"
27477 echo "$as_me: failed program was:" >&5
27478 sed 's/^/| /' conftest.
$ac_ext >&5
27480 eval "$as_ac_var=no"
27482 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27485 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27486 if test `eval echo '${'$as_ac_var'}'` = yes; then
27487 cat >>confdefs.h
<<_ACEOF
27488 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27497 for ac_func
in putenv setenv
27499 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27500 echo "$as_me:$LINENO: checking for $ac_func" >&5
27501 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27502 if eval "test \"\${$as_ac_var+set}\" = set"; then
27503 echo $ECHO_N "(cached) $ECHO_C" >&6
27505 cat >conftest.
$ac_ext <<_ACEOF
27506 #line $LINENO "configure"
27509 cat confdefs.h
>>conftest.
$ac_ext
27510 cat >>conftest.
$ac_ext <<_ACEOF
27511 /* end confdefs.h. */
27512 /* System header to define __stub macros and hopefully few prototypes,
27513 which can conflict with char $ac_func (); below.
27514 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27515 <limits.h> exists even on freestanding compilers. */
27517 # include <limits.h>
27519 # include <assert.h>
27521 /* Override any gcc2 internal prototype to avoid an error. */
27526 /* We use char because int might match the return type of a gcc2
27527 builtin and then its argument prototype would still apply. */
27529 /* The GNU C library defines this for functions which it implements
27530 to always fail with ENOSYS. Some functions are actually named
27531 something starting with __ and the normal name is an alias. */
27532 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27535 char (*f) () = $ac_func;
27544 return f != $ac_func;
27549 rm -f conftest.
$ac_objext conftest
$ac_exeext
27550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27551 (eval $ac_link) 2>&5
27553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27554 (exit $ac_status); } &&
27555 { ac_try
='test -s conftest$ac_exeext'
27556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27557 (eval $ac_try) 2>&5
27559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27560 (exit $ac_status); }; }; then
27561 eval "$as_ac_var=yes"
27563 echo "$as_me: failed program was:" >&5
27564 sed 's/^/| /' conftest.
$ac_ext >&5
27566 eval "$as_ac_var=no"
27568 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27570 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27571 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27572 if test `eval echo '${'$as_ac_var'}'` = yes; then
27573 cat >>confdefs.h
<<_ACEOF
27574 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27581 HAVE_SOME_SLEEP_FUNC
=0
27582 if test "$USE_BEOS" = 1; then
27583 cat >>confdefs.h
<<\_ACEOF
27584 #define HAVE_SLEEP 1
27587 HAVE_SOME_SLEEP_FUNC
=1
27590 if test "$USE_DARWIN" = 1; then
27591 cat >>confdefs.h
<<\_ACEOF
27592 #define HAVE_USLEEP 1
27595 HAVE_SOME_SLEEP_FUNC
=1
27598 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
27601 for ac_func
in nanosleep
27603 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27604 echo "$as_me:$LINENO: checking for $ac_func" >&5
27605 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27606 if eval "test \"\${$as_ac_var+set}\" = set"; then
27607 echo $ECHO_N "(cached) $ECHO_C" >&6
27609 cat >conftest.
$ac_ext <<_ACEOF
27610 #line $LINENO "configure"
27613 cat confdefs.h
>>conftest.
$ac_ext
27614 cat >>conftest.
$ac_ext <<_ACEOF
27615 /* end confdefs.h. */
27616 /* System header to define __stub macros and hopefully few prototypes,
27617 which can conflict with char $ac_func (); below.
27618 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27619 <limits.h> exists even on freestanding compilers. */
27621 # include <limits.h>
27623 # include <assert.h>
27625 /* Override any gcc2 internal prototype to avoid an error. */
27630 /* We use char because int might match the return type of a gcc2
27631 builtin and then its argument prototype would still apply. */
27633 /* The GNU C library defines this for functions which it implements
27634 to always fail with ENOSYS. Some functions are actually named
27635 something starting with __ and the normal name is an alias. */
27636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27639 char (*f) () = $ac_func;
27648 return f != $ac_func;
27653 rm -f conftest.
$ac_objext conftest
$ac_exeext
27654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27655 (eval $ac_link) 2>&5
27657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27658 (exit $ac_status); } &&
27659 { ac_try
='test -s conftest$ac_exeext'
27660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27661 (eval $ac_try) 2>&5
27663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27664 (exit $ac_status); }; }; then
27665 eval "$as_ac_var=yes"
27667 echo "$as_me: failed program was:" >&5
27668 sed 's/^/| /' conftest.
$ac_ext >&5
27670 eval "$as_ac_var=no"
27672 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27675 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27676 if test `eval echo '${'$as_ac_var'}'` = yes; then
27677 cat >>confdefs.h
<<_ACEOF
27678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27680 cat >>confdefs.h
<<\_ACEOF
27681 #define HAVE_NANOSLEEP 1
27686 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
27687 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
27688 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
27689 echo $ECHO_N "(cached) $ECHO_C" >&6
27691 ac_check_lib_save_LIBS
=$LIBS
27692 LIBS
="-lposix4 $LIBS"
27693 cat >conftest.
$ac_ext <<_ACEOF
27694 #line $LINENO "configure"
27697 cat confdefs.h
>>conftest.
$ac_ext
27698 cat >>conftest.
$ac_ext <<_ACEOF
27699 /* end confdefs.h. */
27701 /* Override any gcc2 internal prototype to avoid an error. */
27705 /* We use char because int might match the return type of a gcc2
27706 builtin and then its argument prototype would still apply. */
27716 rm -f conftest.
$ac_objext conftest
$ac_exeext
27717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27718 (eval $ac_link) 2>&5
27720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27721 (exit $ac_status); } &&
27722 { ac_try
='test -s conftest$ac_exeext'
27723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27724 (eval $ac_try) 2>&5
27726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27727 (exit $ac_status); }; }; then
27728 ac_cv_lib_posix4_nanosleep
=yes
27730 echo "$as_me: failed program was:" >&5
27731 sed 's/^/| /' conftest.
$ac_ext >&5
27733 ac_cv_lib_posix4_nanosleep
=no
27735 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27736 LIBS
=$ac_check_lib_save_LIBS
27738 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
27739 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
27740 if test $ac_cv_lib_posix4_nanosleep = yes; then
27742 cat >>confdefs.h
<<\_ACEOF
27743 #define HAVE_NANOSLEEP 1
27746 POSIX4_LINK
=" -lposix4"
27751 for ac_func
in usleep
27753 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27754 echo "$as_me:$LINENO: checking for $ac_func" >&5
27755 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27756 if eval "test \"\${$as_ac_var+set}\" = set"; then
27757 echo $ECHO_N "(cached) $ECHO_C" >&6
27759 cat >conftest.
$ac_ext <<_ACEOF
27760 #line $LINENO "configure"
27763 cat confdefs.h
>>conftest.
$ac_ext
27764 cat >>conftest.
$ac_ext <<_ACEOF
27765 /* end confdefs.h. */
27766 /* System header to define __stub macros and hopefully few prototypes,
27767 which can conflict with char $ac_func (); below.
27768 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27769 <limits.h> exists even on freestanding compilers. */
27771 # include <limits.h>
27773 # include <assert.h>
27775 /* Override any gcc2 internal prototype to avoid an error. */
27780 /* We use char because int might match the return type of a gcc2
27781 builtin and then its argument prototype would still apply. */
27783 /* The GNU C library defines this for functions which it implements
27784 to always fail with ENOSYS. Some functions are actually named
27785 something starting with __ and the normal name is an alias. */
27786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27789 char (*f) () = $ac_func;
27798 return f != $ac_func;
27803 rm -f conftest.
$ac_objext conftest
$ac_exeext
27804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27805 (eval $ac_link) 2>&5
27807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27808 (exit $ac_status); } &&
27809 { ac_try
='test -s conftest$ac_exeext'
27810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27811 (eval $ac_try) 2>&5
27813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27814 (exit $ac_status); }; }; then
27815 eval "$as_ac_var=yes"
27817 echo "$as_me: failed program was:" >&5
27818 sed 's/^/| /' conftest.
$ac_ext >&5
27820 eval "$as_ac_var=no"
27822 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27825 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27826 if test `eval echo '${'$as_ac_var'}'` = yes; then
27827 cat >>confdefs.h
<<_ACEOF
27828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27830 cat >>confdefs.h
<<\_ACEOF
27831 #define HAVE_USLEEP 1
27835 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
27836 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
27854 for ac_func
in uname gethostname
27856 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27857 echo "$as_me:$LINENO: checking for $ac_func" >&5
27858 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27859 if eval "test \"\${$as_ac_var+set}\" = set"; then
27860 echo $ECHO_N "(cached) $ECHO_C" >&6
27862 cat >conftest.
$ac_ext <<_ACEOF
27863 #line $LINENO "configure"
27866 cat confdefs.h
>>conftest.
$ac_ext
27867 cat >>conftest.
$ac_ext <<_ACEOF
27868 /* end confdefs.h. */
27869 /* System header to define __stub macros and hopefully few prototypes,
27870 which can conflict with char $ac_func (); below.
27871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27872 <limits.h> exists even on freestanding compilers. */
27874 # include <limits.h>
27876 # include <assert.h>
27878 /* Override any gcc2 internal prototype to avoid an error. */
27883 /* We use char because int might match the return type of a gcc2
27884 builtin and then its argument prototype would still apply. */
27886 /* The GNU C library defines this for functions which it implements
27887 to always fail with ENOSYS. Some functions are actually named
27888 something starting with __ and the normal name is an alias. */
27889 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27892 char (*f) () = $ac_func;
27901 return f != $ac_func;
27906 rm -f conftest.
$ac_objext conftest
$ac_exeext
27907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27908 (eval $ac_link) 2>&5
27910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27911 (exit $ac_status); } &&
27912 { ac_try
='test -s conftest$ac_exeext'
27913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27914 (eval $ac_try) 2>&5
27916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27917 (exit $ac_status); }; }; then
27918 eval "$as_ac_var=yes"
27920 echo "$as_me: failed program was:" >&5
27921 sed 's/^/| /' conftest.
$ac_ext >&5
27923 eval "$as_ac_var=no"
27925 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27928 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27929 if test `eval echo '${'$as_ac_var'}'` = yes; then
27930 cat >>confdefs.h
<<_ACEOF
27931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27941 ac_cpp
='$CXXCPP $CPPFLAGS'
27942 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27943 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27944 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27948 for ac_func
in strtok_r
27950 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27951 echo "$as_me:$LINENO: checking for $ac_func" >&5
27952 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27953 if eval "test \"\${$as_ac_var+set}\" = set"; then
27954 echo $ECHO_N "(cached) $ECHO_C" >&6
27956 cat >conftest.
$ac_ext <<_ACEOF
27957 #line $LINENO "configure"
27960 cat confdefs.h
>>conftest.
$ac_ext
27961 cat >>conftest.
$ac_ext <<_ACEOF
27962 /* end confdefs.h. */
27963 /* System header to define __stub macros and hopefully few prototypes,
27964 which can conflict with char $ac_func (); below.
27965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27966 <limits.h> exists even on freestanding compilers. */
27968 # include <limits.h>
27970 # include <assert.h>
27972 /* Override any gcc2 internal prototype to avoid an error. */
27977 /* We use char because int might match the return type of a gcc2
27978 builtin and then its argument prototype would still apply. */
27980 /* The GNU C library defines this for functions which it implements
27981 to always fail with ENOSYS. Some functions are actually named
27982 something starting with __ and the normal name is an alias. */
27983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27986 char (*f) () = $ac_func;
27995 return f != $ac_func;
28000 rm -f conftest.
$ac_objext conftest
$ac_exeext
28001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28002 (eval $ac_link) 2>&5
28004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28005 (exit $ac_status); } &&
28006 { ac_try
='test -s conftest$ac_exeext'
28007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28008 (eval $ac_try) 2>&5
28010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28011 (exit $ac_status); }; }; then
28012 eval "$as_ac_var=yes"
28014 echo "$as_me: failed program was:" >&5
28015 sed 's/^/| /' conftest.
$ac_ext >&5
28017 eval "$as_ac_var=no"
28019 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28022 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28023 if test `eval echo '${'$as_ac_var'}'` = yes; then
28024 cat >>confdefs.h
<<_ACEOF
28025 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28033 ac_cpp
='$CPP $CPPFLAGS'
28034 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28035 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28036 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28041 for ac_func
in inet_addr
28043 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28044 echo "$as_me:$LINENO: checking for $ac_func" >&5
28045 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28046 if eval "test \"\${$as_ac_var+set}\" = set"; then
28047 echo $ECHO_N "(cached) $ECHO_C" >&6
28049 cat >conftest.
$ac_ext <<_ACEOF
28050 #line $LINENO "configure"
28053 cat confdefs.h
>>conftest.
$ac_ext
28054 cat >>conftest.
$ac_ext <<_ACEOF
28055 /* end confdefs.h. */
28056 /* System header to define __stub macros and hopefully few prototypes,
28057 which can conflict with char $ac_func (); below.
28058 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28059 <limits.h> exists even on freestanding compilers. */
28061 # include <limits.h>
28063 # include <assert.h>
28065 /* Override any gcc2 internal prototype to avoid an error. */
28070 /* We use char because int might match the return type of a gcc2
28071 builtin and then its argument prototype would still apply. */
28073 /* The GNU C library defines this for functions which it implements
28074 to always fail with ENOSYS. Some functions are actually named
28075 something starting with __ and the normal name is an alias. */
28076 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28079 char (*f) () = $ac_func;
28088 return f != $ac_func;
28093 rm -f conftest.
$ac_objext conftest
$ac_exeext
28094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28095 (eval $ac_link) 2>&5
28097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28098 (exit $ac_status); } &&
28099 { ac_try
='test -s conftest$ac_exeext'
28100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28101 (eval $ac_try) 2>&5
28103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28104 (exit $ac_status); }; }; then
28105 eval "$as_ac_var=yes"
28107 echo "$as_me: failed program was:" >&5
28108 sed 's/^/| /' conftest.
$ac_ext >&5
28110 eval "$as_ac_var=no"
28112 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28115 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28116 if test `eval echo '${'$as_ac_var'}'` = yes; then
28117 cat >>confdefs.h
<<_ACEOF
28118 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28120 cat >>confdefs.h
<<\_ACEOF
28121 #define HAVE_INET_ADDR 1
28126 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
28127 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
28128 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
28129 echo $ECHO_N "(cached) $ECHO_C" >&6
28131 ac_check_lib_save_LIBS
=$LIBS
28133 cat >conftest.
$ac_ext <<_ACEOF
28134 #line $LINENO "configure"
28137 cat confdefs.h
>>conftest.
$ac_ext
28138 cat >>conftest.
$ac_ext <<_ACEOF
28139 /* end confdefs.h. */
28141 /* Override any gcc2 internal prototype to avoid an error. */
28145 /* We use char because int might match the return type of a gcc2
28146 builtin and then its argument prototype would still apply. */
28156 rm -f conftest.
$ac_objext conftest
$ac_exeext
28157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28158 (eval $ac_link) 2>&5
28160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28161 (exit $ac_status); } &&
28162 { ac_try
='test -s conftest$ac_exeext'
28163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28164 (eval $ac_try) 2>&5
28166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28167 (exit $ac_status); }; }; then
28168 ac_cv_lib_nsl_inet_addr
=yes
28170 echo "$as_me: failed program was:" >&5
28171 sed 's/^/| /' conftest.
$ac_ext >&5
28173 ac_cv_lib_nsl_inet_addr
=no
28175 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28176 LIBS
=$ac_check_lib_save_LIBS
28178 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
28179 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
28180 if test $ac_cv_lib_nsl_inet_addr = yes; then
28183 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
28184 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
28185 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
28186 echo $ECHO_N "(cached) $ECHO_C" >&6
28188 ac_check_lib_save_LIBS
=$LIBS
28189 LIBS
="-lresolv $LIBS"
28190 cat >conftest.
$ac_ext <<_ACEOF
28191 #line $LINENO "configure"
28194 cat confdefs.h
>>conftest.
$ac_ext
28195 cat >>conftest.
$ac_ext <<_ACEOF
28196 /* end confdefs.h. */
28198 /* Override any gcc2 internal prototype to avoid an error. */
28202 /* We use char because int might match the return type of a gcc2
28203 builtin and then its argument prototype would still apply. */
28213 rm -f conftest.
$ac_objext conftest
$ac_exeext
28214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28215 (eval $ac_link) 2>&5
28217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28218 (exit $ac_status); } &&
28219 { ac_try
='test -s conftest$ac_exeext'
28220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28221 (eval $ac_try) 2>&5
28223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28224 (exit $ac_status); }; }; then
28225 ac_cv_lib_resolv_inet_addr
=yes
28227 echo "$as_me: failed program was:" >&5
28228 sed 's/^/| /' conftest.
$ac_ext >&5
28230 ac_cv_lib_resolv_inet_addr
=no
28232 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28233 LIBS
=$ac_check_lib_save_LIBS
28235 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
28236 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
28237 if test $ac_cv_lib_resolv_inet_addr = yes; then
28240 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
28241 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
28242 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
28243 echo $ECHO_N "(cached) $ECHO_C" >&6
28245 ac_check_lib_save_LIBS
=$LIBS
28246 LIBS
="-lsocket $LIBS"
28247 cat >conftest.
$ac_ext <<_ACEOF
28248 #line $LINENO "configure"
28251 cat confdefs.h
>>conftest.
$ac_ext
28252 cat >>conftest.
$ac_ext <<_ACEOF
28253 /* end confdefs.h. */
28255 /* Override any gcc2 internal prototype to avoid an error. */
28259 /* We use char because int might match the return type of a gcc2
28260 builtin and then its argument prototype would still apply. */
28270 rm -f conftest.
$ac_objext conftest
$ac_exeext
28271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28272 (eval $ac_link) 2>&5
28274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28275 (exit $ac_status); } &&
28276 { ac_try
='test -s conftest$ac_exeext'
28277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28278 (eval $ac_try) 2>&5
28280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28281 (exit $ac_status); }; }; then
28282 ac_cv_lib_socket_inet_addr
=yes
28284 echo "$as_me: failed program was:" >&5
28285 sed 's/^/| /' conftest.
$ac_ext >&5
28287 ac_cv_lib_socket_inet_addr
=no
28289 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28290 LIBS
=$ac_check_lib_save_LIBS
28292 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
28293 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
28294 if test $ac_cv_lib_socket_inet_addr = yes; then
28312 for ac_func
in inet_aton
28314 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28315 echo "$as_me:$LINENO: checking for $ac_func" >&5
28316 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28317 if eval "test \"\${$as_ac_var+set}\" = set"; then
28318 echo $ECHO_N "(cached) $ECHO_C" >&6
28320 cat >conftest.
$ac_ext <<_ACEOF
28321 #line $LINENO "configure"
28324 cat confdefs.h
>>conftest.
$ac_ext
28325 cat >>conftest.
$ac_ext <<_ACEOF
28326 /* end confdefs.h. */
28327 /* System header to define __stub macros and hopefully few prototypes,
28328 which can conflict with char $ac_func (); below.
28329 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28330 <limits.h> exists even on freestanding compilers. */
28332 # include <limits.h>
28334 # include <assert.h>
28336 /* Override any gcc2 internal prototype to avoid an error. */
28341 /* We use char because int might match the return type of a gcc2
28342 builtin and then its argument prototype would still apply. */
28344 /* The GNU C library defines this for functions which it implements
28345 to always fail with ENOSYS. Some functions are actually named
28346 something starting with __ and the normal name is an alias. */
28347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28350 char (*f) () = $ac_func;
28359 return f != $ac_func;
28364 rm -f conftest.
$ac_objext conftest
$ac_exeext
28365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28366 (eval $ac_link) 2>&5
28368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28369 (exit $ac_status); } &&
28370 { ac_try
='test -s conftest$ac_exeext'
28371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28372 (eval $ac_try) 2>&5
28374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28375 (exit $ac_status); }; }; then
28376 eval "$as_ac_var=yes"
28378 echo "$as_me: failed program was:" >&5
28379 sed 's/^/| /' conftest.
$ac_ext >&5
28381 eval "$as_ac_var=no"
28383 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28386 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28387 if test `eval echo '${'$as_ac_var'}'` = yes; then
28388 cat >>confdefs.h
<<_ACEOF
28389 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28391 cat >>confdefs.h
<<\_ACEOF
28392 #define HAVE_INET_ATON 1
28397 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
28398 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
28399 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
28400 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
28401 echo $ECHO_N "(cached) $ECHO_C" >&6
28403 ac_check_lib_save_LIBS
=$LIBS
28404 LIBS
="-l$INET_LINK $LIBS"
28405 cat >conftest.
$ac_ext <<_ACEOF
28406 #line $LINENO "configure"
28409 cat confdefs.h
>>conftest.
$ac_ext
28410 cat >>conftest.
$ac_ext <<_ACEOF
28411 /* end confdefs.h. */
28413 /* Override any gcc2 internal prototype to avoid an error. */
28417 /* We use char because int might match the return type of a gcc2
28418 builtin and then its argument prototype would still apply. */
28428 rm -f conftest.
$ac_objext conftest
$ac_exeext
28429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28430 (eval $ac_link) 2>&5
28432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28433 (exit $ac_status); } &&
28434 { ac_try
='test -s conftest$ac_exeext'
28435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28436 (eval $ac_try) 2>&5
28438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28439 (exit $ac_status); }; }; then
28440 eval "$as_ac_Lib=yes"
28442 echo "$as_me: failed program was:" >&5
28443 sed 's/^/| /' conftest.
$ac_ext >&5
28445 eval "$as_ac_Lib=no"
28447 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28448 LIBS
=$ac_check_lib_save_LIBS
28450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
28451 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
28452 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
28453 cat >>confdefs.h
<<\_ACEOF
28454 #define HAVE_INET_ATON 1
28464 if test "x$INET_LINK" != "x"; then
28465 cat >>confdefs.h
<<\_ACEOF
28466 #define HAVE_INET_ADDR 1
28469 INET_LINK
=" -l$INET_LINK"
28477 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
28478 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
28479 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
28480 echo $ECHO_N "(cached) $ECHO_C" >&6
28482 ac_check_lib_save_LIBS
=$LIBS
28484 cat >conftest.
$ac_ext <<_ACEOF
28485 #line $LINENO "configure"
28488 cat confdefs.h
>>conftest.
$ac_ext
28489 cat >>conftest.
$ac_ext <<_ACEOF
28490 /* end confdefs.h. */
28492 /* Override any gcc2 internal prototype to avoid an error. */
28496 /* We use char because int might match the return type of a gcc2
28497 builtin and then its argument prototype would still apply. */
28507 rm -f conftest.
$ac_objext conftest
$ac_exeext
28508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28509 (eval $ac_link) 2>&5
28511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28512 (exit $ac_status); } &&
28513 { ac_try
='test -s conftest$ac_exeext'
28514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28515 (eval $ac_try) 2>&5
28517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28518 (exit $ac_status); }; }; then
28519 ac_cv_lib_esd_esd_close
=yes
28521 echo "$as_me: failed program was:" >&5
28522 sed 's/^/| /' conftest.
$ac_ext >&5
28524 ac_cv_lib_esd_esd_close
=no
28526 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28527 LIBS
=$ac_check_lib_save_LIBS
28529 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
28530 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
28531 if test $ac_cv_lib_esd_esd_close = yes; then
28534 for ac_header
in esd.h
28536 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28537 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28538 echo "$as_me:$LINENO: checking for $ac_header" >&5
28539 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28540 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28541 echo $ECHO_N "(cached) $ECHO_C" >&6
28543 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28544 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28546 # Is the header compilable?
28547 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28548 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28549 cat >conftest.
$ac_ext <<_ACEOF
28550 #line $LINENO "configure"
28553 cat confdefs.h
>>conftest.
$ac_ext
28554 cat >>conftest.
$ac_ext <<_ACEOF
28555 /* end confdefs.h. */
28556 $ac_includes_default
28557 #include <$ac_header>
28559 rm -f conftest.
$ac_objext
28560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28561 (eval $ac_compile) 2>&5
28563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28564 (exit $ac_status); } &&
28565 { ac_try
='test -s conftest.$ac_objext'
28566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28567 (eval $ac_try) 2>&5
28569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28570 (exit $ac_status); }; }; then
28571 ac_header_compiler
=yes
28573 echo "$as_me: failed program was:" >&5
28574 sed 's/^/| /' conftest.
$ac_ext >&5
28576 ac_header_compiler
=no
28578 rm -f conftest.
$ac_objext conftest.
$ac_ext
28579 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28580 echo "${ECHO_T}$ac_header_compiler" >&6
28582 # Is the header present?
28583 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28584 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28585 cat >conftest.
$ac_ext <<_ACEOF
28586 #line $LINENO "configure"
28589 cat confdefs.h
>>conftest.
$ac_ext
28590 cat >>conftest.
$ac_ext <<_ACEOF
28591 /* end confdefs.h. */
28592 #include <$ac_header>
28594 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28595 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28597 grep -v '^ *+' conftest.er1
>conftest.err
28599 cat conftest.err
>&5
28600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28601 (exit $ac_status); } >/dev
/null
; then
28602 if test -s conftest.err
; then
28603 ac_cpp_err
=$ac_c_preproc_warn_flag
28610 if test -z "$ac_cpp_err"; then
28611 ac_header_preproc
=yes
28613 echo "$as_me: failed program was:" >&5
28614 sed 's/^/| /' conftest.
$ac_ext >&5
28616 ac_header_preproc
=no
28618 rm -f conftest.err conftest.
$ac_ext
28619 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28620 echo "${ECHO_T}$ac_header_preproc" >&6
28622 # So? What about this header?
28623 case $ac_header_compiler:$ac_header_preproc in
28625 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28626 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28627 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28628 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28631 ## ------------------------------------ ##
28632 ## Report this to bug-autoconf@gnu.org. ##
28633 ## ------------------------------------ ##
28636 sed "s/^/$as_me: WARNING: /" >&2
28639 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28640 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28641 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28642 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28643 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28644 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28647 ## ------------------------------------ ##
28648 ## Report this to bug-autoconf@gnu.org. ##
28649 ## ------------------------------------ ##
28652 sed "s/^/$as_me: WARNING: /" >&2
28655 echo "$as_me:$LINENO: checking for $ac_header" >&5
28656 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28657 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28658 echo $ECHO_N "(cached) $ECHO_C" >&6
28660 eval "$as_ac_Header=$ac_header_preproc"
28662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28663 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28666 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28667 cat >>confdefs.h
<<_ACEOF
28668 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28671 EXTRALIBS_ESD
="-lesd"
28684 cat >confcache
<<\_ACEOF
28685 # This file is a shell script that caches the results of configure
28686 # tests run on this system so they can be shared between configure
28687 # scripts and configure runs, see configure's option --config-cache.
28688 # It is not useful on other systems. If it contains results you don't
28689 # want to keep, you may remove or edit it.
28691 # config.status only pays attention to the cache file if you give it
28692 # the --recheck option to rerun configure.
28694 # `ac_cv_env_foo' variables (set or unset) will be overridden when
28695 # loading this file, other *unset* `ac_cv_foo' will be assigned the
28696 # following values.
28700 # The following way of writing the cache mishandles newlines in values,
28701 # but we know of no workaround that is simple, portable, and efficient.
28702 # So, don't put newlines in cache variables' values.
28703 # Ultrix sh set writes to stderr and can't be redirected directly,
28704 # and sets the high bit in the cache file unless we assign to the vars.
28707 case `(ac_space=' '; set | grep ac_space) 2>&1` in
28709 # `set' does not quote correctly, so add quotes (double-quote
28710 # substitution turns \\\\ into \\, and sed turns \\ into \).
28713 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28716 # `set' quotes correctly as required by POSIX, so do not add quotes.
28718 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
28725 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28727 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28729 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
28730 if test -w $cache_file; then
28731 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
28732 cat confcache
>$cache_file
28734 echo "not updating unwritable cache $cache_file"
28741 if test "$TOOLKIT" != "MSW"; then
28747 if test "$wxUSE_THREADS" = "yes" ; then
28748 if test "$USE_BEOS" = 1; then
28749 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
28750 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
28755 if test "$wxUSE_THREADS" = "yes" ; then
28758 THREAD_OPTS
="-pthread"
28760 *-*-solaris2* | *-*-sunos4* )
28761 if test "x$GCC" = "xyes"; then
28762 THREAD_OPTS
="-pthreads $THREAD_OPTS"
28764 THREAD_OPTS
="-mt $THREAD_OPTS"
28768 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
28770 *-*-darwin* | *-*-cygwin* )
28774 THREAD_OPTS
="pthreads"
28777 if test "x$GCC" != "xyes"; then
28783 if test "x$GCC" = "xyes"; then
28789 if test "x$GCC" != "xyes"; then
28790 THREAD_OPTS
="-Ethread"
28795 THREAD_OPTS
="$THREAD_OPTS pthread none"
28798 for flag
in $THREAD_OPTS; do
28801 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
28802 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
28806 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
28807 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
28808 THREADS_CFLAGS
="$flag"
28812 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
28813 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
28814 THREADS_LINK
="-l$flag"
28819 save_CFLAGS
="$CFLAGS"
28820 LIBS
="$THREADS_LINK $LIBS"
28821 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
28823 cat >conftest.
$ac_ext <<_ACEOF
28824 #line $LINENO "configure"
28827 cat confdefs.h
>>conftest.
$ac_ext
28828 cat >>conftest.
$ac_ext <<_ACEOF
28829 /* end confdefs.h. */
28830 #include <pthread.h>
28834 pthread_create(0,0,0,0);
28839 rm -f conftest.
$ac_objext conftest
$ac_exeext
28840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28841 (eval $ac_link) 2>&5
28843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28844 (exit $ac_status); } &&
28845 { ac_try
='test -s conftest$ac_exeext'
28846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28847 (eval $ac_try) 2>&5
28849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28850 (exit $ac_status); }; }; then
28853 echo "$as_me: failed program was:" >&5
28854 sed 's/^/| /' conftest.
$ac_ext >&5
28857 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28860 CFLAGS
="$save_CFLAGS"
28862 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
28863 echo "${ECHO_T}$THREADS_OK" >&6
28864 if test "x$THREADS_OK" = "xyes"; then
28872 if test "x$THREADS_OK" != "xyes"; then
28874 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
28875 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
28877 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
28878 LIBS
="$THREADS_LINK $LIBS"
28880 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
28881 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
28885 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
28886 flag
="-D_THREAD_SAFE"
28889 flag
="-D_THREAD_SAFE"
28892 flag
="-D_REENTRANT"
28893 if test "x$GCC" != "xyes"; then
28894 flag
="$flag -D_RWSTD_MULTI_THREAD"
28897 *solaris
* | alpha
*-osf*)
28898 flag
="-D_REENTRANT"
28901 echo "$as_me:$LINENO: result: ${flag}" >&5
28902 echo "${ECHO_T}${flag}" >&6
28903 if test "x$flag" != xno
; then
28904 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
28907 if test "x$THREADS_CFLAGS" != "x"; then
28908 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
28909 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
28914 if test "$wxUSE_THREADS" = "yes" ; then
28916 for ac_func
in thr_setconcurrency
28918 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28919 echo "$as_me:$LINENO: checking for $ac_func" >&5
28920 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28921 if eval "test \"\${$as_ac_var+set}\" = set"; then
28922 echo $ECHO_N "(cached) $ECHO_C" >&6
28924 cat >conftest.
$ac_ext <<_ACEOF
28925 #line $LINENO "configure"
28928 cat confdefs.h
>>conftest.
$ac_ext
28929 cat >>conftest.
$ac_ext <<_ACEOF
28930 /* end confdefs.h. */
28931 /* System header to define __stub macros and hopefully few prototypes,
28932 which can conflict with char $ac_func (); below.
28933 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28934 <limits.h> exists even on freestanding compilers. */
28936 # include <limits.h>
28938 # include <assert.h>
28940 /* Override any gcc2 internal prototype to avoid an error. */
28945 /* We use char because int might match the return type of a gcc2
28946 builtin and then its argument prototype would still apply. */
28948 /* The GNU C library defines this for functions which it implements
28949 to always fail with ENOSYS. Some functions are actually named
28950 something starting with __ and the normal name is an alias. */
28951 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28954 char (*f) () = $ac_func;
28963 return f != $ac_func;
28968 rm -f conftest.
$ac_objext conftest
$ac_exeext
28969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28970 (eval $ac_link) 2>&5
28972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28973 (exit $ac_status); } &&
28974 { ac_try
='test -s conftest$ac_exeext'
28975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28976 (eval $ac_try) 2>&5
28978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28979 (exit $ac_status); }; }; then
28980 eval "$as_ac_var=yes"
28982 echo "$as_me: failed program was:" >&5
28983 sed 's/^/| /' conftest.
$ac_ext >&5
28985 eval "$as_ac_var=no"
28987 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28990 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28991 if test `eval echo '${'$as_ac_var'}'` = yes; then
28992 cat >>confdefs.h
<<_ACEOF
28993 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29001 for ac_header
in sched.h
29003 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29004 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29005 echo "$as_me:$LINENO: checking for $ac_header" >&5
29006 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29007 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29008 echo $ECHO_N "(cached) $ECHO_C" >&6
29010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29011 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29013 # Is the header compilable?
29014 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29015 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29016 cat >conftest.
$ac_ext <<_ACEOF
29017 #line $LINENO "configure"
29020 cat confdefs.h
>>conftest.
$ac_ext
29021 cat >>conftest.
$ac_ext <<_ACEOF
29022 /* end confdefs.h. */
29023 $ac_includes_default
29024 #include <$ac_header>
29026 rm -f conftest.
$ac_objext
29027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29028 (eval $ac_compile) 2>&5
29030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29031 (exit $ac_status); } &&
29032 { ac_try
='test -s conftest.$ac_objext'
29033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29034 (eval $ac_try) 2>&5
29036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29037 (exit $ac_status); }; }; then
29038 ac_header_compiler
=yes
29040 echo "$as_me: failed program was:" >&5
29041 sed 's/^/| /' conftest.
$ac_ext >&5
29043 ac_header_compiler
=no
29045 rm -f conftest.
$ac_objext conftest.
$ac_ext
29046 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29047 echo "${ECHO_T}$ac_header_compiler" >&6
29049 # Is the header present?
29050 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29051 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29052 cat >conftest.
$ac_ext <<_ACEOF
29053 #line $LINENO "configure"
29056 cat confdefs.h
>>conftest.
$ac_ext
29057 cat >>conftest.
$ac_ext <<_ACEOF
29058 /* end confdefs.h. */
29059 #include <$ac_header>
29061 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29062 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29064 grep -v '^ *+' conftest.er1
>conftest.err
29066 cat conftest.err
>&5
29067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29068 (exit $ac_status); } >/dev
/null
; then
29069 if test -s conftest.err
; then
29070 ac_cpp_err
=$ac_c_preproc_warn_flag
29077 if test -z "$ac_cpp_err"; then
29078 ac_header_preproc
=yes
29080 echo "$as_me: failed program was:" >&5
29081 sed 's/^/| /' conftest.
$ac_ext >&5
29083 ac_header_preproc
=no
29085 rm -f conftest.err conftest.
$ac_ext
29086 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29087 echo "${ECHO_T}$ac_header_preproc" >&6
29089 # So? What about this header?
29090 case $ac_header_compiler:$ac_header_preproc in
29092 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29093 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29094 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29095 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29098 ## ------------------------------------ ##
29099 ## Report this to bug-autoconf@gnu.org. ##
29100 ## ------------------------------------ ##
29103 sed "s/^/$as_me: WARNING: /" >&2
29106 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29107 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29108 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29109 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29110 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29111 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29114 ## ------------------------------------ ##
29115 ## Report this to bug-autoconf@gnu.org. ##
29116 ## ------------------------------------ ##
29119 sed "s/^/$as_me: WARNING: /" >&2
29122 echo "$as_me:$LINENO: checking for $ac_header" >&5
29123 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29124 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29125 echo $ECHO_N "(cached) $ECHO_C" >&6
29127 eval "$as_ac_Header=$ac_header_preproc"
29129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29130 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29133 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29134 cat >>confdefs.h
<<_ACEOF
29135 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29142 if test "$ac_cv_header_sched_h" = "yes"; then
29143 echo "$as_me:$LINENO: checking for sched_yield" >&5
29144 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
29145 if test "${ac_cv_func_sched_yield+set}" = set; then
29146 echo $ECHO_N "(cached) $ECHO_C" >&6
29148 cat >conftest.
$ac_ext <<_ACEOF
29149 #line $LINENO "configure"
29152 cat confdefs.h
>>conftest.
$ac_ext
29153 cat >>conftest.
$ac_ext <<_ACEOF
29154 /* end confdefs.h. */
29155 /* System header to define __stub macros and hopefully few prototypes,
29156 which can conflict with char sched_yield (); below.
29157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29158 <limits.h> exists even on freestanding compilers. */
29160 # include <limits.h>
29162 # include <assert.h>
29164 /* Override any gcc2 internal prototype to avoid an error. */
29169 /* We use char because int might match the return type of a gcc2
29170 builtin and then its argument prototype would still apply. */
29171 char sched_yield ();
29172 /* The GNU C library defines this for functions which it implements
29173 to always fail with ENOSYS. Some functions are actually named
29174 something starting with __ and the normal name is an alias. */
29175 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
29178 char (*f) () = sched_yield;
29187 return f != sched_yield;
29192 rm -f conftest.
$ac_objext conftest
$ac_exeext
29193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29194 (eval $ac_link) 2>&5
29196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29197 (exit $ac_status); } &&
29198 { ac_try
='test -s conftest$ac_exeext'
29199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29200 (eval $ac_try) 2>&5
29202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29203 (exit $ac_status); }; }; then
29204 ac_cv_func_sched_yield
=yes
29206 echo "$as_me: failed program was:" >&5
29207 sed 's/^/| /' conftest.
$ac_ext >&5
29209 ac_cv_func_sched_yield
=no
29211 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29213 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
29214 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
29215 if test $ac_cv_func_sched_yield = yes; then
29216 cat >>confdefs.h
<<\_ACEOF
29217 #define HAVE_SCHED_YIELD 1
29222 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
29223 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
29224 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
29225 echo $ECHO_N "(cached) $ECHO_C" >&6
29227 ac_check_lib_save_LIBS
=$LIBS
29228 LIBS
="-lposix4 $LIBS"
29229 cat >conftest.
$ac_ext <<_ACEOF
29230 #line $LINENO "configure"
29233 cat confdefs.h
>>conftest.
$ac_ext
29234 cat >>conftest.
$ac_ext <<_ACEOF
29235 /* end confdefs.h. */
29237 /* Override any gcc2 internal prototype to avoid an error. */
29241 /* We use char because int might match the return type of a gcc2
29242 builtin and then its argument prototype would still apply. */
29243 char sched_yield ();
29252 rm -f conftest.
$ac_objext conftest
$ac_exeext
29253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29254 (eval $ac_link) 2>&5
29256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29257 (exit $ac_status); } &&
29258 { ac_try
='test -s conftest$ac_exeext'
29259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29260 (eval $ac_try) 2>&5
29262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29263 (exit $ac_status); }; }; then
29264 ac_cv_lib_posix4_sched_yield
=yes
29266 echo "$as_me: failed program was:" >&5
29267 sed 's/^/| /' conftest.
$ac_ext >&5
29269 ac_cv_lib_posix4_sched_yield
=no
29271 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29272 LIBS
=$ac_check_lib_save_LIBS
29274 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
29275 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
29276 if test $ac_cv_lib_posix4_sched_yield = yes; then
29277 cat >>confdefs.h
<<\_ACEOF
29278 #define HAVE_SCHED_YIELD 1
29280 POSIX4_LINK
=" -lposix4"
29282 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
29283 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
29294 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
29295 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
29296 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
29297 echo $ECHO_N "(cached) $ECHO_C" >&6
29299 cat >conftest.
$ac_ext <<_ACEOF
29300 #line $LINENO "configure"
29303 cat confdefs.h
>>conftest.
$ac_ext
29304 cat >>conftest.
$ac_ext <<_ACEOF
29305 /* end confdefs.h. */
29306 /* System header to define __stub macros and hopefully few prototypes,
29307 which can conflict with char pthread_attr_getschedpolicy (); below.
29308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29309 <limits.h> exists even on freestanding compilers. */
29311 # include <limits.h>
29313 # include <assert.h>
29315 /* Override any gcc2 internal prototype to avoid an error. */
29320 /* We use char because int might match the return type of a gcc2
29321 builtin and then its argument prototype would still apply. */
29322 char pthread_attr_getschedpolicy ();
29323 /* The GNU C library defines this for functions which it implements
29324 to always fail with ENOSYS. Some functions are actually named
29325 something starting with __ and the normal name is an alias. */
29326 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
29329 char (*f) () = pthread_attr_getschedpolicy;
29338 return f != pthread_attr_getschedpolicy;
29343 rm -f conftest.
$ac_objext conftest
$ac_exeext
29344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29345 (eval $ac_link) 2>&5
29347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29348 (exit $ac_status); } &&
29349 { ac_try
='test -s conftest$ac_exeext'
29350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29351 (eval $ac_try) 2>&5
29353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29354 (exit $ac_status); }; }; then
29355 ac_cv_func_pthread_attr_getschedpolicy
=yes
29357 echo "$as_me: failed program was:" >&5
29358 sed 's/^/| /' conftest.
$ac_ext >&5
29360 ac_cv_func_pthread_attr_getschedpolicy
=no
29362 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29364 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
29365 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
29366 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
29367 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
29368 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
29369 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
29370 echo $ECHO_N "(cached) $ECHO_C" >&6
29372 cat >conftest.
$ac_ext <<_ACEOF
29373 #line $LINENO "configure"
29376 cat confdefs.h
>>conftest.
$ac_ext
29377 cat >>conftest.
$ac_ext <<_ACEOF
29378 /* end confdefs.h. */
29379 /* System header to define __stub macros and hopefully few prototypes,
29380 which can conflict with char pthread_attr_setschedparam (); below.
29381 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29382 <limits.h> exists even on freestanding compilers. */
29384 # include <limits.h>
29386 # include <assert.h>
29388 /* Override any gcc2 internal prototype to avoid an error. */
29393 /* We use char because int might match the return type of a gcc2
29394 builtin and then its argument prototype would still apply. */
29395 char pthread_attr_setschedparam ();
29396 /* The GNU C library defines this for functions which it implements
29397 to always fail with ENOSYS. Some functions are actually named
29398 something starting with __ and the normal name is an alias. */
29399 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
29402 char (*f) () = pthread_attr_setschedparam;
29411 return f != pthread_attr_setschedparam;
29416 rm -f conftest.
$ac_objext conftest
$ac_exeext
29417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29418 (eval $ac_link) 2>&5
29420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29421 (exit $ac_status); } &&
29422 { ac_try
='test -s conftest$ac_exeext'
29423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29424 (eval $ac_try) 2>&5
29426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29427 (exit $ac_status); }; }; then
29428 ac_cv_func_pthread_attr_setschedparam
=yes
29430 echo "$as_me: failed program was:" >&5
29431 sed 's/^/| /' conftest.
$ac_ext >&5
29433 ac_cv_func_pthread_attr_setschedparam
=no
29435 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29437 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
29438 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
29439 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
29440 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
29441 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
29442 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
29443 echo $ECHO_N "(cached) $ECHO_C" >&6
29445 cat >conftest.
$ac_ext <<_ACEOF
29446 #line $LINENO "configure"
29449 cat confdefs.h
>>conftest.
$ac_ext
29450 cat >>conftest.
$ac_ext <<_ACEOF
29451 /* end confdefs.h. */
29452 /* System header to define __stub macros and hopefully few prototypes,
29453 which can conflict with char sched_get_priority_max (); below.
29454 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29455 <limits.h> exists even on freestanding compilers. */
29457 # include <limits.h>
29459 # include <assert.h>
29461 /* Override any gcc2 internal prototype to avoid an error. */
29466 /* We use char because int might match the return type of a gcc2
29467 builtin and then its argument prototype would still apply. */
29468 char sched_get_priority_max ();
29469 /* The GNU C library defines this for functions which it implements
29470 to always fail with ENOSYS. Some functions are actually named
29471 something starting with __ and the normal name is an alias. */
29472 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
29475 char (*f) () = sched_get_priority_max;
29484 return f != sched_get_priority_max;
29489 rm -f conftest.
$ac_objext conftest
$ac_exeext
29490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29491 (eval $ac_link) 2>&5
29493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29494 (exit $ac_status); } &&
29495 { ac_try
='test -s conftest$ac_exeext'
29496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29497 (eval $ac_try) 2>&5
29499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29500 (exit $ac_status); }; }; then
29501 ac_cv_func_sched_get_priority_max
=yes
29503 echo "$as_me: failed program was:" >&5
29504 sed 's/^/| /' conftest.
$ac_ext >&5
29506 ac_cv_func_sched_get_priority_max
=no
29508 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29510 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
29511 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
29512 if test $ac_cv_func_sched_get_priority_max = yes; then
29515 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
29516 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
29517 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
29518 echo $ECHO_N "(cached) $ECHO_C" >&6
29520 ac_check_lib_save_LIBS
=$LIBS
29521 LIBS
="-lposix4 $LIBS"
29522 cat >conftest.
$ac_ext <<_ACEOF
29523 #line $LINENO "configure"
29526 cat confdefs.h
>>conftest.
$ac_ext
29527 cat >>conftest.
$ac_ext <<_ACEOF
29528 /* end confdefs.h. */
29530 /* Override any gcc2 internal prototype to avoid an error. */
29534 /* We use char because int might match the return type of a gcc2
29535 builtin and then its argument prototype would still apply. */
29536 char sched_get_priority_max ();
29540 sched_get_priority_max ();
29545 rm -f conftest.
$ac_objext conftest
$ac_exeext
29546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29547 (eval $ac_link) 2>&5
29549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29550 (exit $ac_status); } &&
29551 { ac_try
='test -s conftest$ac_exeext'
29552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29553 (eval $ac_try) 2>&5
29555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29556 (exit $ac_status); }; }; then
29557 ac_cv_lib_posix4_sched_get_priority_max
=yes
29559 echo "$as_me: failed program was:" >&5
29560 sed 's/^/| /' conftest.
$ac_ext >&5
29562 ac_cv_lib_posix4_sched_get_priority_max
=no
29564 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29565 LIBS
=$ac_check_lib_save_LIBS
29567 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
29568 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
29569 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
29572 POSIX4_LINK
=" -lposix4"
29586 if test "$HAVE_PRIOR_FUNCS" = 1; then
29587 cat >>confdefs.h
<<\_ACEOF
29588 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
29592 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
29593 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
29596 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
29597 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
29598 if test "${ac_cv_func_pthread_cancel+set}" = set; then
29599 echo $ECHO_N "(cached) $ECHO_C" >&6
29601 cat >conftest.
$ac_ext <<_ACEOF
29602 #line $LINENO "configure"
29605 cat confdefs.h
>>conftest.
$ac_ext
29606 cat >>conftest.
$ac_ext <<_ACEOF
29607 /* end confdefs.h. */
29608 /* System header to define __stub macros and hopefully few prototypes,
29609 which can conflict with char pthread_cancel (); below.
29610 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29611 <limits.h> exists even on freestanding compilers. */
29613 # include <limits.h>
29615 # include <assert.h>
29617 /* Override any gcc2 internal prototype to avoid an error. */
29622 /* We use char because int might match the return type of a gcc2
29623 builtin and then its argument prototype would still apply. */
29624 char pthread_cancel ();
29625 /* The GNU C library defines this for functions which it implements
29626 to always fail with ENOSYS. Some functions are actually named
29627 something starting with __ and the normal name is an alias. */
29628 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
29631 char (*f) () = pthread_cancel;
29640 return f != pthread_cancel;
29645 rm -f conftest.
$ac_objext conftest
$ac_exeext
29646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29647 (eval $ac_link) 2>&5
29649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29650 (exit $ac_status); } &&
29651 { ac_try
='test -s conftest$ac_exeext'
29652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29653 (eval $ac_try) 2>&5
29655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29656 (exit $ac_status); }; }; then
29657 ac_cv_func_pthread_cancel
=yes
29659 echo "$as_me: failed program was:" >&5
29660 sed 's/^/| /' conftest.
$ac_ext >&5
29662 ac_cv_func_pthread_cancel
=no
29664 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29666 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
29667 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
29668 if test $ac_cv_func_pthread_cancel = yes; then
29669 cat >>confdefs.h
<<\_ACEOF
29670 #define HAVE_PTHREAD_CANCEL 1
29674 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
29675 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
29679 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
29680 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
29681 if test "${wx_cv_func_pthread_cleanup_push+set}" = set; then
29682 echo $ECHO_N "(cached) $ECHO_C" >&6
29685 cat >conftest.
$ac_ext <<_ACEOF
29686 #line $LINENO "configure"
29689 cat confdefs.h
>>conftest.
$ac_ext
29690 cat >>conftest.
$ac_ext <<_ACEOF
29691 /* end confdefs.h. */
29692 #include <pthread.h>
29697 pthread_cleanup_push(NULL, NULL);
29698 pthread_cleanup_pop(0);
29704 rm -f conftest.
$ac_objext
29705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29706 (eval $ac_compile) 2>&5
29708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29709 (exit $ac_status); } &&
29710 { ac_try
='test -s conftest.$ac_objext'
29711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29712 (eval $ac_try) 2>&5
29714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29715 (exit $ac_status); }; }; then
29717 wx_cv_func_pthread_cleanup_push
=yes
29720 echo "$as_me: failed program was:" >&5
29721 sed 's/^/| /' conftest.
$ac_ext >&5
29724 wx_cv_func_pthread_cleanup_push
=no
29727 rm -f conftest.
$ac_objext conftest.
$ac_ext
29730 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup_push" >&5
29731 echo "${ECHO_T}$wx_cv_func_pthread_cleanup_push" >&6
29733 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
29734 cat >>confdefs.h
<<\_ACEOF
29735 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
29741 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
29742 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
29743 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
29744 echo $ECHO_N "(cached) $ECHO_C" >&6
29747 cat >conftest.
$ac_ext <<_ACEOF
29748 #line $LINENO "configure"
29751 cat confdefs.h
>>conftest.
$ac_ext
29752 cat >>conftest.
$ac_ext <<_ACEOF
29753 /* end confdefs.h. */
29754 #include <pthread.h>
29759 pthread_mutexattr_t attr;
29760 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
29766 rm -f conftest.
$ac_objext
29767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29768 (eval $ac_compile) 2>&5
29770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29771 (exit $ac_status); } &&
29772 { ac_try
='test -s conftest.$ac_objext'
29773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29774 (eval $ac_try) 2>&5
29776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29777 (exit $ac_status); }; }; then
29779 wx_cv_type_pthread_mutexattr_t
=yes
29782 echo "$as_me: failed program was:" >&5
29783 sed 's/^/| /' conftest.
$ac_ext >&5
29786 wx_cv_type_pthread_mutexattr_t
=no
29790 rm -f conftest.
$ac_objext conftest.
$ac_ext
29793 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
29794 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
29796 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
29797 cat >>confdefs.h
<<\_ACEOF
29798 #define HAVE_PTHREAD_MUTEXATTR_T 1
29802 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
29803 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
29804 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
29805 echo $ECHO_N "(cached) $ECHO_C" >&6
29808 cat >conftest.
$ac_ext <<_ACEOF
29809 #line $LINENO "configure"
29812 cat confdefs.h
>>conftest.
$ac_ext
29813 cat >>conftest.
$ac_ext <<_ACEOF
29814 /* end confdefs.h. */
29815 #include <pthread.h>
29820 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
29826 rm -f conftest.
$ac_objext
29827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29828 (eval $ac_compile) 2>&5
29830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29831 (exit $ac_status); } &&
29832 { ac_try
='test -s conftest.$ac_objext'
29833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29834 (eval $ac_try) 2>&5
29836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29837 (exit $ac_status); }; }; then
29839 wx_cv_type_pthread_rec_mutex_init
=yes
29842 echo "$as_me: failed program was:" >&5
29843 sed 's/^/| /' conftest.
$ac_ext >&5
29846 wx_cv_type_pthread_rec_mutex_init
=no
29850 rm -f conftest.
$ac_objext conftest.
$ac_ext
29853 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
29854 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
29855 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
29856 cat >>confdefs.h
<<\_ACEOF
29857 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
29861 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
29862 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
29868 if test "$wxUSE_THREADS" = "yes" ; then
29871 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
29872 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
29873 if test "${wx_cv_cflags_mthread+set}" = set; then
29874 echo $ECHO_N "(cached) $ECHO_C" >&6
29877 CFLAGS_OLD
="$CFLAGS"
29878 CFLAGS
="$CFLAGS -mthreads"
29879 cat >conftest.
$ac_ext <<_ACEOF
29880 #line $LINENO "configure"
29883 cat confdefs.h
>>conftest.
$ac_ext
29884 cat >>conftest.
$ac_ext <<_ACEOF
29885 /* end confdefs.h. */
29895 rm -f conftest.
$ac_objext
29896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29897 (eval $ac_compile) 2>&5
29899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29900 (exit $ac_status); } &&
29901 { ac_try
='test -s conftest.$ac_objext'
29902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29903 (eval $ac_try) 2>&5
29905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29906 (exit $ac_status); }; }; then
29907 wx_cv_cflags_mthread
=yes
29909 echo "$as_me: failed program was:" >&5
29910 sed 's/^/| /' conftest.
$ac_ext >&5
29912 wx_cv_cflags_mthread
=no
29915 rm -f conftest.
$ac_objext conftest.
$ac_ext
29919 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
29920 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
29922 if test "$wx_cv_cflags_mthread" = "yes"; then
29923 CXXFLAGS
="$CXXFLAGS -mthreads"
29924 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
29925 LDFLAGS
="$LDFLAGS -mthreads"
29927 CFLAGS
="$CFLAGS_OLD"
29934 if test "$wxUSE_THREADS" = "yes"; then
29935 cat >>confdefs.h
<<\_ACEOF
29936 #define wxUSE_THREADS 1
29940 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
29942 if test "$ac_cv_func_strtok_r" = "yes"; then
29943 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
29944 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
29945 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
29946 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
29947 echo "$as_me:$LINENO: result: yes" >&5
29948 echo "${ECHO_T}yes" >&6
29950 echo "$as_me:$LINENO: result: no" >&5
29951 echo "${ECHO_T}no" >&6
29956 if test "$WXGTK20" = 1 ; then
29957 cat >>confdefs.h
<<_ACEOF
29958 #define __WXGTK20__ $WXGTK20
29964 if test "$WXGTK12" = 1 ; then
29965 cat >>confdefs.h
<<_ACEOF
29966 #define __WXGTK12__ $WXGTK12
29971 if test "$WXGTK127" = 1 ; then
29972 cat >>confdefs.h
<<_ACEOF
29973 #define __WXGTK127__ $WXGTK127
29980 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
29985 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
29986 wxUSE_DEBUG_INFO
=yes
29990 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
29991 cat >>confdefs.h
<<\_ACEOF
29995 WXDEBUG_DEFINE
="-D__WXDEBUG__"
29997 if test "$wxUSE_GTK" = 1 ; then
29998 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
30002 if test "$wxUSE_MEM_TRACING" = "yes" ; then
30003 cat >>confdefs.h
<<\_ACEOF
30004 #define wxUSE_MEMORY_TRACING 1
30007 cat >>confdefs.h
<<\_ACEOF
30008 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
30011 cat >>confdefs.h
<<\_ACEOF
30012 #define wxUSE_DEBUG_NEW_ALWAYS 1
30015 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
30018 if test "$wxUSE_DMALLOC" = "yes" ; then
30019 DMALLOC_LIBS
="-ldmalloc"
30023 if test "$wxUSE_PROFILE" = "yes" ; then
30028 CODE_GEN_FLAGS_CXX
=
30029 if test "$GCC" = "yes" ; then
30030 if test "$wxUSE_NO_RTTI" = "yes" ; then
30031 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
30033 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
30034 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
30036 if test "$wxUSE_PERMISSIVE" = "yes" ; then
30037 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
30042 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
30045 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
30051 if test "$wxUSE_OPTIMISE" = "no" ; then
30052 if test "$GCC" = yes ; then
30056 if test "$GCC" = yes ; then
30060 i586
-*-*|i686
-*-* )
30061 OPTIMISE
="${OPTIMISE} "
30070 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
30071 cat >>confdefs.h
<<\_ACEOF
30072 #define WXWIN_COMPATIBILITY_2_2 1
30076 WXWIN_COMPATIBILITY_2_4
="yes"
30079 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
30080 cat >>confdefs.h
<<\_ACEOF
30081 #define WXWIN_COMPATIBILITY_2_4 1
30087 if test "$wxUSE_GUI" = "yes"; then
30088 cat >>confdefs.h
<<\_ACEOF
30089 #define wxUSE_GUI 1
30094 cat >>confdefs.h
<<\_ACEOF
30095 #define wxUSE_NOGUI 1
30101 if test "$wxUSE_UNIX" = "yes"; then
30102 cat >>confdefs.h
<<\_ACEOF
30103 #define wxUSE_UNIX 1
30109 if test "$wxUSE_STL" = "yes"; then
30110 cat >>confdefs.h
<<\_ACEOF
30111 #define wxUSE_STL 1
30116 if test "$wxUSE_APPLE_IEEE" = "yes"; then
30117 cat >>confdefs.h
<<\_ACEOF
30118 #define wxUSE_APPLE_IEEE 1
30123 if test "$wxUSE_TIMER" = "yes"; then
30124 cat >>confdefs.h
<<\_ACEOF
30125 #define wxUSE_TIMER 1
30130 if test "$wxUSE_WAVE" = "yes"; then
30131 cat >>confdefs.h
<<\_ACEOF
30132 #define wxUSE_WAVE 1
30137 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
30138 cat >>confdefs.h
<<\_ACEOF
30139 #define wxUSE_CMDLINE_PARSER 1
30144 if test "$wxUSE_STOPWATCH" = "yes"; then
30145 cat >>confdefs.h
<<\_ACEOF
30146 #define wxUSE_STOPWATCH 1
30151 if test "$wxUSE_DATETIME" = "yes"; then
30152 cat >>confdefs.h
<<\_ACEOF
30153 #define wxUSE_DATETIME 1
30158 if test "$wxUSE_FILE" = "yes"; then
30159 cat >>confdefs.h
<<\_ACEOF
30160 #define wxUSE_FILE 1
30165 if test "$wxUSE_FFILE" = "yes"; then
30166 cat >>confdefs.h
<<\_ACEOF
30167 #define wxUSE_FFILE 1
30172 if test "$wxUSE_FILESYSTEM" = "yes"; then
30173 cat >>confdefs.h
<<\_ACEOF
30174 #define wxUSE_FILESYSTEM 1
30179 if test "$wxUSE_FS_ZIP" = "yes"; then
30180 cat >>confdefs.h
<<\_ACEOF
30181 #define wxUSE_FS_ZIP 1
30186 if test "$wxUSE_ZIPSTREAM" = "yes"; then
30187 cat >>confdefs.h
<<\_ACEOF
30188 #define wxUSE_ZIPSTREAM 1
30193 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30194 cat >>confdefs.h
<<\_ACEOF
30195 #define wxUSE_ON_FATAL_EXCEPTION 1
30200 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30201 cat >>confdefs.h
<<\_ACEOF
30202 #define wxUSE_SNGLINST_CHECKER 1
30207 if test "$wxUSE_BUSYINFO" = "yes"; then
30208 cat >>confdefs.h
<<\_ACEOF
30209 #define wxUSE_BUSYINFO 1
30214 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
30215 cat >>confdefs.h
<<\_ACEOF
30216 #define wxUSE_STD_IOSTREAM 1
30221 if test "$wxUSE_TEXTBUFFER" = "yes"; then
30222 cat >>confdefs.h
<<\_ACEOF
30223 #define wxUSE_TEXTBUFFER 1
30228 if test "$wxUSE_TEXTFILE" = "yes"; then
30229 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
30230 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
30231 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
30233 cat >>confdefs.h
<<\_ACEOF
30234 #define wxUSE_TEXTFILE 1
30240 if test "$wxUSE_CONFIG" = "yes" ; then
30241 if test "$wxUSE_TEXTFILE" != "yes"; then
30242 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
30243 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
30245 cat >>confdefs.h
<<\_ACEOF
30246 #define wxUSE_CONFIG 1
30249 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
30253 if test "$wxUSE_INTL" = "yes" ; then
30254 if test "$wxUSE_FILE" != "yes"; then
30255 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
30256 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
30258 cat >>confdefs.h
<<\_ACEOF
30259 #define wxUSE_INTL 1
30262 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
30263 GUIDIST
="$GUIDIST INTL_DIST"
30267 if test "$wxUSE_LOG" = "yes"; then
30268 cat >>confdefs.h
<<\_ACEOF
30269 #define wxUSE_LOG 1
30273 if test "$wxUSE_LOGGUI" = "yes"; then
30274 cat >>confdefs.h
<<\_ACEOF
30275 #define wxUSE_LOGGUI 1
30280 if test "$wxUSE_LOGWINDOW" = "yes"; then
30281 cat >>confdefs.h
<<\_ACEOF
30282 #define wxUSE_LOGWINDOW 1
30287 if test "$wxUSE_LOGDIALOG" = "yes"; then
30288 cat >>confdefs.h
<<\_ACEOF
30289 #define wxUSE_LOG_DIALOG 1
30295 if test "$wxUSE_LONGLONG" = "yes"; then
30296 cat >>confdefs.h
<<\_ACEOF
30297 #define wxUSE_LONGLONG 1
30302 if test "$wxUSE_GEOMETRY" = "yes"; then
30303 cat >>confdefs.h
<<\_ACEOF
30304 #define wxUSE_GEOMETRY 1
30309 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
30310 cat >>confdefs.h
<<\_ACEOF
30311 #define wxUSE_DIALUP_MANAGER 1
30314 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
30317 if test "$wxUSE_STREAMS" = "yes" ; then
30318 cat >>confdefs.h
<<\_ACEOF
30319 #define wxUSE_STREAMS 1
30325 if test "$wxUSE_DATETIME" = "yes"; then
30327 for ac_func
in strptime
30329 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30330 echo "$as_me:$LINENO: checking for $ac_func" >&5
30331 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30332 if eval "test \"\${$as_ac_var+set}\" = set"; then
30333 echo $ECHO_N "(cached) $ECHO_C" >&6
30335 cat >conftest.
$ac_ext <<_ACEOF
30336 #line $LINENO "configure"
30339 cat confdefs.h
>>conftest.
$ac_ext
30340 cat >>conftest.
$ac_ext <<_ACEOF
30341 /* end confdefs.h. */
30342 /* System header to define __stub macros and hopefully few prototypes,
30343 which can conflict with char $ac_func (); below.
30344 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30345 <limits.h> exists even on freestanding compilers. */
30347 # include <limits.h>
30349 # include <assert.h>
30351 /* Override any gcc2 internal prototype to avoid an error. */
30356 /* We use char because int might match the return type of a gcc2
30357 builtin and then its argument prototype would still apply. */
30359 /* The GNU C library defines this for functions which it implements
30360 to always fail with ENOSYS. Some functions are actually named
30361 something starting with __ and the normal name is an alias. */
30362 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30365 char (*f) () = $ac_func;
30374 return f != $ac_func;
30379 rm -f conftest.
$ac_objext conftest
$ac_exeext
30380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30381 (eval $ac_link) 2>&5
30383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30384 (exit $ac_status); } &&
30385 { ac_try
='test -s conftest$ac_exeext'
30386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30387 (eval $ac_try) 2>&5
30389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30390 (exit $ac_status); }; }; then
30391 eval "$as_ac_var=yes"
30393 echo "$as_me: failed program was:" >&5
30394 sed 's/^/| /' conftest.
$ac_ext >&5
30396 eval "$as_ac_var=no"
30398 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30401 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30402 if test `eval echo '${'$as_ac_var'}'` = yes; then
30403 cat >>confdefs.h
<<_ACEOF
30404 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30411 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
30412 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
30413 if test "${wx_cv_var_timezone+set}" = set; then
30414 echo $ECHO_N "(cached) $ECHO_C" >&6
30417 cat >conftest.
$ac_ext <<_ACEOF
30418 #line $LINENO "configure"
30421 cat confdefs.h
>>conftest.
$ac_ext
30422 cat >>conftest.
$ac_ext <<_ACEOF
30423 /* end confdefs.h. */
30438 rm -f conftest.
$ac_objext
30439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30440 (eval $ac_compile) 2>&5
30442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30443 (exit $ac_status); } &&
30444 { ac_try
='test -s conftest.$ac_objext'
30445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30446 (eval $ac_try) 2>&5
30448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30449 (exit $ac_status); }; }; then
30451 wx_cv_var_timezone
=timezone
30454 echo "$as_me: failed program was:" >&5
30455 sed 's/^/| /' conftest.
$ac_ext >&5
30458 cat >conftest.
$ac_ext <<_ACEOF
30459 #line $LINENO "configure"
30462 cat confdefs.h
>>conftest.
$ac_ext
30463 cat >>conftest.
$ac_ext <<_ACEOF
30464 /* end confdefs.h. */
30479 rm -f conftest.
$ac_objext
30480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30481 (eval $ac_compile) 2>&5
30483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30484 (exit $ac_status); } &&
30485 { ac_try
='test -s conftest.$ac_objext'
30486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30487 (eval $ac_try) 2>&5
30489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30490 (exit $ac_status); }; }; then
30492 wx_cv_var_timezone
=_timezone
30495 echo "$as_me: failed program was:" >&5
30496 sed 's/^/| /' conftest.
$ac_ext >&5
30499 cat >conftest.
$ac_ext <<_ACEOF
30500 #line $LINENO "configure"
30503 cat confdefs.h
>>conftest.
$ac_ext
30504 cat >>conftest.
$ac_ext <<_ACEOF
30505 /* end confdefs.h. */
30520 rm -f conftest.
$ac_objext
30521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30522 (eval $ac_compile) 2>&5
30524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30525 (exit $ac_status); } &&
30526 { ac_try
='test -s conftest.$ac_objext'
30527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30528 (eval $ac_try) 2>&5
30530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30531 (exit $ac_status); }; }; then
30533 wx_cv_var_timezone
=__timezone
30536 echo "$as_me: failed program was:" >&5
30537 sed 's/^/| /' conftest.
$ac_ext >&5
30540 if test "$USE_DOS" = 0 ; then
30541 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
30542 echo "$as_me: WARNING: no timezone variable" >&2;}
30547 rm -f conftest.
$ac_objext conftest.
$ac_ext
30551 rm -f conftest.
$ac_objext conftest.
$ac_ext
30555 rm -f conftest.
$ac_objext conftest.
$ac_ext
30559 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
30560 echo "${ECHO_T}$wx_cv_var_timezone" >&6
30562 if test "x$wx_cv_var_timezone" != x
; then
30563 cat >>confdefs.h
<<_ACEOF
30564 #define WX_TIMEZONE $wx_cv_var_timezone
30570 for ac_func
in localtime
30572 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30573 echo "$as_me:$LINENO: checking for $ac_func" >&5
30574 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30575 if eval "test \"\${$as_ac_var+set}\" = set"; then
30576 echo $ECHO_N "(cached) $ECHO_C" >&6
30578 cat >conftest.
$ac_ext <<_ACEOF
30579 #line $LINENO "configure"
30582 cat confdefs.h
>>conftest.
$ac_ext
30583 cat >>conftest.
$ac_ext <<_ACEOF
30584 /* end confdefs.h. */
30585 /* System header to define __stub macros and hopefully few prototypes,
30586 which can conflict with char $ac_func (); below.
30587 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30588 <limits.h> exists even on freestanding compilers. */
30590 # include <limits.h>
30592 # include <assert.h>
30594 /* Override any gcc2 internal prototype to avoid an error. */
30599 /* We use char because int might match the return type of a gcc2
30600 builtin and then its argument prototype would still apply. */
30602 /* The GNU C library defines this for functions which it implements
30603 to always fail with ENOSYS. Some functions are actually named
30604 something starting with __ and the normal name is an alias. */
30605 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30608 char (*f) () = $ac_func;
30617 return f != $ac_func;
30622 rm -f conftest.
$ac_objext conftest
$ac_exeext
30623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30624 (eval $ac_link) 2>&5
30626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30627 (exit $ac_status); } &&
30628 { ac_try
='test -s conftest$ac_exeext'
30629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30630 (eval $ac_try) 2>&5
30632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30633 (exit $ac_status); }; }; then
30634 eval "$as_ac_var=yes"
30636 echo "$as_me: failed program was:" >&5
30637 sed 's/^/| /' conftest.
$ac_ext >&5
30639 eval "$as_ac_var=no"
30641 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30644 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30645 if test `eval echo '${'$as_ac_var'}'` = yes; then
30646 cat >>confdefs.h
<<_ACEOF
30647 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30654 if test "$ac_cv_func_localtime" = "yes"; then
30655 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
30656 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
30657 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
30658 echo $ECHO_N "(cached) $ECHO_C" >&6
30661 cat >conftest.
$ac_ext <<_ACEOF
30662 #line $LINENO "configure"
30665 cat confdefs.h
>>conftest.
$ac_ext
30666 cat >>conftest.
$ac_ext <<_ACEOF
30667 /* end confdefs.h. */
30682 rm -f conftest.
$ac_objext
30683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30684 (eval $ac_compile) 2>&5
30686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30687 (exit $ac_status); } &&
30688 { ac_try
='test -s conftest.$ac_objext'
30689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30690 (eval $ac_try) 2>&5
30692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30693 (exit $ac_status); }; }; then
30695 wx_cv_struct_tm_has_gmtoff
=yes
30698 echo "$as_me: failed program was:" >&5
30699 sed 's/^/| /' conftest.
$ac_ext >&5
30701 wx_cv_struct_tm_has_gmtoff
=no
30704 rm -f conftest.
$ac_objext conftest.
$ac_ext
30707 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
30708 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
30711 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
30712 cat >>confdefs.h
<<\_ACEOF
30713 #define WX_GMTOFF_IN_TM 1
30720 for ac_func
in gettimeofday ftime
30722 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30723 echo "$as_me:$LINENO: checking for $ac_func" >&5
30724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30725 if eval "test \"\${$as_ac_var+set}\" = set"; then
30726 echo $ECHO_N "(cached) $ECHO_C" >&6
30728 cat >conftest.
$ac_ext <<_ACEOF
30729 #line $LINENO "configure"
30732 cat confdefs.h
>>conftest.
$ac_ext
30733 cat >>conftest.
$ac_ext <<_ACEOF
30734 /* end confdefs.h. */
30735 /* System header to define __stub macros and hopefully few prototypes,
30736 which can conflict with char $ac_func (); below.
30737 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30738 <limits.h> exists even on freestanding compilers. */
30740 # include <limits.h>
30742 # include <assert.h>
30744 /* Override any gcc2 internal prototype to avoid an error. */
30749 /* We use char because int might match the return type of a gcc2
30750 builtin and then its argument prototype would still apply. */
30752 /* The GNU C library defines this for functions which it implements
30753 to always fail with ENOSYS. Some functions are actually named
30754 something starting with __ and the normal name is an alias. */
30755 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30758 char (*f) () = $ac_func;
30767 return f != $ac_func;
30772 rm -f conftest.
$ac_objext conftest
$ac_exeext
30773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30774 (eval $ac_link) 2>&5
30776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30777 (exit $ac_status); } &&
30778 { ac_try
='test -s conftest$ac_exeext'
30779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30780 (eval $ac_try) 2>&5
30782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30783 (exit $ac_status); }; }; then
30784 eval "$as_ac_var=yes"
30786 echo "$as_me: failed program was:" >&5
30787 sed 's/^/| /' conftest.
$ac_ext >&5
30789 eval "$as_ac_var=no"
30791 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30794 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30795 if test `eval echo '${'$as_ac_var'}'` = yes; then
30796 cat >>confdefs.h
<<_ACEOF
30797 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30804 if test "$ac_cv_func_gettimeofday" = "yes"; then
30805 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
30806 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
30807 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
30808 echo $ECHO_N "(cached) $ECHO_C" >&6
30814 ac_cpp
='$CXXCPP $CPPFLAGS'
30815 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30816 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30817 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30820 cat >conftest.
$ac_ext <<_ACEOF
30821 #line $LINENO "configure"
30824 cat confdefs.h
>>conftest.
$ac_ext
30825 cat >>conftest.
$ac_ext <<_ACEOF
30826 /* end confdefs.h. */
30828 #include <sys/time.h>
30829 #include <unistd.h>
30836 gettimeofday(&tv, NULL);
30842 rm -f conftest.
$ac_objext
30843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30844 (eval $ac_compile) 2>&5
30846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30847 (exit $ac_status); } &&
30848 { ac_try
='test -s conftest.$ac_objext'
30849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30850 (eval $ac_try) 2>&5
30852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30853 (exit $ac_status); }; }; then
30854 wx_cv_func_gettimeofday_has_2_args
=yes
30856 echo "$as_me: failed program was:" >&5
30857 sed 's/^/| /' conftest.
$ac_ext >&5
30859 cat >conftest.
$ac_ext <<_ACEOF
30860 #line $LINENO "configure"
30863 cat confdefs.h
>>conftest.
$ac_ext
30864 cat >>conftest.
$ac_ext <<_ACEOF
30865 /* end confdefs.h. */
30867 #include <sys/time.h>
30868 #include <unistd.h>
30881 rm -f conftest.
$ac_objext
30882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30883 (eval $ac_compile) 2>&5
30885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30886 (exit $ac_status); } &&
30887 { ac_try
='test -s conftest.$ac_objext'
30888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30889 (eval $ac_try) 2>&5
30891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30892 (exit $ac_status); }; }; then
30893 wx_cv_func_gettimeofday_has_2_args
=no
30895 echo "$as_me: failed program was:" >&5
30896 sed 's/^/| /' conftest.
$ac_ext >&5
30899 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
30900 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
30901 wx_cv_func_gettimeofday_has_2_args
=unknown
30905 rm -f conftest.
$ac_objext conftest.
$ac_ext
30908 rm -f conftest.
$ac_objext conftest.
$ac_ext
30910 ac_cpp
='$CPP $CPPFLAGS'
30911 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30912 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30913 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30917 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
30918 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
30920 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
30921 cat >>confdefs.h
<<\_ACEOF
30922 #define WX_GETTIMEOFDAY_NO_TZ 1
30928 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
30932 if test "$wxUSE_SOCKETS" = "yes"; then
30933 if test "$wxUSE_MGL" = "1"; then
30934 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
30935 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
30938 if test "$wxUSE_COCOA" = "1"; then
30939 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under Cocoa... disabled" >&5
30940 echo "$as_me: WARNING: wxSocket not yet supported under Cocoa... disabled" >&2;}
30945 if test "$wxUSE_SOCKETS" = "yes"; then
30946 if test "$TOOLKIT" != "MSW"; then
30947 echo "$as_me:$LINENO: checking for socket" >&5
30948 echo $ECHO_N "checking for socket... $ECHO_C" >&6
30949 if test "${ac_cv_func_socket+set}" = set; then
30950 echo $ECHO_N "(cached) $ECHO_C" >&6
30952 cat >conftest.
$ac_ext <<_ACEOF
30953 #line $LINENO "configure"
30956 cat confdefs.h
>>conftest.
$ac_ext
30957 cat >>conftest.
$ac_ext <<_ACEOF
30958 /* end confdefs.h. */
30959 /* System header to define __stub macros and hopefully few prototypes,
30960 which can conflict with char socket (); below.
30961 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30962 <limits.h> exists even on freestanding compilers. */
30964 # include <limits.h>
30966 # include <assert.h>
30968 /* Override any gcc2 internal prototype to avoid an error. */
30973 /* We use char because int might match the return type of a gcc2
30974 builtin and then its argument prototype would still apply. */
30976 /* The GNU C library defines this for functions which it implements
30977 to always fail with ENOSYS. Some functions are actually named
30978 something starting with __ and the normal name is an alias. */
30979 #if defined (__stub_socket) || defined (__stub___socket)
30982 char (*f) () = socket;
30991 return f != socket;
30996 rm -f conftest.
$ac_objext conftest
$ac_exeext
30997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30998 (eval $ac_link) 2>&5
31000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31001 (exit $ac_status); } &&
31002 { ac_try
='test -s conftest$ac_exeext'
31003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31004 (eval $ac_try) 2>&5
31006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31007 (exit $ac_status); }; }; then
31008 ac_cv_func_socket
=yes
31010 echo "$as_me: failed program was:" >&5
31011 sed 's/^/| /' conftest.
$ac_ext >&5
31013 ac_cv_func_socket
=no
31015 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31017 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
31018 echo "${ECHO_T}$ac_cv_func_socket" >&6
31019 if test $ac_cv_func_socket = yes; then
31022 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
31023 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
31024 if test "${ac_cv_lib_socket_socket+set}" = set; then
31025 echo $ECHO_N "(cached) $ECHO_C" >&6
31027 ac_check_lib_save_LIBS
=$LIBS
31028 LIBS
="-lsocket $LIBS"
31029 cat >conftest.
$ac_ext <<_ACEOF
31030 #line $LINENO "configure"
31033 cat confdefs.h
>>conftest.
$ac_ext
31034 cat >>conftest.
$ac_ext <<_ACEOF
31035 /* end confdefs.h. */
31037 /* Override any gcc2 internal prototype to avoid an error. */
31041 /* We use char because int might match the return type of a gcc2
31042 builtin and then its argument prototype would still apply. */
31052 rm -f conftest.
$ac_objext conftest
$ac_exeext
31053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31054 (eval $ac_link) 2>&5
31056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31057 (exit $ac_status); } &&
31058 { ac_try
='test -s conftest$ac_exeext'
31059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31060 (eval $ac_try) 2>&5
31062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31063 (exit $ac_status); }; }; then
31064 ac_cv_lib_socket_socket
=yes
31066 echo "$as_me: failed program was:" >&5
31067 sed 's/^/| /' conftest.
$ac_ext >&5
31069 ac_cv_lib_socket_socket
=no
31071 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31072 LIBS
=$ac_check_lib_save_LIBS
31074 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
31075 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
31076 if test $ac_cv_lib_socket_socket = yes; then
31077 if test "$INET_LINK" != " -lsocket"; then
31078 INET_LINK
="$INET_LINK -lsocket"
31082 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
31083 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
31095 if test "$wxUSE_SOCKETS" = "yes" ; then
31096 if test "$TOOLKIT" != "MSW"; then
31097 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
31098 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
31099 if test "${wx_cv_type_getsockname3+set}" = set; then
31100 echo $ECHO_N "(cached) $ECHO_C" >&6
31103 cat >conftest.
$ac_ext <<_ACEOF
31104 #line $LINENO "configure"
31107 cat confdefs.h
>>conftest.
$ac_ext
31108 cat >>conftest.
$ac_ext <<_ACEOF
31109 /* end confdefs.h. */
31111 #include <sys/types.h>
31112 #include <sys/socket.h>
31119 getsockname(0, 0, &len);
31125 rm -f conftest.
$ac_objext
31126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31127 (eval $ac_compile) 2>&5
31129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31130 (exit $ac_status); } &&
31131 { ac_try
='test -s conftest.$ac_objext'
31132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31133 (eval $ac_try) 2>&5
31135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31136 (exit $ac_status); }; }; then
31137 wx_cv_type_getsockname3
=socklen_t
31139 echo "$as_me: failed program was:" >&5
31140 sed 's/^/| /' conftest.
$ac_ext >&5
31143 CFLAGS_OLD
="$CFLAGS"
31144 if test "$GCC" = yes ; then
31145 CFLAGS
="$CFLAGS -Werror"
31148 cat >conftest.
$ac_ext <<_ACEOF
31149 #line $LINENO "configure"
31152 cat confdefs.h
>>conftest.
$ac_ext
31153 cat >>conftest.
$ac_ext <<_ACEOF
31154 /* end confdefs.h. */
31156 #include <sys/types.h>
31157 #include <sys/socket.h>
31164 getsockname(0, 0, &len);
31170 rm -f conftest.
$ac_objext
31171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31172 (eval $ac_compile) 2>&5
31174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31175 (exit $ac_status); } &&
31176 { ac_try
='test -s conftest.$ac_objext'
31177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31178 (eval $ac_try) 2>&5
31180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31181 (exit $ac_status); }; }; then
31182 wx_cv_type_getsockname3
=size_t
31184 echo "$as_me: failed program was:" >&5
31185 sed 's/^/| /' conftest.
$ac_ext >&5
31187 cat >conftest.
$ac_ext <<_ACEOF
31188 #line $LINENO "configure"
31191 cat confdefs.h
>>conftest.
$ac_ext
31192 cat >>conftest.
$ac_ext <<_ACEOF
31193 /* end confdefs.h. */
31195 #include <sys/types.h>
31196 #include <sys/socket.h>
31203 getsockname(0, 0, &len);
31209 rm -f conftest.
$ac_objext
31210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31211 (eval $ac_compile) 2>&5
31213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31214 (exit $ac_status); } &&
31215 { ac_try
='test -s conftest.$ac_objext'
31216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31217 (eval $ac_try) 2>&5
31219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31220 (exit $ac_status); }; }; then
31221 wx_cv_type_getsockname3
=int
31223 echo "$as_me: failed program was:" >&5
31224 sed 's/^/| /' conftest.
$ac_ext >&5
31226 wx_cv_type_getsockname3
=unknown
31229 rm -f conftest.
$ac_objext conftest.
$ac_ext
31232 rm -f conftest.
$ac_objext conftest.
$ac_ext
31234 CFLAGS
="$CFLAGS_OLD"
31238 rm -f conftest.
$ac_objext conftest.
$ac_ext
31241 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
31242 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
31244 if test "$wx_cv_type_getsockname3" = "unknown"; then
31246 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
31247 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
31249 cat >>confdefs.h
<<_ACEOF
31250 #define SOCKLEN_T $wx_cv_type_getsockname3
31257 if test "$wxUSE_SOCKETS" = "yes" ; then
31258 cat >>confdefs.h
<<\_ACEOF
31259 #define wxUSE_SOCKETS 1
31262 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
31265 if test "$wxUSE_PROTOCOL" = "yes"; then
31266 if test "$wxUSE_SOCKETS" != "yes"; then
31267 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
31268 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
31273 if test "$wxUSE_PROTOCOL" = "yes"; then
31274 cat >>confdefs.h
<<\_ACEOF
31275 #define wxUSE_PROTOCOL 1
31279 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
31280 cat >>confdefs.h
<<\_ACEOF
31281 #define wxUSE_PROTOCOL_HTTP 1
31285 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
31286 cat >>confdefs.h
<<\_ACEOF
31287 #define wxUSE_PROTOCOL_FTP 1
31291 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
31292 cat >>confdefs.h
<<\_ACEOF
31293 #define wxUSE_PROTOCOL_FILE 1
31298 if test "$wxUSE_FS_INET" = "yes"; then
31299 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
31300 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
31305 if test "$wxUSE_URL" = "yes"; then
31306 if test "$wxUSE_PROTOCOL" != "yes"; then
31307 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
31308 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
31311 if test "$wxUSE_URL" = "yes"; then
31312 cat >>confdefs.h
<<\_ACEOF
31313 #define wxUSE_URL 1
31319 if test "$wxUSE_FS_INET" = "yes"; then
31320 cat >>confdefs.h
<<\_ACEOF
31321 #define wxUSE_FS_INET 1
31327 if test "$wxUSE_GUI" = "yes"; then
31329 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
31330 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
31331 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
31335 if test "$TOOLKIT" != "MSW"; then
31336 if test "$wxUSE_JOYSTICK" = "yes"; then
31338 for ac_header
in linux
/joystick.h
31340 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31341 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31342 echo "$as_me:$LINENO: checking for $ac_header" >&5
31343 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31344 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31345 echo $ECHO_N "(cached) $ECHO_C" >&6
31347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31348 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31350 # Is the header compilable?
31351 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31352 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31353 cat >conftest.
$ac_ext <<_ACEOF
31354 #line $LINENO "configure"
31357 cat confdefs.h
>>conftest.
$ac_ext
31358 cat >>conftest.
$ac_ext <<_ACEOF
31359 /* end confdefs.h. */
31360 $ac_includes_default
31361 #include <$ac_header>
31363 rm -f conftest.
$ac_objext
31364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31365 (eval $ac_compile) 2>&5
31367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31368 (exit $ac_status); } &&
31369 { ac_try
='test -s conftest.$ac_objext'
31370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31371 (eval $ac_try) 2>&5
31373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31374 (exit $ac_status); }; }; then
31375 ac_header_compiler
=yes
31377 echo "$as_me: failed program was:" >&5
31378 sed 's/^/| /' conftest.
$ac_ext >&5
31380 ac_header_compiler
=no
31382 rm -f conftest.
$ac_objext conftest.
$ac_ext
31383 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31384 echo "${ECHO_T}$ac_header_compiler" >&6
31386 # Is the header present?
31387 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31388 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31389 cat >conftest.
$ac_ext <<_ACEOF
31390 #line $LINENO "configure"
31393 cat confdefs.h
>>conftest.
$ac_ext
31394 cat >>conftest.
$ac_ext <<_ACEOF
31395 /* end confdefs.h. */
31396 #include <$ac_header>
31398 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31399 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31401 grep -v '^ *+' conftest.er1
>conftest.err
31403 cat conftest.err
>&5
31404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31405 (exit $ac_status); } >/dev
/null
; then
31406 if test -s conftest.err
; then
31407 ac_cpp_err
=$ac_c_preproc_warn_flag
31414 if test -z "$ac_cpp_err"; then
31415 ac_header_preproc
=yes
31417 echo "$as_me: failed program was:" >&5
31418 sed 's/^/| /' conftest.
$ac_ext >&5
31420 ac_header_preproc
=no
31422 rm -f conftest.err conftest.
$ac_ext
31423 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31424 echo "${ECHO_T}$ac_header_preproc" >&6
31426 # So? What about this header?
31427 case $ac_header_compiler:$ac_header_preproc in
31429 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31430 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31431 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31432 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31435 ## ------------------------------------ ##
31436 ## Report this to bug-autoconf@gnu.org. ##
31437 ## ------------------------------------ ##
31440 sed "s/^/$as_me: WARNING: /" >&2
31443 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31444 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31445 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31446 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31447 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31448 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31451 ## ------------------------------------ ##
31452 ## Report this to bug-autoconf@gnu.org. ##
31453 ## ------------------------------------ ##
31456 sed "s/^/$as_me: WARNING: /" >&2
31459 echo "$as_me:$LINENO: checking for $ac_header" >&5
31460 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31461 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31462 echo $ECHO_N "(cached) $ECHO_C" >&6
31464 eval "$as_ac_Header=$ac_header_preproc"
31466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31467 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31470 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31471 cat >>confdefs.h
<<_ACEOF
31472 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31479 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
31481 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
31482 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
31487 if test "$wxUSE_JOYSTICK" = "yes"; then
31488 cat >>confdefs.h
<<\_ACEOF
31489 #define wxUSE_JOYSTICK 1
31492 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
31497 if test "$TOOLKIT" != "MSW"; then
31501 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31502 if test "$USE_DARWIN" = 1; then
31506 for ac_func
in dlopen
31508 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31509 echo "$as_me:$LINENO: checking for $ac_func" >&5
31510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31511 if eval "test \"\${$as_ac_var+set}\" = set"; then
31512 echo $ECHO_N "(cached) $ECHO_C" >&6
31514 cat >conftest.
$ac_ext <<_ACEOF
31515 #line $LINENO "configure"
31518 cat confdefs.h
>>conftest.
$ac_ext
31519 cat >>conftest.
$ac_ext <<_ACEOF
31520 /* end confdefs.h. */
31521 /* System header to define __stub macros and hopefully few prototypes,
31522 which can conflict with char $ac_func (); below.
31523 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31524 <limits.h> exists even on freestanding compilers. */
31526 # include <limits.h>
31528 # include <assert.h>
31530 /* Override any gcc2 internal prototype to avoid an error. */
31535 /* We use char because int might match the return type of a gcc2
31536 builtin and then its argument prototype would still apply. */
31538 /* The GNU C library defines this for functions which it implements
31539 to always fail with ENOSYS. Some functions are actually named
31540 something starting with __ and the normal name is an alias. */
31541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31544 char (*f) () = $ac_func;
31553 return f != $ac_func;
31558 rm -f conftest.
$ac_objext conftest
$ac_exeext
31559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31560 (eval $ac_link) 2>&5
31562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31563 (exit $ac_status); } &&
31564 { ac_try
='test -s conftest$ac_exeext'
31565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31566 (eval $ac_try) 2>&5
31568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31569 (exit $ac_status); }; }; then
31570 eval "$as_ac_var=yes"
31572 echo "$as_me: failed program was:" >&5
31573 sed 's/^/| /' conftest.
$ac_ext >&5
31575 eval "$as_ac_var=no"
31577 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31580 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31581 if test `eval echo '${'$as_ac_var'}'` = yes; then
31582 cat >>confdefs.h
<<_ACEOF
31583 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31586 cat >>confdefs.h
<<\_ACEOF
31587 #define HAVE_DLOPEN 1
31594 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
31595 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
31596 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
31597 echo $ECHO_N "(cached) $ECHO_C" >&6
31599 ac_check_lib_save_LIBS
=$LIBS
31601 cat >conftest.
$ac_ext <<_ACEOF
31602 #line $LINENO "configure"
31605 cat confdefs.h
>>conftest.
$ac_ext
31606 cat >>conftest.
$ac_ext <<_ACEOF
31607 /* end confdefs.h. */
31609 /* Override any gcc2 internal prototype to avoid an error. */
31613 /* We use char because int might match the return type of a gcc2
31614 builtin and then its argument prototype would still apply. */
31624 rm -f conftest.
$ac_objext conftest
$ac_exeext
31625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31626 (eval $ac_link) 2>&5
31628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31629 (exit $ac_status); } &&
31630 { ac_try
='test -s conftest$ac_exeext'
31631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31632 (eval $ac_try) 2>&5
31634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31635 (exit $ac_status); }; }; then
31636 ac_cv_lib_dl_dlopen
=yes
31638 echo "$as_me: failed program was:" >&5
31639 sed 's/^/| /' conftest.
$ac_ext >&5
31641 ac_cv_lib_dl_dlopen
=no
31643 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31644 LIBS
=$ac_check_lib_save_LIBS
31646 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
31647 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
31648 if test $ac_cv_lib_dl_dlopen = yes; then
31650 cat >>confdefs.h
<<\_ACEOF
31651 #define HAVE_DLOPEN 1
31655 DL_LINK
=" -ldl$DL_LINK"
31660 for ac_func
in shl_load
31662 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31663 echo "$as_me:$LINENO: checking for $ac_func" >&5
31664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31665 if eval "test \"\${$as_ac_var+set}\" = set"; then
31666 echo $ECHO_N "(cached) $ECHO_C" >&6
31668 cat >conftest.
$ac_ext <<_ACEOF
31669 #line $LINENO "configure"
31672 cat confdefs.h
>>conftest.
$ac_ext
31673 cat >>conftest.
$ac_ext <<_ACEOF
31674 /* end confdefs.h. */
31675 /* System header to define __stub macros and hopefully few prototypes,
31676 which can conflict with char $ac_func (); below.
31677 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31678 <limits.h> exists even on freestanding compilers. */
31680 # include <limits.h>
31682 # include <assert.h>
31684 /* Override any gcc2 internal prototype to avoid an error. */
31689 /* We use char because int might match the return type of a gcc2
31690 builtin and then its argument prototype would still apply. */
31692 /* The GNU C library defines this for functions which it implements
31693 to always fail with ENOSYS. Some functions are actually named
31694 something starting with __ and the normal name is an alias. */
31695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31698 char (*f) () = $ac_func;
31707 return f != $ac_func;
31712 rm -f conftest.
$ac_objext conftest
$ac_exeext
31713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31714 (eval $ac_link) 2>&5
31716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31717 (exit $ac_status); } &&
31718 { ac_try
='test -s conftest$ac_exeext'
31719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31720 (eval $ac_try) 2>&5
31722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31723 (exit $ac_status); }; }; then
31724 eval "$as_ac_var=yes"
31726 echo "$as_me: failed program was:" >&5
31727 sed 's/^/| /' conftest.
$ac_ext >&5
31729 eval "$as_ac_var=no"
31731 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31735 if test `eval echo '${'$as_ac_var'}'` = yes; then
31736 cat >>confdefs.h
<<_ACEOF
31737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31740 cat >>confdefs.h
<<\_ACEOF
31741 #define HAVE_SHL_LOAD 1
31748 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
31749 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
31750 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
31751 echo $ECHO_N "(cached) $ECHO_C" >&6
31753 ac_check_lib_save_LIBS
=$LIBS
31754 LIBS
="-lshl_load $LIBS"
31755 cat >conftest.
$ac_ext <<_ACEOF
31756 #line $LINENO "configure"
31759 cat confdefs.h
>>conftest.
$ac_ext
31760 cat >>conftest.
$ac_ext <<_ACEOF
31761 /* end confdefs.h. */
31763 /* Override any gcc2 internal prototype to avoid an error. */
31767 /* We use char because int might match the return type of a gcc2
31768 builtin and then its argument prototype would still apply. */
31778 rm -f conftest.
$ac_objext conftest
$ac_exeext
31779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31780 (eval $ac_link) 2>&5
31782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31783 (exit $ac_status); } &&
31784 { ac_try
='test -s conftest$ac_exeext'
31785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31786 (eval $ac_try) 2>&5
31788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31789 (exit $ac_status); }; }; then
31790 ac_cv_lib_shl_load_dld
=yes
31792 echo "$as_me: failed program was:" >&5
31793 sed 's/^/| /' conftest.
$ac_ext >&5
31795 ac_cv_lib_shl_load_dld
=no
31797 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31798 LIBS
=$ac_check_lib_save_LIBS
31800 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
31801 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
31802 if test $ac_cv_lib_shl_load_dld = yes; then
31805 DL_LINK
=" -ldld$DL_LINK"
31821 if test "$HAVE_DL_FUNCS" = 1; then
31823 for ac_func
in dlerror
31825 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31826 echo "$as_me:$LINENO: checking for $ac_func" >&5
31827 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31828 if eval "test \"\${$as_ac_var+set}\" = set"; then
31829 echo $ECHO_N "(cached) $ECHO_C" >&6
31831 cat >conftest.
$ac_ext <<_ACEOF
31832 #line $LINENO "configure"
31835 cat confdefs.h
>>conftest.
$ac_ext
31836 cat >>conftest.
$ac_ext <<_ACEOF
31837 /* end confdefs.h. */
31838 /* System header to define __stub macros and hopefully few prototypes,
31839 which can conflict with char $ac_func (); below.
31840 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31841 <limits.h> exists even on freestanding compilers. */
31843 # include <limits.h>
31845 # include <assert.h>
31847 /* Override any gcc2 internal prototype to avoid an error. */
31852 /* We use char because int might match the return type of a gcc2
31853 builtin and then its argument prototype would still apply. */
31855 /* The GNU C library defines this for functions which it implements
31856 to always fail with ENOSYS. Some functions are actually named
31857 something starting with __ and the normal name is an alias. */
31858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31861 char (*f) () = $ac_func;
31870 return f != $ac_func;
31875 rm -f conftest.
$ac_objext conftest
$ac_exeext
31876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31877 (eval $ac_link) 2>&5
31879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31880 (exit $ac_status); } &&
31881 { ac_try
='test -s conftest$ac_exeext'
31882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31883 (eval $ac_try) 2>&5
31885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31886 (exit $ac_status); }; }; then
31887 eval "$as_ac_var=yes"
31889 echo "$as_me: failed program was:" >&5
31890 sed 's/^/| /' conftest.
$ac_ext >&5
31892 eval "$as_ac_var=no"
31894 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31897 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31898 if test `eval echo '${'$as_ac_var'}'` = yes; then
31899 cat >>confdefs.h
<<_ACEOF
31900 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31902 cat >>confdefs.h
<<\_ACEOF
31903 #define HAVE_DLERROR 1
31907 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
31908 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
31909 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
31910 echo $ECHO_N "(cached) $ECHO_C" >&6
31912 ac_check_lib_save_LIBS
=$LIBS
31914 cat >conftest.
$ac_ext <<_ACEOF
31915 #line $LINENO "configure"
31918 cat confdefs.h
>>conftest.
$ac_ext
31919 cat >>conftest.
$ac_ext <<_ACEOF
31920 /* end confdefs.h. */
31922 /* Override any gcc2 internal prototype to avoid an error. */
31926 /* We use char because int might match the return type of a gcc2
31927 builtin and then its argument prototype would still apply. */
31937 rm -f conftest.
$ac_objext conftest
$ac_exeext
31938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31939 (eval $ac_link) 2>&5
31941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31942 (exit $ac_status); } &&
31943 { ac_try
='test -s conftest$ac_exeext'
31944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31945 (eval $ac_try) 2>&5
31947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31948 (exit $ac_status); }; }; then
31949 ac_cv_lib_dl_dlerror
=yes
31951 echo "$as_me: failed program was:" >&5
31952 sed 's/^/| /' conftest.
$ac_ext >&5
31954 ac_cv_lib_dl_dlerror
=no
31956 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31957 LIBS
=$ac_check_lib_save_LIBS
31959 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
31960 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
31961 if test $ac_cv_lib_dl_dlerror = yes; then
31962 cat >>confdefs.h
<<\_ACEOF
31963 #define HAVE_DLERROR 1
31974 if test "$HAVE_DL_FUNCS" = 0; then
31975 if test "$HAVE_SHL_FUNCS" = 0; then
31976 if test "$USE_UNIX" = 1; then
31977 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
31978 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
31979 wxUSE_DYNAMIC_LOADER
=no
31980 wxUSE_DYNLIB_CLASS
=no
31982 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
31983 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
31990 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
31991 cat >>confdefs.h
<<\_ACEOF
31992 #define wxUSE_DYNAMIC_LOADER 1
31996 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31997 cat >>confdefs.h
<<\_ACEOF
31998 #define wxUSE_DYNLIB_CLASS 1
32004 if test "$wxUSE_FONTMAP" = "yes" ; then
32005 cat >>confdefs.h
<<\_ACEOF
32006 #define wxUSE_FONTMAP 1
32011 if test "$wxUSE_UNICODE" = "yes" ; then
32012 cat >>confdefs.h
<<\_ACEOF
32013 #define wxUSE_UNICODE 1
32017 if test "$USE_WIN32" != 1; then
32018 wxUSE_UNICODE_MSLU
=no
32021 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
32022 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
32023 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
32024 if test "${ac_cv_lib_unicows_main+set}" = set; then
32025 echo $ECHO_N "(cached) $ECHO_C" >&6
32027 ac_check_lib_save_LIBS
=$LIBS
32028 LIBS
="-lunicows $LIBS"
32029 cat >conftest.
$ac_ext <<_ACEOF
32030 #line $LINENO "configure"
32033 cat confdefs.h
>>conftest.
$ac_ext
32034 cat >>conftest.
$ac_ext <<_ACEOF
32035 /* end confdefs.h. */
32046 rm -f conftest.
$ac_objext conftest
$ac_exeext
32047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32048 (eval $ac_link) 2>&5
32050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32051 (exit $ac_status); } &&
32052 { ac_try
='test -s conftest$ac_exeext'
32053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32054 (eval $ac_try) 2>&5
32056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32057 (exit $ac_status); }; }; then
32058 ac_cv_lib_unicows_main
=yes
32060 echo "$as_me: failed program was:" >&5
32061 sed 's/^/| /' conftest.
$ac_ext >&5
32063 ac_cv_lib_unicows_main
=no
32065 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32066 LIBS
=$ac_check_lib_save_LIBS
32068 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
32069 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
32070 if test $ac_cv_lib_unicows_main = yes; then
32072 cat >>confdefs.h
<<\_ACEOF
32073 #define wxUSE_UNICODE_MSLU 1
32079 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32080 Applications will only run on Windows NT/2000/XP!" >&5
32081 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32082 Applications will only run on Windows NT/2000/XP!" >&2;}
32083 wxUSE_UNICODE_MSLU
=no
32090 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
32091 cat >>confdefs.h
<<\_ACEOF
32092 #define wxUSE_EXPERIMENTAL_PRINTF 1
32098 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
32099 cat >>confdefs.h
<<\_ACEOF
32100 #define wxUSE_POSTSCRIPT 1
32105 cat >>confdefs.h
<<\_ACEOF
32106 #define wxUSE_AFM_FOR_POSTSCRIPT 1
32110 cat >>confdefs.h
<<\_ACEOF
32111 #define wxUSE_NORMALIZED_PS_FONTS 1
32116 if test "$wxUSE_CONSTRAINTS" = "yes"; then
32117 cat >>confdefs.h
<<\_ACEOF
32118 #define wxUSE_CONSTRAINTS 1
32121 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
32124 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32125 cat >>confdefs.h
<<\_ACEOF
32126 #define wxUSE_MDI_ARCHITECTURE 1
32129 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
32132 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
32133 cat >>confdefs.h
<<\_ACEOF
32134 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
32137 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
32138 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32139 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
32143 if test "$wxUSE_HELP" = "yes"; then
32144 cat >>confdefs.h
<<\_ACEOF
32145 #define wxUSE_HELP 1
32148 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
32150 if test "$wxUSE_MSW" = 1; then
32151 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
32152 cat >>confdefs.h
<<\_ACEOF
32153 #define wxUSE_MS_HTML_HELP 1
32159 if test "$wxUSE_WXHTML_HELP" = "yes"; then
32160 if test "$wxUSE_HTML" = "yes"; then
32161 cat >>confdefs.h
<<\_ACEOF
32162 #define wxUSE_WXHTML_HELP 1
32166 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
32167 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
32168 wxUSE_WXHTML_HELP
=no
32173 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
32174 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32175 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
32176 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
32178 cat >>confdefs.h
<<\_ACEOF
32179 #define wxUSE_PRINTING_ARCHITECTURE 1
32183 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
32186 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
32187 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
32188 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
32189 { (exit 1); exit 1; }; }
32193 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
32194 -o "$wxUSE_CLIPBOARD" = "yes" \
32195 -o "$wxUSE_OLE" = "yes" \
32196 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
32198 for ac_header
in ole2.h
32200 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32201 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32202 echo "$as_me:$LINENO: checking for $ac_header" >&5
32203 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32204 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32205 echo $ECHO_N "(cached) $ECHO_C" >&6
32207 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32208 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32210 # Is the header compilable?
32211 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32212 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32213 cat >conftest.
$ac_ext <<_ACEOF
32214 #line $LINENO "configure"
32217 cat confdefs.h
>>conftest.
$ac_ext
32218 cat >>conftest.
$ac_ext <<_ACEOF
32219 /* end confdefs.h. */
32220 $ac_includes_default
32221 #include <$ac_header>
32223 rm -f conftest.
$ac_objext
32224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32225 (eval $ac_compile) 2>&5
32227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32228 (exit $ac_status); } &&
32229 { ac_try
='test -s conftest.$ac_objext'
32230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32231 (eval $ac_try) 2>&5
32233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32234 (exit $ac_status); }; }; then
32235 ac_header_compiler
=yes
32237 echo "$as_me: failed program was:" >&5
32238 sed 's/^/| /' conftest.
$ac_ext >&5
32240 ac_header_compiler
=no
32242 rm -f conftest.
$ac_objext conftest.
$ac_ext
32243 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32244 echo "${ECHO_T}$ac_header_compiler" >&6
32246 # Is the header present?
32247 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32248 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32249 cat >conftest.
$ac_ext <<_ACEOF
32250 #line $LINENO "configure"
32253 cat confdefs.h
>>conftest.
$ac_ext
32254 cat >>conftest.
$ac_ext <<_ACEOF
32255 /* end confdefs.h. */
32256 #include <$ac_header>
32258 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32259 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32261 grep -v '^ *+' conftest.er1
>conftest.err
32263 cat conftest.err
>&5
32264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32265 (exit $ac_status); } >/dev
/null
; then
32266 if test -s conftest.err
; then
32267 ac_cpp_err
=$ac_c_preproc_warn_flag
32274 if test -z "$ac_cpp_err"; then
32275 ac_header_preproc
=yes
32277 echo "$as_me: failed program was:" >&5
32278 sed 's/^/| /' conftest.
$ac_ext >&5
32280 ac_header_preproc
=no
32282 rm -f conftest.err conftest.
$ac_ext
32283 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32284 echo "${ECHO_T}$ac_header_preproc" >&6
32286 # So? What about this header?
32287 case $ac_header_compiler:$ac_header_preproc in
32289 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32290 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32291 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32292 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32295 ## ------------------------------------ ##
32296 ## Report this to bug-autoconf@gnu.org. ##
32297 ## ------------------------------------ ##
32300 sed "s/^/$as_me: WARNING: /" >&2
32303 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32304 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32305 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32306 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32307 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32308 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32311 ## ------------------------------------ ##
32312 ## Report this to bug-autoconf@gnu.org. ##
32313 ## ------------------------------------ ##
32316 sed "s/^/$as_me: WARNING: /" >&2
32319 echo "$as_me:$LINENO: checking for $ac_header" >&5
32320 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32321 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32322 echo $ECHO_N "(cached) $ECHO_C" >&6
32324 eval "$as_ac_Header=$ac_header_preproc"
32326 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32327 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32330 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32331 cat >>confdefs.h
<<_ACEOF
32332 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32340 if test "$ac_cv_header_ole2_h" = "yes" ; then
32341 if test "$GCC" = yes ; then
32345 ac_cpp
='$CXXCPP $CPPFLAGS'
32346 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32347 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32348 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32351 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
32352 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
32353 cat >conftest.
$ac_ext <<_ACEOF
32354 #line $LINENO "configure"
32357 cat confdefs.h
>>conftest.
$ac_ext
32358 cat >>conftest.
$ac_ext <<_ACEOF
32359 /* end confdefs.h. */
32360 #include <windows.h>
32370 rm -f conftest.
$ac_objext
32371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32372 (eval $ac_compile) 2>&5
32374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32375 (exit $ac_status); } &&
32376 { ac_try
='test -s conftest.$ac_objext'
32377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32378 (eval $ac_try) 2>&5
32380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32381 (exit $ac_status); }; }; then
32382 echo "$as_me:$LINENO: result: no" >&5
32383 echo "${ECHO_T}no" >&6
32385 echo "$as_me: failed program was:" >&5
32386 sed 's/^/| /' conftest.
$ac_ext >&5
32388 echo "$as_me:$LINENO: result: yes" >&5
32389 echo "${ECHO_T}yes" >&6
32390 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
32392 rm -f conftest.
$ac_objext conftest.
$ac_ext
32394 ac_cpp
='$CPP $CPPFLAGS'
32395 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32396 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32397 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32399 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
32400 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
32401 cat >>confdefs.h
<<\_ACEOF
32402 #define wxUSE_OLE 1
32408 cat >>confdefs.h
<<\_ACEOF
32409 #define wxUSE_DATAOBJ 1
32413 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
32414 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
32417 wxUSE_DRAG_AND_DROP
=no
32422 if test "$wxUSE_METAFILE" = "yes"; then
32423 cat >>confdefs.h
<<\_ACEOF
32424 #define wxUSE_METAFILE 1
32428 cat >>confdefs.h
<<\_ACEOF
32429 #define wxUSE_ENH_METAFILE 1
32435 if test "$wxUSE_IPC" = "yes"; then
32436 if test "$wxUSE_SOCKETS" != "yes"; then
32437 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
32438 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
32441 cat >>confdefs.h
<<\_ACEOF
32442 #define wxUSE_IPC 1
32447 if test "$wxUSE_CLIPBOARD" = "yes"; then
32448 if test "$wxUSE_MGL" = 1; then
32449 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
32450 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
32454 if test "$wxUSE_CLIPBOARD" = "yes"; then
32455 cat >>confdefs.h
<<\_ACEOF
32456 #define wxUSE_CLIPBOARD 1
32460 cat >>confdefs.h
<<\_ACEOF
32461 #define wxUSE_DATAOBJ 1
32467 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
32468 if test "$wxUSE_GTK" = 1; then
32469 if test "$WXGTK12" != 1; then
32470 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
32471 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
32472 wxUSE_DRAG_AND_DROP
=no
32476 if test "$wxUSE_MOTIF" = 1; then
32477 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
32478 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
32479 wxUSE_DRAG_AND_DROP
=no
32482 if test "$wxUSE_X11" = 1; then
32483 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
32484 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
32485 wxUSE_DRAG_AND_DROP
=no
32488 if test "$wxUSE_MGL" = 1; then
32489 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
32490 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
32491 wxUSE_DRAG_AND_DROP
=no
32494 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
32495 cat >>confdefs.h
<<\_ACEOF
32496 #define wxUSE_DRAG_AND_DROP 1
32499 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
32504 if test "$wxUSE_SPLINES" = "yes" ; then
32505 cat >>confdefs.h
<<\_ACEOF
32506 #define wxUSE_SPLINES 1
32513 if test "$wxUSE_CONTROLS" = "yes"; then
32517 if test "$wxUSE_ACCEL" = "yes"; then
32518 cat >>confdefs.h
<<\_ACEOF
32519 #define wxUSE_ACCEL 1
32525 if test "$wxUSE_BUTTON" = "yes"; then
32526 cat >>confdefs.h
<<\_ACEOF
32527 #define wxUSE_BUTTON 1
32533 if test "$wxUSE_BMPBUTTON" = "yes"; then
32534 cat >>confdefs.h
<<\_ACEOF
32535 #define wxUSE_BMPBUTTON 1
32541 if test "$wxUSE_CALCTRL" = "yes"; then
32542 cat >>confdefs.h
<<\_ACEOF
32543 #define wxUSE_CALENDARCTRL 1
32547 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
32550 if test "$wxUSE_CARET" = "yes"; then
32551 cat >>confdefs.h
<<\_ACEOF
32552 #define wxUSE_CARET 1
32556 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
32559 if test "$wxUSE_COMBOBOX" = "yes"; then
32560 cat >>confdefs.h
<<\_ACEOF
32561 #define wxUSE_COMBOBOX 1
32567 if test "$wxUSE_CHOICE" = "yes"; then
32568 cat >>confdefs.h
<<\_ACEOF
32569 #define wxUSE_CHOICE 1
32575 if test "$wxUSE_CHECKBOX" = "yes"; then
32576 cat >>confdefs.h
<<\_ACEOF
32577 #define wxUSE_CHECKBOX 1
32583 if test "$wxUSE_CHECKLST" = "yes"; then
32584 cat >>confdefs.h
<<\_ACEOF
32585 #define wxUSE_CHECKLISTBOX 1
32589 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
32592 if test "$wxUSE_DISPLAY" = "yes"; then
32593 cat >>confdefs.h
<<\_ACEOF
32594 #define wxUSE_DISPLAY 1
32597 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
32600 if test "$wxUSE_GAUGE" = "yes"; then
32601 cat >>confdefs.h
<<\_ACEOF
32602 #define wxUSE_GAUGE 1
32608 if test "$wxUSE_GRID" = "yes"; then
32609 cat >>confdefs.h
<<\_ACEOF
32610 #define wxUSE_GRID 1
32614 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
32617 if test "$wxUSE_IMAGLIST" = "yes"; then
32618 cat >>confdefs.h
<<\_ACEOF
32619 #define wxUSE_IMAGLIST 1
32624 if test "$wxUSE_LISTBOX" = "yes"; then
32625 cat >>confdefs.h
<<\_ACEOF
32626 #define wxUSE_LISTBOX 1
32632 if test "$wxUSE_LISTCTRL" = "yes"; then
32633 if test "$wxUSE_IMAGLIST" = "yes"; then
32634 cat >>confdefs.h
<<\_ACEOF
32635 #define wxUSE_LISTCTRL 1
32639 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
32641 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
32642 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
32646 if test "$wxUSE_NOTEBOOK" = "yes"; then
32647 cat >>confdefs.h
<<\_ACEOF
32648 #define wxUSE_NOTEBOOK 1
32652 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
32656 if test "$wxUSE_RADIOBOX" = "yes"; then
32657 cat >>confdefs.h
<<\_ACEOF
32658 #define wxUSE_RADIOBOX 1
32664 if test "$wxUSE_RADIOBTN" = "yes"; then
32665 cat >>confdefs.h
<<\_ACEOF
32666 #define wxUSE_RADIOBTN 1
32672 if test "$wxUSE_SASH" = "yes"; then
32673 cat >>confdefs.h
<<\_ACEOF
32674 #define wxUSE_SASH 1
32677 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
32680 if test "$wxUSE_SCROLLBAR" = "yes"; then
32681 cat >>confdefs.h
<<\_ACEOF
32682 #define wxUSE_SCROLLBAR 1
32686 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
32689 if test "$wxUSE_SLIDER" = "yes"; then
32690 cat >>confdefs.h
<<\_ACEOF
32691 #define wxUSE_SLIDER 1
32697 if test "$wxUSE_SPINBTN" = "yes"; then
32698 cat >>confdefs.h
<<\_ACEOF
32699 #define wxUSE_SPINBTN 1
32705 if test "$wxUSE_SPINCTRL" = "yes"; then
32706 cat >>confdefs.h
<<\_ACEOF
32707 #define wxUSE_SPINCTRL 1
32713 if test "$wxUSE_SPLITTER" = "yes"; then
32714 cat >>confdefs.h
<<\_ACEOF
32715 #define wxUSE_SPLITTER 1
32718 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
32721 if test "$wxUSE_STATBMP" = "yes"; then
32722 cat >>confdefs.h
<<\_ACEOF
32723 #define wxUSE_STATBMP 1
32729 if test "$wxUSE_STATBOX" = "yes"; then
32730 cat >>confdefs.h
<<\_ACEOF
32731 #define wxUSE_STATBOX 1
32737 if test "$wxUSE_STATTEXT" = "yes"; then
32738 cat >>confdefs.h
<<\_ACEOF
32739 #define wxUSE_STATTEXT 1
32745 if test "$wxUSE_STATLINE" = "yes"; then
32746 cat >>confdefs.h
<<\_ACEOF
32747 #define wxUSE_STATLINE 1
32753 if test "$wxUSE_STATUSBAR" = "yes"; then
32754 cat >>confdefs.h
<<\_ACEOF
32755 #define wxUSE_STATUSBAR 1
32760 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
32763 if test "$wxUSE_TABDIALOG" = "yes"; then
32764 cat >>confdefs.h
<<\_ACEOF
32765 #define wxUSE_TAB_DIALOG 1
32768 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
32771 if test "$wxUSE_TEXTCTRL" = "yes"; then
32772 cat >>confdefs.h
<<\_ACEOF
32773 #define wxUSE_TEXTCTRL 1
32777 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
32780 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32781 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32782 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
32783 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
32786 if test "$wxUSE_UNIVERSAL" = "yes"; then
32787 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
32788 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
32792 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32793 cat >>confdefs.h
<<\_ACEOF
32794 #define wxUSE_TOGGLEBTN 1
32801 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
32802 cat >>confdefs.h
<<\_ACEOF
32803 #define wxUSE_TOOLBAR_SIMPLE 1
32806 wxUSE_TOOLBAR
="yes"
32810 if test "$wxUSE_TOOLBAR" = "yes"; then
32811 cat >>confdefs.h
<<\_ACEOF
32812 #define wxUSE_TOOLBAR 1
32817 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
32818 wxUSE_TOOLBAR_NATIVE
="yes"
32821 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
32822 cat >>confdefs.h
<<\_ACEOF
32823 #define wxUSE_TOOLBAR_NATIVE 1
32829 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
32832 if test "$wxUSE_TOOLTIPS" = "yes"; then
32833 if test "$wxUSE_MOTIF" = 1; then
32834 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
32835 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
32837 if test "$wxUSE_UNIVERSAL" = "yes"; then
32838 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
32839 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
32841 cat >>confdefs.h
<<\_ACEOF
32842 #define wxUSE_TOOLTIPS 1
32849 if test "$wxUSE_TREECTRL" = "yes"; then
32850 if test "$wxUSE_IMAGLIST" = "yes"; then
32851 cat >>confdefs.h
<<\_ACEOF
32852 #define wxUSE_TREECTRL 1
32856 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
32858 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
32859 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
32863 if test "$wxUSE_POPUPWIN" = "yes"; then
32864 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32865 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
32866 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
32868 if test "$wxUSE_MOTIF" = 1; then
32869 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&5
32870 echo "$as_me: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&2;}
32872 if test "$wxUSE_PM" = 1; then
32873 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
32874 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
32876 cat >>confdefs.h
<<\_ACEOF
32877 #define wxUSE_POPUPWIN 1
32887 if test "$wxUSE_TIPWINDOW" = "yes"; then
32888 if test "$wxUSE_PM" = 1; then
32889 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
32890 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
32892 cat >>confdefs.h
<<\_ACEOF
32893 #define wxUSE_TIPWINDOW 1
32899 if test "$USES_CONTROLS" = 1; then
32900 cat >>confdefs.h
<<\_ACEOF
32901 #define wxUSE_CONTROLS 1
32908 if test "$wxUSE_DRAGIMAGE" = "yes"; then
32909 cat >>confdefs.h
<<\_ACEOF
32910 #define wxUSE_DRAGIMAGE 1
32913 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
32916 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
32917 cat >>confdefs.h
<<\_ACEOF
32918 #define wxUSE_ACCESSIBILITY 1
32921 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
32924 if test "$wxUSE_MENUS" = "yes"; then
32925 cat >>confdefs.h
<<\_ACEOF
32926 #define wxUSE_MENUS 1
32929 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
32932 if test "$wxUSE_METAFILE" = "yes"; then
32933 cat >>confdefs.h
<<\_ACEOF
32934 #define wxUSE_METAFILE 1
32939 if test "$wxUSE_MIMETYPE" = "yes"; then
32940 cat >>confdefs.h
<<\_ACEOF
32941 #define wxUSE_MIMETYPE 1
32946 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
32947 cat >>confdefs.h
<<\_ACEOF
32948 #define wxUSE_SYSTEM_OPTIONS 1
32951 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
32952 "$TOOLKIT" = "MOTIF"; then
32953 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
32958 if test "$wxUSE_MINIFRAME" = "yes"; then
32959 cat >>confdefs.h
<<\_ACEOF
32960 #define wxUSE_MINIFRAME 1
32963 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
32967 if test "$wxUSE_HTML" = "yes"; then
32968 cat >>confdefs.h
<<\_ACEOF
32969 #define wxUSE_HTML 1
32973 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
32976 if test "$wxUSE_VALIDATORS" = "yes"; then
32977 cat >>confdefs.h
<<\_ACEOF
32978 #define wxUSE_VALIDATORS 1
32981 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
32984 if test "$wxUSE_PALETTE" = "yes" ; then
32985 cat >>confdefs.h
<<\_ACEOF
32986 #define wxUSE_PALETTE 1
32991 if test "$wxUSE_IMAGE" = "yes" ; then
32992 cat >>confdefs.h
<<\_ACEOF
32993 #define wxUSE_IMAGE 1
32998 if test "$wxUSE_GIF" = "yes" ; then
32999 cat >>confdefs.h
<<\_ACEOF
33000 #define wxUSE_GIF 1
33005 if test "$wxUSE_PCX" = "yes" ; then
33006 cat >>confdefs.h
<<\_ACEOF
33007 #define wxUSE_PCX 1
33012 if test "$wxUSE_IFF" = "yes" ; then
33013 cat >>confdefs.h
<<\_ACEOF
33014 #define wxUSE_IFF 1
33019 if test "$wxUSE_PNM" = "yes" ; then
33020 cat >>confdefs.h
<<\_ACEOF
33021 #define wxUSE_PNM 1
33026 if test "$wxUSE_XPM" = "yes" ; then
33027 cat >>confdefs.h
<<\_ACEOF
33028 #define wxUSE_XPM 1
33033 if test "$wxUSE_ICO_CUR" = "yes" ; then
33034 cat >>confdefs.h
<<\_ACEOF
33035 #define wxUSE_ICO_CUR 1
33040 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
33041 LIBS
=" -lunicows $LIBS"
33045 if test "$wxUSE_CHOICEDLG" = "yes"; then
33046 cat >>confdefs.h
<<\_ACEOF
33047 #define wxUSE_CHOICEDLG 1
33052 if test "$wxUSE_COLOURDLG" = "yes"; then
33053 cat >>confdefs.h
<<\_ACEOF
33054 #define wxUSE_COLOURDLG 1
33059 if test "$wxUSE_FILEDLG" = "yes"; then
33060 cat >>confdefs.h
<<\_ACEOF
33061 #define wxUSE_FILEDLG 1
33066 if test "$wxUSE_FINDREPLDLG" = "yes"; then
33067 cat >>confdefs.h
<<\_ACEOF
33068 #define wxUSE_FINDREPLDLG 1
33073 if test "$wxUSE_FONTDLG" = "yes"; then
33074 cat >>confdefs.h
<<\_ACEOF
33075 #define wxUSE_FONTDLG 1
33080 if test "$wxUSE_DIRDLG" = "yes"; then
33081 if test "$wxUSE_TREECTRL" != "yes"; then
33082 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
33083 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
33085 cat >>confdefs.h
<<\_ACEOF
33086 #define wxUSE_DIRDLG 1
33092 if test "$wxUSE_MSGDLG" = "yes"; then
33093 cat >>confdefs.h
<<\_ACEOF
33094 #define wxUSE_MSGDLG 1
33099 if test "$wxUSE_NUMBERDLG" = "yes"; then
33100 cat >>confdefs.h
<<\_ACEOF
33101 #define wxUSE_NUMBERDLG 1
33106 if test "$wxUSE_PROGRESSDLG" = "yes"; then
33107 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33108 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
33109 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
33111 cat >>confdefs.h
<<\_ACEOF
33112 #define wxUSE_PROGRESSDLG 1
33118 if test "$wxUSE_SPLASH" = "yes"; then
33119 cat >>confdefs.h
<<\_ACEOF
33120 #define wxUSE_SPLASH 1
33125 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
33126 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33127 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
33128 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
33130 cat >>confdefs.h
<<\_ACEOF
33131 #define wxUSE_STARTUP_TIPS 1
33137 if test "$wxUSE_TEXTDLG" = "yes"; then
33138 cat >>confdefs.h
<<\_ACEOF
33139 #define wxUSE_TEXTDLG 1
33144 if test "$wxUSE_WIZARDDLG" = "yes"; then
33145 cat >>confdefs.h
<<\_ACEOF
33146 #define wxUSE_WIZARDDLG 1
33149 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
33153 if test "$cross_compiling" = "yes"; then
33156 OSINFO
=`uname -s -r -m`
33157 OSINFO
="\"$OSINFO\""
33160 cat >>confdefs.h
<<_ACEOF
33161 #define WXWIN_OS_DESCRIPTION $OSINFO
33166 if test "x$prefix" != "xNONE"; then
33169 wxPREFIX
=$ac_default_prefix
33172 cat >>confdefs.h
<<_ACEOF
33173 #define wxINSTALL_PREFIX "$wxPREFIX"
33177 top_builddir_wxconfig
=`pwd`
33181 CORE_BASE_LIBS
="net base"
33182 CORE_GUI_LIBS
="adv core"
33184 if test "$wxUSE_XML" = "yes" ; then
33185 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
33187 if test "$wxUSE_ODBC" != "no" ; then
33188 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
33189 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
33191 if test "$wxUSE_HTML" = "yes" ; then
33192 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
33202 if test "$wxUSE_MAC" = 1 ; then
33203 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
33205 if test "$wxUSE_COCOA" = 1 ; then
33206 LDFLAGS
="$LDFLAGS -framework Cocoa -framework System"
33210 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
33217 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33218 echo "$as_me:$LINENO: checking for $ac_func" >&5
33219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33220 if eval "test \"\${$as_ac_var+set}\" = set"; then
33221 echo $ECHO_N "(cached) $ECHO_C" >&6
33223 cat >conftest.
$ac_ext <<_ACEOF
33224 #line $LINENO "configure"
33227 cat confdefs.h
>>conftest.
$ac_ext
33228 cat >>conftest.
$ac_ext <<_ACEOF
33229 /* end confdefs.h. */
33230 /* System header to define __stub macros and hopefully few prototypes,
33231 which can conflict with char $ac_func (); below.
33232 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33233 <limits.h> exists even on freestanding compilers. */
33235 # include <limits.h>
33237 # include <assert.h>
33239 /* Override any gcc2 internal prototype to avoid an error. */
33244 /* We use char because int might match the return type of a gcc2
33245 builtin and then its argument prototype would still apply. */
33247 /* The GNU C library defines this for functions which it implements
33248 to always fail with ENOSYS. Some functions are actually named
33249 something starting with __ and the normal name is an alias. */
33250 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33253 char (*f) () = $ac_func;
33262 return f != $ac_func;
33267 rm -f conftest.
$ac_objext conftest
$ac_exeext
33268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33269 (eval $ac_link) 2>&5
33271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33272 (exit $ac_status); } &&
33273 { ac_try
='test -s conftest$ac_exeext'
33274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33275 (eval $ac_try) 2>&5
33277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33278 (exit $ac_status); }; }; then
33279 eval "$as_ac_var=yes"
33281 echo "$as_me: failed program was:" >&5
33282 sed 's/^/| /' conftest.
$ac_ext >&5
33284 eval "$as_ac_var=no"
33286 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33290 if test `eval echo '${'$as_ac_var'}'` = yes; then
33291 cat >>confdefs.h
<<_ACEOF
33292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33299 for ac_func
in floor
33301 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33302 echo "$as_me:$LINENO: checking for $ac_func" >&5
33303 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33304 if eval "test \"\${$as_ac_var+set}\" = set"; then
33305 echo $ECHO_N "(cached) $ECHO_C" >&6
33307 cat >conftest.
$ac_ext <<_ACEOF
33308 #line $LINENO "configure"
33311 cat confdefs.h
>>conftest.
$ac_ext
33312 cat >>conftest.
$ac_ext <<_ACEOF
33313 /* end confdefs.h. */
33314 /* System header to define __stub macros and hopefully few prototypes,
33315 which can conflict with char $ac_func (); below.
33316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33317 <limits.h> exists even on freestanding compilers. */
33319 # include <limits.h>
33321 # include <assert.h>
33323 /* Override any gcc2 internal prototype to avoid an error. */
33328 /* We use char because int might match the return type of a gcc2
33329 builtin and then its argument prototype would still apply. */
33331 /* The GNU C library defines this for functions which it implements
33332 to always fail with ENOSYS. Some functions are actually named
33333 something starting with __ and the normal name is an alias. */
33334 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33337 char (*f) () = $ac_func;
33346 return f != $ac_func;
33351 rm -f conftest.
$ac_objext conftest
$ac_exeext
33352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33353 (eval $ac_link) 2>&5
33355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33356 (exit $ac_status); } &&
33357 { ac_try
='test -s conftest$ac_exeext'
33358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33359 (eval $ac_try) 2>&5
33361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33362 (exit $ac_status); }; }; then
33363 eval "$as_ac_var=yes"
33365 echo "$as_me: failed program was:" >&5
33366 sed 's/^/| /' conftest.
$ac_ext >&5
33368 eval "$as_ac_var=no"
33370 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33373 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33374 if test `eval echo '${'$as_ac_var'}'` = yes; then
33375 cat >>confdefs.h
<<_ACEOF
33376 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33382 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
33383 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
33384 if test "$have_cos" = 1 -a "$have_floor" = 1; then
33385 echo "$as_me:$LINENO: result: yes" >&5
33386 echo "${ECHO_T}yes" >&6
33388 echo "$as_me:$LINENO: result: no" >&5
33389 echo "${ECHO_T}no" >&6
33391 # use different functions to avoid configure caching
33397 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33398 echo "$as_me:$LINENO: checking for $ac_func" >&5
33399 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33400 if eval "test \"\${$as_ac_var+set}\" = set"; then
33401 echo $ECHO_N "(cached) $ECHO_C" >&6
33403 cat >conftest.
$ac_ext <<_ACEOF
33404 #line $LINENO "configure"
33407 cat confdefs.h
>>conftest.
$ac_ext
33408 cat >>conftest.
$ac_ext <<_ACEOF
33409 /* end confdefs.h. */
33410 /* System header to define __stub macros and hopefully few prototypes,
33411 which can conflict with char $ac_func (); below.
33412 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33413 <limits.h> exists even on freestanding compilers. */
33415 # include <limits.h>
33417 # include <assert.h>
33419 /* Override any gcc2 internal prototype to avoid an error. */
33424 /* We use char because int might match the return type of a gcc2
33425 builtin and then its argument prototype would still apply. */
33427 /* The GNU C library defines this for functions which it implements
33428 to always fail with ENOSYS. Some functions are actually named
33429 something starting with __ and the normal name is an alias. */
33430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33433 char (*f) () = $ac_func;
33442 return f != $ac_func;
33447 rm -f conftest.
$ac_objext conftest
$ac_exeext
33448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33449 (eval $ac_link) 2>&5
33451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33452 (exit $ac_status); } &&
33453 { ac_try
='test -s conftest$ac_exeext'
33454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33455 (eval $ac_try) 2>&5
33457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33458 (exit $ac_status); }; }; then
33459 eval "$as_ac_var=yes"
33461 echo "$as_me: failed program was:" >&5
33462 sed 's/^/| /' conftest.
$ac_ext >&5
33464 eval "$as_ac_var=no"
33466 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33469 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33470 if test `eval echo '${'$as_ac_var'}'` = yes; then
33471 cat >>confdefs.h
<<_ACEOF
33472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33479 for ac_func
in ceil
33481 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33482 echo "$as_me:$LINENO: checking for $ac_func" >&5
33483 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33484 if eval "test \"\${$as_ac_var+set}\" = set"; then
33485 echo $ECHO_N "(cached) $ECHO_C" >&6
33487 cat >conftest.
$ac_ext <<_ACEOF
33488 #line $LINENO "configure"
33491 cat confdefs.h
>>conftest.
$ac_ext
33492 cat >>conftest.
$ac_ext <<_ACEOF
33493 /* end confdefs.h. */
33494 /* System header to define __stub macros and hopefully few prototypes,
33495 which can conflict with char $ac_func (); below.
33496 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33497 <limits.h> exists even on freestanding compilers. */
33499 # include <limits.h>
33501 # include <assert.h>
33503 /* Override any gcc2 internal prototype to avoid an error. */
33508 /* We use char because int might match the return type of a gcc2
33509 builtin and then its argument prototype would still apply. */
33511 /* The GNU C library defines this for functions which it implements
33512 to always fail with ENOSYS. Some functions are actually named
33513 something starting with __ and the normal name is an alias. */
33514 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33517 char (*f) () = $ac_func;
33526 return f != $ac_func;
33531 rm -f conftest.
$ac_objext conftest
$ac_exeext
33532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33533 (eval $ac_link) 2>&5
33535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33536 (exit $ac_status); } &&
33537 { ac_try
='test -s conftest$ac_exeext'
33538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33539 (eval $ac_try) 2>&5
33541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33542 (exit $ac_status); }; }; then
33543 eval "$as_ac_var=yes"
33545 echo "$as_me: failed program was:" >&5
33546 sed 's/^/| /' conftest.
$ac_ext >&5
33548 eval "$as_ac_var=no"
33550 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33553 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33554 if test `eval echo '${'$as_ac_var'}'` = yes; then
33555 cat >>confdefs.h
<<_ACEOF
33556 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33562 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
33563 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
33564 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
33565 echo "$as_me:$LINENO: result: yes" >&5
33566 echo "${ECHO_T}yes" >&6
33568 echo "$as_me:$LINENO: result: no" >&5
33569 echo "${ECHO_T}no" >&6
33570 # not sure we should warn the user, crash, etc.
33574 if test "$wxUSE_GUI" = "yes"; then
33577 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
33578 drawing dynamic erase event exec font image \
33579 minimal propsize rotate shaped widgets render"
33581 if test "$wxUSE_MONOLITHIC" != "yes"; then
33582 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
33585 SAMPLES_SUBDIRS
="console"
33589 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
33590 -I\${top_srcdir}/include \
33591 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
33594 if test "$GXX" = yes ; then
33595 CXXWARNINGS
="-Wall"
33598 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
33600 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
33601 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
33602 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
33605 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
33606 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
33607 EXTRALIBS_XML
="$EXPAT_LINK"
33608 EXTRALIBS_ODBC
="$ODBC_LINK"
33609 if test "$wxUSE_GUI" = "yes"; then
33610 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
33612 if test "$wxUSE_OPENGL" = "yes"; then
33613 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
33616 LDFLAGS
="$LDFLAGS $PROFILE"
33618 if test "$wxUSE_GTK" = 1; then
33621 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
33624 WXCONFIG_EXTRALIBS
="$LIBS"
33626 if test "$wxUSE_REGEX" = "builtin" ; then
33627 wxconfig_3rdparty
="$wxconfig_3rdparty regex"
33629 if test "$wxUSE_EXPAT" = "builtin" ; then
33630 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
33632 if test "$wxUSE_ODBC" = "builtin" ; then
33633 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
33635 if test "$wxUSE_LIBTIFF" = "builtin" ; then
33636 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
33638 if test "$wxUSE_LIBJPEG" = "builtin" ; then
33639 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
33641 if test "$wxUSE_LIBPNG" = "builtin" ; then
33642 wxconfig_3rdparty
="$wxconfig_3rdparty png"
33644 if test "$wxUSE_ZLIB" = "builtin" ; then
33645 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
33647 if test "$wxUSE_ODBC" = "builtin" ; then
33648 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
33651 for i
in $wxconfig_3rdparty ; do
33652 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
33656 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
33670 if test $wxUSE_MONOLITHIC = "yes" ; then
33676 if test $wxUSE_ODBC != "no" ; then
33682 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
33704 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr [A-Z] [a-z]`
33712 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
33714 if test -n "$ac_tool_prefix"; then
33715 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
33716 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
33717 echo "$as_me:$LINENO: checking for $ac_word" >&5
33718 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33719 if test "${ac_cv_prog_RANLIB+set}" = set; then
33720 echo $ECHO_N "(cached) $ECHO_C" >&6
33722 if test -n "$RANLIB"; then
33723 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
33725 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33726 for as_dir
in $PATH
33729 test -z "$as_dir" && as_dir
=.
33730 for ac_exec_ext
in '' $ac_executable_extensions; do
33731 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33732 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
33733 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33741 RANLIB
=$ac_cv_prog_RANLIB
33742 if test -n "$RANLIB"; then
33743 echo "$as_me:$LINENO: result: $RANLIB" >&5
33744 echo "${ECHO_T}$RANLIB" >&6
33746 echo "$as_me:$LINENO: result: no" >&5
33747 echo "${ECHO_T}no" >&6
33751 if test -z "$ac_cv_prog_RANLIB"; then
33752 ac_ct_RANLIB
=$RANLIB
33753 # Extract the first word of "ranlib", so it can be a program name with args.
33754 set dummy ranlib
; ac_word
=$2
33755 echo "$as_me:$LINENO: checking for $ac_word" >&5
33756 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33757 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
33758 echo $ECHO_N "(cached) $ECHO_C" >&6
33760 if test -n "$ac_ct_RANLIB"; then
33761 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
33763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33764 for as_dir
in $PATH
33767 test -z "$as_dir" && as_dir
=.
33768 for ac_exec_ext
in '' $ac_executable_extensions; do
33769 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33770 ac_cv_prog_ac_ct_RANLIB
="ranlib"
33771 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33777 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
33780 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
33781 if test -n "$ac_ct_RANLIB"; then
33782 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
33783 echo "${ECHO_T}$ac_ct_RANLIB" >&6
33785 echo "$as_me:$LINENO: result: no" >&5
33786 echo "${ECHO_T}no" >&6
33789 RANLIB
=$ac_ct_RANLIB
33791 RANLIB
="$ac_cv_prog_RANLIB"
33794 # Find a good install program. We prefer a C program (faster),
33795 # so one script is as good as another. But avoid the broken or
33796 # incompatible versions:
33797 # SysV /etc/install, /usr/sbin/install
33798 # SunOS /usr/etc/install
33799 # IRIX /sbin/install
33801 # AmigaOS /C/install, which installs bootblocks on floppy discs
33802 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
33803 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
33804 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
33805 # ./install, which can be erroneously created by make from ./install.sh.
33806 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
33807 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
33808 if test -z "$INSTALL"; then
33809 if test "${ac_cv_path_install+set}" = set; then
33810 echo $ECHO_N "(cached) $ECHO_C" >&6
33812 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33813 for as_dir
in $PATH
33816 test -z "$as_dir" && as_dir
=.
33817 # Account for people who put trailing slashes in PATH elements.
33819 .
/ | .
// | /cC
/* | \
33820 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
33823 # OSF1 and SCO ODT 3.0 have their own names for install.
33824 # Don't use installbsd from OSF since it installs stuff as root
33826 for ac_prog
in ginstall scoinst
install; do
33827 for ac_exec_ext
in '' $ac_executable_extensions; do
33828 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
33829 if test $ac_prog = install &&
33830 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
33831 # AIX install. It has an incompatible calling convention.
33833 elif test $ac_prog = install &&
33834 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
33835 # program-specific install script used by HP pwplus--don't use.
33838 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
33850 if test "${ac_cv_path_install+set}" = set; then
33851 INSTALL
=$ac_cv_path_install
33853 # As a last resort, use the slow shell script. We don't cache a
33854 # path for INSTALL within a source directory, because that will
33855 # break other packages using the cache if that directory is
33856 # removed, or if the path is relative.
33857 INSTALL
=$ac_install_sh
33860 echo "$as_me:$LINENO: result: $INSTALL" >&5
33861 echo "${ECHO_T}$INSTALL" >&6
33863 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
33864 # It thinks the first close brace ends the variable substitution.
33865 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
33867 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
33869 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
33871 echo "$as_me:$LINENO: checking whether ln -s works" >&5
33872 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
33874 if test "$LN_S" = "ln -s"; then
33875 echo "$as_me:$LINENO: result: yes" >&5
33876 echo "${ECHO_T}yes" >&6
33878 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
33879 echo "${ECHO_T}no, using $LN_S" >&6
33883 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
33884 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
33885 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
33886 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
33887 echo $ECHO_N "(cached) $ECHO_C" >&6
33889 cat >conftest.
make <<\_ACEOF
33891 @
echo 'ac_maketemp="$(MAKE)"'
33893 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
33894 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
33895 if test -n "$ac_maketemp"; then
33896 eval ac_cv_prog_make_
${ac_make}_set
=yes
33898 eval ac_cv_prog_make_
${ac_make}_set
=no
33900 rm -f conftest.
make
33902 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
33903 echo "$as_me:$LINENO: result: yes" >&5
33904 echo "${ECHO_T}yes" >&6
33907 echo "$as_me:$LINENO: result: no" >&5
33908 echo "${ECHO_T}no" >&6
33909 SET_MAKE
="MAKE=${MAKE-make}"
33914 if test "$build" != "$host" ; then
33916 STRIP
=$host_alias-strip
33918 # Extract the first word of "ar", so it can be a program name with args.
33919 set dummy
ar; ac_word
=$2
33920 echo "$as_me:$LINENO: checking for $ac_word" >&5
33921 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33922 if test "${ac_cv_prog_AR+set}" = set; then
33923 echo $ECHO_N "(cached) $ECHO_C" >&6
33925 if test -n "$AR"; then
33926 ac_cv_prog_AR
="$AR" # Let the user override the test.
33928 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33929 for as_dir
in $PATH
33932 test -z "$as_dir" && as_dir
=.
33933 for ac_exec_ext
in '' $ac_executable_extensions; do
33934 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33936 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33942 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
33946 if test -n "$AR"; then
33947 echo "$as_me:$LINENO: result: $AR" >&5
33948 echo "${ECHO_T}$AR" >&6
33950 echo "$as_me:$LINENO: result: no" >&5
33951 echo "${ECHO_T}no" >&6
33954 # Extract the first word of "strip", so it can be a program name with args.
33955 set dummy strip
; ac_word
=$2
33956 echo "$as_me:$LINENO: checking for $ac_word" >&5
33957 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33958 if test "${ac_cv_prog_STRIP+set}" = set; then
33959 echo $ECHO_N "(cached) $ECHO_C" >&6
33961 if test -n "$STRIP"; then
33962 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
33964 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33965 for as_dir
in $PATH
33968 test -z "$as_dir" && as_dir
=.
33969 for ac_exec_ext
in '' $ac_executable_extensions; do
33970 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33971 ac_cv_prog_STRIP
="strip"
33972 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33978 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
33981 STRIP
=$ac_cv_prog_STRIP
33982 if test -n "$STRIP"; then
33983 echo "$as_me:$LINENO: result: $STRIP" >&5
33984 echo "${ECHO_T}$STRIP" >&6
33986 echo "$as_me:$LINENO: result: no" >&5
33987 echo "${ECHO_T}no" >&6
33994 INSTALL_DIR
="mkdir"
33996 *) INSTALL_DIR
="$INSTALL -d"
34003 *-*-cygwin* | *-*-mingw32* )
34004 LDFLAGS_GUI
="-Wl,--subsystem,windows -mwindows"
34010 echo "$as_me:$LINENO: checking if make is GNU make" >&5
34011 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
34012 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
34013 echo $ECHO_N "(cached) $ECHO_C" >&6
34016 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
34017 egrep -s GNU
> /dev
/null
); then
34018 bakefile_cv_prog_makeisgnu
="yes"
34020 bakefile_cv_prog_makeisgnu
="no"
34024 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
34025 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
34027 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
34042 *-*-cygwin* | *-*-mingw32* )
34045 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
34048 powerpc
-*-darwin* )
34065 SO_SUFFIX_MODULE
="so"
34074 SO_SUFFIX_MODULE
="sl"
34078 SO_SUFFIX_MODULE
="a"
34080 *-*-cygwin* | *-*-mingw32* )
34082 SO_SUFFIX_MODULE
="dll"
34090 *-pc-os2_emx | *-pc-os2-emx )
34095 powerpc
-*-darwin* )
34097 SO_SUFFIX_MODULE
="bundle"
34109 SHARED_LD_CC
="\$(CC) -shared -o"
34110 SHARED_LD_CXX
="\$(CXX) -shared -o"
34112 if test "x$GCC" = "xyes"; then
34118 if test "x$GCC" = "xyes"; then
34119 SHARED_LD_CC
="${CC} -shared ${PIC_FLAG} -o"
34120 SHARED_LD_CXX
="${CXX} -shared ${PIC_FLAG} -o"
34122 LDFLAGS
="$LDFLAGS -L/usr/lib"
34124 SHARED_LD_CC
="${CC} -b -o"
34125 SHARED_LD_CXX
="${CXX} -b -o"
34131 if test "x$GCC" != "xyes"; then
34132 echo "$as_me:$LINENO: checking for Intel compiler" >&5
34133 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
34134 if test "${bakefile_cv_prog_icc+set}" = set; then
34135 echo $ECHO_N "(cached) $ECHO_C" >&6
34138 cat >conftest.
$ac_ext <<_ACEOF
34139 #line $LINENO "configure"
34142 cat confdefs.h
>>conftest.
$ac_ext
34143 cat >>conftest.
$ac_ext <<_ACEOF
34144 /* end confdefs.h. */
34150 #ifndef __INTEL_COMPILER
34158 rm -f conftest.
$ac_objext
34159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34160 (eval $ac_compile) 2>&5
34162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34163 (exit $ac_status); } &&
34164 { ac_try
='test -s conftest.$ac_objext'
34165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34166 (eval $ac_try) 2>&5
34168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34169 (exit $ac_status); }; }; then
34170 bakefile_cv_prog_icc
=yes
34172 echo "$as_me: failed program was:" >&5
34173 sed 's/^/| /' conftest.
$ac_ext >&5
34175 bakefile_cv_prog_icc
=no
34178 rm -f conftest.
$ac_objext conftest.
$ac_ext
34181 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
34182 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
34183 if test "$bakefile_cv_prog_icc" = "yes"; then
34190 if test "x$GCC" != xyes
; then
34191 SHARED_LD_CC
="${CC} -G -o"
34192 SHARED_LD_CXX
="${CXX} -G -o"
34198 CFLAGS
="$CFLAGS -fno-common"
34199 CXXFLAGS
="$CXXFLAGS -fno-common"
34202 cat <<EOF >shared-ld-sh
34204 #-----------------------------------------------------------------------------
34205 #-- Name: distrib/mac/shared-ld-sh
34206 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
34207 #-- Author: Gilles Depeyrot
34208 #-- Copyright: (c) 2002 Gilles Depeyrot
34209 #-- Licence: any use permitted
34210 #-----------------------------------------------------------------------------
34215 linking_flag="-dynamiclib"
34217 while test \${#} -gt 0; do
34224 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
34225 # collect these options and values
34226 args="\${args} \${1} \${2}"
34230 -l*|-L*|-flat_namespace)
34231 # collect these options
34232 args="\${args} \${1}"
34235 -dynamiclib|-bundle)
34236 linking_flag="\${1}"
34240 echo "shared-ld: unhandled option '\${1}'"
34244 *.o | *.a | *.dylib)
34245 # collect object files
34246 objects="\${objects} \${1}"
34250 echo "shared-ld: unhandled argument '\${1}'"
34259 # Link one module containing all the others
34261 if test \${verbose} = 1; then
34262 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
34264 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
34266 if test \${status} != 0; then
34271 # Link the shared library from the single module created
34273 if test \${verbose} = 1; then
34274 echo "cc \${linking_flag} master.\$\$.o \${args}"
34276 c++ \${linking_flag} master.\$\$.o \${args}
34278 if test \${status} != 0; then
34283 # Remove intermediate module
34285 rm -f master.\$\$.o
34289 chmod +x shared
-ld-sh
34291 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -undefined suppress -flat_namespace -o"
34292 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -undefined suppress -flat_namespace -o"
34293 SHARED_LD_CXX
="$SHARED_LD_CC"
34294 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
34295 PIC_FLAG
="-dynamic -fPIC"
34299 if test "x$GCC" != "xyes"; then
34300 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
34301 set dummy makeC
++SharedLib
; ac_word
=$2
34302 echo "$as_me:$LINENO: checking for $ac_word" >&5
34303 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34304 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
34305 echo $ECHO_N "(cached) $ECHO_C" >&6
34307 if test -n "$AIX_CXX_LD"; then
34308 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
34310 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34311 for as_dir
in $PATH
34314 test -z "$as_dir" && as_dir
=.
34315 for ac_exec_ext
in '' $ac_executable_extensions; do
34316 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34317 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
34318 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34324 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
34327 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
34328 if test -n "$AIX_CXX_LD"; then
34329 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
34330 echo "${ECHO_T}$AIX_CXX_LD" >&6
34332 echo "$as_me:$LINENO: result: no" >&5
34333 echo "${ECHO_T}no" >&6
34336 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
34337 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
34342 SHARED_LD_CC
="${LD} -shared -o"
34343 SHARED_LD_CXX
="${LD} -shared -o"
34347 if test "x$GCC" != "xyes"; then
34352 *-*-cygwin* | *-*-mingw32* )
34356 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
34360 *-pc-os2_emx | *-pc-os2-emx | \
34365 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
34366 echo "$as_me: error: unknown system type $host." >&2;}
34367 { (exit 1); exit 1; }; }
34370 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
34371 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
34373 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
34374 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
34393 SONAME_FLAG
="-Wl,-soname,"
34421 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
34422 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
34425 if test "x$GCC" = "xyes"; then
34429 powerpc
-*-darwin* )
34430 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
34433 DEPSFLAG_GCC
="-MMD"
34436 echo "$as_me:$LINENO: result: gcc" >&5
34437 echo "${ECHO_T}gcc" >&6
34439 echo "$as_me:$LINENO: result: none" >&5
34440 echo "${ECHO_T}none" >&6
34443 if test $DEPS_TRACKING = 1 ; then
34447 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
34448 # script. It is used to track C/C++ files dependencies in portable way.
34450 # Permission is given to use this file in any way.
34454 DEPSFLAG_GCC="$DEPSFLAG_GCC"
34458 if test \$DEPSMODE = gcc ; then
34459 \${*} \${DEPSFLAG_GCC}
34461 if test \${status} != 0 ; then
34464 # move created file to the location we want it in:
34465 while test \${#} -gt 0; do
34479 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
34480 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
34481 if test -f \$depfile ; then
34482 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34485 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
34486 if test -f \$depfile ; then
34487 sed -e "/^\$objfile/! s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34507 *-*-cygwin* | *-*-mingw32* )
34508 if test "$build" != "$host" ; then
34509 RESCOMP
=$host_alias-windres
34511 # Extract the first word of "windres", so it can be a program name with args.
34512 set dummy windres
; ac_word
=$2
34513 echo "$as_me:$LINENO: checking for $ac_word" >&5
34514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34515 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34516 echo $ECHO_N "(cached) $ECHO_C" >&6
34518 if test -n "$RESCOMP"; then
34519 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
34521 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34522 for as_dir
in $PATH
34525 test -z "$as_dir" && as_dir
=.
34526 for ac_exec_ext
in '' $ac_executable_extensions; do
34527 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34528 ac_cv_prog_RESCOMP
="windres"
34529 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34535 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
34538 RESCOMP
=$ac_cv_prog_RESCOMP
34539 if test -n "$RESCOMP"; then
34540 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34541 echo "${ECHO_T}$RESCOMP" >&6
34543 echo "$as_me:$LINENO: result: no" >&5
34544 echo "${ECHO_T}no" >&6
34551 # Extract the first word of "Rez", so it can be a program name with args.
34552 set dummy Rez
; ac_word
=$2
34553 echo "$as_me:$LINENO: checking for $ac_word" >&5
34554 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34555 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34556 echo $ECHO_N "(cached) $ECHO_C" >&6
34558 if test -n "$RESCOMP"; then
34559 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
34561 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34562 for as_dir
in $PATH
34565 test -z "$as_dir" && as_dir
=.
34566 for ac_exec_ext
in '' $ac_executable_extensions; do
34567 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34568 ac_cv_prog_RESCOMP
="Rez"
34569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34575 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
34578 RESCOMP
=$ac_cv_prog_RESCOMP
34579 if test -n "$RESCOMP"; then
34580 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34581 echo "${ECHO_T}$RESCOMP" >&6
34583 echo "$as_me:$LINENO: result: no" >&5
34584 echo "${ECHO_T}no" >&6
34587 # Extract the first word of "SetFile", so it can be a program name with args.
34588 set dummy SetFile
; ac_word
=$2
34589 echo "$as_me:$LINENO: checking for $ac_word" >&5
34590 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34591 if test "${ac_cv_prog_SETFILE+set}" = set; then
34592 echo $ECHO_N "(cached) $ECHO_C" >&6
34594 if test -n "$SETFILE"; then
34595 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
34597 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34598 for as_dir
in $PATH
34601 test -z "$as_dir" && as_dir
=.
34602 for ac_exec_ext
in '' $ac_executable_extensions; do
34603 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34604 ac_cv_prog_SETFILE
="SetFile"
34605 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34611 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
34614 SETFILE
=$ac_cv_prog_SETFILE
34615 if test -n "$SETFILE"; then
34616 echo "$as_me:$LINENO: result: $SETFILE" >&5
34617 echo "${ECHO_T}$SETFILE" >&6
34619 echo "$as_me:$LINENO: result: no" >&5
34620 echo "${ECHO_T}no" >&6
34633 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
34634 if test "${enable_precomp_headers+set}" = set; then
34635 enableval
="$enable_precomp_headers"
34636 bk_use_pch
="$enableval"
34641 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
34642 if test "x$GCC" = "xyes"; then
34643 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
34644 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
34645 cat >conftest.
$ac_ext <<_ACEOF
34646 #line $LINENO "configure"
34649 cat confdefs.h
>>conftest.
$ac_ext
34650 cat >>conftest.
$ac_ext <<_ACEOF
34651 /* end confdefs.h. */
34657 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
34658 #error "no pch support"
34661 #error "no pch support"
34663 #if (__GNUC__ == 3) && \
34664 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
34665 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
34666 #error "no pch support"
34673 rm -f conftest.
$ac_objext
34674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34675 (eval $ac_compile) 2>&5
34677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34678 (exit $ac_status); } &&
34679 { ac_try
='test -s conftest.$ac_objext'
34680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34681 (eval $ac_try) 2>&5
34683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34684 (exit $ac_status); }; }; then
34686 echo "$as_me:$LINENO: result: yes" >&5
34687 echo "${ECHO_T}yes" >&6
34688 CPPFLAGS
="-fpch-deps $CPPFLAGS"
34692 echo "$as_me: failed program was:" >&5
34693 sed 's/^/| /' conftest.
$ac_ext >&5
34696 echo "$as_me:$LINENO: result: no" >&5
34697 echo "${ECHO_T}no" >&6
34700 rm -f conftest.
$ac_objext conftest.
$ac_ext
34701 if test $GCC_PCH = 1 ; then
34702 cat <<EOF >bk-make-pch
34705 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
34706 # script. It is used to generated precompiled headers.
34708 # Permission is given to use this file in any way.
34717 while test \${#} -gt 0; do
34720 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
34721 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
34722 headerfile="\${incdir}/\${header}"
34726 compiler="\${compiler} \${1}"
34730 if test "x\${headerfile}" = "x" ; then
34731 echo "error: can't find header \${header} in include paths" >2
34733 if test -f \${outfile} ; then
34736 mkdir -p \`dirname \${outfile}\`
34738 depsfile=".deps/\`basename \${outfile}\`.d"
34740 # can do this because gcc is >= 3.4:
34741 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
34745 chmod +x bk
-make-pch
34754 COND_BUILD_DEBUG
="#"
34755 if test "x$BUILD" = "xdebug" ; then
34756 COND_BUILD_DEBUG
=""
34759 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
34760 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
34761 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
34764 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
34765 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
34766 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
34769 COND_BUILD_RELEASE
="#"
34770 if test "x$BUILD" = "xrelease" ; then
34771 COND_BUILD_RELEASE
=""
34774 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
34775 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
34776 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
34779 COND_DEBUG_FLAG_1
="#"
34780 if test "x$DEBUG_FLAG" = "x1" ; then
34781 COND_DEBUG_FLAG_1
=""
34784 COND_DEBUG_INFO_0
="#"
34785 if test "x$DEBUG_INFO" = "x0" ; then
34786 COND_DEBUG_INFO_0
=""
34789 COND_DEBUG_INFO_1
="#"
34790 if test "x$DEBUG_INFO" = "x1" ; then
34791 COND_DEBUG_INFO_1
=""
34794 COND_DEPS_TRACKING_0
="#"
34795 if test "x$DEPS_TRACKING" = "x0" ; then
34796 COND_DEPS_TRACKING_0
=""
34799 COND_DEPS_TRACKING_1
="#"
34800 if test "x$DEPS_TRACKING" = "x1" ; then
34801 COND_DEPS_TRACKING_1
=""
34805 if test "x$GCC_PCH" = "x1" ; then
34809 COND_MONOLITHIC_0
="#"
34810 if test "x$MONOLITHIC" = "x0" ; then
34811 COND_MONOLITHIC_0
=""
34814 COND_MONOLITHIC_0_SHARED_0
="#"
34815 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
34816 COND_MONOLITHIC_0_SHARED_0
=""
34819 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
34820 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
34821 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
34824 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
34825 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
34826 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
34829 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
34830 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
34831 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
34834 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
34835 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
34836 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
34839 COND_MONOLITHIC_0_SHARED_1
="#"
34840 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
34841 COND_MONOLITHIC_0_SHARED_1
=""
34844 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
34845 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
34846 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
34849 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
34850 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
34851 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
34854 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
34855 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
34856 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
34859 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
34860 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
34861 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
34864 COND_MONOLITHIC_1
="#"
34865 if test "x$MONOLITHIC" = "x1" ; then
34866 COND_MONOLITHIC_1
=""
34869 COND_MONOLITHIC_1_SHARED_0
="#"
34870 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
34871 COND_MONOLITHIC_1_SHARED_0
=""
34874 COND_MONOLITHIC_1_SHARED_1
="#"
34875 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
34876 COND_MONOLITHIC_1_SHARED_1
=""
34879 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
34880 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
34881 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
34884 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
34885 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
34886 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
34889 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
34890 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
34891 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
34894 COND_PLATFORM_MACOSX_1
="#"
34895 if test "x$PLATFORM_MACOSX" = "x1" ; then
34896 COND_PLATFORM_MACOSX_1
=""
34899 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
34900 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
34901 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
34904 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
34905 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
34906 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
34909 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
34910 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
34911 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
34914 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
34915 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
34916 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
34919 COND_PLATFORM_MAC_1
="#"
34920 if test "x$PLATFORM_MAC" = "x1" ; then
34921 COND_PLATFORM_MAC_1
=""
34924 COND_PLATFORM_UNIX_0
="#"
34925 if test "x$PLATFORM_UNIX" = "x0" ; then
34926 COND_PLATFORM_UNIX_0
=""
34929 COND_PLATFORM_UNIX_1
="#"
34930 if test "x$PLATFORM_UNIX" = "x1" ; then
34931 COND_PLATFORM_UNIX_1
=""
34934 COND_PLATFORM_WIN32_0
="#"
34935 if test "x$PLATFORM_WIN32" = "x0" ; then
34936 COND_PLATFORM_WIN32_0
=""
34939 COND_PLATFORM_WIN32_1
="#"
34940 if test "x$PLATFORM_WIN32" = "x1" ; then
34941 COND_PLATFORM_WIN32_1
=""
34945 if test "x$SHARED" = "x0" ; then
34949 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
34950 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
34951 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
34954 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
34955 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
34956 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
34959 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
34960 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
34961 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
34964 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
34965 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
34966 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
34969 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
34970 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
34971 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
34974 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
34975 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
34976 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
34979 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
34980 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
34981 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
34984 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
34985 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
34986 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
34990 if test "x$SHARED" = "x1" ; then
34994 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
34995 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
34996 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
34999 COND_TOOLKIT_COCOA
="#"
35000 if test "x$TOOLKIT" = "xCOCOA" ; then
35001 COND_TOOLKIT_COCOA
=""
35004 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
35005 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35006 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
35009 COND_TOOLKIT_GTK
="#"
35010 if test "x$TOOLKIT" = "xGTK" ; then
35011 COND_TOOLKIT_GTK
=""
35014 COND_TOOLKIT_GTK_USE_GUI_1
="#"
35015 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
35016 COND_TOOLKIT_GTK_USE_GUI_1
=""
35019 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
35020 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35021 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
35024 COND_TOOLKIT_MAC
="#"
35025 if test "x$TOOLKIT" = "xMAC" ; then
35026 COND_TOOLKIT_MAC
=""
35029 COND_TOOLKIT_MAC_USE_GUI_1
="#"
35030 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
35031 COND_TOOLKIT_MAC_USE_GUI_1
=""
35034 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
35035 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35036 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
35039 COND_TOOLKIT_MGL
="#"
35040 if test "x$TOOLKIT" = "xMGL" ; then
35041 COND_TOOLKIT_MGL
=""
35044 COND_TOOLKIT_MGL_USE_GUI_1
="#"
35045 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
35046 COND_TOOLKIT_MGL_USE_GUI_1
=""
35049 COND_TOOLKIT_MOTIF
="#"
35050 if test "x$TOOLKIT" = "xMOTIF" ; then
35051 COND_TOOLKIT_MOTIF
=""
35054 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
35055 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
35056 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
35059 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
35060 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35061 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
35064 COND_TOOLKIT_MSW
="#"
35065 if test "x$TOOLKIT" = "xMSW" ; then
35066 COND_TOOLKIT_MSW
=""
35069 COND_TOOLKIT_MSW_USE_GUI_1
="#"
35070 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
35071 COND_TOOLKIT_MSW_USE_GUI_1
=""
35074 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
35075 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35076 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
35079 COND_TOOLKIT_OS2
="#"
35080 if test "x$TOOLKIT" = "xOS2" ; then
35081 COND_TOOLKIT_OS2
=""
35084 COND_TOOLKIT_OS2_USE_GUI_1
="#"
35085 if test "x$TOOLKIT" = "xOS2" -a "x$USE_GUI" = "x1" ; then
35086 COND_TOOLKIT_OS2_USE_GUI_1
=""
35089 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0
="#"
35090 if test "x$TOOLKIT" = "xOS2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35091 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0
=""
35094 COND_TOOLKIT_X11
="#"
35095 if test "x$TOOLKIT" = "xX11" ; then
35096 COND_TOOLKIT_X11
=""
35099 COND_TOOLKIT_X11_USE_GUI_1
="#"
35100 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
35101 COND_TOOLKIT_X11_USE_GUI_1
=""
35105 if test "x$UNICODE" = "x1" ; then
35110 if test "x$USE_GUI" = "x0" ; then
35115 if test "x$USE_GUI" = "x1" ; then
35119 COND_USE_GUI_1_WXUNIV_0
="#"
35120 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35121 COND_USE_GUI_1_WXUNIV_0
=""
35124 COND_USE_GUI_1_WXUNIV_1
="#"
35125 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
35126 COND_USE_GUI_1_WXUNIV_1
=""
35129 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
35130 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35131 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
35134 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
35135 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35136 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
35139 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
35140 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35141 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
35144 COND_USE_SOSYMLINKS_1
="#"
35145 if test "x$USE_SOSYMLINKS" = "x1" ; then
35146 COND_USE_SOSYMLINKS_1
=""
35149 COND_USE_SOVERLINUX_1
="#"
35150 if test "x$USE_SOVERLINUX" = "x1" ; then
35151 COND_USE_SOVERLINUX_1
=""
35154 COND_USE_SOVERSION_0
="#"
35155 if test "x$USE_SOVERSION" = "x0" ; then
35156 COND_USE_SOVERSION_0
=""
35159 COND_USE_SOVERSOLARIS_1
="#"
35160 if test "x$USE_SOVERSOLARIS" = "x1" ; then
35161 COND_USE_SOVERSOLARIS_1
=""
35165 if test "x$WXUNIV" = "x1" ; then
35169 COND_WXUSE_EXPAT_BUILTIN
="#"
35170 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
35171 COND_WXUSE_EXPAT_BUILTIN
=""
35174 COND_WXUSE_LIBJPEG_BUILTIN
="#"
35175 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35176 COND_WXUSE_LIBJPEG_BUILTIN
=""
35179 COND_WXUSE_LIBPNG_BUILTIN
="#"
35180 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35181 COND_WXUSE_LIBPNG_BUILTIN
=""
35184 COND_WXUSE_LIBTIFF_BUILTIN
="#"
35185 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35186 COND_WXUSE_LIBTIFF_BUILTIN
=""
35189 COND_WXUSE_ODBC_BUILTIN
="#"
35190 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
35191 COND_WXUSE_ODBC_BUILTIN
=""
35194 COND_WXUSE_REGEX_BUILTIN
="#"
35195 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
35196 COND_WXUSE_REGEX_BUILTIN
=""
35199 COND_WXUSE_ZLIB_BUILTIN
="#"
35200 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
35201 COND_WXUSE_ZLIB_BUILTIN
=""
35208 if test $GCC_PCH = 1 ; then
35209 CPPFLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
35212 powerpc
-*-darwin* )
35213 CPPFLAGS
="-DNO_GCC_PRAGMA $CPPFLAGS"
35218 powerpc
-*-darwin* )
35219 CODE_GEN_FLAGS_CXX
="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS_CXX"
35224 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
35325 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
35326 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
35327 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
35328 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
35329 echo $ECHO_N "(cached) $ECHO_C" >&6
35331 cat >conftest.
make <<\_ACEOF
35333 @
echo 'ac_maketemp="$(MAKE)"'
35335 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
35336 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
35337 if test -n "$ac_maketemp"; then
35338 eval ac_cv_prog_make_
${ac_make}_set
=yes
35340 eval ac_cv_prog_make_
${ac_make}_set
=no
35342 rm -f conftest.
make
35344 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
35345 echo "$as_me:$LINENO: result: yes" >&5
35346 echo "${ECHO_T}yes" >&6
35349 echo "$as_me:$LINENO: result: no" >&5
35350 echo "${ECHO_T}no" >&6
35351 SET_MAKE
="MAKE=${MAKE-make}"
35355 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
35356 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
35359 ac_config_headers
="$ac_config_headers setup.h"
35362 ac_config_files
="$ac_config_files wx-config version-script Makefile"
35365 ac_config_commands
="$ac_config_commands default"
35369 if test "$wxUSE_GUI" = "yes"; then
35370 SUBDIRS
="samples demos utils contrib"
35371 else SUBDIRS
="samples utils"
35374 for subdir
in `echo $SUBDIRS`; do
35375 if test -d ${srcdir}/${subdir} ; then
35376 if test "$wxUSE_GUI" = "yes"; then
35377 if test ${subdir} = "samples"; then
35378 makefiles
="samples/Makefile.in $makefiles"
35379 for sample
in `echo $SAMPLES_SUBDIRS`; do
35380 if test -d $srcdir/samples
/$sample; then
35381 makefiles
="samples/$sample/Makefile.in $makefiles"
35384 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
35386 else if test ${subdir} = "samples"; then
35387 makefiles
="samples/Makefile.in samples/console/Makefile.in"
35388 else makefiles
="utils/HelpGen/Makefile.in \
35389 utils/HelpGen/src/Makefile.in \
35390 utils/makegen/Makefile.in"
35394 for mkin
in $makefiles ; do
35395 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
35396 ac_config_files
="$ac_config_files $mk"
35403 cat >confcache
<<\_ACEOF
35404 # This file is a shell script that caches the results of configure
35405 # tests run on this system so they can be shared between configure
35406 # scripts and configure runs, see configure's option --config-cache.
35407 # It is not useful on other systems. If it contains results you don't
35408 # want to keep, you may remove or edit it.
35410 # config.status only pays attention to the cache file if you give it
35411 # the --recheck option to rerun configure.
35413 # `ac_cv_env_foo' variables (set or unset) will be overridden when
35414 # loading this file, other *unset* `ac_cv_foo' will be assigned the
35415 # following values.
35419 # The following way of writing the cache mishandles newlines in values,
35420 # but we know of no workaround that is simple, portable, and efficient.
35421 # So, don't put newlines in cache variables' values.
35422 # Ultrix sh set writes to stderr and can't be redirected directly,
35423 # and sets the high bit in the cache file unless we assign to the vars.
35426 case `(ac_space=' '; set | grep ac_space) 2>&1` in
35428 # `set' does not quote correctly, so add quotes (double-quote
35429 # substitution turns \\\\ into \\, and sed turns \\ into \).
35432 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
35435 # `set' quotes correctly as required by POSIX, so do not add quotes.
35437 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
35444 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
35446 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
35448 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
35449 if test -w $cache_file; then
35450 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
35451 cat confcache
>$cache_file
35453 echo "not updating unwritable cache $cache_file"
35458 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
35459 # Let make expand exec_prefix.
35460 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
35462 # VPATH may cause trouble with some makes, so we remove $(srcdir),
35463 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
35464 # trailing colons and then remove the whole line if VPATH becomes empty
35465 # (actually we leave an empty line to preserve line numbers).
35466 if test "x$srcdir" = x.
; then
35467 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
35468 s/:*\$(srcdir):*/:/;
35469 s/:*\${srcdir}:*/:/;
35471 s/^\([^=]*=[ ]*\):*/\1/;
35477 DEFS
=-DHAVE_CONFIG_H
35481 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
35482 # 1. Remove the extension, and $U if already installed.
35483 ac_i
=`echo "$ac_i" |
35484 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
35486 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
35487 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
35489 LIBOBJS
=$ac_libobjs
35491 LTLIBOBJS
=$ac_ltlibobjs
35495 : ${CONFIG_STATUS=./config.status}
35496 ac_clean_files_save
=$ac_clean_files
35497 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
35498 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
35499 echo "$as_me: creating $CONFIG_STATUS" >&6;}
35500 cat >$CONFIG_STATUS <<_ACEOF
35502 # Generated by $as_me.
35503 # Run this file to recreate the current configuration.
35504 # Compiler output produced by configure, useful for debugging
35505 # configure, is in config.log if it exists.
35508 ac_cs_recheck=false
35510 SHELL=\${CONFIG_SHELL-$SHELL}
35513 cat >>$CONFIG_STATUS <<\_ACEOF
35514 ## --------------------- ##
35515 ## M4sh Initialization. ##
35516 ## --------------------- ##
35518 # Be Bourne compatible
35519 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
35522 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
35523 # is contrary to our usage. Disable this feature.
35524 alias -g '${1+"$@"}'='"$@"'
35525 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
35529 # Support unset when possible.
35530 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
35537 # Work around bugs in pre-3.0 UWIN ksh.
35538 $as_unset ENV MAIL MAILPATH
35545 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
35546 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
35547 LC_TELEPHONE LC_TIME
35549 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
35550 eval $as_var=C
; export $as_var
35556 # Required to use basename.
35557 if expr a
: '\(a\)' >/dev
/null
2>&1; then
35563 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
35564 as_basename
=basename
35570 # Name of the executable.
35571 as_me
=`$as_basename "$0" ||
35572 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
35573 X"$0" : 'X\(//\)$' \| \
35574 X"$0" : 'X\(/\)$' \| \
35575 . : '\(.\)' 2>/dev/null ||
35577 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
35578 /^X\/\(\/\/\)$/{ s//\1/; q; }
35579 /^X\/\(\/\).*/{ s//\1/; q; }
35583 # PATH needs CR, and LINENO needs CR and PATH.
35584 # Avoid depending upon Character Ranges.
35585 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
35586 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
35587 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
35588 as_cr_digits
='0123456789'
35589 as_cr_alnum
=$as_cr_Letters$as_cr_digits
35591 # The user is always right.
35592 if test "${PATH_SEPARATOR+set}" != set; then
35593 echo "#! /bin/sh" >conf$$.sh
35594 echo "exit 0" >>conf$$.sh
35596 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
35605 as_lineno_1
=$LINENO
35606 as_lineno_2
=$LINENO
35607 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
35608 test "x$as_lineno_1" != "x$as_lineno_2" &&
35609 test "x$as_lineno_3" = "x$as_lineno_2" || {
35610 # Find who we are. Look in the path if we contain no path at all
35613 *[\\/]* ) as_myself
=$0 ;;
35614 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35615 for as_dir
in $PATH
35618 test -z "$as_dir" && as_dir
=.
35619 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
35624 # We did not find ourselves, most probably we were run as `sh COMMAND'
35625 # in which case we are not to be found in the path.
35626 if test "x$as_myself" = x
; then
35629 if test ! -f "$as_myself"; then
35630 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
35631 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
35632 { (exit 1); exit 1; }; }
35634 case $CONFIG_SHELL in
35636 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35637 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
35640 test -z "$as_dir" && as_dir
=.
35641 for as_base
in sh bash ksh sh5
; do
35644 if ("$as_dir/$as_base" -c '
35645 as_lineno_1=$LINENO
35646 as_lineno_2=$LINENO
35647 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
35648 test "x$as_lineno_1" != "x$as_lineno_2" &&
35649 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
35650 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
35651 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
35652 CONFIG_SHELL
=$as_dir/$as_base
35653 export CONFIG_SHELL
35654 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
35662 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
35663 # uniformly replaced by the line number. The first 'sed' inserts a
35664 # line-number line before each line; the second 'sed' does the real
35665 # work. The second script uses 'N' to pair each line-number line
35666 # with the numbered line, and appends trailing '-' during
35667 # substitution so that $LINENO is not a special case at line end.
35668 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
35669 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
35670 sed '=' <$as_myself |
35675 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
35678 s,^['$as_cr_digits']*\n,,
35679 ' >$as_me.lineno
&&
35680 chmod +x
$as_me.lineno
||
35681 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
35682 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
35683 { (exit 1); exit 1; }; }
35685 # Don't try to exec as it changes $[0], causing all sort of problems
35686 # (the dirname of $[0] is not the place where we might find the
35687 # original and so on. Autoconf is especially sensible to this).
35689 # Exit status is that of the last command.
35694 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
35695 *c
*,-n*) ECHO_N
= ECHO_C
='
35697 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
35698 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
35701 if expr a
: '\(a\)' >/dev
/null
2>&1; then
35707 rm -f conf$$ conf$$.exe conf$$.
file
35709 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
35710 # We could just check for DJGPP; but this test a) works b) is more generic
35711 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
35712 if test -f conf$$.exe
; then
35713 # Don't use ln at all; we don't have any links
35718 elif ln conf$$.
file conf$$
2>/dev
/null
; then
35723 rm -f conf$$ conf$$.exe conf$$.
file
35725 if mkdir -p .
2>/dev
/null
; then
35731 as_executable_p
="test -f"
35733 # Sed expression to map a string onto a valid CPP name.
35734 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
35736 # Sed expression to map a string onto a valid variable name.
35737 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
35741 # We need space, tab and new line, in precisely that order.
35751 # Open the log real soon, to keep \$[0] and so on meaningful, and to
35752 # report actual input values of CONFIG_FILES etc. instead of their
35753 # values after options handling. Logging --version etc. is OK.
35757 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
35758 ## Running $as_me. ##
35763 This file was extended by wxWindows $as_me 2.5.0, which was
35764 generated by GNU Autoconf 2.57. Invocation command line was
35766 CONFIG_FILES = $CONFIG_FILES
35767 CONFIG_HEADERS = $CONFIG_HEADERS
35768 CONFIG_LINKS = $CONFIG_LINKS
35769 CONFIG_COMMANDS = $CONFIG_COMMANDS
35773 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
35777 # Files that config.status was made for.
35778 if test -n "$ac_config_files"; then
35779 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
35782 if test -n "$ac_config_headers"; then
35783 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
35786 if test -n "$ac_config_links"; then
35787 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
35790 if test -n "$ac_config_commands"; then
35791 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
35794 cat >>$CONFIG_STATUS <<\_ACEOF
35797 \`$as_me' instantiates files from templates according to the
35798 current configuration.
35800 Usage: $0 [OPTIONS] [FILE]...
35802 -h, --help print this help, then exit
35803 -V, --version print version number, then exit
35804 -q, --quiet do not print progress messages
35805 -d, --debug don't remove temporary files
35806 --recheck update $as_me by reconfiguring in the same conditions
35807 --file=FILE[:TEMPLATE]
35808 instantiate the configuration file FILE
35809 --header=FILE[:TEMPLATE]
35810 instantiate the configuration header FILE
35812 Configuration files:
35815 Configuration headers:
35818 Configuration commands:
35821 Report bugs to <bug-autoconf@gnu.org>."
35824 cat >>$CONFIG_STATUS <<_ACEOF
35826 wxWindows config.status 2.5.0
35827 configured by $0, generated by GNU Autoconf 2.57,
35828 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
35830 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
35831 Free Software Foundation, Inc.
35832 This config.status script is free software; the Free Software Foundation
35833 gives unlimited permission to copy, distribute and modify it."
35838 cat >>$CONFIG_STATUS <<\_ACEOF
35839 # If no file are specified by the user, then we need to provide default
35840 # value. By we need to know if files were specified by the user.
35846 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
35847 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
35855 *) # This is not an option, so the user has probably given explicit
35858 ac_need_defaults
=false
;;
35862 # Handling of the options.
35864 cat >>$CONFIG_STATUS <<\_ACEOF
35865 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
35867 --version | --vers* | -V )
35868 echo "$ac_cs_version"; exit 0 ;;
35870 # Conflict between --help and --header
35871 { { echo "$as_me:$LINENO: error: ambiguous option: $1
35872 Try \`$0 --help' for more information." >&5
35873 echo "$as_me: error: ambiguous option: $1
35874 Try \`$0 --help' for more information." >&2;}
35875 { (exit 1); exit 1; }; };;
35876 --help | --hel | -h )
35877 echo "$ac_cs_usage"; exit 0 ;;
35878 --debug | --d* | -d )
35880 --file | --fil | --fi | --f )
35882 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
35883 ac_need_defaults
=false
;;
35884 --header | --heade | --head | --hea )
35886 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
35887 ac_need_defaults
=false
;;
35888 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
35889 | -silent | --silent | --silen | --sile | --sil | --si | --s)
35892 # This is an error.
35893 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
35894 Try \`$0 --help' for more information." >&5
35895 echo "$as_me: error: unrecognized option: $1
35896 Try \`$0 --help' for more information." >&2;}
35897 { (exit 1); exit 1; }; } ;;
35899 *) ac_config_targets
="$ac_config_targets $1" ;;
35905 ac_configure_extra_args
=
35907 if $ac_cs_silent; then
35909 ac_configure_extra_args
="$ac_configure_extra_args --silent"
35913 cat >>$CONFIG_STATUS <<_ACEOF
35914 if \$ac_cs_recheck; then
35915 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
35916 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
35921 cat >>$CONFIG_STATUS <<_ACEOF
35923 # INIT-COMMANDS section.
35927 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
35936 cat >>$CONFIG_STATUS <<\_ACEOF
35937 for ac_config_target
in $ac_config_targets
35939 case "$ac_config_target" in
35940 # Handling of arguments.
35941 "wx-config" ) CONFIG_FILES
="$CONFIG_FILES wx-config" ;;
35942 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
35943 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
35944 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
35945 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
35946 "setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS setup.h" ;;
35947 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
35948 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
35949 { (exit 1); exit 1; }; };;
35953 # If the user did not use the arguments to specify the items to instantiate,
35954 # then the envvar interface is used. Set only those that are not.
35955 # We use the long form for the default assignment because of an extremely
35956 # bizarre bug on SunOS 4.1.3.
35957 if $ac_need_defaults; then
35958 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
35959 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
35960 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
35963 # Have a temporary directory for convenience. Make it in the build tree
35964 # simply because there is no reason to put it here, and in addition,
35965 # creating and moving files from /tmp can sometimes cause problems.
35966 # Create a temporary directory, and hook for its removal unless debugging.
35969 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
35970 trap '{ (exit 1); exit 1; }' 1 2 13 15
35973 # Create a (secure) tmp directory for tmp files.
35976 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
35977 test -n "$tmp" && test -d "$tmp"
35980 tmp
=.
/confstat$$
-$RANDOM
35981 (umask 077 && mkdir $tmp)
35984 echo "$me: cannot create a temporary directory in ." >&2
35985 { (exit 1); exit 1; }
35990 cat >>$CONFIG_STATUS <<_ACEOF
35993 # CONFIG_FILES section.
35996 # No need to generate the scripts if there are no CONFIG_FILES.
35997 # This happens for instance when ./config.status config.h
35998 if test -n "\$CONFIG_FILES"; then
35999 # Protect against being on the right side of a sed subst in config.status.
36000 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
36001 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
36002 s,@SHELL@,$SHELL,;t t
36003 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
36004 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
36005 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
36006 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
36007 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
36008 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
36009 s,@exec_prefix@,$exec_prefix,;t t
36010 s,@prefix@,$prefix,;t t
36011 s,@program_transform_name@,$program_transform_name,;t t
36012 s,@bindir@,$bindir,;t t
36013 s,@sbindir@,$sbindir,;t t
36014 s,@libexecdir@,$libexecdir,;t t
36015 s,@datadir@,$datadir,;t t
36016 s,@sysconfdir@,$sysconfdir,;t t
36017 s,@sharedstatedir@,$sharedstatedir,;t t
36018 s,@localstatedir@,$localstatedir,;t t
36019 s,@libdir@,$libdir,;t t
36020 s,@includedir@,$includedir,;t t
36021 s,@oldincludedir@,$oldincludedir,;t t
36022 s,@infodir@,$infodir,;t t
36023 s,@mandir@,$mandir,;t t
36024 s,@build_alias@,$build_alias,;t t
36025 s,@host_alias@,$host_alias,;t t
36026 s,@target_alias@,$target_alias,;t t
36027 s,@DEFS@,$DEFS,;t t
36028 s,@ECHO_C@,$ECHO_C,;t t
36029 s,@ECHO_N@,$ECHO_N,;t t
36030 s,@ECHO_T@,$ECHO_T,;t t
36031 s,@LIBS@,$LIBS,;t t
36032 s,@build@,$build,;t t
36033 s,@build_cpu@,$build_cpu,;t t
36034 s,@build_vendor@,$build_vendor,;t t
36035 s,@build_os@,$build_os,;t t
36036 s,@host@,$host,;t t
36037 s,@host_cpu@,$host_cpu,;t t
36038 s,@host_vendor@,$host_vendor,;t t
36039 s,@host_os@,$host_os,;t t
36040 s,@target@,$target,;t t
36041 s,@target_cpu@,$target_cpu,;t t
36042 s,@target_vendor@,$target_vendor,;t t
36043 s,@target_os@,$target_os,;t t
36045 s,@CFLAGS@,$CFLAGS,;t t
36046 s,@LDFLAGS@,$LDFLAGS,;t t
36047 s,@CPPFLAGS@,$CPPFLAGS,;t t
36048 s,@ac_ct_CC@,$ac_ct_CC,;t t
36049 s,@EXEEXT@,$EXEEXT,;t t
36050 s,@OBJEXT@,$OBJEXT,;t t
36052 s,@EGREP@,$EGREP,;t t
36054 s,@CXXFLAGS@,$CXXFLAGS,;t t
36055 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
36056 s,@RANLIB@,$RANLIB,;t t
36057 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
36059 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
36060 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
36061 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
36062 s,@STRIP@,$STRIP,;t t
36063 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
36064 s,@LN_S@,$LN_S,;t t
36065 s,@CXXCPP@,$CXXCPP,;t t
36066 s,@subdirs@,$subdirs,;t t
36067 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
36068 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
36069 s,@GTK_LIBS@,$GTK_LIBS,;t t
36070 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
36071 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
36072 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
36073 s,@X_CFLAGS@,$X_CFLAGS,;t t
36074 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
36075 s,@X_LIBS@,$X_LIBS,;t t
36076 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
36077 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
36078 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
36079 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
36080 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
36081 s,@RESCOMP@,$RESCOMP,;t t
36082 s,@DEREZ@,$DEREZ,;t t
36083 s,@SETFILE@,$SETFILE,;t t
36084 s,@LIBICONV@,$LIBICONV,;t t
36085 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
36086 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
36087 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
36088 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
36089 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
36090 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
36091 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
36092 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
36093 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
36094 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
36095 s,@VENDOR@,$VENDOR,;t t
36096 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
36097 s,@WXUNIV@,$WXUNIV,;t t
36098 s,@MONOLITHIC@,$MONOLITHIC,;t t
36099 s,@EXTRALIBS@,$EXTRALIBS,;t t
36100 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
36101 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
36102 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
36103 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
36104 s,@UNICODE@,$UNICODE,;t t
36105 s,@BUILD@,$BUILD,;t t
36106 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
36107 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
36108 s,@SHARED@,$SHARED,;t t
36109 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
36110 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
36111 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
36112 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
36113 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
36114 s,@SET_MAKE@,$SET_MAKE,;t t
36115 s,@MAKE_SET@,$MAKE_SET,;t t
36116 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
36117 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
36118 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
36119 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
36120 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
36121 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
36122 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
36123 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
36124 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
36125 s,@LIBPREFIX@,$LIBPREFIX,;t t
36126 s,@DLLPREFIX@,$DLLPREFIX,;t t
36127 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
36128 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
36129 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
36130 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
36131 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
36132 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
36133 s,@PIC_FLAG@,$PIC_FLAG,;t t
36134 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
36135 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
36136 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
36137 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
36138 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
36139 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
36140 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
36141 s,@GCC_PCH@,$GCC_PCH,;t t
36142 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
36143 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
36144 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
36145 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
36146 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
36147 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
36148 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
36149 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
36150 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
36151 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
36152 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
36153 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
36154 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
36155 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
36156 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
36157 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
36158 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
36159 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
36160 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
36161 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
36162 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
36163 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
36164 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
36165 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
36166 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
36167 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
36168 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
36169 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
36170 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
36171 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
36172 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
36173 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
36174 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
36175 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
36176 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
36177 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
36178 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
36179 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
36180 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
36181 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
36182 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36183 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36184 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36185 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
36186 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
36187 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
36188 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
36189 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
36190 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
36191 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
36192 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
36193 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
36194 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
36195 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
36196 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
36197 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
36198 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
36199 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
36200 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
36201 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
36202 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
36203 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
36204 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
36205 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
36206 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
36207 s,@COND_TOOLKIT_OS2@,$COND_TOOLKIT_OS2,;t t
36208 s,@COND_TOOLKIT_OS2_USE_GUI_1@,$COND_TOOLKIT_OS2_USE_GUI_1,;t t
36209 s,@COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0,;t t
36210 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
36211 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
36212 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
36213 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
36214 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
36215 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
36216 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
36217 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36218 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36219 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36220 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
36221 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
36222 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
36223 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
36224 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
36225 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
36226 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
36227 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
36228 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
36229 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
36230 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
36231 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
36232 s,@PATH_IFS@,$PATH_IFS,;t t
36233 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
36234 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
36235 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
36236 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
36237 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
36238 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
36239 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
36240 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
36241 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
36242 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
36243 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
36244 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
36245 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
36246 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
36247 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
36248 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
36249 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
36250 s,@WX_ALL@,$WX_ALL,;t t
36251 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
36252 s,@SHARED_LD@,$SHARED_LD,;t t
36253 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
36254 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
36255 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
36256 s,@USE_GUI@,$USE_GUI,;t t
36257 s,@AFMINSTALL@,$AFMINSTALL,;t t
36258 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
36259 s,@TOOLKIT@,$TOOLKIT,;t t
36260 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
36261 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
36262 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
36263 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
36264 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
36265 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
36266 s,@cross_compiling@,$cross_compiling,;t t
36267 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
36268 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
36269 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
36270 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
36271 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
36272 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
36273 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
36274 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
36275 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
36276 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
36277 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
36278 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
36279 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
36280 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
36281 s,@GUIDIST@,$GUIDIST,;t t
36282 s,@PORT_FILES@,$PORT_FILES,;t t
36283 s,@DISTDIR@,$DISTDIR,;t t
36284 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
36285 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
36286 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
36287 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
36288 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
36289 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
36290 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
36291 s,@RESFLAGS@,$RESFLAGS,;t t
36292 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
36293 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
36294 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
36295 s,@MACOSX_BUNDLE@,$MACOSX_BUNDLE,;t t
36296 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
36297 s,@MACRESCOMP@,$MACRESCOMP,;t t
36298 s,@MACSETFILE@,$MACSETFILE,;t t
36299 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
36301 s,@DLLTOOL@,$DLLTOOL,;t t
36305 s,@MAKEINFO@,$MAKEINFO,;t t
36306 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
36307 s,@LIBOBJS@,$LIBOBJS,;t t
36308 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
36313 cat >>$CONFIG_STATUS <<\_ACEOF
36314 # Split the substitutions into bite-sized pieces for seds with
36315 # small command number limits, like on Digital OSF/1 and HP-UX.
36316 ac_max_sed_lines
=48
36317 ac_sed_frag
=1 # Number of current file.
36318 ac_beg
=1 # First line for current file.
36319 ac_end
=$ac_max_sed_lines # Line after last line for current file.
36322 while $ac_more_lines; do
36323 if test $ac_beg -gt 1; then
36324 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
36326 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
36328 if test ! -s $tmp/subs.frag
; then
36329 ac_more_lines
=false
36331 # The purpose of the label and of the branching condition is to
36332 # speed up the sed processing (if there are no `@' at all, there
36333 # is no need to browse any of the substitutions).
36334 # These are the two extra sed commands mentioned above.
36336 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
36337 if test -z "$ac_sed_cmds"; then
36338 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
36340 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
36342 ac_sed_frag
=`expr $ac_sed_frag + 1`
36344 ac_end
=`expr $ac_end + $ac_max_sed_lines`
36347 if test -z "$ac_sed_cmds"; then
36350 fi # test -n "$CONFIG_FILES"
36353 cat >>$CONFIG_STATUS <<\_ACEOF
36354 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
36355 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
36357 - | *:- | *:-:* ) # input from stdin
36359 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
36360 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
36361 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
36362 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
36363 * ) ac_file_in
=$ac_file.
in ;;
36366 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
36367 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
36368 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36369 X"$ac_file" : 'X\(//\)[^/]' \| \
36370 X"$ac_file" : 'X\(//\)$' \| \
36371 X"$ac_file" : 'X\(/\)' \| \
36372 . : '\(.\)' 2>/dev/null ||
36374 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36375 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36376 /^X\(\/\/\)$/{ s//\1/; q; }
36377 /^X\(\/\).*/{ s//\1/; q; }
36379 { if $as_mkdir_p; then
36384 while test ! -d "$as_dir"; do
36385 as_dirs
="$as_dir $as_dirs"
36386 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
36387 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36388 X"$as_dir" : 'X\(//\)[^/]' \| \
36389 X"$as_dir" : 'X\(//\)$' \| \
36390 X"$as_dir" : 'X\(/\)' \| \
36391 . : '\(.\)' 2>/dev/null ||
36393 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36394 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36395 /^X\(\/\/\)$/{ s//\1/; q; }
36396 /^X\(\/\).*/{ s//\1/; q; }
36399 test ! -n "$as_dirs" || mkdir $as_dirs
36400 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36401 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36402 { (exit 1); exit 1; }; }; }
36406 if test "$ac_dir" != .
; then
36407 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36408 # A "../" for each directory in $ac_dir_suffix.
36409 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36411 ac_dir_suffix
= ac_top_builddir
=
36415 .
) # No --srcdir option. We are building in place.
36417 if test -z "$ac_top_builddir"; then
36420 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
36422 [\\/]* | ?
:[\\/]* ) # Absolute path.
36423 ac_srcdir
=$srcdir$ac_dir_suffix;
36424 ac_top_srcdir
=$srcdir ;;
36425 *) # Relative path.
36426 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
36427 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
36429 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36431 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
36432 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36433 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36434 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36438 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
36439 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
36442 if test x
"$ac_file" != x
-; then
36443 { echo "$as_me:$LINENO: creating $ac_file" >&5
36444 echo "$as_me: creating $ac_file" >&6;}
36447 # Let's still pretend it is `configure' which instantiates (i.e., don't
36448 # use $as_me), people would be surprised to read:
36449 # /* config.h. Generated by config.status. */
36450 if test x
"$ac_file" = x
-; then
36453 configure_input
="$ac_file. "
36455 configure_input
=$configure_input"Generated from `echo $ac_file_in |
36456 sed 's,.*/,,'` by configure."
36458 # First look for the input files in the build tree, otherwise in the
36460 ac_file_inputs
=`IFS=:
36461 for f in $ac_file_in; do
36463 -) echo $tmp/stdin ;;
36465 # Absolute (can't be DOS-style, as IFS=:)
36466 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36467 echo "$as_me: error: cannot find input file: $f" >&2;}
36468 { (exit 1); exit 1; }; }
36471 if test -f "$f"; then
36474 elif test -f "$srcdir/$f"; then
36479 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36480 echo "$as_me: error: cannot find input file: $f" >&2;}
36481 { (exit 1); exit 1; }; }
36484 done` || { (exit 1); exit 1; }
36486 cat >>$CONFIG_STATUS <<_ACEOF
36490 cat >>$CONFIG_STATUS <<\_ACEOF
36492 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
36493 s
,@configure_input@
,$configure_input,;t t
36494 s
,@srcdir@
,$ac_srcdir,;t t
36495 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
36496 s
,@top_srcdir@
,$ac_top_srcdir,;t t
36497 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
36498 s
,@builddir@
,$ac_builddir,;t t
36499 s
,@abs_builddir@
,$ac_abs_builddir,;t t
36500 s
,@top_builddir@
,$ac_top_builddir,;t t
36501 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
36502 s
,@INSTALL@
,$ac_INSTALL,;t t
36503 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
36505 if test x"$ac_file" != x-; then
36506 mv $tmp/out $ac_file
36514 cat >>$CONFIG_STATUS <<\_ACEOF
36517 # CONFIG_HEADER section.
36520 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
36521 # NAME is the cpp macro being defined and VALUE is the value it is being given.
36523 # ac_d sets the value in "#define NAME VALUE" lines.
36524 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
36525 ac_dB
='[ ].*$,\1#\2'
36528 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
36529 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
36530 ac_uB
='$,\1#\2define\3'
36534 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
36535 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
36537 - | *:- | *:-:* ) # input from stdin
36539 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
36540 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
36541 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
36542 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
36543 * ) ac_file_in
=$ac_file.
in ;;
36546 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
36547 echo "$as_me: creating $ac_file" >&6;}
36549 # First look for the input files in the build tree, otherwise in the
36551 ac_file_inputs
=`IFS=:
36552 for f in $ac_file_in; do
36554 -) echo $tmp/stdin ;;
36556 # Absolute (can't be DOS-style, as IFS=:)
36557 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36558 echo "$as_me: error: cannot find input file: $f" >&2;}
36559 { (exit 1); exit 1; }; }
36562 if test -f "$f"; then
36565 elif test -f "$srcdir/$f"; then
36570 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36571 echo "$as_me: error: cannot find input file: $f" >&2;}
36572 { (exit 1); exit 1; }; }
36575 done` || { (exit 1); exit 1; }
36576 # Remove the trailing spaces.
36577 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
36581 # Transform confdefs.h into two sed scripts, `conftest.defines' and
36582 # `conftest.undefs', that substitutes the proper values into
36583 # config.h.in to produce config.h. The first handles `#define'
36584 # templates, and the second `#undef' templates.
36585 # And first: Protect against being on the right side of a sed subst in
36586 # config.status. Protect against being in an unquoted here document
36587 # in config.status.
36588 rm -f conftest.defines conftest.undefs
36589 # Using a here document instead of a string reduces the quoting nightmare.
36590 # Putting comments in sed scripts is not portable.
36592 # `end' is used to avoid that the second main sed command (meant for
36593 # 0-ary CPP macros) applies to n-ary macro definitions.
36594 # See the Autoconf documentation for `clear'.
36595 cat >confdef2sed.
sed <<\_ACEOF
36600 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
36602 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
36605 # If some macros were called several times there might be several times
36606 # the same #defines, which is useless. Nevertheless, we may not want to
36607 # sort them, since we want the *last* AC-DEFINE to be honored.
36608 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
36609 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
36610 rm -f confdef2sed.sed
36612 # This sed command replaces #undef with comments. This is necessary, for
36613 # example, in the case of _POSIX_SOURCE, which is predefined and required
36614 # on some systems where configure will not decide to define it.
36615 cat >>conftest.undefs <<\_ACEOF
36616 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
36619 # Break up conftest.defines because some shells have a limit on the size
36620 # of here documents, and old seds have small limits too (100 cmds).
36621 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
36622 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
36623 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
36624 echo ' :' >>$CONFIG_STATUS
36625 rm -f conftest.tail
36626 while grep . conftest.defines >/dev/null
36628 # Write a limited-size here document to $tmp/defines.sed.
36629 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
36630 # Speed up: don't consider the non `#define' lines.
36631 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
36632 # Work around the forget-to-reset-the-flag bug.
36633 echo 't clr' >>$CONFIG_STATUS
36634 echo ': clr' >>$CONFIG_STATUS
36635 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
36637 sed -f $tmp/defines.sed $tmp/in >$tmp/out
36639 mv $tmp/out $tmp/in
36641 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
36642 rm -f conftest.defines
36643 mv conftest.
tail conftest.defines
36645 rm -f conftest.defines
36646 echo ' fi # grep' >>$CONFIG_STATUS
36647 echo >>$CONFIG_STATUS
36649 # Break up conftest.undefs because some shells have a limit on the size
36650 # of here documents, and old seds have small limits too (100 cmds).
36651 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
36652 rm -f conftest.
tail
36653 while grep . conftest.undefs
>/dev
/null
36655 # Write a limited-size here document to $tmp/undefs.sed.
36656 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
36657 # Speed up: don't consider the non
`#undef'
36658 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
36659 # Work around the forget-to-reset-the-flag bug.
36660 echo 't clr' >>$CONFIG_STATUS
36661 echo ': clr' >>$CONFIG_STATUS
36662 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
36664 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
36666 mv $tmp/out $tmp/in
36668 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
36669 rm -f conftest.undefs
36670 mv conftest.tail conftest.undefs
36672 rm -f conftest.undefs
36674 cat >>$CONFIG_STATUS <<\_ACEOF
36675 # Let's still pretend it is `configure
' which instantiates (i.e., don't
36676 # use $as_me), people would be surprised to read:
36677 # /* config.h. Generated by config.status. */
36678 if test x
"$ac_file" = x
-; then
36679 echo "/* Generated by configure. */" >$tmp/config.h
36681 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
36683 cat $tmp/in >>$tmp/config.h
36685 if test x
"$ac_file" != x
-; then
36686 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
36687 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
36688 echo "$as_me: $ac_file is unchanged" >&6;}
36690 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
36691 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36692 X"$ac_file" : 'X\(//\)[^/]' \| \
36693 X"$ac_file" : 'X\(//\)$' \| \
36694 X"$ac_file" : 'X\(/\)' \| \
36695 . : '\(.\)' 2>/dev/null ||
36697 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36698 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36699 /^X\(\/\/\)$/{ s//\1/; q; }
36700 /^X\(\/\).*/{ s//\1/; q; }
36702 { if $as_mkdir_p; then
36707 while test ! -d "$as_dir"; do
36708 as_dirs
="$as_dir $as_dirs"
36709 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
36710 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36711 X"$as_dir" : 'X\(//\)[^/]' \| \
36712 X"$as_dir" : 'X\(//\)$' \| \
36713 X"$as_dir" : 'X\(/\)' \| \
36714 . : '\(.\)' 2>/dev/null ||
36716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36718 /^X\(\/\/\)$/{ s//\1/; q; }
36719 /^X\(\/\).*/{ s//\1/; q; }
36722 test ! -n "$as_dirs" || mkdir $as_dirs
36723 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36724 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36725 { (exit 1); exit 1; }; }; }
36728 mv $tmp/config.h
$ac_file
36732 rm -f $tmp/config.h
36736 cat >>$CONFIG_STATUS <<\_ACEOF
36739 # CONFIG_COMMANDS section.
36741 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
36742 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
36743 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
36744 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
36745 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36746 X"$ac_dest" : 'X\(//\)[^/]' \| \
36747 X"$ac_dest" : 'X\(//\)$' \| \
36748 X"$ac_dest" : 'X\(/\)' \| \
36749 . : '\(.\)' 2>/dev/null ||
36751 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36752 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36753 /^X\(\/\/\)$/{ s//\1/; q; }
36754 /^X\(\/\).*/{ s//\1/; q; }
36758 if test "$ac_dir" != .
; then
36759 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36760 # A "../" for each directory in $ac_dir_suffix.
36761 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36763 ac_dir_suffix
= ac_top_builddir
=
36767 .
) # No --srcdir option. We are building in place.
36769 if test -z "$ac_top_builddir"; then
36772 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
36774 [\\/]* | ?
:[\\/]* ) # Absolute path.
36775 ac_srcdir
=$srcdir$ac_dir_suffix;
36776 ac_top_srcdir
=$srcdir ;;
36777 *) # Relative path.
36778 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
36779 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
36781 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36783 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
36784 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36785 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36786 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36789 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
36790 echo "$as_me: executing $ac_dest commands" >&6;}
36793 if test ! -h wx
-config; then
36795 mv wx
-config wx
${TOOLCHAIN_NAME}-config
36796 ${LN_S} wx
${TOOLCHAIN_NAME}-config wx
-config
36799 if test ! -d lib
; then
36802 if test ! -d lib
/wx
; then
36805 if test ! -d lib
/wx
/include
; then
36806 mkdir lib
/wx
/include
36808 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}; then
36809 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}
36811 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
; then
36812 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
36814 if test -f setup.h
; then
36815 mv -f setup.h lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
36822 cat >>$CONFIG_STATUS <<\_ACEOF
36824 { (exit 0); exit 0; }
36826 chmod +x
$CONFIG_STATUS
36827 ac_clean_files
=$ac_clean_files_save
36830 # configure is writing to config.log, and then calls config.status.
36831 # config.status does its own redirection, appending to config.log.
36832 # Unfortunately, on DOS this fails, as config.log is still kept open
36833 # by configure, so config.status won't be able to write to it; its
36834 # output is simply discarded. So we exec the FD to /dev/null,
36835 # effectively closing config.log, so it can be properly (re)opened and
36836 # appended to by config.status. When coming back to configure, we
36837 # need to make the FD available again.
36838 if test "$no_create" != yes; then
36840 ac_config_status_args
=
36841 test "$silent" = yes &&
36842 ac_config_status_args
="$ac_config_status_args --quiet"
36844 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
36846 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
36847 # would make configure fail if this is the last instruction.
36848 $ac_cs_success || { (exit 1); exit 1; }
36852 # CONFIG_SUBDIRS section.
36854 if test "$no_recursion" != yes; then
36856 # Remove --cache-file and --srcdir arguments so they do not pile up.
36857 ac_sub_configure_args
=
36859 for ac_arg
in $ac_configure_args; do
36860 if test -n "$ac_prev"; then
36865 -cache-file | --cache-file | --cache-fil | --cache-fi \
36866 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
36867 ac_prev
=cache_file
;;
36868 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
36869 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
36872 --config-cache | -C)
36874 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
36876 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
36878 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
36880 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
36882 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
36886 # Always prepend --prefix to ensure using the same prefix
36887 # in subdir configurations.
36888 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
36891 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
36893 # Do not complain, so a configure script can configure whichever
36894 # parts of a large source tree are present.
36895 test -d $srcdir/$ac_dir || continue
36897 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
36898 echo "$as_me: configuring in $ac_dir" >&6;}
36899 { if $as_mkdir_p; then
36904 while test ! -d "$as_dir"; do
36905 as_dirs
="$as_dir $as_dirs"
36906 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
36907 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36908 X"$as_dir" : 'X\(//\)[^/]' \| \
36909 X"$as_dir" : 'X\(//\)$' \| \
36910 X"$as_dir" : 'X\(/\)' \| \
36911 . : '\(.\)' 2>/dev/null ||
36913 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36914 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36915 /^X\(\/\/\)$/{ s//\1/; q; }
36916 /^X\(\/\).*/{ s//\1/; q; }
36919 test ! -n "$as_dirs" || mkdir $as_dirs
36920 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36921 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36922 { (exit 1); exit 1; }; }; }
36926 if test "$ac_dir" != .
; then
36927 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36928 # A "../" for each directory in $ac_dir_suffix.
36929 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36931 ac_dir_suffix
= ac_top_builddir
=
36935 .
) # No --srcdir option. We are building in place.
36937 if test -z "$ac_top_builddir"; then
36940 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
36942 [\\/]* | ?
:[\\/]* ) # Absolute path.
36943 ac_srcdir
=$srcdir$ac_dir_suffix;
36944 ac_top_srcdir
=$srcdir ;;
36945 *) # Relative path.
36946 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
36947 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
36949 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36951 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
36952 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36953 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36954 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36959 # Check for guested configure; otherwise get Cygnus style configure.
36960 if test -f $ac_srcdir/configure.gnu
; then
36961 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
36962 elif test -f $ac_srcdir/configure
; then
36963 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
36964 elif test -f $ac_srcdir/configure.
in; then
36965 ac_sub_configure
=$ac_configure
36967 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
36968 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
36972 # The recursion is here.
36973 if test -n "$ac_sub_configure"; then
36974 # Make the cache file name correct relative to the subdirectory.
36975 case $cache_file in
36976 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
36977 *) # Relative path.
36978 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
36981 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
36982 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
36983 # The eval makes quoting arguments work.
36984 eval $ac_sub_configure $ac_sub_configure_args \
36985 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
36986 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
36987 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
36988 { (exit 1); exit 1; }; }
36997 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
36999 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
37000 echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
37002 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
37003 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
37004 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
37006 echo " What level of wxWindows compatibility should be enabled?"
37007 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
37008 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
37010 echo " Which libraries should wxWindows use?"
37011 echo " jpeg ${wxUSE_LIBJPEG-none}"
37012 echo " png ${wxUSE_LIBPNG-none}"
37013 echo " regex ${wxUSE_REGEX}"
37014 echo " tiff ${wxUSE_LIBTIFF-none}"
37015 echo " zlib ${wxUSE_ZLIB}"
37016 echo " odbc ${wxUSE_ODBC}"
37017 echo " expat ${wxUSE_EXPAT}"