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 PLATFORM_OS2 SO_SUFFIX SO_SUFFIX_MODULE LIBPREFIX DLLPREFIX DLLPREFIX_MODULE AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MAC_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_OS2 COND_TOOLKIT_OS2_USE_GUI_1 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_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-listbook use wxListbook class
970 --enable-listbox use wxListBox class
971 --enable-listctrl use wxListCtrl class
972 --enable-notebook use wxNotebook class
973 --enable-radiobox use wxRadioBox class
974 --enable-radiobtn use wxRadioButton class
975 --enable-sash use wxSashWindow class
976 --enable-scrollbar use wxScrollBar class and scrollable windows
977 --enable-slider use wxSlider class
978 --enable-spinbtn use wxSpinButton class
979 --enable-spinctrl use wxSpinCtrl class
980 --enable-splitter use wxSplitterWindow class
981 --enable-statbmp use wxStaticBitmap class
982 --enable-statbox use wxStaticBox class
983 --enable-statline use wxStaticLine class
984 --enable-stattext use wxStaticText class
985 --enable-statusbar use wxStatusBar class
986 --enable-tabdialog use wxTabControl class
987 --enable-textctrl use wxTextCtrl class
988 --enable-togglebtn use wxToggleButton class
989 --enable-toolbar use wxToolBar class
990 --enable-tbarnative use native wxToolBar class
991 --enable-tbarsmpl use wxToolBarSimple class
992 --enable-treectrl use wxTreeCtrl class
993 --enable-tipwindow use wxTipWindow class
994 --enable-popupwin use wxPopUpWindow class
995 --enable-commondlg use all common dialogs
996 --enable-choicedlg use wxChoiceDialog
997 --enable-coldlg use wxColourDialog
998 --enable-filedlg use wxFileDialog
999 --enable-finddlg use wxFindReplaceDialog
1000 --enable-fontdlg use wxFontDialog
1001 --enable-dirdlg use wxDirDialog
1002 --enable-msgdlg use wxMessageDialog
1003 --enable-numberdlg use wxNumberEntryDialog
1004 --enable-splash use wxSplashScreen
1005 --enable-textdlg use wxTextDialog
1006 --enable-tipdlg use startup tips
1007 --enable-progressdlg use wxProgressDialog
1008 --enable-wizarddlg use wxWizard
1009 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1010 --enable-miniframe use wxMiniFrame class
1011 --enable-tooltips use wxToolTip class
1012 --enable-splines use spline drawing code
1013 --enable-validators use wxValidator and derived classes
1014 --enable-busyinfo use wxBusyInfo
1015 --enable-joystick use wxJoystick (Linux only)
1016 --enable-metafiles use wxMetaFile (Windows only)
1017 --enable-dragimage use wxDragImage
1018 --enable-accessibility enable accessibility support
1019 --enable-palette use wxPalette class
1020 --enable-image use wxImage class
1021 --enable-gif use gif images (GIF file format)
1022 --enable-pcx use pcx images (PCX file format)
1023 --enable-iff use iff images (IFF file format)
1024 --enable-pnm use pnm images (PNM file format)
1025 --enable-xpm use xpm images (XPM file format)
1026 --enable-icocur use Windows ICO and CUR formats
1027 --enable-official_build official build of wxWindows (win32 DLL only)
1028 --enable-vendor=VENDOR vendor name (win32 DLL only)
1029 --disable-largefile omit support for large files
1030 --disable-gtktest do not try to compile and run a test GTK+ program
1031 --disable-gtktest Do not try to compile and run a test GTK program
1032 --disable-precomp-headers don't use precompiled headers even
if compiler can
1035 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1036 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1038 --with-motif use Motif
/Lesstif
1039 --with-mac use Mac OS X
1040 --with-cocoa use Cocoa
1041 --with-wine use Wine
1042 --with-msw use MS
-Windows
1043 --with-pm use OS
/2 Presentation Manager
1044 --with-mgl use SciTech MGL
1045 --with-microwin use MicroWindows
1047 --with-libpng use libpng
(PNG image format
)
1048 --with-libjpeg use libjpeg
(JPEG
file format
)
1049 --with-libtiff use libtiff
(TIFF
file format
)
1050 --with-opengl use OpenGL
(or Mesa
)
1051 --with-dmalloc use dmalloc library
(http
://dmalloc.com
/)
1052 --with-regex enable support
for wxRegEx class
1053 --with-zlib use zlib
for LZW compression
1054 --with-odbc use the IODBC and wxODBC classes
1055 --with-expat enable XML support using expat parser
1056 --with-gtk-prefix=PFX Prefix where GTK is installed
(optional
)
1057 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed
(optional
)
1058 --with-x use the X Window System
1059 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
1061 Some influential environment variables
:
1062 CC C compiler
command
1063 CFLAGS C compiler flags
1064 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1065 nonstandard directory
<lib dir
>
1066 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1067 headers
in a nonstandard directory
<include dir
>
1069 CXX C
++ compiler
command
1070 CXXFLAGS C
++ compiler flags
1071 CXXCPP C
++ preprocessor
1073 Use these variables to override the choices made by
`configure' or to help
1074 it to find libraries and programs with nonstandard names/locations.
1076 Report bugs to <wx-dev@lists.wxwindows.org>.
1080 if test "$ac_init_help" = "recursive"; then
1081 # If there are subdirs, report their specific --help.
1083 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1084 test -d $ac_dir || continue
1087 if test "$ac_dir" != .; then
1088 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1089 # A "../" for each directory in $ac_dir_suffix.
1090 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1092 ac_dir_suffix= ac_top_builddir=
1096 .) # No --srcdir option. We are building in place.
1098 if test -z "$ac_top_builddir"; then
1101 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1103 [\\/]* | ?:[\\/]* ) # Absolute path.
1104 ac_srcdir=$srcdir$ac_dir_suffix;
1105 ac_top_srcdir=$srcdir ;;
1107 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1108 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1110 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1112 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1113 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}.
&& pwd`
1114 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1115 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1118 # Check for guested configure; otherwise get Cygnus style configure.
1119 if test -f $ac_srcdir/configure.gnu; then
1121 $SHELL $ac_srcdir/configure.gnu --help=recursive
1122 elif test -f $ac_srcdir/configure; then
1124 $SHELL $ac_srcdir/configure --help=recursive
1125 elif test -f $ac_srcdir/configure.ac ||
1126 test -f $ac_srcdir/configure.in; then
1128 $ac_configure --help
1130 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1136 test -n "$ac_init_help" && exit 0
1137 if $ac_init_version; then
1139 wxWindows configure 2.5.0
1140 generated by GNU Autoconf 2.57
1142 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1143 Free Software Foundation, Inc.
1144 This configure script is free software; the Free Software Foundation
1145 gives unlimited permission to copy, distribute and modify it.
1151 This file contains any messages produced by compilers while
1152 running configure, to aid debugging if configure makes a mistake.
1154 It was created by wxWindows $as_me 2.5.0, which was
1155 generated by GNU Autoconf 2.57. Invocation command line was
1166 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
1167 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
1168 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
1169 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
1170 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
1172 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
1173 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
1175 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
1176 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
1177 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
1178 hostinfo = `(hostinfo
) 2>/dev
/null
|| echo unknown
`
1179 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
1180 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
1181 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
1185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1189 test -z "$as_dir" && as_dir=.
1190 echo "PATH: $as_dir"
1205 # Keep a trace of the command line.
1206 # Strip out --no-create and --no-recursion so they do not pile up.
1207 # Strip out --silent because we don't want to record it for future runs.
1208 # Also quote any args containing shell meta-characters.
1209 # Make two passes to allow for proper duplicate-argument suppression.
1214 ac_must_keep_next=false
1220 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1221 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1222 | -silent | --silent | --silen | --sile | --sil)
1224 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1225 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1228 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1230 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1231 if test $ac_must_keep_next = true; then
1232 ac_must_keep_next=false # Got value, back to normal.
1235 *=* | --config-cache | -C | -disable-* | --disable-* \
1236 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1237 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1238 | -with-* | --with-* | -without-* | --without-* | --x)
1239 case "$ac_configure_args0 " in
1240 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1243 -* ) ac_must_keep_next=true ;;
1246 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1247 # Get rid of the leading space.
1253 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1254 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1256 # When interrupted or exit'd, cleanup temporary files, and complete
1257 # config.log. We remove comments because anyway the quotes in there
1258 # would cause problems or look ugly.
1259 # WARNING: Be sure not to use single quotes in there, as some shells,
1260 # such as our DU 5.0 friend, will then `close
' the trap.
1261 trap 'exit_status
=$?
1262 # Save into config.log some information that might help in debugging.
1267 ## ---------------- ##
1268 ## Cache variables. ##
1269 ## ---------------- ##
1272 # The following way of writing the cache mishandles newlines in values,
1275 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1278 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1279 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1283 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1290 ## ----------------- ##
1291 ## Output variables. ##
1292 ## ----------------- ##
1295 for ac_var
in $ac_subst_vars
1297 eval ac_val
=$
`echo $ac_var`
1298 echo "$ac_var='"'"'$ac_val'"'"'"
1302 if test -n "$ac_subst_files"; then
1309 for ac_var
in $ac_subst_files
1311 eval ac_val
=$
`echo $ac_var`
1312 echo "$ac_var='"'"'$ac_val'"'"'"
1317 if test -s confdefs.h
; then
1324 sed "/^$/d" confdefs.h
| sort
1327 test "$ac_signal" != 0 &&
1328 echo "$as_me: caught signal $ac_signal"
1329 echo "$as_me: exit $exit_status"
1331 rm -f core core.
* *.core
&&
1332 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1335 for ac_signal in 1 2 13 15; do
1336 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1340 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1341 rm -rf conftest* confdefs.h
1342 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1345 # Predefined preprocessor variables.
1347 cat >>confdefs.h <<_ACEOF
1348 #define PACKAGE_NAME "$PACKAGE_NAME"
1352 cat >>confdefs.h <<_ACEOF
1353 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1357 cat >>confdefs.h <<_ACEOF
1358 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1362 cat >>confdefs.h <<_ACEOF
1363 #define PACKAGE_STRING "$PACKAGE_STRING"
1367 cat >>confdefs.h <<_ACEOF
1368 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1372 # Let the site file select an alternate cache file if it wants to.
1373 # Prefer explicitly selected file to automatically selected ones.
1374 if test -z "$CONFIG_SITE"; then
1375 if test "x$prefix" != xNONE; then
1376 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1378 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1381 for ac_site_file in $CONFIG_SITE; do
1382 if test -r "$ac_site_file"; then
1383 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1384 echo "$as_me: loading site script $ac_site_file" >&6;}
1385 sed 's
/^
/| /' "$ac_site_file" >&5
1390 if test -r "$cache_file"; then
1391 # Some versions of bash will fail to source /dev/null (special
1392 # files actually), so we avoid doing that.
1393 if test -f "$cache_file"; then
1394 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1395 echo "$as_me: loading cache $cache_file" >&6;}
1397 [\\/]* | ?:[\\/]* ) . $cache_file;;
1398 *) . ./$cache_file;;
1402 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1403 echo "$as_me: creating cache $cache_file" >&6;}
1407 # Check that the precious variables saved in the cache have kept the same
1409 ac_cache_corrupted=false
1410 for ac_var in `(set) 2>&1 |
1411 sed -n 's
/^ac_env_\
([a
-zA-Z_0-9]*\
)_set
=.
*/\
1/p
'`; do
1412 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1413 eval ac_new_set=\$ac_env_${ac_var}_set
1414 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1415 eval ac_new_val="\$ac_env_${ac_var}_value"
1416 case $ac_old_set,$ac_new_set in
1418 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1419 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1420 ac_cache_corrupted=: ;;
1422 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1423 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1424 ac_cache_corrupted=: ;;
1427 if test "x$ac_old_val" != "x$ac_new_val"; then
1428 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1429 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1430 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1431 echo "$as_me: former value: $ac_old_val" >&2;}
1432 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1433 echo "$as_me: current value: $ac_new_val" >&2;}
1434 ac_cache_corrupted=:
1437 # Pass precious variables to config.status.
1438 if test "$ac_new_set" = set; then
1440 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1441 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1442 *) ac_arg=$ac_var=$ac_new_val ;;
1444 case " $ac_configure_args " in
1445 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1446 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1450 if $ac_cache_corrupted; then
1451 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1452 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1453 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1454 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1455 { (exit 1); exit 1; }; }
1459 ac_cpp='$CPP $CPPFLAGS'
1460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1461 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1494 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1495 if test -f $ac_dir/install-sh; then
1497 ac_install_sh="$ac_aux_dir/install-sh -c"
1499 elif test -f $ac_dir/install.sh; then
1501 ac_install_sh="$ac_aux_dir/install.sh -c"
1503 elif test -f $ac_dir/shtool; then
1505 ac_install_sh="$ac_aux_dir/shtool install -c"
1509 if test -z "$ac_aux_dir"; then
1510 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1511 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1512 { (exit 1); exit 1; }; }
1514 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1515 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1516 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1518 # Make sure we can run config.sub.
1519 $ac_config_sub sun4 >/dev/null 2>&1 ||
1520 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1521 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1522 { (exit 1); exit 1; }; }
1524 echo "$as_me:$LINENO: checking build system type" >&5
1525 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1526 if test "${ac_cv_build+set}" = set; then
1527 echo $ECHO_N "(cached) $ECHO_C" >&6
1529 ac_cv_build_alias=$build_alias
1530 test -z "$ac_cv_build_alias" &&
1531 ac_cv_build_alias=`$ac_config_guess`
1532 test -z "$ac_cv_build_alias" &&
1533 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1534 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1535 { (exit 1); exit 1; }; }
1536 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1537 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1538 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1539 { (exit 1); exit 1; }; }
1542 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1543 echo "${ECHO_T}$ac_cv_build" >&6
1545 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1546 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1547 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1550 echo "$as_me:$LINENO: checking host system type" >&5
1551 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1552 if test "${ac_cv_host+set}" = set; then
1553 echo $ECHO_N "(cached) $ECHO_C" >&6
1555 ac_cv_host_alias=$host_alias
1556 test -z "$ac_cv_host_alias" &&
1557 ac_cv_host_alias=$ac_cv_build_alias
1558 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1559 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1560 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1561 { (exit 1); exit 1; }; }
1564 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1565 echo "${ECHO_T}$ac_cv_host" >&6
1567 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1568 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1569 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1572 echo "$as_me:$LINENO: checking target system type" >&5
1573 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1574 if test "${ac_cv_target+set}" = set; then
1575 echo $ECHO_N "(cached) $ECHO_C" >&6
1577 ac_cv_target_alias=$target_alias
1578 test "x$ac_cv_target_alias" = "x" &&
1579 ac_cv_target_alias=$ac_cv_host_alias
1580 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1581 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1582 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1583 { (exit 1); exit 1; }; }
1586 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1587 echo "${ECHO_T}$ac_cv_target" >&6
1588 target=$ac_cv_target
1589 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1590 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1591 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1594 # The aliases save the names the user supplied, while $host etc.
1595 # will get canonicalized.
1596 test -n "$target_alias" &&
1597 test "$program_prefix$program_suffix$program_transform_name" = \
1599 program_prefix=${target_alias}-
1603 WX_MAJOR_VERSION_NUMBER=2
1604 WX_MINOR_VERSION_NUMBER=5
1607 WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1608 WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1610 WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1625 USE_BSD= USE_DARWIN= USE_FREEBSD=
1631 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1637 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1639 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1641 DEFAULT_wxUSE_COCOA=0
1645 DEFAULT_wxUSE_MICROWIN=0
1646 DEFAULT_wxUSE_MOTIF=0
1651 DEFAULT_DEFAULT_wxUSE_COCOA=0
1652 DEFAULT_DEFAULT_wxUSE_GTK=0
1653 DEFAULT_DEFAULT_wxUSE_MAC=0
1654 DEFAULT_DEFAULT_wxUSE_MGL=0
1655 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1656 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1657 DEFAULT_DEFAULT_wxUSE_MSW=0
1658 DEFAULT_DEFAULT_wxUSE_PM=0
1659 DEFAULT_DEFAULT_wxUSE_X11=0
1664 SAMPLES_RPATH_POSTLINK=
1669 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1670 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1672 cat >>confdefs.h <<\_ACEOF
1679 cat >>confdefs.h <<\_ACEOF
1684 if test "x$TMP" = "xalpha"; then
1686 cat >>confdefs.h <<\_ACEOF
1691 DEFAULT_DEFAULT_wxUSE_GTK=1
1695 cat >>confdefs.h <<\_ACEOF
1700 if test "x$TMP" = "xalpha"; then
1702 cat >>confdefs.h <<\_ACEOF
1707 DEFAULT_DEFAULT_wxUSE_GTK=1
1709 *-*-irix5* | *-*-irix6* )
1712 cat >>confdefs.h <<\_ACEOF
1716 cat >>confdefs.h <<\_ACEOF
1720 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1726 cat >>confdefs.h <<\_ACEOF
1730 cat >>confdefs.h <<\_ACEOF
1731 #define __SOLARIS__ 1
1734 cat >>confdefs.h <<\_ACEOF
1738 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1739 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1745 cat >>confdefs.h <<\_ACEOF
1749 cat >>confdefs.h <<\_ACEOF
1753 cat >>confdefs.h <<\_ACEOF
1757 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1762 cat >>confdefs.h <<\_ACEOF
1763 #define __FREEBSD__ 1
1766 cat >>confdefs.h <<\_ACEOF
1770 DEFAULT_DEFAULT_wxUSE_GTK=1
1775 cat >>confdefs.h <<\_ACEOF
1776 #define __OPENBSD__ 1
1779 cat >>confdefs.h <<\_ACEOF
1783 DEFAULT_DEFAULT_wxUSE_GTK=1
1788 cat >>confdefs.h <<\_ACEOF
1789 #define __NETBSD__ 1
1792 cat >>confdefs.h <<\_ACEOF
1796 DEFAULT_DEFAULT_wxUSE_GTK=1
1801 cat >>confdefs.h <<\_ACEOF
1805 cat >>confdefs.h <<\_ACEOF
1809 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1810 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1815 cat >>confdefs.h <<\_ACEOF
1819 cat >>confdefs.h <<\_ACEOF
1823 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1828 cat >>confdefs.h <<\_ACEOF
1832 cat >>confdefs.h <<\_ACEOF
1836 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1843 cat >>confdefs.h <<\_ACEOF
1847 cat >>confdefs.h <<\_ACEOF
1851 cat >>confdefs.h <<\_ACEOF
1855 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1862 cat >>confdefs.h <<\_ACEOF
1863 #define __UNIXWARE__ 1
1868 *-*-cygwin* | *-*-mingw32* )
1872 DEFAULT_DEFAULT_wxUSE_MSW=1
1878 cat >>confdefs.h <<\_ACEOF
1883 DEFAULT_DEFAULT_wxUSE_MGL=1
1884 LIBS="$LIBS -lstdc++"
1887 *-pc-os2_emx | *-pc-os2-emx )
1888 cat >>confdefs.h <<\_ACEOF
1893 DEFAULT_DEFAULT_wxUSE_PM=1
1895 LIBS="$LIBS -lstdcpp"
1896 ac_executable_extensions=".exe"
1897 export ac_executable_extensions
1901 for ac_dir in $PATH; do
1903 if test -z "$ac_TEMP_PATH"; then
1904 ac_TEMP_PATH="$ac_dir"
1906 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1909 export PATH="$ac_TEMP_PATH"
1917 cat >>confdefs.h <<\_ACEOF
1921 cat >>confdefs.h <<\_ACEOF
1922 #define __DARWIN__ 1
1925 cat >>confdefs.h <<\_ACEOF
1926 #define __POWERPC__ 1
1929 cat >>confdefs.h <<\_ACEOF
1930 #define TARGET_CARBON 1
1933 DEFAULT_DEFAULT_wxUSE_MAC=1
1938 cat >>confdefs.h <<\_ACEOF
1945 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1946 echo "$as_me: error: unknown system type ${host}." >&2;}
1947 { (exit 1); exit 1; }; }
1953 wx_arg_cache_file="configarg.cache"
1954 echo "loading argument cache $wx_arg_cache_file"
1955 rm -f ${wx_arg_cache_file}.tmp
1956 touch ${wx_arg_cache_file}.tmp
1957 touch ${wx_arg_cache_file}
1961 if test $DEBUG_CONFIGURE = 1; then
1962 DEFAULT_wxUSE_UNIVERSAL=no
1963 DEFAULT_wxUSE_STL=no
1965 DEFAULT_wxUSE_NANOX=no
1967 DEFAULT_wxUSE_THREADS=yes
1969 DEFAULT_wxUSE_SHARED=yes
1970 DEFAULT_wxUSE_OPTIMISE=no
1971 DEFAULT_wxUSE_PROFILE=no
1972 DEFAULT_wxUSE_NO_DEPS=no
1973 DEFAULT_wxUSE_NO_RTTI=no
1974 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1975 DEFAULT_wxUSE_PERMISSIVE=no
1976 DEFAULT_wxUSE_DEBUG_FLAG=yes
1977 DEFAULT_wxUSE_DEBUG_INFO=yes
1978 DEFAULT_wxUSE_DEBUG_GDB=yes
1979 DEFAULT_wxUSE_MEM_TRACING=no
1980 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1981 DEFAULT_wxUSE_DMALLOC=no
1982 DEFAULT_wxUSE_APPLE_IEEE=no
1984 DEFAULT_wxUSE_LOG=yes
1985 DEFAULT_wxUSE_LOGWINDOW=no
1986 DEFAULT_wxUSE_LOGGUI=no
1987 DEFAULT_wxUSE_LOGDIALOG=no
1989 DEFAULT_wxUSE_GUI=yes
1990 DEFAULT_wxUSE_CONTROLS=no
1992 DEFAULT_wxUSE_REGEX=no
1993 DEFAULT_wxUSE_XML=no
1994 DEFAULT_wxUSE_EXPAT=no
1995 DEFAULT_wxUSE_ZLIB=no
1996 DEFAULT_wxUSE_LIBPNG=no
1997 DEFAULT_wxUSE_LIBJPEG=no
1998 DEFAULT_wxUSE_LIBTIFF=no
1999 DEFAULT_wxUSE_ODBC=no
2000 DEFAULT_wxUSE_OPENGL=no
2002 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2003 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2004 DEFAULT_wxUSE_STD_IOSTREAM=no
2005 DEFAULT_wxUSE_CMDLINE_PARSER=no
2006 DEFAULT_wxUSE_DATETIME=no
2007 DEFAULT_wxUSE_TIMER=no
2008 DEFAULT_wxUSE_STOPWATCH=no
2009 DEFAULT_wxUSE_FILE=no
2010 DEFAULT_wxUSE_FFILE=no
2011 DEFAULT_wxUSE_TEXTBUFFER=no
2012 DEFAULT_wxUSE_TEXTFILE=no
2013 DEFAULT_wxUSE_WAVE=no
2014 DEFAULT_wxUSE_INTL=no
2015 DEFAULT_wxUSE_CONFIG=no
2016 DEFAULT_wxUSE_FONTMAP=no
2017 DEFAULT_wxUSE_STREAMS=no
2018 DEFAULT_wxUSE_SOCKETS=no
2019 DEFAULT_wxUSE_OLE=no
2020 DEFAULT_wxUSE_DATAOBJ=no
2021 DEFAULT_wxUSE_DIALUP_MANAGER=no
2022 DEFAULT_wxUSE_JOYSTICK=no
2023 DEFAULT_wxUSE_DYNLIB_CLASS=no
2024 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2025 DEFAULT_wxUSE_LONGLONG=no
2026 DEFAULT_wxUSE_GEOMETRY=no
2028 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2029 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2030 DEFAULT_wxUSE_POSTSCRIPT=no
2032 DEFAULT_wxUSE_CLIPBOARD=no
2033 DEFAULT_wxUSE_TOOLTIPS=no
2034 DEFAULT_wxUSE_DRAG_AND_DROP=no
2035 DEFAULT_wxUSE_DRAGIMAGE=no
2036 DEFAULT_wxUSE_SPLINES=no
2038 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2039 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2040 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2042 DEFAULT_wxUSE_RESOURCES=no
2043 DEFAULT_wxUSE_CONSTRAINTS=no
2044 DEFAULT_wxUSE_IPC=no
2045 DEFAULT_wxUSE_HELP=no
2046 DEFAULT_wxUSE_MS_HTML_HELP=no
2047 DEFAULT_wxUSE_WXHTML_HELP=no
2048 DEFAULT_wxUSE_TREELAYOUT=no
2049 DEFAULT_wxUSE_METAFILE=no
2050 DEFAULT_wxUSE_MIMETYPE=no
2051 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2052 DEFAULT_wxUSE_PROTOCOL=no
2053 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2054 DEFAULT_wxUSE_PROTOCOL_FTP=no
2055 DEFAULT_wxUSE_PROTOCOL_FILE=no
2056 DEFAULT_wxUSE_URL=no
2058 DEFAULT_wxUSE_COMMONDLGS=no
2059 DEFAULT_wxUSE_CHOICEDLG=no
2060 DEFAULT_wxUSE_COLOURDLG=no
2061 DEFAULT_wxUSE_DIRDLG=no
2062 DEFAULT_wxUSE_FILEDLG=no
2063 DEFAULT_wxUSE_FINDREPLDLG=no
2064 DEFAULT_wxUSE_FONTDLG=no
2065 DEFAULT_wxUSE_MSGDLG=no
2066 DEFAULT_wxUSE_NUMBERDLG=no
2067 DEFAULT_wxUSE_TEXTDLG=no
2068 DEFAULT_wxUSE_SPLASH=no
2069 DEFAULT_wxUSE_STARTUP_TIPS=no
2070 DEFAULT_wxUSE_PROGRESSDLG=no
2071 DEFAULT_wxUSE_WIZARDDLG=no
2073 DEFAULT_wxUSE_MENUS=no
2074 DEFAULT_wxUSE_MINIFRAME=no
2075 DEFAULT_wxUSE_HTML=no
2076 DEFAULT_wxUSE_FILESYSTEM=no
2077 DEFAULT_wxUSE_FS_INET=no
2078 DEFAULT_wxUSE_FS_ZIP=no
2079 DEFAULT_wxUSE_BUSYINFO=no
2080 DEFAULT_wxUSE_ZIPSTREAM=no
2081 DEFAULT_wxUSE_VALIDATORS=no
2083 DEFAULT_wxUSE_ACCEL=no
2084 DEFAULT_wxUSE_BUTTON=no
2085 DEFAULT_wxUSE_BMPBUTTON=no
2086 DEFAULT_wxUSE_CALCTRL=no
2087 DEFAULT_wxUSE_CARET=no
2088 DEFAULT_wxUSE_CHECKBOX=no
2089 DEFAULT_wxUSE_CHECKLST=no
2090 DEFAULT_wxUSE_CHOICE=no
2091 DEFAULT_wxUSE_COMBOBOX=no
2092 DEFAULT_wxUSE_DISPLAY=no
2093 DEFAULT_wxUSE_GAUGE=no
2094 DEFAULT_wxUSE_GRID=no
2095 DEFAULT_wxUSE_IMAGLIST=no
2096 DEFAULT_wxUSE_LISTBOOK=no
2097 DEFAULT_wxUSE_LISTBOX=no
2098 DEFAULT_wxUSE_LISTCTRL=no
2099 DEFAULT_wxUSE_NOTEBOOK=no
2100 DEFAULT_wxUSE_RADIOBOX=no
2101 DEFAULT_wxUSE_RADIOBTN=no
2102 DEFAULT_wxUSE_SASH=no
2103 DEFAULT_wxUSE_SCROLLBAR=no
2104 DEFAULT_wxUSE_SLIDER=no
2105 DEFAULT_wxUSE_SPINBTN=no
2106 DEFAULT_wxUSE_SPINCTRL=no
2107 DEFAULT_wxUSE_SPLITTER=no
2108 DEFAULT_wxUSE_STATBMP=no
2109 DEFAULT_wxUSE_STATBOX=no
2110 DEFAULT_wxUSE_STATLINE=no
2111 DEFAULT_wxUSE_STATTEXT=no
2112 DEFAULT_wxUSE_STATUSBAR=yes
2113 DEFAULT_wxUSE_TABDIALOG=no
2114 DEFAULT_wxUSE_TEXTCTRL=no
2115 DEFAULT_wxUSE_TOGGLEBTN=no
2116 DEFAULT_wxUSE_TOOLBAR=no
2117 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2118 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2119 DEFAULT_wxUSE_TREECTRL=no
2120 DEFAULT_wxUSE_POPUPWIN=no
2121 DEFAULT_wxUSE_TIPWINDOW=no
2123 DEFAULT_wxUSE_UNICODE=no
2124 DEFAULT_wxUSE_UNICODE_MSLU=no
2125 DEFAULT_wxUSE_WCSRTOMBS=no
2127 DEFAULT_wxUSE_PALETTE=no
2128 DEFAULT_wxUSE_IMAGE=no
2129 DEFAULT_wxUSE_GIF=no
2130 DEFAULT_wxUSE_PCX=no
2131 DEFAULT_wxUSE_PNM=no
2132 DEFAULT_wxUSE_IFF=no
2133 DEFAULT_wxUSE_XPM=no
2134 DEFAULT_wxUSE_ICO_CUR=no
2135 DEFAULT_wxUSE_ACCESSIBILITY=no
2137 DEFAULT_wxUSE_MONOLITHIC=no
2138 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2140 DEFAULT_wxUSE_UNIVERSAL=no
2141 DEFAULT_wxUSE_STL=no
2143 DEFAULT_wxUSE_NANOX=no
2145 DEFAULT_wxUSE_THREADS=yes
2147 DEFAULT_wxUSE_SHARED=yes
2148 DEFAULT_wxUSE_OPTIMISE=yes
2149 DEFAULT_wxUSE_PROFILE=no
2150 DEFAULT_wxUSE_NO_DEPS=no
2151 DEFAULT_wxUSE_NO_RTTI=no
2152 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2153 DEFAULT_wxUSE_PERMISSIVE=no
2154 DEFAULT_wxUSE_DEBUG_FLAG=no
2155 DEFAULT_wxUSE_DEBUG_INFO=no
2156 DEFAULT_wxUSE_DEBUG_GDB=no
2157 DEFAULT_wxUSE_MEM_TRACING=no
2158 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2159 DEFAULT_wxUSE_DMALLOC=no
2160 DEFAULT_wxUSE_APPLE_IEEE=yes
2162 DEFAULT_wxUSE_LOG=yes
2163 DEFAULT_wxUSE_LOGWINDOW=yes
2164 DEFAULT_wxUSE_LOGGUI=yes
2165 DEFAULT_wxUSE_LOGDIALOG=yes
2167 DEFAULT_wxUSE_GUI=yes
2169 DEFAULT_wxUSE_REGEX=yes
2170 DEFAULT_wxUSE_XML=yes
2171 DEFAULT_wxUSE_EXPAT=yes
2172 DEFAULT_wxUSE_ZLIB=yes
2173 DEFAULT_wxUSE_LIBPNG=yes
2174 DEFAULT_wxUSE_LIBJPEG=yes
2175 DEFAULT_wxUSE_LIBTIFF=yes
2176 DEFAULT_wxUSE_ODBC=no
2177 DEFAULT_wxUSE_OPENGL=no
2179 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2180 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2181 DEFAULT_wxUSE_STD_IOSTREAM=no
2182 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2183 DEFAULT_wxUSE_DATETIME=yes
2184 DEFAULT_wxUSE_TIMER=yes
2185 DEFAULT_wxUSE_STOPWATCH=yes
2186 DEFAULT_wxUSE_FILE=yes
2187 DEFAULT_wxUSE_FFILE=yes
2188 DEFAULT_wxUSE_TEXTBUFFER=yes
2189 DEFAULT_wxUSE_TEXTFILE=yes
2190 DEFAULT_wxUSE_WAVE=no
2191 DEFAULT_wxUSE_INTL=yes
2192 DEFAULT_wxUSE_CONFIG=yes
2193 DEFAULT_wxUSE_FONTMAP=yes
2194 DEFAULT_wxUSE_STREAMS=yes
2195 DEFAULT_wxUSE_SOCKETS=yes
2196 DEFAULT_wxUSE_OLE=yes
2197 DEFAULT_wxUSE_DATAOBJ=yes
2198 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2199 DEFAULT_wxUSE_JOYSTICK=yes
2200 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2201 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2202 DEFAULT_wxUSE_LONGLONG=yes
2203 DEFAULT_wxUSE_GEOMETRY=yes
2205 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2206 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2207 DEFAULT_wxUSE_POSTSCRIPT=yes
2209 DEFAULT_wxUSE_CLIPBOARD=yes
2210 DEFAULT_wxUSE_TOOLTIPS=yes
2211 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2212 DEFAULT_wxUSE_DRAGIMAGE=yes
2213 DEFAULT_wxUSE_SPLINES=yes
2215 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2216 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2217 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2219 DEFAULT_wxUSE_RESOURCES=no
2220 DEFAULT_wxUSE_CONSTRAINTS=yes
2221 DEFAULT_wxUSE_IPC=yes
2222 DEFAULT_wxUSE_HELP=yes
2223 DEFAULT_wxUSE_MS_HTML_HELP=yes
2224 DEFAULT_wxUSE_WXHTML_HELP=yes
2225 DEFAULT_wxUSE_TREELAYOUT=yes
2226 DEFAULT_wxUSE_METAFILE=yes
2227 DEFAULT_wxUSE_MIMETYPE=yes
2228 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2229 DEFAULT_wxUSE_PROTOCOL=yes
2230 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2231 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2232 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2233 DEFAULT_wxUSE_URL=yes
2235 DEFAULT_wxUSE_COMMONDLGS=yes
2236 DEFAULT_wxUSE_CHOICEDLG=yes
2237 DEFAULT_wxUSE_COLOURDLG=yes
2238 DEFAULT_wxUSE_DIRDLG=yes
2239 DEFAULT_wxUSE_FILEDLG=yes
2240 DEFAULT_wxUSE_FINDREPLDLG=yes
2241 DEFAULT_wxUSE_FONTDLG=yes
2242 DEFAULT_wxUSE_MSGDLG=yes
2243 DEFAULT_wxUSE_NUMBERDLG=yes
2244 DEFAULT_wxUSE_TEXTDLG=yes
2245 DEFAULT_wxUSE_SPLASH=yes
2246 DEFAULT_wxUSE_STARTUP_TIPS=yes
2247 DEFAULT_wxUSE_PROGRESSDLG=yes
2248 DEFAULT_wxUSE_WIZARDDLG=yes
2250 DEFAULT_wxUSE_MENUS=yes
2251 DEFAULT_wxUSE_MINIFRAME=yes
2252 DEFAULT_wxUSE_HTML=yes
2253 DEFAULT_wxUSE_FILESYSTEM=yes
2254 DEFAULT_wxUSE_FS_INET=yes
2255 DEFAULT_wxUSE_FS_ZIP=yes
2256 DEFAULT_wxUSE_BUSYINFO=yes
2257 DEFAULT_wxUSE_ZIPSTREAM=yes
2258 DEFAULT_wxUSE_VALIDATORS=yes
2260 DEFAULT_wxUSE_ACCEL=yes
2261 DEFAULT_wxUSE_BUTTON=yes
2262 DEFAULT_wxUSE_BMPBUTTON=yes
2263 DEFAULT_wxUSE_CALCTRL=yes
2264 DEFAULT_wxUSE_CARET=yes
2265 DEFAULT_wxUSE_CHECKBOX=yes
2266 DEFAULT_wxUSE_CHECKLST=yes
2267 DEFAULT_wxUSE_CHOICE=yes
2268 DEFAULT_wxUSE_COMBOBOX=yes
2269 DEFAULT_wxUSE_DISPLAY=no
2270 DEFAULT_wxUSE_GAUGE=yes
2271 DEFAULT_wxUSE_GRID=yes
2272 DEFAULT_wxUSE_IMAGLIST=yes
2273 DEFAULT_wxUSE_LISTBOOK=yes
2274 DEFAULT_wxUSE_LISTBOX=yes
2275 DEFAULT_wxUSE_LISTCTRL=yes
2276 DEFAULT_wxUSE_NOTEBOOK=yes
2277 DEFAULT_wxUSE_RADIOBOX=yes
2278 DEFAULT_wxUSE_RADIOBTN=yes
2279 DEFAULT_wxUSE_SASH=yes
2280 DEFAULT_wxUSE_SCROLLBAR=yes
2281 DEFAULT_wxUSE_SLIDER=yes
2282 DEFAULT_wxUSE_SPINBTN=yes
2283 DEFAULT_wxUSE_SPINCTRL=yes
2284 DEFAULT_wxUSE_SPLITTER=yes
2285 DEFAULT_wxUSE_STATBMP=yes
2286 DEFAULT_wxUSE_STATBOX=yes
2287 DEFAULT_wxUSE_STATLINE=yes
2288 DEFAULT_wxUSE_STATTEXT=yes
2289 DEFAULT_wxUSE_STATUSBAR=yes
2290 DEFAULT_wxUSE_TABDIALOG=no
2291 DEFAULT_wxUSE_TEXTCTRL=yes
2292 DEFAULT_wxUSE_TOGGLEBTN=yes
2293 DEFAULT_wxUSE_TOOLBAR=yes
2294 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2295 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2296 DEFAULT_wxUSE_TREECTRL=yes
2297 DEFAULT_wxUSE_POPUPWIN=yes
2298 DEFAULT_wxUSE_TIPWINDOW=yes
2300 DEFAULT_wxUSE_UNICODE=no
2301 DEFAULT_wxUSE_UNICODE_MSLU=yes
2302 DEFAULT_wxUSE_WCSRTOMBS=no
2304 DEFAULT_wxUSE_PALETTE=yes
2305 DEFAULT_wxUSE_IMAGE=yes
2306 DEFAULT_wxUSE_GIF=yes
2307 DEFAULT_wxUSE_PCX=yes
2308 DEFAULT_wxUSE_IFF=no
2309 DEFAULT_wxUSE_PNM=yes
2310 DEFAULT_wxUSE_XPM=yes
2311 DEFAULT_wxUSE_ICO_CUR=yes
2312 DEFAULT_wxUSE_ACCESSIBILITY=no
2314 DEFAULT_wxUSE_MONOLITHIC=no
2315 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2320 for toolkit in `echo $ALL_TOOLKITS`; do
2321 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2322 if test "x$LINE" != "x" ; then
2323 has_toolkit_in_cache=1
2324 eval "DEFAULT_$LINE"
2325 eval "CACHE_$toolkit=1"
2332 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2333 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2335 # Check whether --enable-gui or --disable-gui was given.
2336 if test "${enable_gui+set}" = set; then
2337 enableval="$enable_gui"
2339 if test "$enableval" = yes; then
2340 ac_cv_use_gui='wxUSE_GUI
=yes'
2342 ac_cv_use_gui='wxUSE_GUI
=no
'
2347 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2348 if test "x$LINE" != x ; then
2349 eval "DEFAULT_$LINE"
2354 ac_cv_use_gui='wxUSE_GUI
='$DEFAULT_wxUSE_GUI
2358 eval "$ac_cv_use_gui"
2359 if test "$no_cache" != 1; then
2360 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2363 if test "$wxUSE_GUI" = yes; then
2364 echo "$as_me:$LINENO: result: yes" >&5
2365 echo "${ECHO_T}yes" >&6
2367 echo "$as_me:$LINENO: result: no" >&5
2368 echo "${ECHO_T}no" >&6
2373 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2374 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2376 # Check whether --enable-monolithic or --disable-monolithic was given.
2377 if test "${enable_monolithic+set}" = set; then
2378 enableval="$enable_monolithic"
2380 if test "$enableval" = yes; then
2381 ac_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
2383 ac_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
2388 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2389 if test "x$LINE" != x ; then
2390 eval "DEFAULT_$LINE"
2395 ac_cv_use_monolithic='wxUSE_MONOLITHIC
='$DEFAULT_wxUSE_MONOLITHIC
2399 eval "$ac_cv_use_monolithic"
2400 if test "$no_cache" != 1; then
2401 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2404 if test "$wxUSE_MONOLITHIC" = yes; then
2405 echo "$as_me:$LINENO: result: yes" >&5
2406 echo "${ECHO_T}yes" >&6
2408 echo "$as_me:$LINENO: result: no" >&5
2409 echo "${ECHO_T}no" >&6
2413 if test "$wxUSE_GUI" = "yes"; then
2417 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2418 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2420 # Check whether --enable-universal or --disable-universal was given.
2421 if test "${enable_universal+set}" = set; then
2422 enableval="$enable_universal"
2424 if test "$enableval" = yes; then
2425 ac_cv_use_universal='wxUSE_UNIVERSAL
=yes'
2427 ac_cv_use_universal='wxUSE_UNIVERSAL
=no
'
2432 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2433 if test "x$LINE" != x ; then
2434 eval "DEFAULT_$LINE"
2439 ac_cv_use_universal='wxUSE_UNIVERSAL
='$DEFAULT_wxUSE_UNIVERSAL
2443 eval "$ac_cv_use_universal"
2444 if test "$no_cache" != 1; then
2445 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2448 if test "$wxUSE_UNIVERSAL" = yes; then
2449 echo "$as_me:$LINENO: result: yes" >&5
2450 echo "${ECHO_T}yes" >&6
2452 echo "$as_me:$LINENO: result: no" >&5
2453 echo "${ECHO_T}no" >&6
2457 # Check whether --with-gtk or --without-gtk was given.
2458 if test "${with_gtk+set}" = set; then
2460 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2463 # Check whether --with-motif or --without-motif was given.
2464 if test "${with_motif+set}" = set; then
2465 withval="$with_motif"
2466 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2469 # Check whether --with-mac or --without-mac was given.
2470 if test "${with_mac+set}" = set; then
2472 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2475 # Check whether --with-cocoa or --without-cocoa was given.
2476 if test "${with_cocoa+set}" = set; then
2477 withval="$with_cocoa"
2478 wxUSE_COCOA="$withval" TOOLKIT_GIVEN=1
2481 # Check whether --with-wine or --without-wine was given.
2482 if test "${with_wine+set}" = set; then
2483 withval="$with_wine"
2484 wxUSE_WINE="$withval" CACHE_WINE=1
2487 # Check whether --with-msw or --without-msw was given.
2488 if test "${with_msw+set}" = set; then
2490 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2493 # Check whether --with-pm or --without-pm was given.
2494 if test "${with_pm+set}" = set; then
2496 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2499 # Check whether --with-mgl or --without-mgl was given.
2500 if test "${with_mgl+set}" = set; then
2502 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2505 # Check whether --with-microwin or --without-microwin was given.
2506 if test "${with_microwin+set}" = set; then
2507 withval="$with_microwin"
2508 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2511 # Check whether --with-x11 or --without-x11 was given.
2512 if test "${with_x11+set}" = set; then
2514 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2518 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2519 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2521 # Check whether --enable-nanox or --disable-nanox was given.
2522 if test "${enable_nanox+set}" = set; then
2523 enableval="$enable_nanox"
2525 if test "$enableval" = yes; then
2526 ac_cv_use_nanox='wxUSE_NANOX
=yes'
2528 ac_cv_use_nanox='wxUSE_NANOX
=no
'
2533 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2534 if test "x$LINE" != x ; then
2535 eval "DEFAULT_$LINE"
2540 ac_cv_use_nanox='wxUSE_NANOX
='$DEFAULT_wxUSE_NANOX
2544 eval "$ac_cv_use_nanox"
2545 if test "$no_cache" != 1; then
2546 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2549 if test "$wxUSE_NANOX" = yes; then
2550 echo "$as_me:$LINENO: result: yes" >&5
2551 echo "${ECHO_T}yes" >&6
2553 echo "$as_me:$LINENO: result: no" >&5
2554 echo "${ECHO_T}no" >&6
2560 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2561 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2563 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2564 if test "${enable_gtk2+set}" = set; then
2565 enableval="$enable_gtk2"
2567 if test "$enableval" = yes; then
2568 ac_cv_use_gtk2='wxUSE_GTK2
=yes'
2570 ac_cv_use_gtk2='wxUSE_GTK2
=no
'
2575 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2576 if test "x$LINE" != x ; then
2577 eval "DEFAULT_$LINE"
2582 ac_cv_use_gtk2='wxUSE_GTK2
='$DEFAULT_wxUSE_GTK2
2586 eval "$ac_cv_use_gtk2"
2587 if test "$no_cache" != 1; then
2588 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2591 if test "$wxUSE_GTK2" = yes; then
2592 echo "$as_me:$LINENO: result: yes" >&5
2593 echo "${ECHO_T}yes" >&6
2595 echo "$as_me:$LINENO: result: no" >&5
2596 echo "${ECHO_T}no" >&6
2601 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2602 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2605 # Check whether --with-libpng or --without-libpng was given.
2606 if test "${with_libpng+set}" = set; then
2607 withval="$with_libpng"
2609 if test "$withval" = yes; then
2610 ac_cv_use_libpng='wxUSE_LIBPNG
=yes'
2611 elif test "$withval" = no; then
2612 ac_cv_use_libpng='wxUSE_LIBPNG
=no
'
2613 elif test "$withval" = sys; then
2614 ac_cv_use_libpng='wxUSE_LIBPNG
=sys
'
2615 elif test "$withval" = builtin; then
2616 ac_cv_use_libpng='wxUSE_LIBPNG
=builtin'
2618 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2619 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2620 { (exit 1); exit 1; }; }
2625 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2626 if test "x$LINE" != x ; then
2627 eval "DEFAULT_$LINE"
2632 ac_cv_use_libpng='wxUSE_LIBPNG
='$DEFAULT_wxUSE_LIBPNG
2636 eval "$ac_cv_use_libpng"
2637 if test "$no_cache" != 1; then
2638 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2641 if test "$wxUSE_LIBPNG" = yes; then
2642 echo "$as_me:$LINENO: result: yes" >&5
2643 echo "${ECHO_T}yes" >&6
2644 elif test "$wxUSE_LIBPNG" = no; then
2645 echo "$as_me:$LINENO: result: no" >&5
2646 echo "${ECHO_T}no" >&6
2647 elif test "$wxUSE_LIBPNG" = sys; then
2648 echo "$as_me:$LINENO: result: system version" >&5
2649 echo "${ECHO_T}system version" >&6
2650 elif test "$wxUSE_LIBPNG" = builtin; then
2651 echo "$as_me:$LINENO: result: builtin version" >&5
2652 echo "${ECHO_T}builtin version" >&6
2654 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2655 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2656 { (exit 1); exit 1; }; }
2660 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2661 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2664 # Check whether --with-libjpeg or --without-libjpeg was given.
2665 if test "${with_libjpeg+set}" = set; then
2666 withval="$with_libjpeg"
2668 if test "$withval" = yes; then
2669 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
2670 elif test "$withval" = no; then
2671 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
2672 elif test "$withval" = sys; then
2673 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
2674 elif test "$withval" = builtin; then
2675 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
2677 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2678 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2679 { (exit 1); exit 1; }; }
2684 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2685 if test "x$LINE" != x ; then
2686 eval "DEFAULT_$LINE"
2691 ac_cv_use_libjpeg='wxUSE_LIBJPEG
='$DEFAULT_wxUSE_LIBJPEG
2695 eval "$ac_cv_use_libjpeg"
2696 if test "$no_cache" != 1; then
2697 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2700 if test "$wxUSE_LIBJPEG" = yes; then
2701 echo "$as_me:$LINENO: result: yes" >&5
2702 echo "${ECHO_T}yes" >&6
2703 elif test "$wxUSE_LIBJPEG" = no; then
2704 echo "$as_me:$LINENO: result: no" >&5
2705 echo "${ECHO_T}no" >&6
2706 elif test "$wxUSE_LIBJPEG" = sys; then
2707 echo "$as_me:$LINENO: result: system version" >&5
2708 echo "${ECHO_T}system version" >&6
2709 elif test "$wxUSE_LIBJPEG" = builtin; then
2710 echo "$as_me:$LINENO: result: builtin version" >&5
2711 echo "${ECHO_T}builtin version" >&6
2713 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2714 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2715 { (exit 1); exit 1; }; }
2719 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2720 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2723 # Check whether --with-libtiff or --without-libtiff was given.
2724 if test "${with_libtiff+set}" = set; then
2725 withval="$with_libtiff"
2727 if test "$withval" = yes; then
2728 ac_cv_use_libtiff='wxUSE_LIBTIFF
=yes'
2729 elif test "$withval" = no; then
2730 ac_cv_use_libtiff='wxUSE_LIBTIFF
=no
'
2731 elif test "$withval" = sys; then
2732 ac_cv_use_libtiff='wxUSE_LIBTIFF
=sys
'
2733 elif test "$withval" = builtin; then
2734 ac_cv_use_libtiff='wxUSE_LIBTIFF
=builtin'
2736 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2737 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2738 { (exit 1); exit 1; }; }
2743 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2744 if test "x$LINE" != x ; then
2745 eval "DEFAULT_$LINE"
2750 ac_cv_use_libtiff='wxUSE_LIBTIFF
='$DEFAULT_wxUSE_LIBTIFF
2754 eval "$ac_cv_use_libtiff"
2755 if test "$no_cache" != 1; then
2756 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2759 if test "$wxUSE_LIBTIFF" = yes; then
2760 echo "$as_me:$LINENO: result: yes" >&5
2761 echo "${ECHO_T}yes" >&6
2762 elif test "$wxUSE_LIBTIFF" = no; then
2763 echo "$as_me:$LINENO: result: no" >&5
2764 echo "${ECHO_T}no" >&6
2765 elif test "$wxUSE_LIBTIFF" = sys; then
2766 echo "$as_me:$LINENO: result: system version" >&5
2767 echo "${ECHO_T}system version" >&6
2768 elif test "$wxUSE_LIBTIFF" = builtin; then
2769 echo "$as_me:$LINENO: result: builtin version" >&5
2770 echo "${ECHO_T}builtin version" >&6
2772 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2773 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2774 { (exit 1); exit 1; }; }
2778 echo "$as_me:$LINENO: checking for --with-opengl" >&5
2779 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
2782 # Check whether --with-opengl or --without-opengl was given.
2783 if test "${with_opengl+set}" = set; then
2784 withval="$with_opengl"
2786 if test "$withval" = yes; then
2787 ac_cv_use_opengl='wxUSE_OPENGL
=yes'
2789 ac_cv_use_opengl='wxUSE_OPENGL
=no
'
2794 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2795 if test "x$LINE" != x ; then
2796 eval "DEFAULT_$LINE"
2801 ac_cv_use_opengl='wxUSE_OPENGL
='$DEFAULT_wxUSE_OPENGL
2805 eval "$ac_cv_use_opengl"
2806 if test "$no_cache" != 1; then
2807 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2810 if test "$wxUSE_OPENGL" = yes; then
2811 echo "$as_me:$LINENO: result: yes" >&5
2812 echo "${ECHO_T}yes" >&6
2814 echo "$as_me:$LINENO: result: no" >&5
2815 echo "${ECHO_T}no" >&6
2822 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
2823 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
2826 # Check whether --with-dmalloc or --without-dmalloc was given.
2827 if test "${with_dmalloc+set}" = set; then
2828 withval="$with_dmalloc"
2830 if test "$withval" = yes; then
2831 ac_cv_use_dmalloc='wxUSE_DMALLOC
=yes'
2833 ac_cv_use_dmalloc='wxUSE_DMALLOC
=no
'
2838 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2839 if test "x$LINE" != x ; then
2840 eval "DEFAULT_$LINE"
2845 ac_cv_use_dmalloc='wxUSE_DMALLOC
='$DEFAULT_wxUSE_DMALLOC
2849 eval "$ac_cv_use_dmalloc"
2850 if test "$no_cache" != 1; then
2851 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2854 if test "$wxUSE_DMALLOC" = yes; then
2855 echo "$as_me:$LINENO: result: yes" >&5
2856 echo "${ECHO_T}yes" >&6
2858 echo "$as_me:$LINENO: result: no" >&5
2859 echo "${ECHO_T}no" >&6
2863 echo "$as_me:$LINENO: checking for --with-regex" >&5
2864 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
2867 # Check whether --with-regex or --without-regex was given.
2868 if test "${with_regex+set}" = set; then
2869 withval="$with_regex"
2871 if test "$withval" = yes; then
2872 ac_cv_use_regex='wxUSE_REGEX
=yes'
2873 elif test "$withval" = no; then
2874 ac_cv_use_regex='wxUSE_REGEX
=no
'
2875 elif test "$withval" = sys; then
2876 ac_cv_use_regex='wxUSE_REGEX
=sys
'
2877 elif test "$withval" = builtin; then
2878 ac_cv_use_regex='wxUSE_REGEX
=builtin'
2880 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2881 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2882 { (exit 1); exit 1; }; }
2887 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2888 if test "x$LINE" != x ; then
2889 eval "DEFAULT_$LINE"
2894 ac_cv_use_regex='wxUSE_REGEX
='$DEFAULT_wxUSE_REGEX
2898 eval "$ac_cv_use_regex"
2899 if test "$no_cache" != 1; then
2900 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2903 if test "$wxUSE_REGEX" = yes; then
2904 echo "$as_me:$LINENO: result: yes" >&5
2905 echo "${ECHO_T}yes" >&6
2906 elif test "$wxUSE_REGEX" = no; then
2907 echo "$as_me:$LINENO: result: no" >&5
2908 echo "${ECHO_T}no" >&6
2909 elif test "$wxUSE_REGEX" = sys; then
2910 echo "$as_me:$LINENO: result: system version" >&5
2911 echo "${ECHO_T}system version" >&6
2912 elif test "$wxUSE_REGEX" = builtin; then
2913 echo "$as_me:$LINENO: result: builtin version" >&5
2914 echo "${ECHO_T}builtin version" >&6
2916 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2917 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2918 { (exit 1); exit 1; }; }
2922 echo "$as_me:$LINENO: checking for --with-zlib" >&5
2923 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
2926 # Check whether --with-zlib or --without-zlib was given.
2927 if test "${with_zlib+set}" = set; then
2928 withval="$with_zlib"
2930 if test "$withval" = yes; then
2931 ac_cv_use_zlib='wxUSE_ZLIB
=yes'
2932 elif test "$withval" = no; then
2933 ac_cv_use_zlib='wxUSE_ZLIB
=no
'
2934 elif test "$withval" = sys; then
2935 ac_cv_use_zlib='wxUSE_ZLIB
=sys
'
2936 elif test "$withval" = builtin; then
2937 ac_cv_use_zlib='wxUSE_ZLIB
=builtin'
2939 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2940 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2941 { (exit 1); exit 1; }; }
2946 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2947 if test "x$LINE" != x ; then
2948 eval "DEFAULT_$LINE"
2953 ac_cv_use_zlib='wxUSE_ZLIB
='$DEFAULT_wxUSE_ZLIB
2957 eval "$ac_cv_use_zlib"
2958 if test "$no_cache" != 1; then
2959 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2962 if test "$wxUSE_ZLIB" = yes; then
2963 echo "$as_me:$LINENO: result: yes" >&5
2964 echo "${ECHO_T}yes" >&6
2965 elif test "$wxUSE_ZLIB" = no; then
2966 echo "$as_me:$LINENO: result: no" >&5
2967 echo "${ECHO_T}no" >&6
2968 elif test "$wxUSE_ZLIB" = sys; then
2969 echo "$as_me:$LINENO: result: system version" >&5
2970 echo "${ECHO_T}system version" >&6
2971 elif test "$wxUSE_ZLIB" = builtin; then
2972 echo "$as_me:$LINENO: result: builtin version" >&5
2973 echo "${ECHO_T}builtin version" >&6
2975 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2976 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2977 { (exit 1); exit 1; }; }
2981 echo "$as_me:$LINENO: checking for --with-odbc" >&5
2982 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
2985 # Check whether --with-odbc or --without-odbc was given.
2986 if test "${with_odbc+set}" = set; then
2987 withval="$with_odbc"
2989 if test "$withval" = yes; then
2990 ac_cv_use_odbc='wxUSE_ODBC
=yes'
2991 elif test "$withval" = no; then
2992 ac_cv_use_odbc='wxUSE_ODBC
=no
'
2993 elif test "$withval" = sys; then
2994 ac_cv_use_odbc='wxUSE_ODBC
=sys
'
2995 elif test "$withval" = builtin; then
2996 ac_cv_use_odbc='wxUSE_ODBC
=builtin'
2998 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
2999 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3000 { (exit 1); exit 1; }; }
3005 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3006 if test "x$LINE" != x ; then
3007 eval "DEFAULT_$LINE"
3012 ac_cv_use_odbc='wxUSE_ODBC
='$DEFAULT_wxUSE_ODBC
3016 eval "$ac_cv_use_odbc"
3017 if test "$no_cache" != 1; then
3018 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3021 if test "$wxUSE_ODBC" = yes; then
3022 echo "$as_me:$LINENO: result: yes" >&5
3023 echo "${ECHO_T}yes" >&6
3024 elif test "$wxUSE_ODBC" = no; then
3025 echo "$as_me:$LINENO: result: no" >&5
3026 echo "${ECHO_T}no" >&6
3027 elif test "$wxUSE_ODBC" = sys; then
3028 echo "$as_me:$LINENO: result: system version" >&5
3029 echo "${ECHO_T}system version" >&6
3030 elif test "$wxUSE_ODBC" = builtin; then
3031 echo "$as_me:$LINENO: result: builtin version" >&5
3032 echo "${ECHO_T}builtin version" >&6
3034 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3035 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3036 { (exit 1); exit 1; }; }
3040 echo "$as_me:$LINENO: checking for --with-expat" >&5
3041 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3044 # Check whether --with-expat or --without-expat was given.
3045 if test "${with_expat+set}" = set; then
3046 withval="$with_expat"
3048 if test "$withval" = yes; then
3049 ac_cv_use_expat='wxUSE_EXPAT
=yes'
3050 elif test "$withval" = no; then
3051 ac_cv_use_expat='wxUSE_EXPAT
=no
'
3052 elif test "$withval" = sys; then
3053 ac_cv_use_expat='wxUSE_EXPAT
=sys
'
3054 elif test "$withval" = builtin; then
3055 ac_cv_use_expat='wxUSE_EXPAT
=builtin'
3057 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3058 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3059 { (exit 1); exit 1; }; }
3064 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3065 if test "x$LINE" != x ; then
3066 eval "DEFAULT_$LINE"
3071 ac_cv_use_expat='wxUSE_EXPAT
='$DEFAULT_wxUSE_EXPAT
3075 eval "$ac_cv_use_expat"
3076 if test "$no_cache" != 1; then
3077 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3080 if test "$wxUSE_EXPAT" = yes; then
3081 echo "$as_me:$LINENO: result: yes" >&5
3082 echo "${ECHO_T}yes" >&6
3083 elif test "$wxUSE_EXPAT" = no; then
3084 echo "$as_me:$LINENO: result: no" >&5
3085 echo "${ECHO_T}no" >&6
3086 elif test "$wxUSE_EXPAT" = sys; then
3087 echo "$as_me:$LINENO: result: system version" >&5
3088 echo "${ECHO_T}system version" >&6
3089 elif test "$wxUSE_EXPAT" = builtin; then
3090 echo "$as_me:$LINENO: result: builtin version" >&5
3091 echo "${ECHO_T}builtin version" >&6
3093 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3094 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3095 { (exit 1); exit 1; }; }
3102 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3103 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3105 # Check whether --enable-shared or --disable-shared was given.
3106 if test "${enable_shared+set}" = set; then
3107 enableval="$enable_shared"
3109 if test "$enableval" = yes; then
3110 ac_cv_use_shared='wxUSE_SHARED
=yes'
3112 ac_cv_use_shared='wxUSE_SHARED
=no
'
3117 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3118 if test "x$LINE" != x ; then
3119 eval "DEFAULT_$LINE"
3124 ac_cv_use_shared='wxUSE_SHARED
='$DEFAULT_wxUSE_SHARED
3128 eval "$ac_cv_use_shared"
3129 if test "$no_cache" != 1; then
3130 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3133 if test "$wxUSE_SHARED" = yes; then
3134 echo "$as_me:$LINENO: result: yes" >&5
3135 echo "${ECHO_T}yes" >&6
3137 echo "$as_me:$LINENO: result: no" >&5
3138 echo "${ECHO_T}no" >&6
3143 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3144 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3146 # Check whether --enable-optimise or --disable-optimise was given.
3147 if test "${enable_optimise+set}" = set; then
3148 enableval="$enable_optimise"
3150 if test "$enableval" = yes; then
3151 ac_cv_use_optimise='wxUSE_OPTIMISE
=yes'
3153 ac_cv_use_optimise='wxUSE_OPTIMISE
=no
'
3158 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3159 if test "x$LINE" != x ; then
3160 eval "DEFAULT_$LINE"
3165 ac_cv_use_optimise='wxUSE_OPTIMISE
='$DEFAULT_wxUSE_OPTIMISE
3169 eval "$ac_cv_use_optimise"
3170 if test "$no_cache" != 1; then
3171 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3174 if test "$wxUSE_OPTIMISE" = yes; then
3175 echo "$as_me:$LINENO: result: yes" >&5
3176 echo "${ECHO_T}yes" >&6
3178 echo "$as_me:$LINENO: result: no" >&5
3179 echo "${ECHO_T}no" >&6
3184 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3185 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3187 # Check whether --enable-debug or --disable-debug was given.
3188 if test "${enable_debug+set}" = set; then
3189 enableval="$enable_debug"
3191 if test "$enableval" = yes; then
3192 ac_cv_use_debug='wxUSE_DEBUG
=yes'
3194 ac_cv_use_debug='wxUSE_DEBUG
=no
'
3199 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3200 if test "x$LINE" != x ; then
3201 eval "DEFAULT_$LINE"
3206 ac_cv_use_debug='wxUSE_DEBUG
='$DEFAULT_wxUSE_DEBUG
3210 eval "$ac_cv_use_debug"
3211 if test "$no_cache" != 1; then
3212 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3215 if test "$wxUSE_DEBUG" = yes; then
3216 echo "$as_me:$LINENO: result: yes" >&5
3217 echo "${ECHO_T}yes" >&6
3219 echo "$as_me:$LINENO: result: no" >&5
3220 echo "${ECHO_T}no" >&6
3225 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3226 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3228 # Check whether --enable-stl or --disable-stl was given.
3229 if test "${enable_stl+set}" = set; then
3230 enableval="$enable_stl"
3232 if test "$enableval" = yes; then
3233 ac_cv_use_stl='wxUSE_STL
=yes'
3235 ac_cv_use_stl='wxUSE_STL
=no
'
3240 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3241 if test "x$LINE" != x ; then
3242 eval "DEFAULT_$LINE"
3247 ac_cv_use_stl='wxUSE_STL
='$DEFAULT_wxUSE_STL
3251 eval "$ac_cv_use_stl"
3252 if test "$no_cache" != 1; then
3253 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3256 if test "$wxUSE_STL" = yes; then
3257 echo "$as_me:$LINENO: result: yes" >&5
3258 echo "${ECHO_T}yes" >&6
3260 echo "$as_me:$LINENO: result: no" >&5
3261 echo "${ECHO_T}no" >&6
3265 if test "$wxUSE_DEBUG" = "yes"; then
3266 DEFAULT_wxUSE_DEBUG_FLAG=yes
3267 DEFAULT_wxUSE_DEBUG_INFO=yes
3269 elif test "$wxUSE_DEBUG" = "no"; then
3270 DEFAULT_wxUSE_DEBUG_FLAG=no
3271 DEFAULT_wxUSE_DEBUG_INFO=no
3277 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3278 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3280 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3281 if test "${enable_debug_flag+set}" = set; then
3282 enableval="$enable_debug_flag"
3284 if test "$enableval" = yes; then
3285 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
3287 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
3292 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3293 if test "x$LINE" != x ; then
3294 eval "DEFAULT_$LINE"
3299 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
='$DEFAULT_wxUSE_DEBUG_FLAG
3303 eval "$ac_cv_use_debug_flag"
3304 if test "$no_cache" != 1; then
3305 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3308 if test "$wxUSE_DEBUG_FLAG" = yes; then
3309 echo "$as_me:$LINENO: result: yes" >&5
3310 echo "${ECHO_T}yes" >&6
3312 echo "$as_me:$LINENO: result: no" >&5
3313 echo "${ECHO_T}no" >&6
3318 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3319 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3321 # Check whether --enable-debug_info or --disable-debug_info was given.
3322 if test "${enable_debug_info+set}" = set; then
3323 enableval="$enable_debug_info"
3325 if test "$enableval" = yes; then
3326 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=yes'
3328 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=no
'
3333 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3334 if test "x$LINE" != x ; then
3335 eval "DEFAULT_$LINE"
3340 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
='$DEFAULT_wxUSE_DEBUG_INFO
3344 eval "$ac_cv_use_debug_info"
3345 if test "$no_cache" != 1; then
3346 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3349 if test "$wxUSE_DEBUG_INFO" = yes; then
3350 echo "$as_me:$LINENO: result: yes" >&5
3351 echo "${ECHO_T}yes" >&6
3353 echo "$as_me:$LINENO: result: no" >&5
3354 echo "${ECHO_T}no" >&6
3359 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3360 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3362 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3363 if test "${enable_debug_gdb+set}" = set; then
3364 enableval="$enable_debug_gdb"
3366 if test "$enableval" = yes; then
3367 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=yes'
3369 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=no
'
3374 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3375 if test "x$LINE" != x ; then
3376 eval "DEFAULT_$LINE"
3381 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
='$DEFAULT_wxUSE_DEBUG_GDB
3385 eval "$ac_cv_use_debug_gdb"
3386 if test "$no_cache" != 1; then
3387 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3390 if test "$wxUSE_DEBUG_GDB" = yes; then
3391 echo "$as_me:$LINENO: result: yes" >&5
3392 echo "${ECHO_T}yes" >&6
3394 echo "$as_me:$LINENO: result: no" >&5
3395 echo "${ECHO_T}no" >&6
3400 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3401 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3403 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3404 if test "${enable_debug_cntxt+set}" = set; then
3405 enableval="$enable_debug_cntxt"
3407 if test "$enableval" = yes; then
3408 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
3410 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
3415 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3416 if test "x$LINE" != x ; then
3417 eval "DEFAULT_$LINE"
3422 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
='$DEFAULT_wxUSE_DEBUG_CONTEXT
3426 eval "$ac_cv_use_debug_cntxt"
3427 if test "$no_cache" != 1; then
3428 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3431 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3432 echo "$as_me:$LINENO: result: yes" >&5
3433 echo "${ECHO_T}yes" >&6
3435 echo "$as_me:$LINENO: result: no" >&5
3436 echo "${ECHO_T}no" >&6
3441 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3442 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3444 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3445 if test "${enable_mem_tracing+set}" = set; then
3446 enableval="$enable_mem_tracing"
3448 if test "$enableval" = yes; then
3449 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=yes'
3451 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=no
'
3456 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3457 if test "x$LINE" != x ; then
3458 eval "DEFAULT_$LINE"
3463 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
='$DEFAULT_wxUSE_MEM_TRACING
3467 eval "$ac_cv_use_mem_tracing"
3468 if test "$no_cache" != 1; then
3469 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3472 if test "$wxUSE_MEM_TRACING" = yes; then
3473 echo "$as_me:$LINENO: result: yes" >&5
3474 echo "${ECHO_T}yes" >&6
3476 echo "$as_me:$LINENO: result: no" >&5
3477 echo "${ECHO_T}no" >&6
3482 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3483 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3485 # Check whether --enable-profile or --disable-profile was given.
3486 if test "${enable_profile+set}" = set; then
3487 enableval="$enable_profile"
3489 if test "$enableval" = yes; then
3490 ac_cv_use_profile='wxUSE_PROFILE
=yes'
3492 ac_cv_use_profile='wxUSE_PROFILE
=no
'
3497 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3498 if test "x$LINE" != x ; then
3499 eval "DEFAULT_$LINE"
3504 ac_cv_use_profile='wxUSE_PROFILE
='$DEFAULT_wxUSE_PROFILE
3508 eval "$ac_cv_use_profile"
3509 if test "$no_cache" != 1; then
3510 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3513 if test "$wxUSE_PROFILE" = yes; then
3514 echo "$as_me:$LINENO: result: yes" >&5
3515 echo "${ECHO_T}yes" >&6
3517 echo "$as_me:$LINENO: result: no" >&5
3518 echo "${ECHO_T}no" >&6
3523 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3524 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3526 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3527 if test "${enable_no_rtti+set}" = set; then
3528 enableval="$enable_no_rtti"
3530 if test "$enableval" = yes; then
3531 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=yes'
3533 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=no
'
3538 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3539 if test "x$LINE" != x ; then
3540 eval "DEFAULT_$LINE"
3545 ac_cv_use_no_rtti='wxUSE_NO_RTTI
='$DEFAULT_wxUSE_NO_RTTI
3549 eval "$ac_cv_use_no_rtti"
3550 if test "$no_cache" != 1; then
3551 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3554 if test "$wxUSE_NO_RTTI" = yes; then
3555 echo "$as_me:$LINENO: result: yes" >&5
3556 echo "${ECHO_T}yes" >&6
3558 echo "$as_me:$LINENO: result: no" >&5
3559 echo "${ECHO_T}no" >&6
3564 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3565 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3567 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3568 if test "${enable_no_exceptions+set}" = set; then
3569 enableval="$enable_no_exceptions"
3571 if test "$enableval" = yes; then
3572 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=yes'
3574 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=no
'
3579 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3580 if test "x$LINE" != x ; then
3581 eval "DEFAULT_$LINE"
3586 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
='$DEFAULT_wxUSE_NO_EXCEPTIONS
3590 eval "$ac_cv_use_no_exceptions"
3591 if test "$no_cache" != 1; then
3592 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3595 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3596 echo "$as_me:$LINENO: result: yes" >&5
3597 echo "${ECHO_T}yes" >&6
3599 echo "$as_me:$LINENO: result: no" >&5
3600 echo "${ECHO_T}no" >&6
3605 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3606 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3608 # Check whether --enable-permissive or --disable-permissive was given.
3609 if test "${enable_permissive+set}" = set; then
3610 enableval="$enable_permissive"
3612 if test "$enableval" = yes; then
3613 ac_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
3615 ac_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
3620 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3621 if test "x$LINE" != x ; then
3622 eval "DEFAULT_$LINE"
3627 ac_cv_use_permissive='wxUSE_PERMISSIVE
='$DEFAULT_wxUSE_PERMISSIVE
3631 eval "$ac_cv_use_permissive"
3632 if test "$no_cache" != 1; then
3633 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3636 if test "$wxUSE_PERMISSIVE" = yes; then
3637 echo "$as_me:$LINENO: result: yes" >&5
3638 echo "${ECHO_T}yes" >&6
3640 echo "$as_me:$LINENO: result: no" >&5
3641 echo "${ECHO_T}no" >&6
3646 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3647 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3649 # Check whether --enable-no_deps or --disable-no_deps was given.
3650 if test "${enable_no_deps+set}" = set; then
3651 enableval="$enable_no_deps"
3653 if test "$enableval" = yes; then
3654 ac_cv_use_no_deps='wxUSE_NO_DEPS
=yes'
3656 ac_cv_use_no_deps='wxUSE_NO_DEPS
=no
'
3661 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3662 if test "x$LINE" != x ; then
3663 eval "DEFAULT_$LINE"
3668 ac_cv_use_no_deps='wxUSE_NO_DEPS
='$DEFAULT_wxUSE_NO_DEPS
3672 eval "$ac_cv_use_no_deps"
3673 if test "$no_cache" != 1; then
3674 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3677 if test "$wxUSE_NO_DEPS" = yes; then
3678 echo "$as_me:$LINENO: result: yes" >&5
3679 echo "${ECHO_T}yes" >&6
3681 echo "$as_me:$LINENO: result: no" >&5
3682 echo "${ECHO_T}no" >&6
3688 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3689 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3691 # Check whether --enable-compat22 or --disable-compat22 was given.
3692 if test "${enable_compat22+set}" = set; then
3693 enableval="$enable_compat22"
3695 if test "$enableval" = yes; then
3696 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2
=yes'
3698 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2
=no
'
3703 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3704 if test "x$LINE" != x ; then
3705 eval "DEFAULT_$LINE"
3710 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2
='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3714 eval "$ac_cv_use_compat22"
3715 if test "$no_cache" != 1; then
3716 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3719 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3720 echo "$as_me:$LINENO: result: yes" >&5
3721 echo "${ECHO_T}yes" >&6
3723 echo "$as_me:$LINENO: result: no" >&5
3724 echo "${ECHO_T}no" >&6
3728 enablestring=disable
3729 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
3730 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
3732 # Check whether --enable-compat24 or --disable-compat24 was given.
3733 if test "${enable_compat24+set}" = set; then
3734 enableval="$enable_compat24"
3736 if test "$enableval" = yes; then
3737 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
=yes'
3739 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
=no
'
3744 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3745 if test "x$LINE" != x ; then
3746 eval "DEFAULT_$LINE"
3751 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3755 eval "$ac_cv_use_compat24"
3756 if test "$no_cache" != 1; then
3757 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3760 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3761 echo "$as_me:$LINENO: result: yes" >&5
3762 echo "${ECHO_T}yes" >&6
3764 echo "$as_me:$LINENO: result: no" >&5
3765 echo "${ECHO_T}no" >&6
3769 # Check whether --enable-rpath or --disable-rpath was given.
3770 if test "${enable_rpath+set}" = set; then
3771 enableval="$enable_rpath"
3772 wxRPATH_DIR="$enableval"
3775 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3776 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
3783 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
3784 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
3786 # Check whether --enable-intl or --disable-intl was given.
3787 if test "${enable_intl+set}" = set; then
3788 enableval="$enable_intl"
3790 if test "$enableval" = yes; then
3791 ac_cv_use_intl='wxUSE_INTL
=yes'
3793 ac_cv_use_intl='wxUSE_INTL
=no
'
3798 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3799 if test "x$LINE" != x ; then
3800 eval "DEFAULT_$LINE"
3805 ac_cv_use_intl='wxUSE_INTL
='$DEFAULT_wxUSE_INTL
3809 eval "$ac_cv_use_intl"
3810 if test "$no_cache" != 1; then
3811 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3814 if test "$wxUSE_INTL" = yes; then
3815 echo "$as_me:$LINENO: result: yes" >&5
3816 echo "${ECHO_T}yes" >&6
3818 echo "$as_me:$LINENO: result: no" >&5
3819 echo "${ECHO_T}no" >&6
3824 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
3825 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
3827 # Check whether --enable-config or --disable-config was given.
3828 if test "${enable_config+set}" = set; then
3829 enableval="$enable_config"
3831 if test "$enableval" = yes; then
3832 ac_cv_use_config='wxUSE_CONFIG
=yes'
3834 ac_cv_use_config='wxUSE_CONFIG
=no
'
3839 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3840 if test "x$LINE" != x ; then
3841 eval "DEFAULT_$LINE"
3846 ac_cv_use_config='wxUSE_CONFIG
='$DEFAULT_wxUSE_CONFIG
3850 eval "$ac_cv_use_config"
3851 if test "$no_cache" != 1; then
3852 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3855 if test "$wxUSE_CONFIG" = yes; then
3856 echo "$as_me:$LINENO: result: yes" >&5
3857 echo "${ECHO_T}yes" >&6
3859 echo "$as_me:$LINENO: result: no" >&5
3860 echo "${ECHO_T}no" >&6
3866 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
3867 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
3869 # Check whether --enable-protocols or --disable-protocols was given.
3870 if test "${enable_protocols+set}" = set; then
3871 enableval="$enable_protocols"
3873 if test "$enableval" = yes; then
3874 ac_cv_use_protocols='wxUSE_PROTOCOL
=yes'
3876 ac_cv_use_protocols='wxUSE_PROTOCOL
=no
'
3881 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3882 if test "x$LINE" != x ; then
3883 eval "DEFAULT_$LINE"
3888 ac_cv_use_protocols='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
3892 eval "$ac_cv_use_protocols"
3893 if test "$no_cache" != 1; then
3894 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3897 if test "$wxUSE_PROTOCOL" = yes; then
3898 echo "$as_me:$LINENO: result: yes" >&5
3899 echo "${ECHO_T}yes" >&6
3901 echo "$as_me:$LINENO: result: no" >&5
3902 echo "${ECHO_T}no" >&6
3907 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
3908 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
3910 # Check whether --enable-ftp or --disable-ftp was given.
3911 if test "${enable_ftp+set}" = set; then
3912 enableval="$enable_ftp"
3914 if test "$enableval" = yes; then
3915 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=yes'
3917 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=no
'
3922 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3923 if test "x$LINE" != x ; then
3924 eval "DEFAULT_$LINE"
3929 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
3933 eval "$ac_cv_use_ftp"
3934 if test "$no_cache" != 1; then
3935 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3938 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3939 echo "$as_me:$LINENO: result: yes" >&5
3940 echo "${ECHO_T}yes" >&6
3942 echo "$as_me:$LINENO: result: no" >&5
3943 echo "${ECHO_T}no" >&6
3948 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
3949 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
3951 # Check whether --enable-http or --disable-http was given.
3952 if test "${enable_http+set}" = set; then
3953 enableval="$enable_http"
3955 if test "$enableval" = yes; then
3956 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=yes'
3958 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=no
'
3963 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3964 if test "x$LINE" != x ; then
3965 eval "DEFAULT_$LINE"
3970 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
3974 eval "$ac_cv_use_http"
3975 if test "$no_cache" != 1; then
3976 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3979 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3980 echo "$as_me:$LINENO: result: yes" >&5
3981 echo "${ECHO_T}yes" >&6
3983 echo "$as_me:$LINENO: result: no" >&5
3984 echo "${ECHO_T}no" >&6
3989 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
3990 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
3992 # Check whether --enable-fileproto or --disable-fileproto was given.
3993 if test "${enable_fileproto+set}" = set; then
3994 enableval="$enable_fileproto"
3996 if test "$enableval" = yes; then
3997 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
3999 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
4004 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4005 if test "x$LINE" != x ; then
4006 eval "DEFAULT_$LINE"
4011 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
4015 eval "$ac_cv_use_fileproto"
4016 if test "$no_cache" != 1; then
4017 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4020 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4021 echo "$as_me:$LINENO: result: yes" >&5
4022 echo "${ECHO_T}yes" >&6
4024 echo "$as_me:$LINENO: result: no" >&5
4025 echo "${ECHO_T}no" >&6
4030 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4031 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4033 # Check whether --enable-sockets or --disable-sockets was given.
4034 if test "${enable_sockets+set}" = set; then
4035 enableval="$enable_sockets"
4037 if test "$enableval" = yes; then
4038 ac_cv_use_sockets='wxUSE_SOCKETS
=yes'
4040 ac_cv_use_sockets='wxUSE_SOCKETS
=no
'
4045 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4046 if test "x$LINE" != x ; then
4047 eval "DEFAULT_$LINE"
4052 ac_cv_use_sockets='wxUSE_SOCKETS
='$DEFAULT_wxUSE_SOCKETS
4056 eval "$ac_cv_use_sockets"
4057 if test "$no_cache" != 1; then
4058 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4061 if test "$wxUSE_SOCKETS" = yes; then
4062 echo "$as_me:$LINENO: result: yes" >&5
4063 echo "${ECHO_T}yes" >&6
4065 echo "$as_me:$LINENO: result: no" >&5
4066 echo "${ECHO_T}no" >&6
4071 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4072 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4074 # Check whether --enable-ole or --disable-ole was given.
4075 if test "${enable_ole+set}" = set; then
4076 enableval="$enable_ole"
4078 if test "$enableval" = yes; then
4079 ac_cv_use_ole='wxUSE_OLE
=yes'
4081 ac_cv_use_ole='wxUSE_OLE
=no
'
4086 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4087 if test "x$LINE" != x ; then
4088 eval "DEFAULT_$LINE"
4093 ac_cv_use_ole='wxUSE_OLE
='$DEFAULT_wxUSE_OLE
4097 eval "$ac_cv_use_ole"
4098 if test "$no_cache" != 1; then
4099 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4102 if test "$wxUSE_OLE" = yes; then
4103 echo "$as_me:$LINENO: result: yes" >&5
4104 echo "${ECHO_T}yes" >&6
4106 echo "$as_me:$LINENO: result: no" >&5
4107 echo "${ECHO_T}no" >&6
4112 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4113 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4115 # Check whether --enable-dataobj or --disable-dataobj was given.
4116 if test "${enable_dataobj+set}" = set; then
4117 enableval="$enable_dataobj"
4119 if test "$enableval" = yes; then
4120 ac_cv_use_dataobj='wxUSE_DATAOBJ
=yes'
4122 ac_cv_use_dataobj='wxUSE_DATAOBJ
=no
'
4127 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4128 if test "x$LINE" != x ; then
4129 eval "DEFAULT_$LINE"
4134 ac_cv_use_dataobj='wxUSE_DATAOBJ
='$DEFAULT_wxUSE_DATAOBJ
4138 eval "$ac_cv_use_dataobj"
4139 if test "$no_cache" != 1; then
4140 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4143 if test "$wxUSE_DATAOBJ" = yes; then
4144 echo "$as_me:$LINENO: result: yes" >&5
4145 echo "${ECHO_T}yes" >&6
4147 echo "$as_me:$LINENO: result: no" >&5
4148 echo "${ECHO_T}no" >&6
4154 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4155 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4157 # Check whether --enable-ipc or --disable-ipc was given.
4158 if test "${enable_ipc+set}" = set; then
4159 enableval="$enable_ipc"
4161 if test "$enableval" = yes; then
4162 ac_cv_use_ipc='wxUSE_IPC
=yes'
4164 ac_cv_use_ipc='wxUSE_IPC
=no
'
4169 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4170 if test "x$LINE" != x ; then
4171 eval "DEFAULT_$LINE"
4176 ac_cv_use_ipc='wxUSE_IPC
='$DEFAULT_wxUSE_IPC
4180 eval "$ac_cv_use_ipc"
4181 if test "$no_cache" != 1; then
4182 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4185 if test "$wxUSE_IPC" = yes; then
4186 echo "$as_me:$LINENO: result: yes" >&5
4187 echo "${ECHO_T}yes" >&6
4189 echo "$as_me:$LINENO: result: no" >&5
4190 echo "${ECHO_T}no" >&6
4196 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4197 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4199 # Check whether --enable-cmdline or --disable-cmdline was given.
4200 if test "${enable_cmdline+set}" = set; then
4201 enableval="$enable_cmdline"
4203 if test "$enableval" = yes; then
4204 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=yes'
4206 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=no
'
4211 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4212 if test "x$LINE" != x ; then
4213 eval "DEFAULT_$LINE"
4218 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
='$DEFAULT_wxUSE_CMDLINE_PARSER
4222 eval "$ac_cv_use_cmdline"
4223 if test "$no_cache" != 1; then
4224 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4227 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4228 echo "$as_me:$LINENO: result: yes" >&5
4229 echo "${ECHO_T}yes" >&6
4231 echo "$as_me:$LINENO: result: no" >&5
4232 echo "${ECHO_T}no" >&6
4237 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4238 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4240 # Check whether --enable-datetime or --disable-datetime was given.
4241 if test "${enable_datetime+set}" = set; then
4242 enableval="$enable_datetime"
4244 if test "$enableval" = yes; then
4245 ac_cv_use_datetime='wxUSE_DATETIME
=yes'
4247 ac_cv_use_datetime='wxUSE_DATETIME
=no
'
4252 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4253 if test "x$LINE" != x ; then
4254 eval "DEFAULT_$LINE"
4259 ac_cv_use_datetime='wxUSE_DATETIME
='$DEFAULT_wxUSE_DATETIME
4263 eval "$ac_cv_use_datetime"
4264 if test "$no_cache" != 1; then
4265 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4268 if test "$wxUSE_DATETIME" = yes; then
4269 echo "$as_me:$LINENO: result: yes" >&5
4270 echo "${ECHO_T}yes" >&6
4272 echo "$as_me:$LINENO: result: no" >&5
4273 echo "${ECHO_T}no" >&6
4278 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
4279 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
4281 # Check whether --enable-stopwatch or --disable-stopwatch was given.
4282 if test "${enable_stopwatch+set}" = set; then
4283 enableval="$enable_stopwatch"
4285 if test "$enableval" = yes; then
4286 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=yes'
4288 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=no
'
4293 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
4294 if test "x$LINE" != x ; then
4295 eval "DEFAULT_$LINE"
4300 ac_cv_use_stopwatch='wxUSE_STOPWATCH
='$DEFAULT_wxUSE_STOPWATCH
4304 eval "$ac_cv_use_stopwatch"
4305 if test "$no_cache" != 1; then
4306 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
4309 if test "$wxUSE_STOPWATCH" = yes; then
4310 echo "$as_me:$LINENO: result: yes" >&5
4311 echo "${ECHO_T}yes" >&6
4313 echo "$as_me:$LINENO: result: no" >&5
4314 echo "${ECHO_T}no" >&6
4319 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4320 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4322 # Check whether --enable-dialupman or --disable-dialupman was given.
4323 if test "${enable_dialupman+set}" = set; then
4324 enableval="$enable_dialupman"
4326 if test "$enableval" = yes; then
4327 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=yes'
4329 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=no
'
4334 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4335 if test "x$LINE" != x ; then
4336 eval "DEFAULT_$LINE"
4341 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
='$DEFAULT_wxUSE_DIALUP_MANAGER
4345 eval "$ac_cv_use_dialupman"
4346 if test "$no_cache" != 1; then
4347 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4350 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4351 echo "$as_me:$LINENO: result: yes" >&5
4352 echo "${ECHO_T}yes" >&6
4354 echo "$as_me:$LINENO: result: no" >&5
4355 echo "${ECHO_T}no" >&6
4360 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4361 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4363 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4364 if test "${enable_apple_ieee+set}" = set; then
4365 enableval="$enable_apple_ieee"
4367 if test "$enableval" = yes; then
4368 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
4370 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
4375 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4376 if test "x$LINE" != x ; then
4377 eval "DEFAULT_$LINE"
4382 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
='$DEFAULT_wxUSE_APPLE_IEEE
4386 eval "$ac_cv_use_apple_ieee"
4387 if test "$no_cache" != 1; then
4388 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4391 if test "$wxUSE_APPLE_IEEE" = yes; then
4392 echo "$as_me:$LINENO: result: yes" >&5
4393 echo "${ECHO_T}yes" >&6
4395 echo "$as_me:$LINENO: result: no" >&5
4396 echo "${ECHO_T}no" >&6
4401 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
4402 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
4404 # Check whether --enable-timer or --disable-timer was given.
4405 if test "${enable_timer+set}" = set; then
4406 enableval="$enable_timer"
4408 if test "$enableval" = yes; then
4409 ac_cv_use_timer='wxUSE_TIMER
=yes'
4411 ac_cv_use_timer='wxUSE_TIMER
=no
'
4416 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
4417 if test "x$LINE" != x ; then
4418 eval "DEFAULT_$LINE"
4423 ac_cv_use_timer='wxUSE_TIMER
='$DEFAULT_wxUSE_TIMER
4427 eval "$ac_cv_use_timer"
4428 if test "$no_cache" != 1; then
4429 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
4432 if test "$wxUSE_TIMER" = yes; then
4433 echo "$as_me:$LINENO: result: yes" >&5
4434 echo "${ECHO_T}yes" >&6
4436 echo "$as_me:$LINENO: result: no" >&5
4437 echo "${ECHO_T}no" >&6
4442 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wave" >&5
4443 echo $ECHO_N "checking for --${enablestring:-enable}-wave... $ECHO_C" >&6
4445 # Check whether --enable-wave or --disable-wave was given.
4446 if test "${enable_wave+set}" = set; then
4447 enableval="$enable_wave"
4449 if test "$enableval" = yes; then
4450 ac_cv_use_wave='wxUSE_WAVE
=yes'
4452 ac_cv_use_wave='wxUSE_WAVE
=no
'
4457 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
4458 if test "x$LINE" != x ; then
4459 eval "DEFAULT_$LINE"
4464 ac_cv_use_wave='wxUSE_WAVE
='$DEFAULT_wxUSE_WAVE
4468 eval "$ac_cv_use_wave"
4469 if test "$no_cache" != 1; then
4470 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
4473 if test "$wxUSE_WAVE" = yes; then
4474 echo "$as_me:$LINENO: result: yes" >&5
4475 echo "${ECHO_T}yes" >&6
4477 echo "$as_me:$LINENO: result: no" >&5
4478 echo "${ECHO_T}no" >&6
4483 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fraction" >&5
4484 echo $ECHO_N "checking for --${enablestring:-enable}-fraction... $ECHO_C" >&6
4486 # Check whether --enable-fraction or --disable-fraction was given.
4487 if test "${enable_fraction+set}" = set; then
4488 enableval="$enable_fraction"
4490 if test "$enableval" = yes; then
4491 ac_cv_use_fraction='wxUSE_FRACTION
=yes'
4493 ac_cv_use_fraction='wxUSE_FRACTION
=no
'
4498 LINE=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
4499 if test "x$LINE" != x ; then
4500 eval "DEFAULT_$LINE"
4505 ac_cv_use_fraction='wxUSE_FRACTION
='$DEFAULT_wxUSE_FRACTION
4509 eval "$ac_cv_use_fraction"
4510 if test "$no_cache" != 1; then
4511 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
4514 if test "$wxUSE_FRACTION" = yes; then
4515 echo "$as_me:$LINENO: result: yes" >&5
4516 echo "${ECHO_T}yes" >&6
4518 echo "$as_me:$LINENO: result: no" >&5
4519 echo "${ECHO_T}no" >&6
4524 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4525 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4527 # Check whether --enable-dynlib or --disable-dynlib was given.
4528 if test "${enable_dynlib+set}" = set; then
4529 enableval="$enable_dynlib"
4531 if test "$enableval" = yes; then
4532 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
4534 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
4539 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4540 if test "x$LINE" != x ; then
4541 eval "DEFAULT_$LINE"
4546 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
='$DEFAULT_wxUSE_DYNLIB_CLASS
4550 eval "$ac_cv_use_dynlib"
4551 if test "$no_cache" != 1; then
4552 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4555 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4556 echo "$as_me:$LINENO: result: yes" >&5
4557 echo "${ECHO_T}yes" >&6
4559 echo "$as_me:$LINENO: result: no" >&5
4560 echo "${ECHO_T}no" >&6
4565 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4566 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4568 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4569 if test "${enable_dynamicloader+set}" = set; then
4570 enableval="$enable_dynamicloader"
4572 if test "$enableval" = yes; then
4573 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=yes'
4575 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=no
'
4580 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4581 if test "x$LINE" != x ; then
4582 eval "DEFAULT_$LINE"
4587 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
='$DEFAULT_wxUSE_DYNAMIC_LOADER
4591 eval "$ac_cv_use_dynamicloader"
4592 if test "$no_cache" != 1; then
4593 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4596 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4597 echo "$as_me:$LINENO: result: yes" >&5
4598 echo "${ECHO_T}yes" >&6
4600 echo "$as_me:$LINENO: result: no" >&5
4601 echo "${ECHO_T}no" >&6
4606 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
4607 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
4609 # Check whether --enable-longlong or --disable-longlong was given.
4610 if test "${enable_longlong+set}" = set; then
4611 enableval="$enable_longlong"
4613 if test "$enableval" = yes; then
4614 ac_cv_use_longlong='wxUSE_LONGLONG
=yes'
4616 ac_cv_use_longlong='wxUSE_LONGLONG
=no
'
4621 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
4622 if test "x$LINE" != x ; then
4623 eval "DEFAULT_$LINE"
4628 ac_cv_use_longlong='wxUSE_LONGLONG
='$DEFAULT_wxUSE_LONGLONG
4632 eval "$ac_cv_use_longlong"
4633 if test "$no_cache" != 1; then
4634 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
4637 if test "$wxUSE_LONGLONG" = yes; then
4638 echo "$as_me:$LINENO: result: yes" >&5
4639 echo "${ECHO_T}yes" >&6
4641 echo "$as_me:$LINENO: result: no" >&5
4642 echo "${ECHO_T}no" >&6
4647 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
4648 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
4650 # Check whether --enable-geometry or --disable-geometry was given.
4651 if test "${enable_geometry+set}" = set; then
4652 enableval="$enable_geometry"
4654 if test "$enableval" = yes; then
4655 ac_cv_use_geometry='wxUSE_GEOMETRY
=yes'
4657 ac_cv_use_geometry='wxUSE_GEOMETRY
=no
'
4662 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4663 if test "x$LINE" != x ; then
4664 eval "DEFAULT_$LINE"
4669 ac_cv_use_geometry='wxUSE_GEOMETRY
='$DEFAULT_wxUSE_GEOMETRY
4673 eval "$ac_cv_use_geometry"
4674 if test "$no_cache" != 1; then
4675 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4678 if test "$wxUSE_GEOMETRY" = yes; then
4679 echo "$as_me:$LINENO: result: yes" >&5
4680 echo "${ECHO_T}yes" >&6
4682 echo "$as_me:$LINENO: result: no" >&5
4683 echo "${ECHO_T}no" >&6
4688 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
4689 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
4691 # Check whether --enable-log or --disable-log was given.
4692 if test "${enable_log+set}" = set; then
4693 enableval="$enable_log"
4695 if test "$enableval" = yes; then
4696 ac_cv_use_log='wxUSE_LOG
=yes'
4698 ac_cv_use_log='wxUSE_LOG
=no
'
4703 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4704 if test "x$LINE" != x ; then
4705 eval "DEFAULT_$LINE"
4710 ac_cv_use_log='wxUSE_LOG
='$DEFAULT_wxUSE_LOG
4714 eval "$ac_cv_use_log"
4715 if test "$no_cache" != 1; then
4716 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4719 if test "$wxUSE_LOG" = yes; then
4720 echo "$as_me:$LINENO: result: yes" >&5
4721 echo "${ECHO_T}yes" >&6
4723 echo "$as_me:$LINENO: result: no" >&5
4724 echo "${ECHO_T}no" >&6
4729 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
4730 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
4732 # Check whether --enable-streams or --disable-streams was given.
4733 if test "${enable_streams+set}" = set; then
4734 enableval="$enable_streams"
4736 if test "$enableval" = yes; then
4737 ac_cv_use_streams='wxUSE_STREAMS
=yes'
4739 ac_cv_use_streams='wxUSE_STREAMS
=no
'
4744 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
4745 if test "x$LINE" != x ; then
4746 eval "DEFAULT_$LINE"
4751 ac_cv_use_streams='wxUSE_STREAMS
='$DEFAULT_wxUSE_STREAMS
4755 eval "$ac_cv_use_streams"
4756 if test "$no_cache" != 1; then
4757 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
4760 if test "$wxUSE_STREAMS" = yes; then
4761 echo "$as_me:$LINENO: result: yes" >&5
4762 echo "${ECHO_T}yes" >&6
4764 echo "$as_me:$LINENO: result: no" >&5
4765 echo "${ECHO_T}no" >&6
4770 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4771 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4773 # Check whether --enable-file or --disable-file was given.
4774 if test "${enable_file+set}" = set; then
4775 enableval="$enable_file"
4777 if test "$enableval" = yes; then
4778 ac_cv_use_file='wxUSE_FILE
=yes'
4780 ac_cv_use_file='wxUSE_FILE
=no
'
4785 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4786 if test "x$LINE" != x ; then
4787 eval "DEFAULT_$LINE"
4792 ac_cv_use_file='wxUSE_FILE
='$DEFAULT_wxUSE_FILE
4796 eval "$ac_cv_use_file"
4797 if test "$no_cache" != 1; then
4798 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4801 if test "$wxUSE_FILE" = yes; then
4802 echo "$as_me:$LINENO: result: yes" >&5
4803 echo "${ECHO_T}yes" >&6
4805 echo "$as_me:$LINENO: result: no" >&5
4806 echo "${ECHO_T}no" >&6
4811 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4812 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4814 # Check whether --enable-ffile or --disable-ffile was given.
4815 if test "${enable_ffile+set}" = set; then
4816 enableval="$enable_ffile"
4818 if test "$enableval" = yes; then
4819 ac_cv_use_ffile='wxUSE_FFILE
=yes'
4821 ac_cv_use_ffile='wxUSE_FFILE
=no
'
4826 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4827 if test "x$LINE" != x ; then
4828 eval "DEFAULT_$LINE"
4833 ac_cv_use_ffile='wxUSE_FFILE
='$DEFAULT_wxUSE_FFILE
4837 eval "$ac_cv_use_ffile"
4838 if test "$no_cache" != 1; then
4839 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4842 if test "$wxUSE_FFILE" = yes; then
4843 echo "$as_me:$LINENO: result: yes" >&5
4844 echo "${ECHO_T}yes" >&6
4846 echo "$as_me:$LINENO: result: no" >&5
4847 echo "${ECHO_T}no" >&6
4852 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
4853 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
4855 # Check whether --enable-textbuf or --disable-textbuf was given.
4856 if test "${enable_textbuf+set}" = set; then
4857 enableval="$enable_textbuf"
4859 if test "$enableval" = yes; then
4860 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=yes'
4862 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=no
'
4867 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4868 if test "x$LINE" != x ; then
4869 eval "DEFAULT_$LINE"
4874 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
='$DEFAULT_wxUSE_TEXTBUFFER
4878 eval "$ac_cv_use_textbuf"
4879 if test "$no_cache" != 1; then
4880 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4883 if test "$wxUSE_TEXTBUFFER" = yes; then
4884 echo "$as_me:$LINENO: result: yes" >&5
4885 echo "${ECHO_T}yes" >&6
4887 echo "$as_me:$LINENO: result: no" >&5
4888 echo "${ECHO_T}no" >&6
4893 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
4894 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
4896 # Check whether --enable-textfile or --disable-textfile was given.
4897 if test "${enable_textfile+set}" = set; then
4898 enableval="$enable_textfile"
4900 if test "$enableval" = yes; then
4901 ac_cv_use_textfile='wxUSE_TEXTFILE
=yes'
4903 ac_cv_use_textfile='wxUSE_TEXTFILE
=no
'
4908 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4909 if test "x$LINE" != x ; then
4910 eval "DEFAULT_$LINE"
4915 ac_cv_use_textfile='wxUSE_TEXTFILE
='$DEFAULT_wxUSE_TEXTFILE
4919 eval "$ac_cv_use_textfile"
4920 if test "$no_cache" != 1; then
4921 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4924 if test "$wxUSE_TEXTFILE" = yes; then
4925 echo "$as_me:$LINENO: result: yes" >&5
4926 echo "${ECHO_T}yes" >&6
4928 echo "$as_me:$LINENO: result: no" >&5
4929 echo "${ECHO_T}no" >&6
4934 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4935 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4937 # Check whether --enable-fontmap or --disable-fontmap was given.
4938 if test "${enable_fontmap+set}" = set; then
4939 enableval="$enable_fontmap"
4941 if test "$enableval" = yes; then
4942 ac_cv_use_fontmap='wxUSE_FONTMAP
=yes'
4944 ac_cv_use_fontmap='wxUSE_FONTMAP
=no
'
4949 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4950 if test "x$LINE" != x ; then
4951 eval "DEFAULT_$LINE"
4956 ac_cv_use_fontmap='wxUSE_FONTMAP
='$DEFAULT_wxUSE_FONTMAP
4960 eval "$ac_cv_use_fontmap"
4961 if test "$no_cache" != 1; then
4962 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4965 if test "$wxUSE_FONTMAP" = yes; then
4966 echo "$as_me:$LINENO: result: yes" >&5
4967 echo "${ECHO_T}yes" >&6
4969 echo "$as_me:$LINENO: result: no" >&5
4970 echo "${ECHO_T}no" >&6
4975 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4976 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
4978 # Check whether --enable-unicode or --disable-unicode was given.
4979 if test "${enable_unicode+set}" = set; then
4980 enableval="$enable_unicode"
4982 if test "$enableval" = yes; then
4983 ac_cv_use_unicode='wxUSE_UNICODE
=yes'
4985 ac_cv_use_unicode='wxUSE_UNICODE
=no
'
4990 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4991 if test "x$LINE" != x ; then
4992 eval "DEFAULT_$LINE"
4997 ac_cv_use_unicode='wxUSE_UNICODE
='$DEFAULT_wxUSE_UNICODE
5001 eval "$ac_cv_use_unicode"
5002 if test "$no_cache" != 1; then
5003 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5006 if test "$wxUSE_UNICODE" = yes; then
5007 echo "$as_me:$LINENO: result: yes" >&5
5008 echo "${ECHO_T}yes" >&6
5010 echo "$as_me:$LINENO: result: no" >&5
5011 echo "${ECHO_T}no" >&6
5016 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5017 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5019 # Check whether --enable-mslu or --disable-mslu was given.
5020 if test "${enable_mslu+set}" = set; then
5021 enableval="$enable_mslu"
5023 if test "$enableval" = yes; then
5024 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
5026 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
5031 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5032 if test "x$LINE" != x ; then
5033 eval "DEFAULT_$LINE"
5038 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
='$DEFAULT_wxUSE_UNICODE_MSLU
5042 eval "$ac_cv_use_mslu"
5043 if test "$no_cache" != 1; then
5044 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5047 if test "$wxUSE_UNICODE_MSLU" = yes; then
5048 echo "$as_me:$LINENO: result: yes" >&5
5049 echo "${ECHO_T}yes" >&6
5051 echo "$as_me:$LINENO: result: no" >&5
5052 echo "${ECHO_T}no" >&6
5057 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5058 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5060 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5061 if test "${enable_wxprintfv+set}" = set; then
5062 enableval="$enable_wxprintfv"
5064 if test "$enableval" = yes; then
5065 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
=yes'
5067 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
=no
'
5072 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5073 if test "x$LINE" != x ; then
5074 eval "DEFAULT_$LINE"
5079 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5083 eval "$ac_cv_use_wxprintfv"
5084 if test "$no_cache" != 1; then
5085 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5088 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5089 echo "$as_me:$LINENO: result: yes" >&5
5090 echo "${ECHO_T}yes" >&6
5092 echo "$as_me:$LINENO: result: no" >&5
5093 echo "${ECHO_T}no" >&6
5098 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5099 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5101 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5102 if test "${enable_std_iostreams+set}" = set; then
5103 enableval="$enable_std_iostreams"
5105 if test "$enableval" = yes; then
5106 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
5108 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
5113 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5114 if test "x$LINE" != x ; then
5115 eval "DEFAULT_$LINE"
5120 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
='$DEFAULT_wxUSE_STD_IOSTREAM
5124 eval "$ac_cv_use_std_iostreams"
5125 if test "$no_cache" != 1; then
5126 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5129 if test "$wxUSE_STD_IOSTREAM" = yes; then
5130 echo "$as_me:$LINENO: result: yes" >&5
5131 echo "${ECHO_T}yes" >&6
5133 echo "$as_me:$LINENO: result: no" >&5
5134 echo "${ECHO_T}no" >&6
5139 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5140 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5142 # Check whether --enable-filesystem or --disable-filesystem was given.
5143 if test "${enable_filesystem+set}" = set; then
5144 enableval="$enable_filesystem"
5146 if test "$enableval" = yes; then
5147 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
5149 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
5154 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5155 if test "x$LINE" != x ; then
5156 eval "DEFAULT_$LINE"
5161 ac_cv_use_filesystem='wxUSE_FILESYSTEM
='$DEFAULT_wxUSE_FILESYSTEM
5165 eval "$ac_cv_use_filesystem"
5166 if test "$no_cache" != 1; then
5167 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5170 if test "$wxUSE_FILESYSTEM" = yes; then
5171 echo "$as_me:$LINENO: result: yes" >&5
5172 echo "${ECHO_T}yes" >&6
5174 echo "$as_me:$LINENO: result: no" >&5
5175 echo "${ECHO_T}no" >&6
5180 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5181 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5183 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5184 if test "${enable_fs_inet+set}" = set; then
5185 enableval="$enable_fs_inet"
5187 if test "$enableval" = yes; then
5188 ac_cv_use_fs_inet='wxUSE_FS_INET
=yes'
5190 ac_cv_use_fs_inet='wxUSE_FS_INET
=no
'
5195 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5196 if test "x$LINE" != x ; then
5197 eval "DEFAULT_$LINE"
5202 ac_cv_use_fs_inet='wxUSE_FS_INET
='$DEFAULT_wxUSE_FS_INET
5206 eval "$ac_cv_use_fs_inet"
5207 if test "$no_cache" != 1; then
5208 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5211 if test "$wxUSE_FS_INET" = yes; then
5212 echo "$as_me:$LINENO: result: yes" >&5
5213 echo "${ECHO_T}yes" >&6
5215 echo "$as_me:$LINENO: result: no" >&5
5216 echo "${ECHO_T}no" >&6
5221 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5222 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5224 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5225 if test "${enable_fs_zip+set}" = set; then
5226 enableval="$enable_fs_zip"
5228 if test "$enableval" = yes; then
5229 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=yes'
5231 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=no
'
5236 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5237 if test "x$LINE" != x ; then
5238 eval "DEFAULT_$LINE"
5243 ac_cv_use_fs_zip='wxUSE_FS_ZIP
='$DEFAULT_wxUSE_FS_ZIP
5247 eval "$ac_cv_use_fs_zip"
5248 if test "$no_cache" != 1; then
5249 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5252 if test "$wxUSE_FS_ZIP" = yes; then
5253 echo "$as_me:$LINENO: result: yes" >&5
5254 echo "${ECHO_T}yes" >&6
5256 echo "$as_me:$LINENO: result: no" >&5
5257 echo "${ECHO_T}no" >&6
5262 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5263 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5265 # Check whether --enable-zipstream or --disable-zipstream was given.
5266 if test "${enable_zipstream+set}" = set; then
5267 enableval="$enable_zipstream"
5269 if test "$enableval" = yes; then
5270 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
5272 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
5277 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5278 if test "x$LINE" != x ; then
5279 eval "DEFAULT_$LINE"
5284 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
='$DEFAULT_wxUSE_ZIPSTREAM
5288 eval "$ac_cv_use_zipstream"
5289 if test "$no_cache" != 1; then
5290 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5293 if test "$wxUSE_ZIPSTREAM" = yes; then
5294 echo "$as_me:$LINENO: result: yes" >&5
5295 echo "${ECHO_T}yes" >&6
5297 echo "$as_me:$LINENO: result: no" >&5
5298 echo "${ECHO_T}no" >&6
5304 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5305 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5307 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5308 if test "${enable_catch_segvs+set}" = set; then
5309 enableval="$enable_catch_segvs"
5311 if test "$enableval" = yes; then
5312 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=yes'
5314 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=no
'
5319 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5320 if test "x$LINE" != x ; then
5321 eval "DEFAULT_$LINE"
5326 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5330 eval "$ac_cv_use_catch_segvs"
5331 if test "$no_cache" != 1; then
5332 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5335 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5336 echo "$as_me:$LINENO: result: yes" >&5
5337 echo "${ECHO_T}yes" >&6
5339 echo "$as_me:$LINENO: result: no" >&5
5340 echo "${ECHO_T}no" >&6
5345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5346 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5348 # Check whether --enable-snglinst or --disable-snglinst was given.
5349 if test "${enable_snglinst+set}" = set; then
5350 enableval="$enable_snglinst"
5352 if test "$enableval" = yes; then
5353 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=yes'
5355 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=no
'
5360 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5361 if test "x$LINE" != x ; then
5362 eval "DEFAULT_$LINE"
5367 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
='$DEFAULT_wxUSE_SNGLINST_CHECKER
5371 eval "$ac_cv_use_snglinst"
5372 if test "$no_cache" != 1; then
5373 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5376 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5377 echo "$as_me:$LINENO: result: yes" >&5
5378 echo "${ECHO_T}yes" >&6
5380 echo "$as_me:$LINENO: result: no" >&5
5381 echo "${ECHO_T}no" >&6
5387 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5388 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5390 # Check whether --enable-mimetype or --disable-mimetype was given.
5391 if test "${enable_mimetype+set}" = set; then
5392 enableval="$enable_mimetype"
5394 if test "$enableval" = yes; then
5395 ac_cv_use_mimetype='wxUSE_MIMETYPE
=yes'
5397 ac_cv_use_mimetype='wxUSE_MIMETYPE
=no
'
5402 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5403 if test "x$LINE" != x ; then
5404 eval "DEFAULT_$LINE"
5409 ac_cv_use_mimetype='wxUSE_MIMETYPE
='$DEFAULT_wxUSE_MIMETYPE
5413 eval "$ac_cv_use_mimetype"
5414 if test "$no_cache" != 1; then
5415 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5418 if test "$wxUSE_MIMETYPE" = yes; then
5419 echo "$as_me:$LINENO: result: yes" >&5
5420 echo "${ECHO_T}yes" >&6
5422 echo "$as_me:$LINENO: result: no" >&5
5423 echo "${ECHO_T}no" >&6
5428 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5429 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5431 # Check whether --enable-system_options or --disable-system_options was given.
5432 if test "${enable_system_options+set}" = set; then
5433 enableval="$enable_system_options"
5435 if test "$enableval" = yes; then
5436 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=yes'
5438 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=no
'
5443 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5444 if test "x$LINE" != x ; then
5445 eval "DEFAULT_$LINE"
5450 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5454 eval "$ac_cv_use_system_options"
5455 if test "$no_cache" != 1; then
5456 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5459 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5460 echo "$as_me:$LINENO: result: yes" >&5
5461 echo "${ECHO_T}yes" >&6
5463 echo "$as_me:$LINENO: result: no" >&5
5464 echo "${ECHO_T}no" >&6
5470 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5471 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5473 # Check whether --enable-url or --disable-url was given.
5474 if test "${enable_url+set}" = set; then
5475 enableval="$enable_url"
5477 if test "$enableval" = yes; then
5478 ac_cv_use_url='wxUSE_URL
=yes'
5480 ac_cv_use_url='wxUSE_URL
=no
'
5485 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5486 if test "x$LINE" != x ; then
5487 eval "DEFAULT_$LINE"
5492 ac_cv_use_url='wxUSE_URL
='$DEFAULT_wxUSE_URL
5496 eval "$ac_cv_use_url"
5497 if test "$no_cache" != 1; then
5498 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5501 if test "$wxUSE_URL" = yes; then
5502 echo "$as_me:$LINENO: result: yes" >&5
5503 echo "${ECHO_T}yes" >&6
5505 echo "$as_me:$LINENO: result: no" >&5
5506 echo "${ECHO_T}no" >&6
5511 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5512 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5514 # Check whether --enable-protocol or --disable-protocol was given.
5515 if test "${enable_protocol+set}" = set; then
5516 enableval="$enable_protocol"
5518 if test "$enableval" = yes; then
5519 ac_cv_use_protocol='wxUSE_PROTOCOL
=yes'
5521 ac_cv_use_protocol='wxUSE_PROTOCOL
=no
'
5526 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5527 if test "x$LINE" != x ; then
5528 eval "DEFAULT_$LINE"
5533 ac_cv_use_protocol='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
5537 eval "$ac_cv_use_protocol"
5538 if test "$no_cache" != 1; then
5539 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5542 if test "$wxUSE_PROTOCOL" = yes; then
5543 echo "$as_me:$LINENO: result: yes" >&5
5544 echo "${ECHO_T}yes" >&6
5546 echo "$as_me:$LINENO: result: no" >&5
5547 echo "${ECHO_T}no" >&6
5552 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5553 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5555 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5556 if test "${enable_protocol_http+set}" = set; then
5557 enableval="$enable_protocol_http"
5559 if test "$enableval" = yes; then
5560 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
5562 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
5567 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5568 if test "x$LINE" != x ; then
5569 eval "DEFAULT_$LINE"
5574 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
5578 eval "$ac_cv_use_protocol_http"
5579 if test "$no_cache" != 1; then
5580 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5583 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5584 echo "$as_me:$LINENO: result: yes" >&5
5585 echo "${ECHO_T}yes" >&6
5587 echo "$as_me:$LINENO: result: no" >&5
5588 echo "${ECHO_T}no" >&6
5593 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5594 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5596 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5597 if test "${enable_protocol_ftp+set}" = set; then
5598 enableval="$enable_protocol_ftp"
5600 if test "$enableval" = yes; then
5601 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=yes'
5603 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=no
'
5608 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5609 if test "x$LINE" != x ; then
5610 eval "DEFAULT_$LINE"
5615 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
5619 eval "$ac_cv_use_protocol_ftp"
5620 if test "$no_cache" != 1; then
5621 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5624 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5625 echo "$as_me:$LINENO: result: yes" >&5
5626 echo "${ECHO_T}yes" >&6
5628 echo "$as_me:$LINENO: result: no" >&5
5629 echo "${ECHO_T}no" >&6
5634 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5635 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5637 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5638 if test "${enable_protocol_file+set}" = set; then
5639 enableval="$enable_protocol_file"
5641 if test "$enableval" = yes; then
5642 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=yes'
5644 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=no
'
5649 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5650 if test "x$LINE" != x ; then
5651 eval "DEFAULT_$LINE"
5656 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
5660 eval "$ac_cv_use_protocol_file"
5661 if test "$no_cache" != 1; then
5662 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5665 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5666 echo "$as_me:$LINENO: result: yes" >&5
5667 echo "${ECHO_T}yes" >&6
5669 echo "$as_me:$LINENO: result: no" >&5
5670 echo "${ECHO_T}no" >&6
5678 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5679 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
5681 # Check whether --enable-threads or --disable-threads was given.
5682 if test "${enable_threads+set}" = set; then
5683 enableval="$enable_threads"
5685 if test "$enableval" = yes; then
5686 ac_cv_use_threads='wxUSE_THREADS
=yes'
5688 ac_cv_use_threads='wxUSE_THREADS
=no
'
5693 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5694 if test "x$LINE" != x ; then
5695 eval "DEFAULT_$LINE"
5700 ac_cv_use_threads='wxUSE_THREADS
='$DEFAULT_wxUSE_THREADS
5704 eval "$ac_cv_use_threads"
5705 if test "$no_cache" != 1; then
5706 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5709 if test "$wxUSE_THREADS" = yes; then
5710 echo "$as_me:$LINENO: result: yes" >&5
5711 echo "${ECHO_T}yes" >&6
5713 echo "$as_me:$LINENO: result: no" >&5
5714 echo "${ECHO_T}no" >&6
5718 if test "$wxUSE_GUI" = "yes"; then
5723 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
5724 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
5726 # Check whether --enable-docview or --disable-docview was given.
5727 if test "${enable_docview+set}" = set; then
5728 enableval="$enable_docview"
5730 if test "$enableval" = yes; then
5731 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
5733 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
5738 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5739 if test "x$LINE" != x ; then
5740 eval "DEFAULT_$LINE"
5745 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5749 eval "$ac_cv_use_docview"
5750 if test "$no_cache" != 1; then
5751 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5754 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5755 echo "$as_me:$LINENO: result: yes" >&5
5756 echo "${ECHO_T}yes" >&6
5758 echo "$as_me:$LINENO: result: no" >&5
5759 echo "${ECHO_T}no" >&6
5764 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
5765 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
5767 # Check whether --enable-help or --disable-help was given.
5768 if test "${enable_help+set}" = set; then
5769 enableval="$enable_help"
5771 if test "$enableval" = yes; then
5772 ac_cv_use_help='wxUSE_HELP
=yes'
5774 ac_cv_use_help='wxUSE_HELP
=no
'
5779 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5780 if test "x$LINE" != x ; then
5781 eval "DEFAULT_$LINE"
5786 ac_cv_use_help='wxUSE_HELP
='$DEFAULT_wxUSE_HELP
5790 eval "$ac_cv_use_help"
5791 if test "$no_cache" != 1; then
5792 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5795 if test "$wxUSE_HELP" = yes; then
5796 echo "$as_me:$LINENO: result: yes" >&5
5797 echo "${ECHO_T}yes" >&6
5799 echo "$as_me:$LINENO: result: no" >&5
5800 echo "${ECHO_T}no" >&6
5805 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5806 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
5808 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5809 if test "${enable_mshtmlhelp+set}" = set; then
5810 enableval="$enable_mshtmlhelp"
5812 if test "$enableval" = yes; then
5813 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=yes'
5815 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=no
'
5820 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5821 if test "x$LINE" != x ; then
5822 eval "DEFAULT_$LINE"
5827 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
='$DEFAULT_wxUSE_MS_HTML_HELP
5831 eval "$ac_cv_use_mshtmlhelp"
5832 if test "$no_cache" != 1; then
5833 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5836 if test "$wxUSE_MS_HTML_HELP" = yes; then
5837 echo "$as_me:$LINENO: result: yes" >&5
5838 echo "${ECHO_T}yes" >&6
5840 echo "$as_me:$LINENO: result: no" >&5
5841 echo "${ECHO_T}no" >&6
5846 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
5847 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
5849 # Check whether --enable-html or --disable-html was given.
5850 if test "${enable_html+set}" = set; then
5851 enableval="$enable_html"
5853 if test "$enableval" = yes; then
5854 ac_cv_use_html='wxUSE_HTML
=yes'
5856 ac_cv_use_html='wxUSE_HTML
=no
'
5861 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5862 if test "x$LINE" != x ; then
5863 eval "DEFAULT_$LINE"
5868 ac_cv_use_html='wxUSE_HTML
='$DEFAULT_wxUSE_HTML
5872 eval "$ac_cv_use_html"
5873 if test "$no_cache" != 1; then
5874 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5877 if test "$wxUSE_HTML" = yes; then
5878 echo "$as_me:$LINENO: result: yes" >&5
5879 echo "${ECHO_T}yes" >&6
5881 echo "$as_me:$LINENO: result: no" >&5
5882 echo "${ECHO_T}no" >&6
5887 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
5888 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
5890 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5891 if test "${enable_htmlhelp+set}" = set; then
5892 enableval="$enable_htmlhelp"
5894 if test "$enableval" = yes; then
5895 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=yes'
5897 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=no
'
5902 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5903 if test "x$LINE" != x ; then
5904 eval "DEFAULT_$LINE"
5909 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
='$DEFAULT_wxUSE_WXHTML_HELP
5913 eval "$ac_cv_use_htmlhelp"
5914 if test "$no_cache" != 1; then
5915 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5918 if test "$wxUSE_WXHTML_HELP" = yes; then
5919 echo "$as_me:$LINENO: result: yes" >&5
5920 echo "${ECHO_T}yes" >&6
5922 echo "$as_me:$LINENO: result: no" >&5
5923 echo "${ECHO_T}no" >&6
5928 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
5929 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
5931 # Check whether --enable-constraints or --disable-constraints was given.
5932 if test "${enable_constraints+set}" = set; then
5933 enableval="$enable_constraints"
5935 if test "$enableval" = yes; then
5936 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
5938 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
5943 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5944 if test "x$LINE" != x ; then
5945 eval "DEFAULT_$LINE"
5950 ac_cv_use_constraints='wxUSE_CONSTRAINTS
='$DEFAULT_wxUSE_CONSTRAINTS
5954 eval "$ac_cv_use_constraints"
5955 if test "$no_cache" != 1; then
5956 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5959 if test "$wxUSE_CONSTRAINTS" = yes; then
5960 echo "$as_me:$LINENO: result: yes" >&5
5961 echo "${ECHO_T}yes" >&6
5963 echo "$as_me:$LINENO: result: no" >&5
5964 echo "${ECHO_T}no" >&6
5969 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
5970 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
5972 # Check whether --enable-printarch or --disable-printarch was given.
5973 if test "${enable_printarch+set}" = set; then
5974 enableval="$enable_printarch"
5976 if test "$enableval" = yes; then
5977 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
5979 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
5984 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5985 if test "x$LINE" != x ; then
5986 eval "DEFAULT_$LINE"
5991 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5995 eval "$ac_cv_use_printarch"
5996 if test "$no_cache" != 1; then
5997 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6000 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6001 echo "$as_me:$LINENO: result: yes" >&5
6002 echo "${ECHO_T}yes" >&6
6004 echo "$as_me:$LINENO: result: no" >&5
6005 echo "${ECHO_T}no" >&6
6010 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6011 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6013 # Check whether --enable-mdi or --disable-mdi was given.
6014 if test "${enable_mdi+set}" = set; then
6015 enableval="$enable_mdi"
6017 if test "$enableval" = yes; then
6018 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE
=yes'
6020 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE
=no
'
6025 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6026 if test "x$LINE" != x ; then
6027 eval "DEFAULT_$LINE"
6032 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE
='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6036 eval "$ac_cv_use_mdi"
6037 if test "$no_cache" != 1; then
6038 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6041 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6042 echo "$as_me:$LINENO: result: yes" >&5
6043 echo "${ECHO_T}yes" >&6
6045 echo "$as_me:$LINENO: result: no" >&5
6046 echo "${ECHO_T}no" >&6
6051 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6052 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6054 # Check whether --enable-loggui or --disable-loggui was given.
6055 if test "${enable_loggui+set}" = set; then
6056 enableval="$enable_loggui"
6058 if test "$enableval" = yes; then
6059 ac_cv_use_loggui='wxUSE_LOGGUI
=yes'
6061 ac_cv_use_loggui='wxUSE_LOGGUI
=no
'
6066 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6067 if test "x$LINE" != x ; then
6068 eval "DEFAULT_$LINE"
6073 ac_cv_use_loggui='wxUSE_LOGGUI
='$DEFAULT_wxUSE_LOGGUI
6077 eval "$ac_cv_use_loggui"
6078 if test "$no_cache" != 1; then
6079 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6082 if test "$wxUSE_LOGGUI" = yes; then
6083 echo "$as_me:$LINENO: result: yes" >&5
6084 echo "${ECHO_T}yes" >&6
6086 echo "$as_me:$LINENO: result: no" >&5
6087 echo "${ECHO_T}no" >&6
6092 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6093 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6095 # Check whether --enable-logwin or --disable-logwin was given.
6096 if test "${enable_logwin+set}" = set; then
6097 enableval="$enable_logwin"
6099 if test "$enableval" = yes; then
6100 ac_cv_use_logwin='wxUSE_LOGWINDOW
=yes'
6102 ac_cv_use_logwin='wxUSE_LOGWINDOW
=no
'
6107 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6108 if test "x$LINE" != x ; then
6109 eval "DEFAULT_$LINE"
6114 ac_cv_use_logwin='wxUSE_LOGWINDOW
='$DEFAULT_wxUSE_LOGWINDOW
6118 eval "$ac_cv_use_logwin"
6119 if test "$no_cache" != 1; then
6120 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6123 if test "$wxUSE_LOGWINDOW" = yes; then
6124 echo "$as_me:$LINENO: result: yes" >&5
6125 echo "${ECHO_T}yes" >&6
6127 echo "$as_me:$LINENO: result: no" >&5
6128 echo "${ECHO_T}no" >&6
6133 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6134 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6136 # Check whether --enable-logdialog or --disable-logdialog was given.
6137 if test "${enable_logdialog+set}" = set; then
6138 enableval="$enable_logdialog"
6140 if test "$enableval" = yes; then
6141 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
6143 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
6148 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6149 if test "x$LINE" != x ; then
6150 eval "DEFAULT_$LINE"
6155 ac_cv_use_logdialog='wxUSE_LOGDIALOG
='$DEFAULT_wxUSE_LOGDIALOG
6159 eval "$ac_cv_use_logdialog"
6160 if test "$no_cache" != 1; then
6161 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6164 if test "$wxUSE_LOGDIALOG" = yes; then
6165 echo "$as_me:$LINENO: result: yes" >&5
6166 echo "${ECHO_T}yes" >&6
6168 echo "$as_me:$LINENO: result: no" >&5
6169 echo "${ECHO_T}no" >&6
6175 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6176 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6178 # Check whether --enable-postscript or --disable-postscript was given.
6179 if test "${enable_postscript+set}" = set; then
6180 enableval="$enable_postscript"
6182 if test "$enableval" = yes; then
6183 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=yes'
6185 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=no
'
6190 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6191 if test "x$LINE" != x ; then
6192 eval "DEFAULT_$LINE"
6197 ac_cv_use_postscript='wxUSE_POSTSCRIPT
='$DEFAULT_wxUSE_POSTSCRIPT
6201 eval "$ac_cv_use_postscript"
6202 if test "$no_cache" != 1; then
6203 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6206 if test "$wxUSE_POSTSCRIPT" = yes; then
6207 echo "$as_me:$LINENO: result: yes" >&5
6208 echo "${ECHO_T}yes" >&6
6210 echo "$as_me:$LINENO: result: no" >&5
6211 echo "${ECHO_T}no" >&6
6219 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6220 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6222 # Check whether --enable-prologio or --disable-prologio was given.
6223 if test "${enable_prologio+set}" = set; then
6224 enableval="$enable_prologio"
6226 if test "$enableval" = yes; then
6227 ac_cv_use_prologio='wxUSE_PROLOGIO
=yes'
6229 ac_cv_use_prologio='wxUSE_PROLOGIO
=no
'
6234 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6235 if test "x$LINE" != x ; then
6236 eval "DEFAULT_$LINE"
6241 ac_cv_use_prologio='wxUSE_PROLOGIO
='$DEFAULT_wxUSE_PROLOGIO
6245 eval "$ac_cv_use_prologio"
6246 if test "$no_cache" != 1; then
6247 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6250 if test "$wxUSE_PROLOGIO" = yes; then
6251 echo "$as_me:$LINENO: result: yes" >&5
6252 echo "${ECHO_T}yes" >&6
6254 echo "$as_me:$LINENO: result: no" >&5
6255 echo "${ECHO_T}no" >&6
6260 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6261 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6263 # Check whether --enable-resources or --disable-resources was given.
6264 if test "${enable_resources+set}" = set; then
6265 enableval="$enable_resources"
6267 if test "$enableval" = yes; then
6268 ac_cv_use_resources='wxUSE_RESOURCES
=yes'
6270 ac_cv_use_resources='wxUSE_RESOURCES
=no
'
6275 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6276 if test "x$LINE" != x ; then
6277 eval "DEFAULT_$LINE"
6282 ac_cv_use_resources='wxUSE_RESOURCES
='$DEFAULT_wxUSE_RESOURCES
6286 eval "$ac_cv_use_resources"
6287 if test "$no_cache" != 1; then
6288 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6291 if test "$wxUSE_RESOURCES" = yes; then
6292 echo "$as_me:$LINENO: result: yes" >&5
6293 echo "${ECHO_T}yes" >&6
6295 echo "$as_me:$LINENO: result: no" >&5
6296 echo "${ECHO_T}no" >&6
6303 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6304 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6306 # Check whether --enable-clipboard or --disable-clipboard was given.
6307 if test "${enable_clipboard+set}" = set; then
6308 enableval="$enable_clipboard"
6310 if test "$enableval" = yes; then
6311 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=yes'
6313 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=no
'
6318 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6319 if test "x$LINE" != x ; then
6320 eval "DEFAULT_$LINE"
6325 ac_cv_use_clipboard='wxUSE_CLIPBOARD
='$DEFAULT_wxUSE_CLIPBOARD
6329 eval "$ac_cv_use_clipboard"
6330 if test "$no_cache" != 1; then
6331 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6334 if test "$wxUSE_CLIPBOARD" = yes; then
6335 echo "$as_me:$LINENO: result: yes" >&5
6336 echo "${ECHO_T}yes" >&6
6338 echo "$as_me:$LINENO: result: no" >&5
6339 echo "${ECHO_T}no" >&6
6344 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6345 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6347 # Check whether --enable-dnd or --disable-dnd was given.
6348 if test "${enable_dnd+set}" = set; then
6349 enableval="$enable_dnd"
6351 if test "$enableval" = yes; then
6352 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
6354 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
6359 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6360 if test "x$LINE" != x ; then
6361 eval "DEFAULT_$LINE"
6366 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
='$DEFAULT_wxUSE_DRAG_AND_DROP
6370 eval "$ac_cv_use_dnd"
6371 if test "$no_cache" != 1; then
6372 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6375 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6376 echo "$as_me:$LINENO: result: yes" >&5
6377 echo "${ECHO_T}yes" >&6
6379 echo "$as_me:$LINENO: result: no" >&5
6380 echo "${ECHO_T}no" >&6
6385 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6386 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6388 # Check whether --enable-metafile or --disable-metafile was given.
6389 if test "${enable_metafile+set}" = set; then
6390 enableval="$enable_metafile"
6392 if test "$enableval" = yes; then
6393 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
6395 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
6400 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6401 if test "x$LINE" != x ; then
6402 eval "DEFAULT_$LINE"
6407 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
6411 eval "$ac_cv_use_metafile"
6412 if test "$no_cache" != 1; then
6413 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6416 if test "$wxUSE_METAFILE" = yes; then
6417 echo "$as_me:$LINENO: result: yes" >&5
6418 echo "${ECHO_T}yes" >&6
6420 echo "$as_me:$LINENO: result: no" >&5
6421 echo "${ECHO_T}no" >&6
6429 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6430 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6432 # Check whether --enable-controls or --disable-controls was given.
6433 if test "${enable_controls+set}" = set; then
6434 enableval="$enable_controls"
6436 if test "$enableval" = yes; then
6437 ac_cv_use_controls='wxUSE_CONTROLS
=yes'
6439 ac_cv_use_controls='wxUSE_CONTROLS
=no
'
6444 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6445 if test "x$LINE" != x ; then
6446 eval "DEFAULT_$LINE"
6451 ac_cv_use_controls='wxUSE_CONTROLS
='$DEFAULT_wxUSE_CONTROLS
6455 eval "$ac_cv_use_controls"
6456 if test "$no_cache" != 1; then
6457 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6460 if test "$wxUSE_CONTROLS" = yes; then
6461 echo "$as_me:$LINENO: result: yes" >&5
6462 echo "${ECHO_T}yes" >&6
6464 echo "$as_me:$LINENO: result: no" >&5
6465 echo "${ECHO_T}no" >&6
6469 if test "$wxUSE_CONTROLS" = "yes"; then
6470 DEFAULT_wxUSE_ACCEL=yes
6471 DEFAULT_wxUSE_BMPBUTTON=yes
6472 DEFAULT_wxUSE_BUTTON=yes
6473 DEFAULT_wxUSE_CALCTRL=no
6474 DEFAULT_wxUSE_CARET=yes
6475 DEFAULT_wxUSE_COMBOBOX=yes
6476 DEFAULT_wxUSE_CHECKBOX=yes
6477 DEFAULT_wxUSE_CHECKLISTBOX=yes
6478 DEFAULT_wxUSE_CHOICE=yes
6479 DEFAULT_wxUSE_GAUGE=yes
6480 DEFAULT_wxUSE_GRID=yes
6481 DEFAULT_wxUSE_IMAGLIST=yes
6482 DEFAULT_wxUSE_LISTBOOK=yes
6483 DEFAULT_wxUSE_LISTBOX=yes
6484 DEFAULT_wxUSE_LISTCTRL=yes
6485 DEFAULT_wxUSE_NOTEBOOK=yes
6486 DEFAULT_wxUSE_RADIOBOX=yes
6487 DEFAULT_wxUSE_RADIOBTN=yes
6488 DEFAULT_wxUSE_SASH=yes
6489 DEFAULT_wxUSE_SCROLLBAR=yes
6490 DEFAULT_wxUSE_SLIDER=yes
6491 DEFAULT_wxUSE_SPINBTN=yes
6492 DEFAULT_wxUSE_SPINCTRL=yes
6493 DEFAULT_wxUSE_SPLITTER=yes
6494 DEFAULT_wxUSE_STATBMP=yes
6495 DEFAULT_wxUSE_STATBOX=yes
6496 DEFAULT_wxUSE_STATLINE=yes
6497 DEFAULT_wxUSE_STATUSBAR=yes
6498 DEFAULT_wxUSE_TAB_DIALOG=yes
6499 DEFAULT_wxUSE_TOGGLEBTN=yes
6500 DEFAULT_wxUSE_TOOLBAR=yes
6501 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6502 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6503 DEFAULT_wxUSE_TOOLTIPS=yes
6504 DEFAULT_wxUSE_TREECTRL=yes
6505 DEFAULT_wxUSE_POPUPWIN=yes
6506 DEFAULT_wxUSE_TIPWINDOW=yes
6507 elif test "$wxUSE_CONTROLS" = "no"; then
6508 DEFAULT_wxUSE_ACCEL=no
6509 DEFAULT_wxUSE_BMPBUTTON=no
6510 DEFAULT_wxUSE_BUTTON=no
6511 DEFAULT_wxUSE_CALCTRL=no
6512 DEFAULT_wxUSE_CARET=no
6513 DEFAULT_wxUSE_COMBOBOX=no
6514 DEFAULT_wxUSE_CHECKBOX=no
6515 DEFAULT_wxUSE_CHECKLISTBOX=no
6516 DEFAULT_wxUSE_CHOICE=no
6517 DEFAULT_wxUSE_GAUGE=no
6518 DEFAULT_wxUSE_GRID=no
6519 DEFAULT_wxUSE_IMAGLIST=no
6520 DEFAULT_wxUSE_LISTBOOK=no
6521 DEFAULT_wxUSE_LISTBOX=no
6522 DEFAULT_wxUSE_LISTCTRL=no
6523 DEFAULT_wxUSE_NOTEBOOK=no
6524 DEFAULT_wxUSE_RADIOBOX=no
6525 DEFAULT_wxUSE_RADIOBTN=no
6526 DEFAULT_wxUSE_SASH=no
6527 DEFAULT_wxUSE_SCROLLBAR=no
6528 DEFAULT_wxUSE_SLIDER=no
6529 DEFAULT_wxUSE_SPINBTN=no
6530 DEFAULT_wxUSE_SPINCTRL=no
6531 DEFAULT_wxUSE_SPLITTER=no
6532 DEFAULT_wxUSE_STATBMP=no
6533 DEFAULT_wxUSE_STATBOX=no
6534 DEFAULT_wxUSE_STATLINE=no
6535 DEFAULT_wxUSE_STATUSBAR=no
6536 DEFAULT_wxUSE_TAB_DIALOG=no
6537 DEFAULT_wxUSE_TOGGLEBTN=no
6538 DEFAULT_wxUSE_TOOLBAR=no
6539 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6540 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6541 DEFAULT_wxUSE_TOOLTIPS=no
6542 DEFAULT_wxUSE_TREECTRL=no
6543 DEFAULT_wxUSE_POPUPWIN=no
6544 DEFAULT_wxUSE_TIPWINDOW=no
6547 ## FIXME: This is a blatant hack
6548 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6549 wxUSE_PRINTING_ARCHITECTURE=no
6550 wxUSE_DRAG_AND_DROP=no
6551 # Generic notebook requires tab dialog
6552 DEFAULT_wxUSE_TABDIALOG=yes
6553 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6554 DEFAULT_wxUSE_SCROLLBAR=no
6555 DEFAULT_wxUSE_TOOLTIPS=no
6556 DEFAULT_wxUSE_DRAGIMAGE=no
6561 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6562 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6564 # Check whether --enable-accel or --disable-accel was given.
6565 if test "${enable_accel+set}" = set; then
6566 enableval="$enable_accel"
6568 if test "$enableval" = yes; then
6569 ac_cv_use_accel='wxUSE_ACCEL
=yes'
6571 ac_cv_use_accel='wxUSE_ACCEL
=no
'
6576 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6577 if test "x$LINE" != x ; then
6578 eval "DEFAULT_$LINE"
6583 ac_cv_use_accel='wxUSE_ACCEL
='$DEFAULT_wxUSE_ACCEL
6587 eval "$ac_cv_use_accel"
6588 if test "$no_cache" != 1; then
6589 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6592 if test "$wxUSE_ACCEL" = yes; then
6593 echo "$as_me:$LINENO: result: yes" >&5
6594 echo "${ECHO_T}yes" >&6
6596 echo "$as_me:$LINENO: result: no" >&5
6597 echo "${ECHO_T}no" >&6
6602 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6603 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6605 # Check whether --enable-button or --disable-button was given.
6606 if test "${enable_button+set}" = set; then
6607 enableval="$enable_button"
6609 if test "$enableval" = yes; then
6610 ac_cv_use_button='wxUSE_BUTTON
=yes'
6612 ac_cv_use_button='wxUSE_BUTTON
=no
'
6617 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6618 if test "x$LINE" != x ; then
6619 eval "DEFAULT_$LINE"
6624 ac_cv_use_button='wxUSE_BUTTON
='$DEFAULT_wxUSE_BUTTON
6628 eval "$ac_cv_use_button"
6629 if test "$no_cache" != 1; then
6630 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6633 if test "$wxUSE_BUTTON" = yes; then
6634 echo "$as_me:$LINENO: result: yes" >&5
6635 echo "${ECHO_T}yes" >&6
6637 echo "$as_me:$LINENO: result: no" >&5
6638 echo "${ECHO_T}no" >&6
6643 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6644 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6646 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6647 if test "${enable_bmpbutton+set}" = set; then
6648 enableval="$enable_bmpbutton"
6650 if test "$enableval" = yes; then
6651 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
6653 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
6658 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6659 if test "x$LINE" != x ; then
6660 eval "DEFAULT_$LINE"
6665 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
='$DEFAULT_wxUSE_BMPBUTTON
6669 eval "$ac_cv_use_bmpbutton"
6670 if test "$no_cache" != 1; then
6671 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6674 if test "$wxUSE_BMPBUTTON" = yes; then
6675 echo "$as_me:$LINENO: result: yes" >&5
6676 echo "${ECHO_T}yes" >&6
6678 echo "$as_me:$LINENO: result: no" >&5
6679 echo "${ECHO_T}no" >&6
6684 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
6685 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
6687 # Check whether --enable-calendar or --disable-calendar was given.
6688 if test "${enable_calendar+set}" = set; then
6689 enableval="$enable_calendar"
6691 if test "$enableval" = yes; then
6692 ac_cv_use_calendar='wxUSE_CALCTRL
=yes'
6694 ac_cv_use_calendar='wxUSE_CALCTRL
=no
'
6699 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6700 if test "x$LINE" != x ; then
6701 eval "DEFAULT_$LINE"
6706 ac_cv_use_calendar='wxUSE_CALCTRL
='$DEFAULT_wxUSE_CALCTRL
6710 eval "$ac_cv_use_calendar"
6711 if test "$no_cache" != 1; then
6712 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6715 if test "$wxUSE_CALCTRL" = yes; then
6716 echo "$as_me:$LINENO: result: yes" >&5
6717 echo "${ECHO_T}yes" >&6
6719 echo "$as_me:$LINENO: result: no" >&5
6720 echo "${ECHO_T}no" >&6
6725 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
6726 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
6728 # Check whether --enable-caret or --disable-caret was given.
6729 if test "${enable_caret+set}" = set; then
6730 enableval="$enable_caret"
6732 if test "$enableval" = yes; then
6733 ac_cv_use_caret='wxUSE_CARET
=yes'
6735 ac_cv_use_caret='wxUSE_CARET
=no
'
6740 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6741 if test "x$LINE" != x ; then
6742 eval "DEFAULT_$LINE"
6747 ac_cv_use_caret='wxUSE_CARET
='$DEFAULT_wxUSE_CARET
6751 eval "$ac_cv_use_caret"
6752 if test "$no_cache" != 1; then
6753 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6756 if test "$wxUSE_CARET" = yes; then
6757 echo "$as_me:$LINENO: result: yes" >&5
6758 echo "${ECHO_T}yes" >&6
6760 echo "$as_me:$LINENO: result: no" >&5
6761 echo "${ECHO_T}no" >&6
6766 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
6767 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
6769 # Check whether --enable-checkbox or --disable-checkbox was given.
6770 if test "${enable_checkbox+set}" = set; then
6771 enableval="$enable_checkbox"
6773 if test "$enableval" = yes; then
6774 ac_cv_use_checkbox='wxUSE_CHECKBOX
=yes'
6776 ac_cv_use_checkbox='wxUSE_CHECKBOX
=no
'
6781 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6782 if test "x$LINE" != x ; then
6783 eval "DEFAULT_$LINE"
6788 ac_cv_use_checkbox='wxUSE_CHECKBOX
='$DEFAULT_wxUSE_CHECKBOX
6792 eval "$ac_cv_use_checkbox"
6793 if test "$no_cache" != 1; then
6794 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6797 if test "$wxUSE_CHECKBOX" = yes; then
6798 echo "$as_me:$LINENO: result: yes" >&5
6799 echo "${ECHO_T}yes" >&6
6801 echo "$as_me:$LINENO: result: no" >&5
6802 echo "${ECHO_T}no" >&6
6807 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
6808 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
6810 # Check whether --enable-checklst or --disable-checklst was given.
6811 if test "${enable_checklst+set}" = set; then
6812 enableval="$enable_checklst"
6814 if test "$enableval" = yes; then
6815 ac_cv_use_checklst='wxUSE_CHECKLST
=yes'
6817 ac_cv_use_checklst='wxUSE_CHECKLST
=no
'
6822 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6823 if test "x$LINE" != x ; then
6824 eval "DEFAULT_$LINE"
6829 ac_cv_use_checklst='wxUSE_CHECKLST
='$DEFAULT_wxUSE_CHECKLST
6833 eval "$ac_cv_use_checklst"
6834 if test "$no_cache" != 1; then
6835 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6838 if test "$wxUSE_CHECKLST" = yes; then
6839 echo "$as_me:$LINENO: result: yes" >&5
6840 echo "${ECHO_T}yes" >&6
6842 echo "$as_me:$LINENO: result: no" >&5
6843 echo "${ECHO_T}no" >&6
6848 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
6849 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
6851 # Check whether --enable-choice or --disable-choice was given.
6852 if test "${enable_choice+set}" = set; then
6853 enableval="$enable_choice"
6855 if test "$enableval" = yes; then
6856 ac_cv_use_choice='wxUSE_CHOICE
=yes'
6858 ac_cv_use_choice='wxUSE_CHOICE
=no
'
6863 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6864 if test "x$LINE" != x ; then
6865 eval "DEFAULT_$LINE"
6870 ac_cv_use_choice='wxUSE_CHOICE
='$DEFAULT_wxUSE_CHOICE
6874 eval "$ac_cv_use_choice"
6875 if test "$no_cache" != 1; then
6876 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6879 if test "$wxUSE_CHOICE" = yes; then
6880 echo "$as_me:$LINENO: result: yes" >&5
6881 echo "${ECHO_T}yes" >&6
6883 echo "$as_me:$LINENO: result: no" >&5
6884 echo "${ECHO_T}no" >&6
6889 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
6890 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
6892 # Check whether --enable-combobox or --disable-combobox was given.
6893 if test "${enable_combobox+set}" = set; then
6894 enableval="$enable_combobox"
6896 if test "$enableval" = yes; then
6897 ac_cv_use_combobox='wxUSE_COMBOBOX
=yes'
6899 ac_cv_use_combobox='wxUSE_COMBOBOX
=no
'
6904 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6905 if test "x$LINE" != x ; then
6906 eval "DEFAULT_$LINE"
6911 ac_cv_use_combobox='wxUSE_COMBOBOX
='$DEFAULT_wxUSE_COMBOBOX
6915 eval "$ac_cv_use_combobox"
6916 if test "$no_cache" != 1; then
6917 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6920 if test "$wxUSE_COMBOBOX" = yes; then
6921 echo "$as_me:$LINENO: result: yes" >&5
6922 echo "${ECHO_T}yes" >&6
6924 echo "$as_me:$LINENO: result: no" >&5
6925 echo "${ECHO_T}no" >&6
6930 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
6931 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
6933 # Check whether --enable-display or --disable-display was given.
6934 if test "${enable_display+set}" = set; then
6935 enableval="$enable_display"
6937 if test "$enableval" = yes; then
6938 ac_cv_use_display='wxUSE_DISPLAY
=yes'
6940 ac_cv_use_display='wxUSE_DISPLAY
=no
'
6945 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
6946 if test "x$LINE" != x ; then
6947 eval "DEFAULT_$LINE"
6952 ac_cv_use_display='wxUSE_DISPLAY
='$DEFAULT_wxUSE_DISPLAY
6956 eval "$ac_cv_use_display"
6957 if test "$no_cache" != 1; then
6958 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
6961 if test "$wxUSE_DISPLAY" = yes; then
6962 echo "$as_me:$LINENO: result: yes" >&5
6963 echo "${ECHO_T}yes" >&6
6965 echo "$as_me:$LINENO: result: no" >&5
6966 echo "${ECHO_T}no" >&6
6971 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
6972 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
6974 # Check whether --enable-gauge or --disable-gauge was given.
6975 if test "${enable_gauge+set}" = set; then
6976 enableval="$enable_gauge"
6978 if test "$enableval" = yes; then
6979 ac_cv_use_gauge='wxUSE_GAUGE
=yes'
6981 ac_cv_use_gauge='wxUSE_GAUGE
=no
'
6986 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6987 if test "x$LINE" != x ; then
6988 eval "DEFAULT_$LINE"
6993 ac_cv_use_gauge='wxUSE_GAUGE
='$DEFAULT_wxUSE_GAUGE
6997 eval "$ac_cv_use_gauge"
6998 if test "$no_cache" != 1; then
6999 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7002 if test "$wxUSE_GAUGE" = yes; then
7003 echo "$as_me:$LINENO: result: yes" >&5
7004 echo "${ECHO_T}yes" >&6
7006 echo "$as_me:$LINENO: result: no" >&5
7007 echo "${ECHO_T}no" >&6
7012 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7013 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7015 # Check whether --enable-grid or --disable-grid was given.
7016 if test "${enable_grid+set}" = set; then
7017 enableval="$enable_grid"
7019 if test "$enableval" = yes; then
7020 ac_cv_use_grid='wxUSE_GRID
=yes'
7022 ac_cv_use_grid='wxUSE_GRID
=no
'
7027 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7028 if test "x$LINE" != x ; then
7029 eval "DEFAULT_$LINE"
7034 ac_cv_use_grid='wxUSE_GRID
='$DEFAULT_wxUSE_GRID
7038 eval "$ac_cv_use_grid"
7039 if test "$no_cache" != 1; then
7040 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7043 if test "$wxUSE_GRID" = yes; then
7044 echo "$as_me:$LINENO: result: yes" >&5
7045 echo "${ECHO_T}yes" >&6
7047 echo "$as_me:$LINENO: result: no" >&5
7048 echo "${ECHO_T}no" >&6
7053 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7054 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7056 # Check whether --enable-imaglist or --disable-imaglist was given.
7057 if test "${enable_imaglist+set}" = set; then
7058 enableval="$enable_imaglist"
7060 if test "$enableval" = yes; then
7061 ac_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
7063 ac_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
7068 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7069 if test "x$LINE" != x ; then
7070 eval "DEFAULT_$LINE"
7075 ac_cv_use_imaglist='wxUSE_IMAGLIST
='$DEFAULT_wxUSE_IMAGLIST
7079 eval "$ac_cv_use_imaglist"
7080 if test "$no_cache" != 1; then
7081 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7084 if test "$wxUSE_IMAGLIST" = yes; then
7085 echo "$as_me:$LINENO: result: yes" >&5
7086 echo "${ECHO_T}yes" >&6
7088 echo "$as_me:$LINENO: result: no" >&5
7089 echo "${ECHO_T}no" >&6
7094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7095 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7097 # Check whether --enable-listbook or --disable-listbook was given.
7098 if test "${enable_listbook+set}" = set; then
7099 enableval="$enable_listbook"
7101 if test "$enableval" = yes; then
7102 ac_cv_use_listbook='wxUSE_LISTBOOK
=yes'
7104 ac_cv_use_listbook='wxUSE_LISTBOOK
=no
'
7109 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7110 if test "x$LINE" != x ; then
7111 eval "DEFAULT_$LINE"
7116 ac_cv_use_listbook='wxUSE_LISTBOOK
='$DEFAULT_wxUSE_LISTBOOK
7120 eval "$ac_cv_use_listbook"
7121 if test "$no_cache" != 1; then
7122 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7125 if test "$wxUSE_LISTBOOK" = yes; then
7126 echo "$as_me:$LINENO: result: yes" >&5
7127 echo "${ECHO_T}yes" >&6
7129 echo "$as_me:$LINENO: result: no" >&5
7130 echo "${ECHO_T}no" >&6
7135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7136 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7138 # Check whether --enable-listbox or --disable-listbox was given.
7139 if test "${enable_listbox+set}" = set; then
7140 enableval="$enable_listbox"
7142 if test "$enableval" = yes; then
7143 ac_cv_use_listbox='wxUSE_LISTBOX
=yes'
7145 ac_cv_use_listbox='wxUSE_LISTBOX
=no
'
7150 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7151 if test "x$LINE" != x ; then
7152 eval "DEFAULT_$LINE"
7157 ac_cv_use_listbox='wxUSE_LISTBOX
='$DEFAULT_wxUSE_LISTBOX
7161 eval "$ac_cv_use_listbox"
7162 if test "$no_cache" != 1; then
7163 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7166 if test "$wxUSE_LISTBOX" = yes; then
7167 echo "$as_me:$LINENO: result: yes" >&5
7168 echo "${ECHO_T}yes" >&6
7170 echo "$as_me:$LINENO: result: no" >&5
7171 echo "${ECHO_T}no" >&6
7176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7177 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7179 # Check whether --enable-listctrl or --disable-listctrl was given.
7180 if test "${enable_listctrl+set}" = set; then
7181 enableval="$enable_listctrl"
7183 if test "$enableval" = yes; then
7184 ac_cv_use_listctrl='wxUSE_LISTCTRL
=yes'
7186 ac_cv_use_listctrl='wxUSE_LISTCTRL
=no
'
7191 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7192 if test "x$LINE" != x ; then
7193 eval "DEFAULT_$LINE"
7198 ac_cv_use_listctrl='wxUSE_LISTCTRL
='$DEFAULT_wxUSE_LISTCTRL
7202 eval "$ac_cv_use_listctrl"
7203 if test "$no_cache" != 1; then
7204 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7207 if test "$wxUSE_LISTCTRL" = yes; then
7208 echo "$as_me:$LINENO: result: yes" >&5
7209 echo "${ECHO_T}yes" >&6
7211 echo "$as_me:$LINENO: result: no" >&5
7212 echo "${ECHO_T}no" >&6
7217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7218 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7220 # Check whether --enable-notebook or --disable-notebook was given.
7221 if test "${enable_notebook+set}" = set; then
7222 enableval="$enable_notebook"
7224 if test "$enableval" = yes; then
7225 ac_cv_use_notebook='wxUSE_NOTEBOOK
=yes'
7227 ac_cv_use_notebook='wxUSE_NOTEBOOK
=no
'
7232 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7233 if test "x$LINE" != x ; then
7234 eval "DEFAULT_$LINE"
7239 ac_cv_use_notebook='wxUSE_NOTEBOOK
='$DEFAULT_wxUSE_NOTEBOOK
7243 eval "$ac_cv_use_notebook"
7244 if test "$no_cache" != 1; then
7245 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7248 if test "$wxUSE_NOTEBOOK" = yes; then
7249 echo "$as_me:$LINENO: result: yes" >&5
7250 echo "${ECHO_T}yes" >&6
7252 echo "$as_me:$LINENO: result: no" >&5
7253 echo "${ECHO_T}no" >&6
7258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7259 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7261 # Check whether --enable-radiobox or --disable-radiobox was given.
7262 if test "${enable_radiobox+set}" = set; then
7263 enableval="$enable_radiobox"
7265 if test "$enableval" = yes; then
7266 ac_cv_use_radiobox='wxUSE_RADIOBOX
=yes'
7268 ac_cv_use_radiobox='wxUSE_RADIOBOX
=no
'
7273 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7274 if test "x$LINE" != x ; then
7275 eval "DEFAULT_$LINE"
7280 ac_cv_use_radiobox='wxUSE_RADIOBOX
='$DEFAULT_wxUSE_RADIOBOX
7284 eval "$ac_cv_use_radiobox"
7285 if test "$no_cache" != 1; then
7286 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7289 if test "$wxUSE_RADIOBOX" = yes; then
7290 echo "$as_me:$LINENO: result: yes" >&5
7291 echo "${ECHO_T}yes" >&6
7293 echo "$as_me:$LINENO: result: no" >&5
7294 echo "${ECHO_T}no" >&6
7299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7300 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7302 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7303 if test "${enable_radiobtn+set}" = set; then
7304 enableval="$enable_radiobtn"
7306 if test "$enableval" = yes; then
7307 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=yes'
7309 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=no
'
7314 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7315 if test "x$LINE" != x ; then
7316 eval "DEFAULT_$LINE"
7321 ac_cv_use_radiobtn='wxUSE_RADIOBTN
='$DEFAULT_wxUSE_RADIOBTN
7325 eval "$ac_cv_use_radiobtn"
7326 if test "$no_cache" != 1; then
7327 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7330 if test "$wxUSE_RADIOBTN" = yes; then
7331 echo "$as_me:$LINENO: result: yes" >&5
7332 echo "${ECHO_T}yes" >&6
7334 echo "$as_me:$LINENO: result: no" >&5
7335 echo "${ECHO_T}no" >&6
7340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7341 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7343 # Check whether --enable-sash or --disable-sash was given.
7344 if test "${enable_sash+set}" = set; then
7345 enableval="$enable_sash"
7347 if test "$enableval" = yes; then
7348 ac_cv_use_sash='wxUSE_SASH
=yes'
7350 ac_cv_use_sash='wxUSE_SASH
=no
'
7355 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7356 if test "x$LINE" != x ; then
7357 eval "DEFAULT_$LINE"
7362 ac_cv_use_sash='wxUSE_SASH
='$DEFAULT_wxUSE_SASH
7366 eval "$ac_cv_use_sash"
7367 if test "$no_cache" != 1; then
7368 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7371 if test "$wxUSE_SASH" = yes; then
7372 echo "$as_me:$LINENO: result: yes" >&5
7373 echo "${ECHO_T}yes" >&6
7375 echo "$as_me:$LINENO: result: no" >&5
7376 echo "${ECHO_T}no" >&6
7381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7382 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7384 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7385 if test "${enable_scrollbar+set}" = set; then
7386 enableval="$enable_scrollbar"
7388 if test "$enableval" = yes; then
7389 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=yes'
7391 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=no
'
7396 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7397 if test "x$LINE" != x ; then
7398 eval "DEFAULT_$LINE"
7403 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
='$DEFAULT_wxUSE_SCROLLBAR
7407 eval "$ac_cv_use_scrollbar"
7408 if test "$no_cache" != 1; then
7409 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7412 if test "$wxUSE_SCROLLBAR" = yes; then
7413 echo "$as_me:$LINENO: result: yes" >&5
7414 echo "${ECHO_T}yes" >&6
7416 echo "$as_me:$LINENO: result: no" >&5
7417 echo "${ECHO_T}no" >&6
7422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7423 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7425 # Check whether --enable-slider or --disable-slider was given.
7426 if test "${enable_slider+set}" = set; then
7427 enableval="$enable_slider"
7429 if test "$enableval" = yes; then
7430 ac_cv_use_slider='wxUSE_SLIDER
=yes'
7432 ac_cv_use_slider='wxUSE_SLIDER
=no
'
7437 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7438 if test "x$LINE" != x ; then
7439 eval "DEFAULT_$LINE"
7444 ac_cv_use_slider='wxUSE_SLIDER
='$DEFAULT_wxUSE_SLIDER
7448 eval "$ac_cv_use_slider"
7449 if test "$no_cache" != 1; then
7450 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7453 if test "$wxUSE_SLIDER" = yes; then
7454 echo "$as_me:$LINENO: result: yes" >&5
7455 echo "${ECHO_T}yes" >&6
7457 echo "$as_me:$LINENO: result: no" >&5
7458 echo "${ECHO_T}no" >&6
7463 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7464 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7466 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7467 if test "${enable_spinbtn+set}" = set; then
7468 enableval="$enable_spinbtn"
7470 if test "$enableval" = yes; then
7471 ac_cv_use_spinbtn='wxUSE_SPINBTN
=yes'
7473 ac_cv_use_spinbtn='wxUSE_SPINBTN
=no
'
7478 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7479 if test "x$LINE" != x ; then
7480 eval "DEFAULT_$LINE"
7485 ac_cv_use_spinbtn='wxUSE_SPINBTN
='$DEFAULT_wxUSE_SPINBTN
7489 eval "$ac_cv_use_spinbtn"
7490 if test "$no_cache" != 1; then
7491 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7494 if test "$wxUSE_SPINBTN" = yes; then
7495 echo "$as_me:$LINENO: result: yes" >&5
7496 echo "${ECHO_T}yes" >&6
7498 echo "$as_me:$LINENO: result: no" >&5
7499 echo "${ECHO_T}no" >&6
7504 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7505 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7507 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7508 if test "${enable_spinctrl+set}" = set; then
7509 enableval="$enable_spinctrl"
7511 if test "$enableval" = yes; then
7512 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=yes'
7514 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=no
'
7519 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7520 if test "x$LINE" != x ; then
7521 eval "DEFAULT_$LINE"
7526 ac_cv_use_spinctrl='wxUSE_SPINCTRL
='$DEFAULT_wxUSE_SPINCTRL
7530 eval "$ac_cv_use_spinctrl"
7531 if test "$no_cache" != 1; then
7532 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7535 if test "$wxUSE_SPINCTRL" = yes; then
7536 echo "$as_me:$LINENO: result: yes" >&5
7537 echo "${ECHO_T}yes" >&6
7539 echo "$as_me:$LINENO: result: no" >&5
7540 echo "${ECHO_T}no" >&6
7545 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7546 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7548 # Check whether --enable-splitter or --disable-splitter was given.
7549 if test "${enable_splitter+set}" = set; then
7550 enableval="$enable_splitter"
7552 if test "$enableval" = yes; then
7553 ac_cv_use_splitter='wxUSE_SPLITTER
=yes'
7555 ac_cv_use_splitter='wxUSE_SPLITTER
=no
'
7560 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7561 if test "x$LINE" != x ; then
7562 eval "DEFAULT_$LINE"
7567 ac_cv_use_splitter='wxUSE_SPLITTER
='$DEFAULT_wxUSE_SPLITTER
7571 eval "$ac_cv_use_splitter"
7572 if test "$no_cache" != 1; then
7573 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7576 if test "$wxUSE_SPLITTER" = yes; then
7577 echo "$as_me:$LINENO: result: yes" >&5
7578 echo "${ECHO_T}yes" >&6
7580 echo "$as_me:$LINENO: result: no" >&5
7581 echo "${ECHO_T}no" >&6
7586 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7587 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7589 # Check whether --enable-statbmp or --disable-statbmp was given.
7590 if test "${enable_statbmp+set}" = set; then
7591 enableval="$enable_statbmp"
7593 if test "$enableval" = yes; then
7594 ac_cv_use_statbmp='wxUSE_STATBMP
=yes'
7596 ac_cv_use_statbmp='wxUSE_STATBMP
=no
'
7601 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7602 if test "x$LINE" != x ; then
7603 eval "DEFAULT_$LINE"
7608 ac_cv_use_statbmp='wxUSE_STATBMP
='$DEFAULT_wxUSE_STATBMP
7612 eval "$ac_cv_use_statbmp"
7613 if test "$no_cache" != 1; then
7614 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7617 if test "$wxUSE_STATBMP" = yes; then
7618 echo "$as_me:$LINENO: result: yes" >&5
7619 echo "${ECHO_T}yes" >&6
7621 echo "$as_me:$LINENO: result: no" >&5
7622 echo "${ECHO_T}no" >&6
7627 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7628 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7630 # Check whether --enable-statbox or --disable-statbox was given.
7631 if test "${enable_statbox+set}" = set; then
7632 enableval="$enable_statbox"
7634 if test "$enableval" = yes; then
7635 ac_cv_use_statbox='wxUSE_STATBOX
=yes'
7637 ac_cv_use_statbox='wxUSE_STATBOX
=no
'
7642 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7643 if test "x$LINE" != x ; then
7644 eval "DEFAULT_$LINE"
7649 ac_cv_use_statbox='wxUSE_STATBOX
='$DEFAULT_wxUSE_STATBOX
7653 eval "$ac_cv_use_statbox"
7654 if test "$no_cache" != 1; then
7655 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7658 if test "$wxUSE_STATBOX" = yes; then
7659 echo "$as_me:$LINENO: result: yes" >&5
7660 echo "${ECHO_T}yes" >&6
7662 echo "$as_me:$LINENO: result: no" >&5
7663 echo "${ECHO_T}no" >&6
7668 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7669 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7671 # Check whether --enable-statline or --disable-statline was given.
7672 if test "${enable_statline+set}" = set; then
7673 enableval="$enable_statline"
7675 if test "$enableval" = yes; then
7676 ac_cv_use_statline='wxUSE_STATLINE
=yes'
7678 ac_cv_use_statline='wxUSE_STATLINE
=no
'
7683 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7684 if test "x$LINE" != x ; then
7685 eval "DEFAULT_$LINE"
7690 ac_cv_use_statline='wxUSE_STATLINE
='$DEFAULT_wxUSE_STATLINE
7694 eval "$ac_cv_use_statline"
7695 if test "$no_cache" != 1; then
7696 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7699 if test "$wxUSE_STATLINE" = yes; then
7700 echo "$as_me:$LINENO: result: yes" >&5
7701 echo "${ECHO_T}yes" >&6
7703 echo "$as_me:$LINENO: result: no" >&5
7704 echo "${ECHO_T}no" >&6
7709 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
7710 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
7712 # Check whether --enable-stattext or --disable-stattext was given.
7713 if test "${enable_stattext+set}" = set; then
7714 enableval="$enable_stattext"
7716 if test "$enableval" = yes; then
7717 ac_cv_use_stattext='wxUSE_STATTEXT
=yes'
7719 ac_cv_use_stattext='wxUSE_STATTEXT
=no
'
7724 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7725 if test "x$LINE" != x ; then
7726 eval "DEFAULT_$LINE"
7731 ac_cv_use_stattext='wxUSE_STATTEXT
='$DEFAULT_wxUSE_STATTEXT
7735 eval "$ac_cv_use_stattext"
7736 if test "$no_cache" != 1; then
7737 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7740 if test "$wxUSE_STATTEXT" = yes; then
7741 echo "$as_me:$LINENO: result: yes" >&5
7742 echo "${ECHO_T}yes" >&6
7744 echo "$as_me:$LINENO: result: no" >&5
7745 echo "${ECHO_T}no" >&6
7750 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
7751 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
7753 # Check whether --enable-statusbar or --disable-statusbar was given.
7754 if test "${enable_statusbar+set}" = set; then
7755 enableval="$enable_statusbar"
7757 if test "$enableval" = yes; then
7758 ac_cv_use_statusbar='wxUSE_STATUSBAR
=yes'
7760 ac_cv_use_statusbar='wxUSE_STATUSBAR
=no
'
7765 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7766 if test "x$LINE" != x ; then
7767 eval "DEFAULT_$LINE"
7772 ac_cv_use_statusbar='wxUSE_STATUSBAR
='$DEFAULT_wxUSE_STATUSBAR
7776 eval "$ac_cv_use_statusbar"
7777 if test "$no_cache" != 1; then
7778 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7781 if test "$wxUSE_STATUSBAR" = yes; then
7782 echo "$as_me:$LINENO: result: yes" >&5
7783 echo "${ECHO_T}yes" >&6
7785 echo "$as_me:$LINENO: result: no" >&5
7786 echo "${ECHO_T}no" >&6
7791 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
7792 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
7794 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7795 if test "${enable_tabdialog+set}" = set; then
7796 enableval="$enable_tabdialog"
7798 if test "$enableval" = yes; then
7799 ac_cv_use_tabdialog='wxUSE_TABDIALOG
=yes'
7801 ac_cv_use_tabdialog='wxUSE_TABDIALOG
=no
'
7806 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7807 if test "x$LINE" != x ; then
7808 eval "DEFAULT_$LINE"
7813 ac_cv_use_tabdialog='wxUSE_TABDIALOG
='$DEFAULT_wxUSE_TABDIALOG
7817 eval "$ac_cv_use_tabdialog"
7818 if test "$no_cache" != 1; then
7819 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7822 if test "$wxUSE_TABDIALOG" = yes; then
7823 echo "$as_me:$LINENO: result: yes" >&5
7824 echo "${ECHO_T}yes" >&6
7826 echo "$as_me:$LINENO: result: no" >&5
7827 echo "${ECHO_T}no" >&6
7832 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
7833 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
7835 # Check whether --enable-textctrl or --disable-textctrl was given.
7836 if test "${enable_textctrl+set}" = set; then
7837 enableval="$enable_textctrl"
7839 if test "$enableval" = yes; then
7840 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=yes'
7842 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=no
'
7847 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7848 if test "x$LINE" != x ; then
7849 eval "DEFAULT_$LINE"
7854 ac_cv_use_textctrl='wxUSE_TEXTCTRL
='$DEFAULT_wxUSE_TEXTCTRL
7858 eval "$ac_cv_use_textctrl"
7859 if test "$no_cache" != 1; then
7860 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7863 if test "$wxUSE_TEXTCTRL" = yes; then
7864 echo "$as_me:$LINENO: result: yes" >&5
7865 echo "${ECHO_T}yes" >&6
7867 echo "$as_me:$LINENO: result: no" >&5
7868 echo "${ECHO_T}no" >&6
7873 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
7874 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
7876 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7877 if test "${enable_togglebtn+set}" = set; then
7878 enableval="$enable_togglebtn"
7880 if test "$enableval" = yes; then
7881 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=yes'
7883 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=no
'
7888 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7889 if test "x$LINE" != x ; then
7890 eval "DEFAULT_$LINE"
7895 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
='$DEFAULT_wxUSE_TOGGLEBTN
7899 eval "$ac_cv_use_togglebtn"
7900 if test "$no_cache" != 1; then
7901 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7904 if test "$wxUSE_TOGGLEBTN" = yes; then
7905 echo "$as_me:$LINENO: result: yes" >&5
7906 echo "${ECHO_T}yes" >&6
7908 echo "$as_me:$LINENO: result: no" >&5
7909 echo "${ECHO_T}no" >&6
7914 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
7915 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
7917 # Check whether --enable-toolbar or --disable-toolbar was given.
7918 if test "${enable_toolbar+set}" = set; then
7919 enableval="$enable_toolbar"
7921 if test "$enableval" = yes; then
7922 ac_cv_use_toolbar='wxUSE_TOOLBAR
=yes'
7924 ac_cv_use_toolbar='wxUSE_TOOLBAR
=no
'
7929 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7930 if test "x$LINE" != x ; then
7931 eval "DEFAULT_$LINE"
7936 ac_cv_use_toolbar='wxUSE_TOOLBAR
='$DEFAULT_wxUSE_TOOLBAR
7940 eval "$ac_cv_use_toolbar"
7941 if test "$no_cache" != 1; then
7942 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7945 if test "$wxUSE_TOOLBAR" = yes; then
7946 echo "$as_me:$LINENO: result: yes" >&5
7947 echo "${ECHO_T}yes" >&6
7949 echo "$as_me:$LINENO: result: no" >&5
7950 echo "${ECHO_T}no" >&6
7955 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
7956 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
7958 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7959 if test "${enable_tbarnative+set}" = set; then
7960 enableval="$enable_tbarnative"
7962 if test "$enableval" = yes; then
7963 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=yes'
7965 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=no
'
7970 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7971 if test "x$LINE" != x ; then
7972 eval "DEFAULT_$LINE"
7977 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7981 eval "$ac_cv_use_tbarnative"
7982 if test "$no_cache" != 1; then
7983 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7986 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7987 echo "$as_me:$LINENO: result: yes" >&5
7988 echo "${ECHO_T}yes" >&6
7990 echo "$as_me:$LINENO: result: no" >&5
7991 echo "${ECHO_T}no" >&6
7996 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
7997 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
7999 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8000 if test "${enable_tbarsmpl+set}" = set; then
8001 enableval="$enable_tbarsmpl"
8003 if test "$enableval" = yes; then
8004 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
=yes'
8006 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
=no
'
8011 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8012 if test "x$LINE" != x ; then
8013 eval "DEFAULT_$LINE"
8018 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8022 eval "$ac_cv_use_tbarsmpl"
8023 if test "$no_cache" != 1; then
8024 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8027 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8028 echo "$as_me:$LINENO: result: yes" >&5
8029 echo "${ECHO_T}yes" >&6
8031 echo "$as_me:$LINENO: result: no" >&5
8032 echo "${ECHO_T}no" >&6
8037 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8038 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8040 # Check whether --enable-treectrl or --disable-treectrl was given.
8041 if test "${enable_treectrl+set}" = set; then
8042 enableval="$enable_treectrl"
8044 if test "$enableval" = yes; then
8045 ac_cv_use_treectrl='wxUSE_TREECTRL
=yes'
8047 ac_cv_use_treectrl='wxUSE_TREECTRL
=no
'
8052 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8053 if test "x$LINE" != x ; then
8054 eval "DEFAULT_$LINE"
8059 ac_cv_use_treectrl='wxUSE_TREECTRL
='$DEFAULT_wxUSE_TREECTRL
8063 eval "$ac_cv_use_treectrl"
8064 if test "$no_cache" != 1; then
8065 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8068 if test "$wxUSE_TREECTRL" = yes; then
8069 echo "$as_me:$LINENO: result: yes" >&5
8070 echo "${ECHO_T}yes" >&6
8072 echo "$as_me:$LINENO: result: no" >&5
8073 echo "${ECHO_T}no" >&6
8078 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8079 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8081 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8082 if test "${enable_tipwindow+set}" = set; then
8083 enableval="$enable_tipwindow"
8085 if test "$enableval" = yes; then
8086 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
8088 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
8093 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8094 if test "x$LINE" != x ; then
8095 eval "DEFAULT_$LINE"
8100 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
='$DEFAULT_wxUSE_TIPWINDOW
8104 eval "$ac_cv_use_tipwindow"
8105 if test "$no_cache" != 1; then
8106 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8109 if test "$wxUSE_TIPWINDOW" = yes; then
8110 echo "$as_me:$LINENO: result: yes" >&5
8111 echo "${ECHO_T}yes" >&6
8113 echo "$as_me:$LINENO: result: no" >&5
8114 echo "${ECHO_T}no" >&6
8119 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8120 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8122 # Check whether --enable-popupwin or --disable-popupwin was given.
8123 if test "${enable_popupwin+set}" = set; then
8124 enableval="$enable_popupwin"
8126 if test "$enableval" = yes; then
8127 ac_cv_use_popupwin='wxUSE_POPUPWIN
=yes'
8129 ac_cv_use_popupwin='wxUSE_POPUPWIN
=no
'
8134 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8135 if test "x$LINE" != x ; then
8136 eval "DEFAULT_$LINE"
8141 ac_cv_use_popupwin='wxUSE_POPUPWIN
='$DEFAULT_wxUSE_POPUPWIN
8145 eval "$ac_cv_use_popupwin"
8146 if test "$no_cache" != 1; then
8147 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8150 if test "$wxUSE_POPUPWIN" = yes; then
8151 echo "$as_me:$LINENO: result: yes" >&5
8152 echo "${ECHO_T}yes" >&6
8154 echo "$as_me:$LINENO: result: no" >&5
8155 echo "${ECHO_T}no" >&6
8162 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8163 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8165 # Check whether --enable-commondlg or --disable-commondlg was given.
8166 if test "${enable_commondlg+set}" = set; then
8167 enableval="$enable_commondlg"
8169 if test "$enableval" = yes; then
8170 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=yes'
8172 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=no
'
8177 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8178 if test "x$LINE" != x ; then
8179 eval "DEFAULT_$LINE"
8184 ac_cv_use_commondlg='wxUSE_COMMONDLGS
='$DEFAULT_wxUSE_COMMONDLGS
8188 eval "$ac_cv_use_commondlg"
8189 if test "$no_cache" != 1; then
8190 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8193 if test "$wxUSE_COMMONDLGS" = yes; then
8194 echo "$as_me:$LINENO: result: yes" >&5
8195 echo "${ECHO_T}yes" >&6
8197 echo "$as_me:$LINENO: result: no" >&5
8198 echo "${ECHO_T}no" >&6
8203 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8204 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8206 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8207 if test "${enable_choicedlg+set}" = set; then
8208 enableval="$enable_choicedlg"
8210 if test "$enableval" = yes; then
8211 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
8213 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
8218 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8219 if test "x$LINE" != x ; then
8220 eval "DEFAULT_$LINE"
8225 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
='$DEFAULT_wxUSE_CHOICEDLG
8229 eval "$ac_cv_use_choicedlg"
8230 if test "$no_cache" != 1; then
8231 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8234 if test "$wxUSE_CHOICEDLG" = yes; then
8235 echo "$as_me:$LINENO: result: yes" >&5
8236 echo "${ECHO_T}yes" >&6
8238 echo "$as_me:$LINENO: result: no" >&5
8239 echo "${ECHO_T}no" >&6
8244 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8245 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8247 # Check whether --enable-coldlg or --disable-coldlg was given.
8248 if test "${enable_coldlg+set}" = set; then
8249 enableval="$enable_coldlg"
8251 if test "$enableval" = yes; then
8252 ac_cv_use_coldlg='wxUSE_COLOURDLG
=yes'
8254 ac_cv_use_coldlg='wxUSE_COLOURDLG
=no
'
8259 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8260 if test "x$LINE" != x ; then
8261 eval "DEFAULT_$LINE"
8266 ac_cv_use_coldlg='wxUSE_COLOURDLG
='$DEFAULT_wxUSE_COLOURDLG
8270 eval "$ac_cv_use_coldlg"
8271 if test "$no_cache" != 1; then
8272 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8275 if test "$wxUSE_COLOURDLG" = yes; then
8276 echo "$as_me:$LINENO: result: yes" >&5
8277 echo "${ECHO_T}yes" >&6
8279 echo "$as_me:$LINENO: result: no" >&5
8280 echo "${ECHO_T}no" >&6
8285 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8286 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8288 # Check whether --enable-filedlg or --disable-filedlg was given.
8289 if test "${enable_filedlg+set}" = set; then
8290 enableval="$enable_filedlg"
8292 if test "$enableval" = yes; then
8293 ac_cv_use_filedlg='wxUSE_FILEDLG
=yes'
8295 ac_cv_use_filedlg='wxUSE_FILEDLG
=no
'
8300 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8301 if test "x$LINE" != x ; then
8302 eval "DEFAULT_$LINE"
8307 ac_cv_use_filedlg='wxUSE_FILEDLG
='$DEFAULT_wxUSE_FILEDLG
8311 eval "$ac_cv_use_filedlg"
8312 if test "$no_cache" != 1; then
8313 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8316 if test "$wxUSE_FILEDLG" = yes; then
8317 echo "$as_me:$LINENO: result: yes" >&5
8318 echo "${ECHO_T}yes" >&6
8320 echo "$as_me:$LINENO: result: no" >&5
8321 echo "${ECHO_T}no" >&6
8326 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8327 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8329 # Check whether --enable-finddlg or --disable-finddlg was given.
8330 if test "${enable_finddlg+set}" = set; then
8331 enableval="$enable_finddlg"
8333 if test "$enableval" = yes; then
8334 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
8336 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
8341 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8342 if test "x$LINE" != x ; then
8343 eval "DEFAULT_$LINE"
8348 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
='$DEFAULT_wxUSE_FINDREPLDLG
8352 eval "$ac_cv_use_finddlg"
8353 if test "$no_cache" != 1; then
8354 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8357 if test "$wxUSE_FINDREPLDLG" = yes; then
8358 echo "$as_me:$LINENO: result: yes" >&5
8359 echo "${ECHO_T}yes" >&6
8361 echo "$as_me:$LINENO: result: no" >&5
8362 echo "${ECHO_T}no" >&6
8367 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8368 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8370 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8371 if test "${enable_fontdlg+set}" = set; then
8372 enableval="$enable_fontdlg"
8374 if test "$enableval" = yes; then
8375 ac_cv_use_fontdlg='wxUSE_FONTDLG
=yes'
8377 ac_cv_use_fontdlg='wxUSE_FONTDLG
=no
'
8382 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8383 if test "x$LINE" != x ; then
8384 eval "DEFAULT_$LINE"
8389 ac_cv_use_fontdlg='wxUSE_FONTDLG
='$DEFAULT_wxUSE_FONTDLG
8393 eval "$ac_cv_use_fontdlg"
8394 if test "$no_cache" != 1; then
8395 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8398 if test "$wxUSE_FONTDLG" = yes; then
8399 echo "$as_me:$LINENO: result: yes" >&5
8400 echo "${ECHO_T}yes" >&6
8402 echo "$as_me:$LINENO: result: no" >&5
8403 echo "${ECHO_T}no" >&6
8408 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8409 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8411 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8412 if test "${enable_dirdlg+set}" = set; then
8413 enableval="$enable_dirdlg"
8415 if test "$enableval" = yes; then
8416 ac_cv_use_dirdlg='wxUSE_DIRDLG
=yes'
8418 ac_cv_use_dirdlg='wxUSE_DIRDLG
=no
'
8423 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8424 if test "x$LINE" != x ; then
8425 eval "DEFAULT_$LINE"
8430 ac_cv_use_dirdlg='wxUSE_DIRDLG
='$DEFAULT_wxUSE_DIRDLG
8434 eval "$ac_cv_use_dirdlg"
8435 if test "$no_cache" != 1; then
8436 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8439 if test "$wxUSE_DIRDLG" = yes; then
8440 echo "$as_me:$LINENO: result: yes" >&5
8441 echo "${ECHO_T}yes" >&6
8443 echo "$as_me:$LINENO: result: no" >&5
8444 echo "${ECHO_T}no" >&6
8449 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8450 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8452 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8453 if test "${enable_msgdlg+set}" = set; then
8454 enableval="$enable_msgdlg"
8456 if test "$enableval" = yes; then
8457 ac_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
8459 ac_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
8464 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8465 if test "x$LINE" != x ; then
8466 eval "DEFAULT_$LINE"
8471 ac_cv_use_msgdlg='wxUSE_MSGDLG
='$DEFAULT_wxUSE_MSGDLG
8475 eval "$ac_cv_use_msgdlg"
8476 if test "$no_cache" != 1; then
8477 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8480 if test "$wxUSE_MSGDLG" = yes; then
8481 echo "$as_me:$LINENO: result: yes" >&5
8482 echo "${ECHO_T}yes" >&6
8484 echo "$as_me:$LINENO: result: no" >&5
8485 echo "${ECHO_T}no" >&6
8490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8491 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8493 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8494 if test "${enable_numberdlg+set}" = set; then
8495 enableval="$enable_numberdlg"
8497 if test "$enableval" = yes; then
8498 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=yes'
8500 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=no
'
8505 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8506 if test "x$LINE" != x ; then
8507 eval "DEFAULT_$LINE"
8512 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
='$DEFAULT_wxUSE_NUMBERDLG
8516 eval "$ac_cv_use_numberdlg"
8517 if test "$no_cache" != 1; then
8518 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8521 if test "$wxUSE_NUMBERDLG" = yes; then
8522 echo "$as_me:$LINENO: result: yes" >&5
8523 echo "${ECHO_T}yes" >&6
8525 echo "$as_me:$LINENO: result: no" >&5
8526 echo "${ECHO_T}no" >&6
8531 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8532 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8534 # Check whether --enable-splash or --disable-splash was given.
8535 if test "${enable_splash+set}" = set; then
8536 enableval="$enable_splash"
8538 if test "$enableval" = yes; then
8539 ac_cv_use_splash='wxUSE_SPLASH
=yes'
8541 ac_cv_use_splash='wxUSE_SPLASH
=no
'
8546 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8547 if test "x$LINE" != x ; then
8548 eval "DEFAULT_$LINE"
8553 ac_cv_use_splash='wxUSE_SPLASH
='$DEFAULT_wxUSE_SPLASH
8557 eval "$ac_cv_use_splash"
8558 if test "$no_cache" != 1; then
8559 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8562 if test "$wxUSE_SPLASH" = yes; then
8563 echo "$as_me:$LINENO: result: yes" >&5
8564 echo "${ECHO_T}yes" >&6
8566 echo "$as_me:$LINENO: result: no" >&5
8567 echo "${ECHO_T}no" >&6
8572 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8573 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8575 # Check whether --enable-textdlg or --disable-textdlg was given.
8576 if test "${enable_textdlg+set}" = set; then
8577 enableval="$enable_textdlg"
8579 if test "$enableval" = yes; then
8580 ac_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
8582 ac_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
8587 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8588 if test "x$LINE" != x ; then
8589 eval "DEFAULT_$LINE"
8594 ac_cv_use_textdlg='wxUSE_TEXTDLG
='$DEFAULT_wxUSE_TEXTDLG
8598 eval "$ac_cv_use_textdlg"
8599 if test "$no_cache" != 1; then
8600 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8603 if test "$wxUSE_TEXTDLG" = yes; then
8604 echo "$as_me:$LINENO: result: yes" >&5
8605 echo "${ECHO_T}yes" >&6
8607 echo "$as_me:$LINENO: result: no" >&5
8608 echo "${ECHO_T}no" >&6
8613 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8614 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8616 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8617 if test "${enable_tipdlg+set}" = set; then
8618 enableval="$enable_tipdlg"
8620 if test "$enableval" = yes; then
8621 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=yes'
8623 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=no
'
8628 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8629 if test "x$LINE" != x ; then
8630 eval "DEFAULT_$LINE"
8635 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
='$DEFAULT_wxUSE_STARTUP_TIPS
8639 eval "$ac_cv_use_tipdlg"
8640 if test "$no_cache" != 1; then
8641 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8644 if test "$wxUSE_STARTUP_TIPS" = yes; then
8645 echo "$as_me:$LINENO: result: yes" >&5
8646 echo "${ECHO_T}yes" >&6
8648 echo "$as_me:$LINENO: result: no" >&5
8649 echo "${ECHO_T}no" >&6
8654 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8655 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8657 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8658 if test "${enable_progressdlg+set}" = set; then
8659 enableval="$enable_progressdlg"
8661 if test "$enableval" = yes; then
8662 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=yes'
8664 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=no
'
8669 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8670 if test "x$LINE" != x ; then
8671 eval "DEFAULT_$LINE"
8676 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
='$DEFAULT_wxUSE_PROGRESSDLG
8680 eval "$ac_cv_use_progressdlg"
8681 if test "$no_cache" != 1; then
8682 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8685 if test "$wxUSE_PROGRESSDLG" = yes; then
8686 echo "$as_me:$LINENO: result: yes" >&5
8687 echo "${ECHO_T}yes" >&6
8689 echo "$as_me:$LINENO: result: no" >&5
8690 echo "${ECHO_T}no" >&6
8695 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
8696 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
8698 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8699 if test "${enable_wizarddlg+set}" = set; then
8700 enableval="$enable_wizarddlg"
8702 if test "$enableval" = yes; then
8703 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
8705 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
8710 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8711 if test "x$LINE" != x ; then
8712 eval "DEFAULT_$LINE"
8717 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
='$DEFAULT_wxUSE_WIZARDDLG
8721 eval "$ac_cv_use_wizarddlg"
8722 if test "$no_cache" != 1; then
8723 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8726 if test "$wxUSE_WIZARDDLG" = yes; then
8727 echo "$as_me:$LINENO: result: yes" >&5
8728 echo "${ECHO_T}yes" >&6
8730 echo "$as_me:$LINENO: result: no" >&5
8731 echo "${ECHO_T}no" >&6
8738 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
8739 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
8741 # Check whether --enable-menus or --disable-menus was given.
8742 if test "${enable_menus+set}" = set; then
8743 enableval="$enable_menus"
8745 if test "$enableval" = yes; then
8746 ac_cv_use_menus='wxUSE_MENUS
=yes'
8748 ac_cv_use_menus='wxUSE_MENUS
=no
'
8753 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8754 if test "x$LINE" != x ; then
8755 eval "DEFAULT_$LINE"
8760 ac_cv_use_menus='wxUSE_MENUS
='$DEFAULT_wxUSE_MENUS
8764 eval "$ac_cv_use_menus"
8765 if test "$no_cache" != 1; then
8766 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8769 if test "$wxUSE_MENUS" = yes; then
8770 echo "$as_me:$LINENO: result: yes" >&5
8771 echo "${ECHO_T}yes" >&6
8773 echo "$as_me:$LINENO: result: no" >&5
8774 echo "${ECHO_T}no" >&6
8779 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
8780 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
8782 # Check whether --enable-miniframe or --disable-miniframe was given.
8783 if test "${enable_miniframe+set}" = set; then
8784 enableval="$enable_miniframe"
8786 if test "$enableval" = yes; then
8787 ac_cv_use_miniframe='wxUSE_MINIFRAME
=yes'
8789 ac_cv_use_miniframe='wxUSE_MINIFRAME
=no
'
8794 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8795 if test "x$LINE" != x ; then
8796 eval "DEFAULT_$LINE"
8801 ac_cv_use_miniframe='wxUSE_MINIFRAME
='$DEFAULT_wxUSE_MINIFRAME
8805 eval "$ac_cv_use_miniframe"
8806 if test "$no_cache" != 1; then
8807 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8810 if test "$wxUSE_MINIFRAME" = yes; then
8811 echo "$as_me:$LINENO: result: yes" >&5
8812 echo "${ECHO_T}yes" >&6
8814 echo "$as_me:$LINENO: result: no" >&5
8815 echo "${ECHO_T}no" >&6
8820 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
8821 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
8823 # Check whether --enable-tooltips or --disable-tooltips was given.
8824 if test "${enable_tooltips+set}" = set; then
8825 enableval="$enable_tooltips"
8827 if test "$enableval" = yes; then
8828 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
8830 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
8835 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8836 if test "x$LINE" != x ; then
8837 eval "DEFAULT_$LINE"
8842 ac_cv_use_tooltips='wxUSE_TOOLTIPS
='$DEFAULT_wxUSE_TOOLTIPS
8846 eval "$ac_cv_use_tooltips"
8847 if test "$no_cache" != 1; then
8848 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8851 if test "$wxUSE_TOOLTIPS" = yes; then
8852 echo "$as_me:$LINENO: result: yes" >&5
8853 echo "${ECHO_T}yes" >&6
8855 echo "$as_me:$LINENO: result: no" >&5
8856 echo "${ECHO_T}no" >&6
8861 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
8862 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
8864 # Check whether --enable-splines or --disable-splines was given.
8865 if test "${enable_splines+set}" = set; then
8866 enableval="$enable_splines"
8868 if test "$enableval" = yes; then
8869 ac_cv_use_splines='wxUSE_SPLINES
=yes'
8871 ac_cv_use_splines='wxUSE_SPLINES
=no
'
8876 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8877 if test "x$LINE" != x ; then
8878 eval "DEFAULT_$LINE"
8883 ac_cv_use_splines='wxUSE_SPLINES
='$DEFAULT_wxUSE_SPLINES
8887 eval "$ac_cv_use_splines"
8888 if test "$no_cache" != 1; then
8889 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8892 if test "$wxUSE_SPLINES" = yes; then
8893 echo "$as_me:$LINENO: result: yes" >&5
8894 echo "${ECHO_T}yes" >&6
8896 echo "$as_me:$LINENO: result: no" >&5
8897 echo "${ECHO_T}no" >&6
8902 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
8903 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
8905 # Check whether --enable-validators or --disable-validators was given.
8906 if test "${enable_validators+set}" = set; then
8907 enableval="$enable_validators"
8909 if test "$enableval" = yes; then
8910 ac_cv_use_validators='wxUSE_VALIDATORS
=yes'
8912 ac_cv_use_validators='wxUSE_VALIDATORS
=no
'
8917 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8918 if test "x$LINE" != x ; then
8919 eval "DEFAULT_$LINE"
8924 ac_cv_use_validators='wxUSE_VALIDATORS
='$DEFAULT_wxUSE_VALIDATORS
8928 eval "$ac_cv_use_validators"
8929 if test "$no_cache" != 1; then
8930 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8933 if test "$wxUSE_VALIDATORS" = yes; then
8934 echo "$as_me:$LINENO: result: yes" >&5
8935 echo "${ECHO_T}yes" >&6
8937 echo "$as_me:$LINENO: result: no" >&5
8938 echo "${ECHO_T}no" >&6
8943 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
8944 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
8946 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8947 if test "${enable_busyinfo+set}" = set; then
8948 enableval="$enable_busyinfo"
8950 if test "$enableval" = yes; then
8951 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=yes'
8953 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=no
'
8958 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8959 if test "x$LINE" != x ; then
8960 eval "DEFAULT_$LINE"
8965 ac_cv_use_busyinfo='wxUSE_BUSYINFO
='$DEFAULT_wxUSE_BUSYINFO
8969 eval "$ac_cv_use_busyinfo"
8970 if test "$no_cache" != 1; then
8971 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8974 if test "$wxUSE_BUSYINFO" = yes; then
8975 echo "$as_me:$LINENO: result: yes" >&5
8976 echo "${ECHO_T}yes" >&6
8978 echo "$as_me:$LINENO: result: no" >&5
8979 echo "${ECHO_T}no" >&6
8984 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
8985 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
8987 # Check whether --enable-joystick or --disable-joystick was given.
8988 if test "${enable_joystick+set}" = set; then
8989 enableval="$enable_joystick"
8991 if test "$enableval" = yes; then
8992 ac_cv_use_joystick='wxUSE_JOYSTICK
=yes'
8994 ac_cv_use_joystick='wxUSE_JOYSTICK
=no
'
8999 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9000 if test "x$LINE" != x ; then
9001 eval "DEFAULT_$LINE"
9006 ac_cv_use_joystick='wxUSE_JOYSTICK
='$DEFAULT_wxUSE_JOYSTICK
9010 eval "$ac_cv_use_joystick"
9011 if test "$no_cache" != 1; then
9012 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9015 if test "$wxUSE_JOYSTICK" = yes; then
9016 echo "$as_me:$LINENO: result: yes" >&5
9017 echo "${ECHO_T}yes" >&6
9019 echo "$as_me:$LINENO: result: no" >&5
9020 echo "${ECHO_T}no" >&6
9025 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9026 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9028 # Check whether --enable-metafile or --disable-metafile was given.
9029 if test "${enable_metafile+set}" = set; then
9030 enableval="$enable_metafile"
9032 if test "$enableval" = yes; then
9033 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
9035 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
9040 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9041 if test "x$LINE" != x ; then
9042 eval "DEFAULT_$LINE"
9047 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
9051 eval "$ac_cv_use_metafile"
9052 if test "$no_cache" != 1; then
9053 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9056 if test "$wxUSE_METAFILE" = yes; then
9057 echo "$as_me:$LINENO: result: yes" >&5
9058 echo "${ECHO_T}yes" >&6
9060 echo "$as_me:$LINENO: result: no" >&5
9061 echo "${ECHO_T}no" >&6
9066 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9067 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9069 # Check whether --enable-dragimage or --disable-dragimage was given.
9070 if test "${enable_dragimage+set}" = set; then
9071 enableval="$enable_dragimage"
9073 if test "$enableval" = yes; then
9074 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=yes'
9076 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=no
'
9081 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9082 if test "x$LINE" != x ; then
9083 eval "DEFAULT_$LINE"
9088 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
='$DEFAULT_wxUSE_DRAGIMAGE
9092 eval "$ac_cv_use_dragimage"
9093 if test "$no_cache" != 1; then
9094 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9097 if test "$wxUSE_DRAGIMAGE" = yes; then
9098 echo "$as_me:$LINENO: result: yes" >&5
9099 echo "${ECHO_T}yes" >&6
9101 echo "$as_me:$LINENO: result: no" >&5
9102 echo "${ECHO_T}no" >&6
9107 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9108 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9110 # Check whether --enable-accessibility or --disable-accessibility was given.
9111 if test "${enable_accessibility+set}" = set; then
9112 enableval="$enable_accessibility"
9114 if test "$enableval" = yes; then
9115 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=yes'
9117 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=no
'
9122 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9123 if test "x$LINE" != x ; then
9124 eval "DEFAULT_$LINE"
9129 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
='$DEFAULT_wxUSE_ACCESSIBILITY
9133 eval "$ac_cv_use_accessibility"
9134 if test "$no_cache" != 1; then
9135 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9138 if test "$wxUSE_ACCESSIBILITY" = yes; then
9139 echo "$as_me:$LINENO: result: yes" >&5
9140 echo "${ECHO_T}yes" >&6
9142 echo "$as_me:$LINENO: result: no" >&5
9143 echo "${ECHO_T}no" >&6
9150 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9151 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9153 # Check whether --enable-palette or --disable-palette was given.
9154 if test "${enable_palette+set}" = set; then
9155 enableval="$enable_palette"
9157 if test "$enableval" = yes; then
9158 ac_cv_use_palette='wxUSE_PALETTE
=yes'
9160 ac_cv_use_palette='wxUSE_PALETTE
=no
'
9165 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9166 if test "x$LINE" != x ; then
9167 eval "DEFAULT_$LINE"
9172 ac_cv_use_palette='wxUSE_PALETTE
='$DEFAULT_wxUSE_PALETTE
9176 eval "$ac_cv_use_palette"
9177 if test "$no_cache" != 1; then
9178 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9181 if test "$wxUSE_PALETTE" = yes; then
9182 echo "$as_me:$LINENO: result: yes" >&5
9183 echo "${ECHO_T}yes" >&6
9185 echo "$as_me:$LINENO: result: no" >&5
9186 echo "${ECHO_T}no" >&6
9191 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9192 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9194 # Check whether --enable-image or --disable-image was given.
9195 if test "${enable_image+set}" = set; then
9196 enableval="$enable_image"
9198 if test "$enableval" = yes; then
9199 ac_cv_use_image='wxUSE_IMAGE
=yes'
9201 ac_cv_use_image='wxUSE_IMAGE
=no
'
9206 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9207 if test "x$LINE" != x ; then
9208 eval "DEFAULT_$LINE"
9213 ac_cv_use_image='wxUSE_IMAGE
='$DEFAULT_wxUSE_IMAGE
9217 eval "$ac_cv_use_image"
9218 if test "$no_cache" != 1; then
9219 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9222 if test "$wxUSE_IMAGE" = yes; then
9223 echo "$as_me:$LINENO: result: yes" >&5
9224 echo "${ECHO_T}yes" >&6
9226 echo "$as_me:$LINENO: result: no" >&5
9227 echo "${ECHO_T}no" >&6
9232 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9233 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9235 # Check whether --enable-gif or --disable-gif was given.
9236 if test "${enable_gif+set}" = set; then
9237 enableval="$enable_gif"
9239 if test "$enableval" = yes; then
9240 ac_cv_use_gif='wxUSE_GIF
=yes'
9242 ac_cv_use_gif='wxUSE_GIF
=no
'
9247 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9248 if test "x$LINE" != x ; then
9249 eval "DEFAULT_$LINE"
9254 ac_cv_use_gif='wxUSE_GIF
='$DEFAULT_wxUSE_GIF
9258 eval "$ac_cv_use_gif"
9259 if test "$no_cache" != 1; then
9260 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9263 if test "$wxUSE_GIF" = yes; then
9264 echo "$as_me:$LINENO: result: yes" >&5
9265 echo "${ECHO_T}yes" >&6
9267 echo "$as_me:$LINENO: result: no" >&5
9268 echo "${ECHO_T}no" >&6
9273 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9274 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9276 # Check whether --enable-pcx or --disable-pcx was given.
9277 if test "${enable_pcx+set}" = set; then
9278 enableval="$enable_pcx"
9280 if test "$enableval" = yes; then
9281 ac_cv_use_pcx='wxUSE_PCX
=yes'
9283 ac_cv_use_pcx='wxUSE_PCX
=no
'
9288 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9289 if test "x$LINE" != x ; then
9290 eval "DEFAULT_$LINE"
9295 ac_cv_use_pcx='wxUSE_PCX
='$DEFAULT_wxUSE_PCX
9299 eval "$ac_cv_use_pcx"
9300 if test "$no_cache" != 1; then
9301 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9304 if test "$wxUSE_PCX" = yes; then
9305 echo "$as_me:$LINENO: result: yes" >&5
9306 echo "${ECHO_T}yes" >&6
9308 echo "$as_me:$LINENO: result: no" >&5
9309 echo "${ECHO_T}no" >&6
9314 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9315 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9317 # Check whether --enable-iff or --disable-iff was given.
9318 if test "${enable_iff+set}" = set; then
9319 enableval="$enable_iff"
9321 if test "$enableval" = yes; then
9322 ac_cv_use_iff='wxUSE_IFF
=yes'
9324 ac_cv_use_iff='wxUSE_IFF
=no
'
9329 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9330 if test "x$LINE" != x ; then
9331 eval "DEFAULT_$LINE"
9336 ac_cv_use_iff='wxUSE_IFF
='$DEFAULT_wxUSE_IFF
9340 eval "$ac_cv_use_iff"
9341 if test "$no_cache" != 1; then
9342 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9345 if test "$wxUSE_IFF" = yes; then
9346 echo "$as_me:$LINENO: result: yes" >&5
9347 echo "${ECHO_T}yes" >&6
9349 echo "$as_me:$LINENO: result: no" >&5
9350 echo "${ECHO_T}no" >&6
9355 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9356 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9358 # Check whether --enable-pnm or --disable-pnm was given.
9359 if test "${enable_pnm+set}" = set; then
9360 enableval="$enable_pnm"
9362 if test "$enableval" = yes; then
9363 ac_cv_use_pnm='wxUSE_PNM
=yes'
9365 ac_cv_use_pnm='wxUSE_PNM
=no
'
9370 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9371 if test "x$LINE" != x ; then
9372 eval "DEFAULT_$LINE"
9377 ac_cv_use_pnm='wxUSE_PNM
='$DEFAULT_wxUSE_PNM
9381 eval "$ac_cv_use_pnm"
9382 if test "$no_cache" != 1; then
9383 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9386 if test "$wxUSE_PNM" = yes; then
9387 echo "$as_me:$LINENO: result: yes" >&5
9388 echo "${ECHO_T}yes" >&6
9390 echo "$as_me:$LINENO: result: no" >&5
9391 echo "${ECHO_T}no" >&6
9396 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9397 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9399 # Check whether --enable-xpm or --disable-xpm was given.
9400 if test "${enable_xpm+set}" = set; then
9401 enableval="$enable_xpm"
9403 if test "$enableval" = yes; then
9404 ac_cv_use_xpm='wxUSE_XPM
=yes'
9406 ac_cv_use_xpm='wxUSE_XPM
=no
'
9411 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9412 if test "x$LINE" != x ; then
9413 eval "DEFAULT_$LINE"
9418 ac_cv_use_xpm='wxUSE_XPM
='$DEFAULT_wxUSE_XPM
9422 eval "$ac_cv_use_xpm"
9423 if test "$no_cache" != 1; then
9424 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9427 if test "$wxUSE_XPM" = yes; then
9428 echo "$as_me:$LINENO: result: yes" >&5
9429 echo "${ECHO_T}yes" >&6
9431 echo "$as_me:$LINENO: result: no" >&5
9432 echo "${ECHO_T}no" >&6
9437 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9438 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9440 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9441 if test "${enable_ico_cur+set}" = set; then
9442 enableval="$enable_ico_cur"
9444 if test "$enableval" = yes; then
9445 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=yes'
9447 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=no
'
9452 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9453 if test "x$LINE" != x ; then
9454 eval "DEFAULT_$LINE"
9459 ac_cv_use_ico_cur='wxUSE_ICO_CUR
='$DEFAULT_wxUSE_ICO_CUR
9463 eval "$ac_cv_use_ico_cur"
9464 if test "$no_cache" != 1; then
9465 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9468 if test "$wxUSE_ICO_CUR" = yes; then
9469 echo "$as_me:$LINENO: result: yes" >&5
9470 echo "${ECHO_T}yes" >&6
9472 echo "$as_me:$LINENO: result: no" >&5
9473 echo "${ECHO_T}no" >&6
9482 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9483 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9485 # Check whether --enable-official_build or --disable-official_build was given.
9486 if test "${enable_official_build+set}" = set; then
9487 enableval="$enable_official_build"
9489 if test "$enableval" = yes; then
9490 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
9492 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
9497 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9498 if test "x$LINE" != x ; then
9499 eval "DEFAULT_$LINE"
9504 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
='$DEFAULT_wxUSE_OFFICIAL_BUILD
9508 eval "$ac_cv_use_official_build"
9509 if test "$no_cache" != 1; then
9510 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9513 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9514 echo "$as_me:$LINENO: result: yes" >&5
9515 echo "${ECHO_T}yes" >&6
9517 echo "$as_me:$LINENO: result: no" >&5
9518 echo "${ECHO_T}no" >&6
9521 # Check whether --enable-vendor or --disable-vendor was given.
9522 if test "${enable_vendor+set}" = set; then
9523 enableval="$enable_vendor"
9526 if test "x$VENDOR" = "x"; then
9531 *-pc-os2_emx | *-pc-os2-emx )
9541 echo "saving argument cache $wx_arg_cache_file"
9542 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9546 echo "$as_me:$LINENO: checking for toolkit" >&5
9547 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9549 # In Wine, we need to default to MSW, not GTK or MOTIF
9550 if test "$wxUSE_WINE" = "yes"; then
9551 DEFAULT_DEFAULT_wxUSE_GTK=0
9552 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9553 DEFAULT_DEFAULT_wxUSE_MSW=1
9556 if test "$wxUSE_GUI" = "yes"; then
9558 if test "$USE_BEOS" = 1; then
9559 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9560 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9561 { (exit 1); exit 1; }; }
9564 if test "$TOOLKIT_GIVEN" = 1; then
9565 for toolkit in `echo $ALL_TOOLKITS`; do
9567 eval "value=\$${var}"
9568 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9571 for toolkit in `echo $ALL_TOOLKITS`; do
9572 if test "$has_toolkit_in_cache" != 1; then
9573 var=DEFAULT_DEFAULT_wxUSE_$toolkit
9575 var=DEFAULT_wxUSE_$toolkit
9577 eval "wxUSE_$toolkit=\$${var}"
9581 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9582 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9583 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9586 *-pc-os2_emx | *-pc-os2-emx )
9587 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9590 case "$NUM_TOOLKITS" in
9594 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9595 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9596 { (exit 1); exit 1; }; }
9599 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9600 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9601 { (exit 1); exit 1; }; }
9604 for toolkit in `echo $ALL_TOOLKITS`; do
9606 eval "value=\$${var}"
9607 if test "x$value" != x; then
9608 cache_var=CACHE_$toolkit
9609 eval "cache=\$${cache_var}"
9610 if test "$cache" = 1; then
9611 echo "$var=$value" >> ${wx_arg_cache_file}
9613 if test "$value" = 1; then
9614 toolkit_echo=`echo $toolkit | tr [A-Z] [a-z]`
9615 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9616 echo "${ECHO_T}$toolkit_echo" >&6
9621 if test "x$host_alias" != "x"; then
9622 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9623 echo "${ECHO_T}base ($host_alias hosted) only" >&6
9625 echo "$as_me:$LINENO: result: base only" >&5
9626 echo "${ECHO_T}base only" >&6
9634 if test "$wxUSE_MSW" = 1 ; then
9645 if test "$wxUSE_WINE" = "yes"; then
9652 if test "$wants_win32" = 1 ; then
9655 cat >>confdefs.h <<\_ACEOF
9659 cat >>confdefs.h <<\_ACEOF
9663 cat >>confdefs.h <<\_ACEOF
9664 #define __WINDOWS__ 1
9667 cat >>confdefs.h <<\_ACEOF
9668 #define __GNUWIN32__ 1
9671 cat >>confdefs.h <<\_ACEOF
9675 cat >>confdefs.h <<\_ACEOF
9676 #define WINVER 0x0400
9680 if test "$doesnt_want_win32" = 1 ; then
9685 if test "$USE_UNIX" = 1 ; then
9687 cat >>confdefs.h <<\_ACEOF
9694 cat >confcache <<\_ACEOF
9695 # This file is a shell script that caches the results of configure
9696 # tests run on this system so they can be shared between configure
9697 # scripts and configure runs, see configure's option
--config-cache.
9698 # It is not useful on other systems. If it contains results you don't
9699 # want to keep, you may remove or edit it.
9701 # config.status only pays attention to the cache file if you give it
9702 # the --recheck option to rerun configure.
9704 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9705 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9710 # The following way of writing the cache mishandles newlines in values,
9711 # but we know of no workaround that is simple, portable, and efficient.
9712 # So, don't put newlines in cache variables' values.
9713 # Ultrix sh set writes to stderr and can't be redirected directly,
9714 # and sets the high bit in the cache file unless we assign to the vars.
9717 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9719 # `set' does not quote correctly, so add quotes (double-quote
9720 # substitution turns \\\\ into \\, and sed turns \\ into \).
9723 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9726 # `set' quotes correctly as required by POSIX, so do not add quotes.
9728 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9735 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9737 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9739 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
9740 if test -w $cache_file; then
9741 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9742 cat confcache
>$cache_file
9744 echo "not updating unwritable cache $cache_file"
9749 if test "$build" != "$host" ; then
9750 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
9754 RANLIB
=$host_alias-ranlib
9755 DLLTOOL
=$host_alias-dlltool
9756 RESCOMP
=$host_alias-windres
9759 STRIP
=$host_alias-strip
9761 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
9762 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
9763 { (exit 1); exit 1; }; }
9769 ac_cpp
='$CPP $CPPFLAGS'
9770 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9771 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9772 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9773 if test -n "$ac_tool_prefix"; then
9774 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9775 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
9776 echo "$as_me:$LINENO: checking for $ac_word" >&5
9777 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9778 if test "${ac_cv_prog_CC+set}" = set; then
9779 echo $ECHO_N "(cached) $ECHO_C" >&6
9781 if test -n "$CC"; then
9782 ac_cv_prog_CC
="$CC" # Let the user override the test.
9784 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9788 test -z "$as_dir" && as_dir
=.
9789 for ac_exec_ext
in '' $ac_executable_extensions; do
9790 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9791 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
9792 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9801 if test -n "$CC"; then
9802 echo "$as_me:$LINENO: result: $CC" >&5
9803 echo "${ECHO_T}$CC" >&6
9805 echo "$as_me:$LINENO: result: no" >&5
9806 echo "${ECHO_T}no" >&6
9810 if test -z "$ac_cv_prog_CC"; then
9812 # Extract the first word of "gcc", so it can be a program name with args.
9813 set dummy gcc
; ac_word
=$2
9814 echo "$as_me:$LINENO: checking for $ac_word" >&5
9815 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9816 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9817 echo $ECHO_N "(cached) $ECHO_C" >&6
9819 if test -n "$ac_ct_CC"; then
9820 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
9822 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9826 test -z "$as_dir" && as_dir
=.
9827 for ac_exec_ext
in '' $ac_executable_extensions; do
9828 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9829 ac_cv_prog_ac_ct_CC
="gcc"
9830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9838 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
9839 if test -n "$ac_ct_CC"; then
9840 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9841 echo "${ECHO_T}$ac_ct_CC" >&6
9843 echo "$as_me:$LINENO: result: no" >&5
9844 echo "${ECHO_T}no" >&6
9852 if test -z "$CC"; then
9853 if test -n "$ac_tool_prefix"; then
9854 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
9855 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
9856 echo "$as_me:$LINENO: checking for $ac_word" >&5
9857 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9858 if test "${ac_cv_prog_CC+set}" = set; then
9859 echo $ECHO_N "(cached) $ECHO_C" >&6
9861 if test -n "$CC"; then
9862 ac_cv_prog_CC
="$CC" # Let the user override the test.
9864 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9868 test -z "$as_dir" && as_dir
=.
9869 for ac_exec_ext
in '' $ac_executable_extensions; do
9870 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9871 ac_cv_prog_CC
="${ac_tool_prefix}cc"
9872 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9881 if test -n "$CC"; then
9882 echo "$as_me:$LINENO: result: $CC" >&5
9883 echo "${ECHO_T}$CC" >&6
9885 echo "$as_me:$LINENO: result: no" >&5
9886 echo "${ECHO_T}no" >&6
9890 if test -z "$ac_cv_prog_CC"; then
9892 # Extract the first word of "cc", so it can be a program name with args.
9893 set dummy cc
; ac_word
=$2
9894 echo "$as_me:$LINENO: checking for $ac_word" >&5
9895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9896 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9897 echo $ECHO_N "(cached) $ECHO_C" >&6
9899 if test -n "$ac_ct_CC"; then
9900 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
9902 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9906 test -z "$as_dir" && as_dir
=.
9907 for ac_exec_ext
in '' $ac_executable_extensions; do
9908 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9909 ac_cv_prog_ac_ct_CC
="cc"
9910 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9918 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
9919 if test -n "$ac_ct_CC"; then
9920 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9921 echo "${ECHO_T}$ac_ct_CC" >&6
9923 echo "$as_me:$LINENO: result: no" >&5
9924 echo "${ECHO_T}no" >&6
9933 if test -z "$CC"; then
9934 # Extract the first word of "cc", so it can be a program name with args.
9935 set dummy cc
; ac_word
=$2
9936 echo "$as_me:$LINENO: checking for $ac_word" >&5
9937 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9938 if test "${ac_cv_prog_CC+set}" = set; then
9939 echo $ECHO_N "(cached) $ECHO_C" >&6
9941 if test -n "$CC"; then
9942 ac_cv_prog_CC
="$CC" # Let the user override the test.
9945 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9949 test -z "$as_dir" && as_dir
=.
9950 for ac_exec_ext
in '' $ac_executable_extensions; do
9951 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9952 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
9953 ac_prog_rejected
=yes
9957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9963 if test $ac_prog_rejected = yes; then
9964 # We found a bogon in the path, so make sure we never use it.
9965 set dummy
$ac_cv_prog_CC
9967 if test $# != 0; then
9968 # We chose a different compiler from the bogus one.
9969 # However, it has the same basename, so the bogon will be chosen
9970 # first if we set CC to just the basename; use the full file name.
9972 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
9978 if test -n "$CC"; then
9979 echo "$as_me:$LINENO: result: $CC" >&5
9980 echo "${ECHO_T}$CC" >&6
9982 echo "$as_me:$LINENO: result: no" >&5
9983 echo "${ECHO_T}no" >&6
9987 if test -z "$CC"; then
9988 if test -n "$ac_tool_prefix"; then
9991 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9992 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
9993 echo "$as_me:$LINENO: checking for $ac_word" >&5
9994 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9995 if test "${ac_cv_prog_CC+set}" = set; then
9996 echo $ECHO_N "(cached) $ECHO_C" >&6
9998 if test -n "$CC"; then
9999 ac_cv_prog_CC
="$CC" # Let the user override the test.
10001 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10002 for as_dir
in $PATH
10005 test -z "$as_dir" && as_dir
=.
10006 for ac_exec_ext
in '' $ac_executable_extensions; do
10007 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10008 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10009 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10018 if test -n "$CC"; then
10019 echo "$as_me:$LINENO: result: $CC" >&5
10020 echo "${ECHO_T}$CC" >&6
10022 echo "$as_me:$LINENO: result: no" >&5
10023 echo "${ECHO_T}no" >&6
10026 test -n "$CC" && break
10029 if test -z "$CC"; then
10033 # Extract the first word of "$ac_prog", so it can be a program name with args.
10034 set dummy
$ac_prog; ac_word
=$2
10035 echo "$as_me:$LINENO: checking for $ac_word" >&5
10036 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10037 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10038 echo $ECHO_N "(cached) $ECHO_C" >&6
10040 if test -n "$ac_ct_CC"; then
10041 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10043 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10044 for as_dir
in $PATH
10047 test -z "$as_dir" && as_dir
=.
10048 for ac_exec_ext
in '' $ac_executable_extensions; do
10049 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10050 ac_cv_prog_ac_ct_CC
="$ac_prog"
10051 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10059 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10060 if test -n "$ac_ct_CC"; then
10061 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10062 echo "${ECHO_T}$ac_ct_CC" >&6
10064 echo "$as_me:$LINENO: result: no" >&5
10065 echo "${ECHO_T}no" >&6
10068 test -n "$ac_ct_CC" && break
10077 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10078 See \`config.log' for more details." >&5
10079 echo "$as_me: error: no acceptable C compiler found in \$PATH
10080 See \`config.log' for more details." >&2;}
10081 { (exit 1); exit 1; }; }
10083 # Provide some information about the compiler.
10084 echo "$as_me:$LINENO:" \
10085 "checking for C compiler version" >&5
10086 ac_compiler
=`set X $ac_compile; echo $2`
10087 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10088 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10091 (exit $ac_status); }
10092 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10093 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10096 (exit $ac_status); }
10097 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10098 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10101 (exit $ac_status); }
10103 cat >conftest.
$ac_ext <<_ACEOF
10104 #line $LINENO "configure"
10107 cat confdefs.h
>>conftest.
$ac_ext
10108 cat >>conftest.
$ac_ext <<_ACEOF
10109 /* end confdefs.h. */
10119 ac_clean_files_save
=$ac_clean_files
10120 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
10121 # Try to create an executable without -o first, disregard a.out.
10122 # It will help us diagnose broken compilers, and finding out an intuition
10124 echo "$as_me:$LINENO: checking for C compiler default output" >&5
10125 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
10126 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10127 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10128 (eval $ac_link_default) 2>&5
10130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10131 (exit $ac_status); }; then
10132 # Find the output, starting from the most likely. This scheme is
10133 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10136 # Be careful to initialize this variable, since it used to be cached.
10137 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10139 # b.out is created by i960 compilers.
10140 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10142 test -f "$ac_file" || continue
10144 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10147 # This is the source file.
10150 # We found the default executable, but exeext='' is most
10154 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10155 # FIXME: I believe we export ac_cv_exeext for Libtool,
10156 # but it would be cool to find out if it's true. Does anybody
10157 # maintain Libtool? --akim.
10158 export ac_cv_exeext
10165 echo "$as_me: failed program was:" >&5
10166 sed 's/^/| /' conftest.
$ac_ext >&5
10168 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10169 See \`config.log' for more details." >&5
10170 echo "$as_me: error: C compiler cannot create executables
10171 See \`config.log' for more details." >&2;}
10172 { (exit 77); exit 77; }; }
10175 ac_exeext
=$ac_cv_exeext
10176 echo "$as_me:$LINENO: result: $ac_file" >&5
10177 echo "${ECHO_T}$ac_file" >&6
10179 # Check the compiler produces executables we can run. If not, either
10180 # the compiler is broken, or we cross compile.
10181 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10182 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10183 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10184 # If not cross compiling, check that we can run a simple program.
10185 if test "$cross_compiling" != yes; then
10186 if { ac_try
='./$ac_file'
10187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10188 (eval $ac_try) 2>&5
10190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10191 (exit $ac_status); }; }; then
10194 if test "$cross_compiling" = maybe
; then
10195 cross_compiling
=yes
10197 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10198 If you meant to cross compile, use \`--host'.
10199 See \`config.log' for more details." >&5
10200 echo "$as_me: error: cannot run C compiled programs.
10201 If you meant to cross compile, use \`--host'.
10202 See \`config.log' for more details." >&2;}
10203 { (exit 1); exit 1; }; }
10207 echo "$as_me:$LINENO: result: yes" >&5
10208 echo "${ECHO_T}yes" >&6
10210 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
10211 ac_clean_files
=$ac_clean_files_save
10212 # Check the compiler produces executables we can run. If not, either
10213 # the compiler is broken, or we cross compile.
10214 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10215 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10216 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10217 echo "${ECHO_T}$cross_compiling" >&6
10219 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10220 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10222 (eval $ac_link) 2>&5
10224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10225 (exit $ac_status); }; then
10226 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10227 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10228 # work properly (i.e., refer to `conftest.exe'), while it won't with
10230 for ac_file
in conftest.exe conftest conftest.
*; do
10231 test -f "$ac_file" || continue
10233 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
10234 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10235 export ac_cv_exeext
10241 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10242 See \`config.log' for more details." >&5
10243 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10244 See \`config.log' for more details." >&2;}
10245 { (exit 1); exit 1; }; }
10248 rm -f conftest
$ac_cv_exeext
10249 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10250 echo "${ECHO_T}$ac_cv_exeext" >&6
10252 rm -f conftest.
$ac_ext
10253 EXEEXT
=$ac_cv_exeext
10255 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10256 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10257 if test "${ac_cv_objext+set}" = set; then
10258 echo $ECHO_N "(cached) $ECHO_C" >&6
10260 cat >conftest.
$ac_ext <<_ACEOF
10261 #line $LINENO "configure"
10264 cat confdefs.h
>>conftest.
$ac_ext
10265 cat >>conftest.
$ac_ext <<_ACEOF
10266 /* end confdefs.h. */
10276 rm -f conftest.o conftest.obj
10277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10278 (eval $ac_compile) 2>&5
10280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10281 (exit $ac_status); }; then
10282 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10284 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
10285 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
10290 echo "$as_me: failed program was:" >&5
10291 sed 's/^/| /' conftest.
$ac_ext >&5
10293 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10294 See \`config.log' for more details." >&5
10295 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10296 See \`config.log' for more details." >&2;}
10297 { (exit 1); exit 1; }; }
10300 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
10302 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10303 echo "${ECHO_T}$ac_cv_objext" >&6
10304 OBJEXT
=$ac_cv_objext
10306 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10307 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10308 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10309 echo $ECHO_N "(cached) $ECHO_C" >&6
10311 cat >conftest.
$ac_ext <<_ACEOF
10312 #line $LINENO "configure"
10315 cat confdefs.h
>>conftest.
$ac_ext
10316 cat >>conftest.
$ac_ext <<_ACEOF
10317 /* end confdefs.h. */
10330 rm -f conftest.
$ac_objext
10331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10332 (eval $ac_compile) 2>&5
10334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10335 (exit $ac_status); } &&
10336 { ac_try
='test -s conftest.$ac_objext'
10337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10338 (eval $ac_try) 2>&5
10340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10341 (exit $ac_status); }; }; then
10342 ac_compiler_gnu
=yes
10344 echo "$as_me: failed program was:" >&5
10345 sed 's/^/| /' conftest.
$ac_ext >&5
10349 rm -f conftest.
$ac_objext conftest.
$ac_ext
10350 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
10353 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10354 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10355 GCC
=`test $ac_compiler_gnu = yes && echo yes`
10356 ac_test_CFLAGS
=${CFLAGS+set}
10357 ac_save_CFLAGS
=$CFLAGS
10359 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10360 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10361 if test "${ac_cv_prog_cc_g+set}" = set; then
10362 echo $ECHO_N "(cached) $ECHO_C" >&6
10364 cat >conftest.
$ac_ext <<_ACEOF
10365 #line $LINENO "configure"
10368 cat confdefs.h
>>conftest.
$ac_ext
10369 cat >>conftest.
$ac_ext <<_ACEOF
10370 /* end confdefs.h. */
10380 rm -f conftest.
$ac_objext
10381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10382 (eval $ac_compile) 2>&5
10384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10385 (exit $ac_status); } &&
10386 { ac_try
='test -s conftest.$ac_objext'
10387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10388 (eval $ac_try) 2>&5
10390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10391 (exit $ac_status); }; }; then
10392 ac_cv_prog_cc_g
=yes
10394 echo "$as_me: failed program was:" >&5
10395 sed 's/^/| /' conftest.
$ac_ext >&5
10399 rm -f conftest.
$ac_objext conftest.
$ac_ext
10401 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10402 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10403 if test "$ac_test_CFLAGS" = set; then
10404 CFLAGS
=$ac_save_CFLAGS
10405 elif test $ac_cv_prog_cc_g = yes; then
10406 if test "$GCC" = yes; then
10412 if test "$GCC" = yes; then
10418 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10419 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10420 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10421 echo $ECHO_N "(cached) $ECHO_C" >&6
10423 ac_cv_prog_cc_stdc
=no
10425 cat >conftest.
$ac_ext <<_ACEOF
10426 #line $LINENO "configure"
10429 cat confdefs.h
>>conftest.
$ac_ext
10430 cat >>conftest.
$ac_ext <<_ACEOF
10431 /* end confdefs.h. */
10432 #include <stdarg.h>
10434 #include <sys/types.h>
10435 #include <sys/stat.h>
10436 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10437 struct buf { int x; };
10438 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10439 static char *e (p, i)
10445 static char *f (char * (*g) (char **, int), char **p, ...)
10450 s = g (p, va_arg (v,int));
10454 int test (int i, double x);
10455 struct s1 {int (*f) (int a);};
10456 struct s2 {int (*f) (double a);};
10457 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10463 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10468 # Don't try gcc -ansi; that turns off useful extensions and
10469 # breaks some systems' header files.
10470 # AIX -qlanglvl=ansi
10471 # Ultrix and OSF/1 -std1
10472 # HP-UX 10.20 and later -Ae
10473 # HP-UX older versions -Aa -D_HPUX_SOURCE
10474 # SVR4 -Xc -D__EXTENSIONS__
10475 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10477 CC
="$ac_save_CC $ac_arg"
10478 rm -f conftest.
$ac_objext
10479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10480 (eval $ac_compile) 2>&5
10482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10483 (exit $ac_status); } &&
10484 { ac_try
='test -s conftest.$ac_objext'
10485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10486 (eval $ac_try) 2>&5
10488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10489 (exit $ac_status); }; }; then
10490 ac_cv_prog_cc_stdc
=$ac_arg
10493 echo "$as_me: failed program was:" >&5
10494 sed 's/^/| /' conftest.
$ac_ext >&5
10497 rm -f conftest.
$ac_objext
10499 rm -f conftest.
$ac_ext conftest.
$ac_objext
10504 case "x$ac_cv_prog_cc_stdc" in
10506 echo "$as_me:$LINENO: result: none needed" >&5
10507 echo "${ECHO_T}none needed" >&6 ;;
10509 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10510 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10511 CC
="$CC $ac_cv_prog_cc_stdc" ;;
10514 # Some people use a C++ compiler to compile C. Since we use `exit',
10515 # in C++ we need to declare it. In case someone uses the same compiler
10516 # for both compiling C and C++ we need to have the C++ compiler decide
10517 # the declaration of exit, since it's the most demanding environment.
10518 cat >conftest.
$ac_ext <<_ACEOF
10519 #ifndef __cplusplus
10523 rm -f conftest.
$ac_objext
10524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10525 (eval $ac_compile) 2>&5
10527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10528 (exit $ac_status); } &&
10529 { ac_try
='test -s conftest.$ac_objext'
10530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10531 (eval $ac_try) 2>&5
10533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10534 (exit $ac_status); }; }; then
10535 for ac_declaration
in \
10537 'extern "C" void std::exit (int) throw (); using std::exit;' \
10538 'extern "C" void std::exit (int); using std::exit;' \
10539 'extern "C" void exit (int) throw ();' \
10540 'extern "C" void exit (int);' \
10543 cat >conftest.
$ac_ext <<_ACEOF
10544 #line $LINENO "configure"
10547 cat confdefs.h
>>conftest.
$ac_ext
10548 cat >>conftest.
$ac_ext <<_ACEOF
10549 /* end confdefs.h. */
10551 #include <stdlib.h>
10560 rm -f conftest.
$ac_objext
10561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10562 (eval $ac_compile) 2>&5
10564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10565 (exit $ac_status); } &&
10566 { ac_try
='test -s conftest.$ac_objext'
10567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10568 (eval $ac_try) 2>&5
10570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10571 (exit $ac_status); }; }; then
10574 echo "$as_me: failed program was:" >&5
10575 sed 's/^/| /' conftest.
$ac_ext >&5
10579 rm -f conftest.
$ac_objext conftest.
$ac_ext
10580 cat >conftest.
$ac_ext <<_ACEOF
10581 #line $LINENO "configure"
10584 cat confdefs.h
>>conftest.
$ac_ext
10585 cat >>conftest.
$ac_ext <<_ACEOF
10586 /* end confdefs.h. */
10596 rm -f conftest.
$ac_objext
10597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10598 (eval $ac_compile) 2>&5
10600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10601 (exit $ac_status); } &&
10602 { ac_try
='test -s conftest.$ac_objext'
10603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10604 (eval $ac_try) 2>&5
10606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10607 (exit $ac_status); }; }; then
10610 echo "$as_me: failed program was:" >&5
10611 sed 's/^/| /' conftest.
$ac_ext >&5
10614 rm -f conftest.
$ac_objext conftest.
$ac_ext
10617 if test -n "$ac_declaration"; then
10618 echo '#ifdef __cplusplus' >>confdefs.h
10619 echo $ac_declaration >>confdefs.h
10620 echo '#endif' >>confdefs.h
10624 echo "$as_me: failed program was:" >&5
10625 sed 's/^/| /' conftest.
$ac_ext >&5
10628 rm -f conftest.
$ac_objext conftest.
$ac_ext
10630 ac_cpp
='$CPP $CPPFLAGS'
10631 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10632 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10633 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10638 ac_cpp
='$CPP $CPPFLAGS'
10639 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10640 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10641 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10642 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10643 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10644 # On Suns, sometimes $CPP names a directory.
10645 if test -n "$CPP" && test -d "$CPP"; then
10648 if test -z "$CPP"; then
10649 if test "${ac_cv_prog_CPP+set}" = set; then
10650 echo $ECHO_N "(cached) $ECHO_C" >&6
10652 # Double quotes because CPP needs to be expanded
10653 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10655 ac_preproc_ok
=false
10656 for ac_c_preproc_warn_flag
in '' yes
10658 # Use a header file that comes with gcc, so configuring glibc
10659 # with a fresh cross-compiler works.
10660 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10661 # <limits.h> exists even on freestanding compilers.
10662 # On the NeXT, cc -E runs the code through the compiler's parser,
10663 # not just through cpp. "Syntax error" is here to catch this case.
10664 cat >conftest.
$ac_ext <<_ACEOF
10665 #line $LINENO "configure"
10668 cat confdefs.h
>>conftest.
$ac_ext
10669 cat >>conftest.
$ac_ext <<_ACEOF
10670 /* end confdefs.h. */
10672 # include <limits.h>
10674 # include <assert.h>
10678 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10679 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10681 grep -v '^ *+' conftest.er1
>conftest.err
10683 cat conftest.err
>&5
10684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10685 (exit $ac_status); } >/dev
/null
; then
10686 if test -s conftest.err
; then
10687 ac_cpp_err
=$ac_c_preproc_warn_flag
10694 if test -z "$ac_cpp_err"; then
10697 echo "$as_me: failed program was:" >&5
10698 sed 's/^/| /' conftest.
$ac_ext >&5
10700 # Broken: fails on valid input.
10703 rm -f conftest.err conftest.
$ac_ext
10705 # OK, works on sane cases. Now check whether non-existent headers
10706 # can be detected and how.
10707 cat >conftest.
$ac_ext <<_ACEOF
10708 #line $LINENO "configure"
10711 cat confdefs.h
>>conftest.
$ac_ext
10712 cat >>conftest.
$ac_ext <<_ACEOF
10713 /* end confdefs.h. */
10714 #include <ac_nonexistent.h>
10716 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10717 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10719 grep -v '^ *+' conftest.er1
>conftest.err
10721 cat conftest.err
>&5
10722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10723 (exit $ac_status); } >/dev
/null
; then
10724 if test -s conftest.err
; then
10725 ac_cpp_err
=$ac_c_preproc_warn_flag
10732 if test -z "$ac_cpp_err"; then
10733 # Broken: success on invalid input.
10736 echo "$as_me: failed program was:" >&5
10737 sed 's/^/| /' conftest.
$ac_ext >&5
10739 # Passes both tests.
10743 rm -f conftest.err conftest.
$ac_ext
10746 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10747 rm -f conftest.err conftest.
$ac_ext
10748 if $ac_preproc_ok; then
10753 ac_cv_prog_CPP
=$CPP
10756 CPP
=$ac_cv_prog_CPP
10758 ac_cv_prog_CPP
=$CPP
10760 echo "$as_me:$LINENO: result: $CPP" >&5
10761 echo "${ECHO_T}$CPP" >&6
10762 ac_preproc_ok
=false
10763 for ac_c_preproc_warn_flag
in '' yes
10765 # Use a header file that comes with gcc, so configuring glibc
10766 # with a fresh cross-compiler works.
10767 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10768 # <limits.h> exists even on freestanding compilers.
10769 # On the NeXT, cc -E runs the code through the compiler's parser,
10770 # not just through cpp. "Syntax error" is here to catch this case.
10771 cat >conftest.
$ac_ext <<_ACEOF
10772 #line $LINENO "configure"
10775 cat confdefs.h
>>conftest.
$ac_ext
10776 cat >>conftest.
$ac_ext <<_ACEOF
10777 /* end confdefs.h. */
10779 # include <limits.h>
10781 # include <assert.h>
10785 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10786 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10788 grep -v '^ *+' conftest.er1
>conftest.err
10790 cat conftest.err
>&5
10791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10792 (exit $ac_status); } >/dev
/null
; then
10793 if test -s conftest.err
; then
10794 ac_cpp_err
=$ac_c_preproc_warn_flag
10801 if test -z "$ac_cpp_err"; then
10804 echo "$as_me: failed program was:" >&5
10805 sed 's/^/| /' conftest.
$ac_ext >&5
10807 # Broken: fails on valid input.
10810 rm -f conftest.err conftest.
$ac_ext
10812 # OK, works on sane cases. Now check whether non-existent headers
10813 # can be detected and how.
10814 cat >conftest.
$ac_ext <<_ACEOF
10815 #line $LINENO "configure"
10818 cat confdefs.h
>>conftest.
$ac_ext
10819 cat >>conftest.
$ac_ext <<_ACEOF
10820 /* end confdefs.h. */
10821 #include <ac_nonexistent.h>
10823 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10824 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10826 grep -v '^ *+' conftest.er1
>conftest.err
10828 cat conftest.err
>&5
10829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10830 (exit $ac_status); } >/dev
/null
; then
10831 if test -s conftest.err
; then
10832 ac_cpp_err
=$ac_c_preproc_warn_flag
10839 if test -z "$ac_cpp_err"; then
10840 # Broken: success on invalid input.
10843 echo "$as_me: failed program was:" >&5
10844 sed 's/^/| /' conftest.
$ac_ext >&5
10846 # Passes both tests.
10850 rm -f conftest.err conftest.
$ac_ext
10853 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10854 rm -f conftest.err conftest.
$ac_ext
10855 if $ac_preproc_ok; then
10858 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
10859 See \`config.log' for more details." >&5
10860 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
10861 See \`config.log' for more details." >&2;}
10862 { (exit 1); exit 1; }; }
10866 ac_cpp
='$CPP $CPPFLAGS'
10867 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10868 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10869 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10872 echo "$as_me:$LINENO: checking for egrep" >&5
10873 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
10874 if test "${ac_cv_prog_egrep+set}" = set; then
10875 echo $ECHO_N "(cached) $ECHO_C" >&6
10877 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
10878 then ac_cv_prog_egrep
='grep -E'
10879 else ac_cv_prog_egrep
='egrep'
10882 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
10883 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
10884 EGREP
=$ac_cv_prog_egrep
10887 if test $ac_cv_c_compiler_gnu = yes; then
10888 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
10889 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
10890 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
10891 echo $ECHO_N "(cached) $ECHO_C" >&6
10893 ac_pattern
="Autoconf.*'x'"
10894 cat >conftest.
$ac_ext <<_ACEOF
10895 #line $LINENO "configure"
10898 cat confdefs.h
>>conftest.
$ac_ext
10899 cat >>conftest.
$ac_ext <<_ACEOF
10900 /* end confdefs.h. */
10904 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10905 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
10906 ac_cv_prog_gcc_traditional
=yes
10908 ac_cv_prog_gcc_traditional
=no
10913 if test $ac_cv_prog_gcc_traditional = no
; then
10914 cat >conftest.
$ac_ext <<_ACEOF
10915 #line $LINENO "configure"
10918 cat confdefs.h
>>conftest.
$ac_ext
10919 cat >>conftest.
$ac_ext <<_ACEOF
10920 /* end confdefs.h. */
10921 #include <termio.h>
10924 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10925 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
10926 ac_cv_prog_gcc_traditional
=yes
10932 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
10933 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
10934 if test $ac_cv_prog_gcc_traditional = yes; then
10935 CC
="$CC -traditional"
10943 ac_cpp
='$CXXCPP $CPPFLAGS'
10944 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10945 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10946 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10949 CXXFLAGS
=${CXXFLAGS:=}
10951 ac_cpp
='$CXXCPP $CPPFLAGS'
10952 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10953 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10954 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10955 if test -n "$ac_tool_prefix"; then
10956 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
10958 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10959 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10960 echo "$as_me:$LINENO: checking for $ac_word" >&5
10961 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10962 if test "${ac_cv_prog_CXX+set}" = set; then
10963 echo $ECHO_N "(cached) $ECHO_C" >&6
10965 if test -n "$CXX"; then
10966 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
10968 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10969 for as_dir
in $PATH
10972 test -z "$as_dir" && as_dir
=.
10973 for ac_exec_ext
in '' $ac_executable_extensions; do
10974 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10975 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
10976 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10984 CXX
=$ac_cv_prog_CXX
10985 if test -n "$CXX"; then
10986 echo "$as_me:$LINENO: result: $CXX" >&5
10987 echo "${ECHO_T}$CXX" >&6
10989 echo "$as_me:$LINENO: result: no" >&5
10990 echo "${ECHO_T}no" >&6
10993 test -n "$CXX" && break
10996 if test -z "$CXX"; then
10998 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11000 # Extract the first word of "$ac_prog", so it can be a program name with args.
11001 set dummy
$ac_prog; ac_word
=$2
11002 echo "$as_me:$LINENO: checking for $ac_word" >&5
11003 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11004 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11005 echo $ECHO_N "(cached) $ECHO_C" >&6
11007 if test -n "$ac_ct_CXX"; then
11008 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
11010 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11011 for as_dir
in $PATH
11014 test -z "$as_dir" && as_dir
=.
11015 for ac_exec_ext
in '' $ac_executable_extensions; do
11016 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11017 ac_cv_prog_ac_ct_CXX
="$ac_prog"
11018 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11026 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11027 if test -n "$ac_ct_CXX"; then
11028 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11029 echo "${ECHO_T}$ac_ct_CXX" >&6
11031 echo "$as_me:$LINENO: result: no" >&5
11032 echo "${ECHO_T}no" >&6
11035 test -n "$ac_ct_CXX" && break
11037 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
11043 # Provide some information about the compiler.
11044 echo "$as_me:$LINENO:" \
11045 "checking for C++ compiler version" >&5
11046 ac_compiler
=`set X $ac_compile; echo $2`
11047 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11048 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11051 (exit $ac_status); }
11052 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11053 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11056 (exit $ac_status); }
11057 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11058 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11061 (exit $ac_status); }
11063 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11064 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11065 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11066 echo $ECHO_N "(cached) $ECHO_C" >&6
11068 cat >conftest.
$ac_ext <<_ACEOF
11069 #line $LINENO "configure"
11072 cat confdefs.h
>>conftest.
$ac_ext
11073 cat >>conftest.
$ac_ext <<_ACEOF
11074 /* end confdefs.h. */
11087 rm -f conftest.
$ac_objext
11088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11089 (eval $ac_compile) 2>&5
11091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11092 (exit $ac_status); } &&
11093 { ac_try
='test -s conftest.$ac_objext'
11094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11095 (eval $ac_try) 2>&5
11097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11098 (exit $ac_status); }; }; then
11099 ac_compiler_gnu
=yes
11101 echo "$as_me: failed program was:" >&5
11102 sed 's/^/| /' conftest.
$ac_ext >&5
11106 rm -f conftest.
$ac_objext conftest.
$ac_ext
11107 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11110 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11111 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11112 GXX
=`test $ac_compiler_gnu = yes && echo yes`
11113 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11114 ac_save_CXXFLAGS
=$CXXFLAGS
11116 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11117 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11118 if test "${ac_cv_prog_cxx_g+set}" = set; then
11119 echo $ECHO_N "(cached) $ECHO_C" >&6
11121 cat >conftest.
$ac_ext <<_ACEOF
11122 #line $LINENO "configure"
11125 cat confdefs.h
>>conftest.
$ac_ext
11126 cat >>conftest.
$ac_ext <<_ACEOF
11127 /* end confdefs.h. */
11137 rm -f conftest.
$ac_objext
11138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11139 (eval $ac_compile) 2>&5
11141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11142 (exit $ac_status); } &&
11143 { ac_try
='test -s conftest.$ac_objext'
11144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11145 (eval $ac_try) 2>&5
11147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11148 (exit $ac_status); }; }; then
11149 ac_cv_prog_cxx_g
=yes
11151 echo "$as_me: failed program was:" >&5
11152 sed 's/^/| /' conftest.
$ac_ext >&5
11154 ac_cv_prog_cxx_g
=no
11156 rm -f conftest.
$ac_objext conftest.
$ac_ext
11158 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11159 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11160 if test "$ac_test_CXXFLAGS" = set; then
11161 CXXFLAGS
=$ac_save_CXXFLAGS
11162 elif test $ac_cv_prog_cxx_g = yes; then
11163 if test "$GXX" = yes; then
11169 if test "$GXX" = yes; then
11175 for ac_declaration
in \
11177 'extern "C" void std::exit (int) throw (); using std::exit;' \
11178 'extern "C" void std::exit (int); using std::exit;' \
11179 'extern "C" void exit (int) throw ();' \
11180 'extern "C" void exit (int);' \
11183 cat >conftest.
$ac_ext <<_ACEOF
11184 #line $LINENO "configure"
11187 cat confdefs.h
>>conftest.
$ac_ext
11188 cat >>conftest.
$ac_ext <<_ACEOF
11189 /* end confdefs.h. */
11191 #include <stdlib.h>
11200 rm -f conftest.
$ac_objext
11201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11202 (eval $ac_compile) 2>&5
11204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11205 (exit $ac_status); } &&
11206 { ac_try
='test -s conftest.$ac_objext'
11207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11208 (eval $ac_try) 2>&5
11210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11211 (exit $ac_status); }; }; then
11214 echo "$as_me: failed program was:" >&5
11215 sed 's/^/| /' conftest.
$ac_ext >&5
11219 rm -f conftest.
$ac_objext conftest.
$ac_ext
11220 cat >conftest.
$ac_ext <<_ACEOF
11221 #line $LINENO "configure"
11224 cat confdefs.h
>>conftest.
$ac_ext
11225 cat >>conftest.
$ac_ext <<_ACEOF
11226 /* end confdefs.h. */
11236 rm -f conftest.
$ac_objext
11237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11238 (eval $ac_compile) 2>&5
11240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11241 (exit $ac_status); } &&
11242 { ac_try
='test -s conftest.$ac_objext'
11243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11244 (eval $ac_try) 2>&5
11246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11247 (exit $ac_status); }; }; then
11250 echo "$as_me: failed program was:" >&5
11251 sed 's/^/| /' conftest.
$ac_ext >&5
11254 rm -f conftest.
$ac_objext conftest.
$ac_ext
11257 if test -n "$ac_declaration"; then
11258 echo '#ifdef __cplusplus' >>confdefs.h
11259 echo $ac_declaration >>confdefs.h
11260 echo '#endif' >>confdefs.h
11264 ac_cpp
='$CXXCPP $CPPFLAGS'
11265 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11266 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11267 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11271 ac_cpp
='$CPP $CPPFLAGS'
11272 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11273 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11274 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11277 if test -n "$ac_tool_prefix"; then
11278 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11279 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
11280 echo "$as_me:$LINENO: checking for $ac_word" >&5
11281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11282 if test "${ac_cv_prog_RANLIB+set}" = set; then
11283 echo $ECHO_N "(cached) $ECHO_C" >&6
11285 if test -n "$RANLIB"; then
11286 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
11288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11289 for as_dir
in $PATH
11292 test -z "$as_dir" && as_dir
=.
11293 for ac_exec_ext
in '' $ac_executable_extensions; do
11294 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11295 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
11296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11304 RANLIB
=$ac_cv_prog_RANLIB
11305 if test -n "$RANLIB"; then
11306 echo "$as_me:$LINENO: result: $RANLIB" >&5
11307 echo "${ECHO_T}$RANLIB" >&6
11309 echo "$as_me:$LINENO: result: no" >&5
11310 echo "${ECHO_T}no" >&6
11314 if test -z "$ac_cv_prog_RANLIB"; then
11315 ac_ct_RANLIB
=$RANLIB
11316 # Extract the first word of "ranlib", so it can be a program name with args.
11317 set dummy ranlib
; ac_word
=$2
11318 echo "$as_me:$LINENO: checking for $ac_word" >&5
11319 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11320 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11321 echo $ECHO_N "(cached) $ECHO_C" >&6
11323 if test -n "$ac_ct_RANLIB"; then
11324 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
11326 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11327 for as_dir
in $PATH
11330 test -z "$as_dir" && as_dir
=.
11331 for ac_exec_ext
in '' $ac_executable_extensions; do
11332 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11333 ac_cv_prog_ac_ct_RANLIB
="ranlib"
11334 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11340 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
11343 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
11344 if test -n "$ac_ct_RANLIB"; then
11345 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11346 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11348 echo "$as_me:$LINENO: result: no" >&5
11349 echo "${ECHO_T}no" >&6
11352 RANLIB
=$ac_ct_RANLIB
11354 RANLIB
="$ac_cv_prog_RANLIB"
11358 # Extract the first word of "ar", so it can be a program name with args.
11359 set dummy
ar; ac_word
=$2
11360 echo "$as_me:$LINENO: checking for $ac_word" >&5
11361 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11362 if test "${ac_cv_prog_AR+set}" = set; then
11363 echo $ECHO_N "(cached) $ECHO_C" >&6
11365 if test -n "$AR"; then
11366 ac_cv_prog_AR
="$AR" # Let the user override the test.
11368 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11369 for as_dir
in $PATH
11372 test -z "$as_dir" && as_dir
=.
11373 for ac_exec_ext
in '' $ac_executable_extensions; do
11374 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11376 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11385 if test -n "$AR"; then
11386 echo "$as_me:$LINENO: result: $AR" >&5
11387 echo "${ECHO_T}$AR" >&6
11389 echo "$as_me:$LINENO: result: no" >&5
11390 echo "${ECHO_T}no" >&6
11393 if test "x$AR" = "x" ; then
11394 { { echo "$as_me:$LINENO: error: ar is needed to build wxWindows" >&5
11395 echo "$as_me: error: ar is needed to build wxWindows" >&2;}
11396 { (exit 1); exit 1; }; }
11399 # Find a good install program. We prefer a C program (faster),
11400 # so one script is as good as another. But avoid the broken or
11401 # incompatible versions:
11402 # SysV /etc/install, /usr/sbin/install
11403 # SunOS /usr/etc/install
11404 # IRIX /sbin/install
11406 # AmigaOS /C/install, which installs bootblocks on floppy discs
11407 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11408 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11409 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11410 # ./install, which can be erroneously created by make from ./install.sh.
11411 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11412 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11413 if test -z "$INSTALL"; then
11414 if test "${ac_cv_path_install+set}" = set; then
11415 echo $ECHO_N "(cached) $ECHO_C" >&6
11417 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11418 for as_dir
in $PATH
11421 test -z "$as_dir" && as_dir
=.
11422 # Account for people who put trailing slashes in PATH elements.
11424 .
/ | .
// | /cC
/* | \
11425 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
11428 # OSF1 and SCO ODT 3.0 have their own names for install.
11429 # Don't use installbsd from OSF since it installs stuff as root
11431 for ac_prog
in ginstall scoinst
install; do
11432 for ac_exec_ext
in '' $ac_executable_extensions; do
11433 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11434 if test $ac_prog = install &&
11435 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11436 # AIX install. It has an incompatible calling convention.
11438 elif test $ac_prog = install &&
11439 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11440 # program-specific install script used by HP pwplus--don't use.
11443 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
11455 if test "${ac_cv_path_install+set}" = set; then
11456 INSTALL
=$ac_cv_path_install
11458 # As a last resort, use the slow shell script. We don't cache a
11459 # path for INSTALL within a source directory, because that will
11460 # break other packages using the cache if that directory is
11461 # removed, or if the path is relative.
11462 INSTALL
=$ac_install_sh
11465 echo "$as_me:$LINENO: result: $INSTALL" >&5
11466 echo "${ECHO_T}$INSTALL" >&6
11468 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11469 # It thinks the first close brace ends the variable substitution.
11470 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
11472 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
11474 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
11480 ?
:* ) # Drive letter, considered as absolute.
11483 INSTALL
=`pwd`/${INSTALL} ;;
11488 INSTALL_DIR
="mkdir"
11491 *) INSTALL_DIR
="$INSTALL -d"
11498 powerpc
-*-darwin* )
11499 INSTALL_PROGRAM
="cp -fp"
11500 INSTALL_DATA
="cp -fp"
11506 # Extract the first word of "strip", so it can be a program name with args.
11507 set dummy strip
; ac_word
=$2
11508 echo "$as_me:$LINENO: checking for $ac_word" >&5
11509 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11510 if test "${ac_cv_prog_STRIP+set}" = set; then
11511 echo $ECHO_N "(cached) $ECHO_C" >&6
11513 if test -n "$STRIP"; then
11514 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
11516 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11517 for as_dir
in $PATH
11520 test -z "$as_dir" && as_dir
=.
11521 for ac_exec_ext
in '' $ac_executable_extensions; do
11522 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11523 ac_cv_prog_STRIP
="strip"
11524 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11530 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
11533 STRIP
=$ac_cv_prog_STRIP
11534 if test -n "$STRIP"; then
11535 echo "$as_me:$LINENO: result: $STRIP" >&5
11536 echo "${ECHO_T}$STRIP" >&6
11538 echo "$as_me:$LINENO: result: no" >&5
11539 echo "${ECHO_T}no" >&6
11543 echo "$as_me:$LINENO: checking if make is GNU make" >&5
11544 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11545 if test "${wx_cv_prog_makeisgnu+set}" = set; then
11546 echo $ECHO_N "(cached) $ECHO_C" >&6
11549 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
11550 egrep -s GNU
> /dev
/null
); then
11551 wx_cv_prog_makeisgnu
="yes"
11553 wx_cv_prog_makeisgnu
="no"
11557 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11558 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11560 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11568 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11569 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11570 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11571 if test "${wx_cv_prog_makevpath+set}" = set; then
11572 echo $ECHO_N "(cached) $ECHO_C" >&6
11575 cat - << EOF > confMake
11581 if test ! -d sub
; then
11584 echo dummy
> sub
/file
11585 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
11587 rm -f sub
/file check final_file confMake
11589 if test "$RESULT" = 0; then
11590 wx_cv_prog_makevpath
="yes"
11592 wx_cv_prog_makevpath
="no"
11596 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11597 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11599 if test "x$wx_cv_prog_makevpath" != "xyes"; then
11600 { { echo "$as_me:$LINENO: error:
11601 You need a make-utility that is able to use the variable
11603 If your version of make does not support VPATH correctly,
11604 please install GNU-make (possibly as gmake), and start
11605 configure with the following command:
11606 export MAKE=gmake; ./configure for sh-type shells
11607 setenv MAKE gmake; ./configure for csh-type shells
11608 Also please do remember to use gmake in this case every time
11609 you are trying to compile.
11611 echo "$as_me: error:
11612 You need a make-utility that is able to use the variable
11614 If your version of make does not support VPATH correctly,
11615 please install GNU-make (possibly as gmake), and start
11616 configure with the following command:
11617 export MAKE=gmake; ./configure for sh-type shells
11618 setenv MAKE gmake; ./configure for csh-type shells
11619 Also please do remember to use gmake in this case every time
11620 you are trying to compile.
11622 { (exit 1); exit 1; }; }
11624 echo "$as_me:$LINENO: checking whether ln -s works" >&5
11625 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11627 if test "$LN_S" = "ln -s"; then
11628 echo "$as_me:$LINENO: result: yes" >&5
11629 echo "${ECHO_T}yes" >&6
11631 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11632 echo "${ECHO_T}no, using $LN_S" >&6
11637 *-pc-os2_emx | *-pc-os2-emx )
11638 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11639 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11640 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11641 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11642 echo $ECHO_N "(cached) $ECHO_C" >&6
11644 ac_check_lib_save_LIBS
=$LIBS
11645 LIBS
="-lcExt $LIBS"
11646 cat >conftest.
$ac_ext <<_ACEOF
11647 #line $LINENO "configure"
11650 cat confdefs.h
>>conftest.
$ac_ext
11651 cat >>conftest.
$ac_ext <<_ACEOF
11652 /* end confdefs.h. */
11654 /* Override any gcc2 internal prototype to avoid an error. */
11658 /* We use char because int might match the return type of a gcc2
11659 builtin and then its argument prototype would still apply. */
11669 rm -f conftest.
$ac_objext conftest
$ac_exeext
11670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11671 (eval $ac_link) 2>&5
11673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11674 (exit $ac_status); } &&
11675 { ac_try
='test -s conftest$ac_exeext'
11676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11677 (eval $ac_try) 2>&5
11679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11680 (exit $ac_status); }; }; then
11681 ac_cv_lib_cExt_drand48
=yes
11683 echo "$as_me: failed program was:" >&5
11684 sed 's/^/| /' conftest.
$ac_ext >&5
11686 ac_cv_lib_cExt_drand48
=no
11688 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11689 LIBS
=$ac_check_lib_save_LIBS
11691 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
11692 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
11693 if test $ac_cv_lib_cExt_drand48 = yes; then
11694 LIBS
="$LIBS -lcExt"
11698 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
11704 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
11705 echo "$as_me:$LINENO: checking for strings.h" >&5
11706 echo $ECHO_N "checking for strings.h... $ECHO_C" >&6
11707 if test "${ac_cv_header_strings_h+set}" = set; then
11708 echo $ECHO_N "(cached) $ECHO_C" >&6
11710 ac_cv_header_strings_h
=no
11712 echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5
11713 echo "${ECHO_T}$ac_cv_header_strings_h" >&6
11714 if test "$ac_cv_header_strings_h" = "no"; then
11715 echo "$as_me:$LINENO: result: forced no into cache" >&5
11716 echo "${ECHO_T}forced no into cache" >&6
11718 { echo "$as_me:$LINENO: WARNING: strings.h is not compatible with Mac OS X" >&5
11719 echo "$as_me: WARNING: strings.h is not compatible with Mac OS X" >&2;}
11722 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11723 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11724 if test "${ac_cv_header_stdc+set}" = set; then
11725 echo $ECHO_N "(cached) $ECHO_C" >&6
11727 cat >conftest.
$ac_ext <<_ACEOF
11728 #line $LINENO "configure"
11731 cat confdefs.h
>>conftest.
$ac_ext
11732 cat >>conftest.
$ac_ext <<_ACEOF
11733 /* end confdefs.h. */
11734 #include <stdlib.h>
11735 #include <stdarg.h>
11736 #include <string.h>
11747 rm -f conftest.
$ac_objext
11748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11749 (eval $ac_compile) 2>&5
11751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11752 (exit $ac_status); } &&
11753 { ac_try
='test -s conftest.$ac_objext'
11754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11755 (eval $ac_try) 2>&5
11757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11758 (exit $ac_status); }; }; then
11759 ac_cv_header_stdc
=yes
11761 echo "$as_me: failed program was:" >&5
11762 sed 's/^/| /' conftest.
$ac_ext >&5
11764 ac_cv_header_stdc
=no
11766 rm -f conftest.
$ac_objext conftest.
$ac_ext
11768 if test $ac_cv_header_stdc = yes; then
11769 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11770 cat >conftest.
$ac_ext <<_ACEOF
11771 #line $LINENO "configure"
11774 cat confdefs.h
>>conftest.
$ac_ext
11775 cat >>conftest.
$ac_ext <<_ACEOF
11776 /* end confdefs.h. */
11777 #include <string.h>
11780 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11781 $EGREP "memchr" >/dev
/null
2>&1; then
11784 ac_cv_header_stdc
=no
11790 if test $ac_cv_header_stdc = yes; then
11791 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11792 cat >conftest.
$ac_ext <<_ACEOF
11793 #line $LINENO "configure"
11796 cat confdefs.h
>>conftest.
$ac_ext
11797 cat >>conftest.
$ac_ext <<_ACEOF
11798 /* end confdefs.h. */
11799 #include <stdlib.h>
11802 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11803 $EGREP "free" >/dev
/null
2>&1; then
11806 ac_cv_header_stdc
=no
11812 if test $ac_cv_header_stdc = yes; then
11813 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11814 if test "$cross_compiling" = yes; then
11817 cat >conftest.
$ac_ext <<_ACEOF
11818 #line $LINENO "configure"
11821 cat confdefs.h
>>conftest.
$ac_ext
11822 cat >>conftest.
$ac_ext <<_ACEOF
11823 /* end confdefs.h. */
11825 #if ((' ' & 0x0FF) == 0x020)
11826 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11827 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11829 # define ISLOWER(c) \
11830 (('a' <= (c) && (c) <= 'i') \
11831 || ('j' <= (c) && (c) <= 'r') \
11832 || ('s' <= (c) && (c) <= 'z'))
11833 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11836 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11841 for (i = 0; i < 256; i++)
11842 if (XOR (islower (i), ISLOWER (i))
11843 || toupper (i) != TOUPPER (i))
11848 rm -f conftest
$ac_exeext
11849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11850 (eval $ac_link) 2>&5
11852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11853 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11855 (eval $ac_try) 2>&5
11857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11858 (exit $ac_status); }; }; then
11861 echo "$as_me: program exited with status $ac_status" >&5
11862 echo "$as_me: failed program was:" >&5
11863 sed 's/^/| /' conftest.
$ac_ext >&5
11865 ( exit $ac_status )
11866 ac_cv_header_stdc
=no
11868 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11872 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
11873 echo "${ECHO_T}$ac_cv_header_stdc" >&6
11874 if test $ac_cv_header_stdc = yes; then
11876 cat >>confdefs.h
<<\_ACEOF
11877 #define STDC_HEADERS 1
11882 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
11892 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
11893 inttypes.h stdint.h unistd.h
11895 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11896 echo "$as_me:$LINENO: checking for $ac_header" >&5
11897 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11898 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11899 echo $ECHO_N "(cached) $ECHO_C" >&6
11901 cat >conftest.
$ac_ext <<_ACEOF
11902 #line $LINENO "configure"
11905 cat confdefs.h
>>conftest.
$ac_ext
11906 cat >>conftest.
$ac_ext <<_ACEOF
11907 /* end confdefs.h. */
11908 $ac_includes_default
11910 #include <$ac_header>
11912 rm -f conftest.
$ac_objext
11913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11914 (eval $ac_compile) 2>&5
11916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11917 (exit $ac_status); } &&
11918 { ac_try
='test -s conftest.$ac_objext'
11919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11920 (eval $ac_try) 2>&5
11922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11923 (exit $ac_status); }; }; then
11924 eval "$as_ac_Header=yes"
11926 echo "$as_me: failed program was:" >&5
11927 sed 's/^/| /' conftest.
$ac_ext >&5
11929 eval "$as_ac_Header=no"
11931 rm -f conftest.
$ac_objext conftest.
$ac_ext
11933 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11934 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11935 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11936 cat >>confdefs.h
<<_ACEOF
11937 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11946 for ac_header
in strings.h
11948 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11949 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11950 echo "$as_me:$LINENO: checking for $ac_header" >&5
11951 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11952 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11953 echo $ECHO_N "(cached) $ECHO_C" >&6
11955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11956 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11958 # Is the header compilable?
11959 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11960 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11961 cat >conftest.
$ac_ext <<_ACEOF
11962 #line $LINENO "configure"
11965 cat confdefs.h
>>conftest.
$ac_ext
11966 cat >>conftest.
$ac_ext <<_ACEOF
11967 /* end confdefs.h. */
11968 $ac_includes_default
11969 #include <$ac_header>
11971 rm -f conftest.
$ac_objext
11972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11973 (eval $ac_compile) 2>&5
11975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11976 (exit $ac_status); } &&
11977 { ac_try
='test -s conftest.$ac_objext'
11978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11979 (eval $ac_try) 2>&5
11981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11982 (exit $ac_status); }; }; then
11983 ac_header_compiler
=yes
11985 echo "$as_me: failed program was:" >&5
11986 sed 's/^/| /' conftest.
$ac_ext >&5
11988 ac_header_compiler
=no
11990 rm -f conftest.
$ac_objext conftest.
$ac_ext
11991 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11992 echo "${ECHO_T}$ac_header_compiler" >&6
11994 # Is the header present?
11995 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11996 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11997 cat >conftest.
$ac_ext <<_ACEOF
11998 #line $LINENO "configure"
12001 cat confdefs.h
>>conftest.
$ac_ext
12002 cat >>conftest.
$ac_ext <<_ACEOF
12003 /* end confdefs.h. */
12004 #include <$ac_header>
12006 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12007 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12009 grep -v '^ *+' conftest.er1
>conftest.err
12011 cat conftest.err
>&5
12012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12013 (exit $ac_status); } >/dev
/null
; then
12014 if test -s conftest.err
; then
12015 ac_cpp_err
=$ac_c_preproc_warn_flag
12022 if test -z "$ac_cpp_err"; then
12023 ac_header_preproc
=yes
12025 echo "$as_me: failed program was:" >&5
12026 sed 's/^/| /' conftest.
$ac_ext >&5
12028 ac_header_preproc
=no
12030 rm -f conftest.err conftest.
$ac_ext
12031 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12032 echo "${ECHO_T}$ac_header_preproc" >&6
12034 # So? What about this header?
12035 case $ac_header_compiler:$ac_header_preproc in
12037 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12038 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12039 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12040 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12043 ## ------------------------------------ ##
12044 ## Report this to bug-autoconf@gnu.org. ##
12045 ## ------------------------------------ ##
12048 sed "s/^/$as_me: WARNING: /" >&2
12051 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12052 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12053 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12054 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12055 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12056 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12059 ## ------------------------------------ ##
12060 ## Report this to bug-autoconf@gnu.org. ##
12061 ## ------------------------------------ ##
12064 sed "s/^/$as_me: WARNING: /" >&2
12067 echo "$as_me:$LINENO: checking for $ac_header" >&5
12068 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12069 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12070 echo $ECHO_N "(cached) $ECHO_C" >&6
12072 eval "$as_ac_Header=$ac_header_preproc"
12074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12075 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12078 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12079 cat >>confdefs.h
<<_ACEOF
12080 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12089 for ac_header
in stdlib.h
12091 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12092 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12093 echo "$as_me:$LINENO: checking for $ac_header" >&5
12094 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12095 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12096 echo $ECHO_N "(cached) $ECHO_C" >&6
12098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12099 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12101 # Is the header compilable?
12102 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12103 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12104 cat >conftest.
$ac_ext <<_ACEOF
12105 #line $LINENO "configure"
12108 cat confdefs.h
>>conftest.
$ac_ext
12109 cat >>conftest.
$ac_ext <<_ACEOF
12110 /* end confdefs.h. */
12111 $ac_includes_default
12112 #include <$ac_header>
12114 rm -f conftest.
$ac_objext
12115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12116 (eval $ac_compile) 2>&5
12118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12119 (exit $ac_status); } &&
12120 { ac_try
='test -s conftest.$ac_objext'
12121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12122 (eval $ac_try) 2>&5
12124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12125 (exit $ac_status); }; }; then
12126 ac_header_compiler
=yes
12128 echo "$as_me: failed program was:" >&5
12129 sed 's/^/| /' conftest.
$ac_ext >&5
12131 ac_header_compiler
=no
12133 rm -f conftest.
$ac_objext conftest.
$ac_ext
12134 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12135 echo "${ECHO_T}$ac_header_compiler" >&6
12137 # Is the header present?
12138 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12139 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12140 cat >conftest.
$ac_ext <<_ACEOF
12141 #line $LINENO "configure"
12144 cat confdefs.h
>>conftest.
$ac_ext
12145 cat >>conftest.
$ac_ext <<_ACEOF
12146 /* end confdefs.h. */
12147 #include <$ac_header>
12149 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12150 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12152 grep -v '^ *+' conftest.er1
>conftest.err
12154 cat conftest.err
>&5
12155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12156 (exit $ac_status); } >/dev
/null
; then
12157 if test -s conftest.err
; then
12158 ac_cpp_err
=$ac_c_preproc_warn_flag
12165 if test -z "$ac_cpp_err"; then
12166 ac_header_preproc
=yes
12168 echo "$as_me: failed program was:" >&5
12169 sed 's/^/| /' conftest.
$ac_ext >&5
12171 ac_header_preproc
=no
12173 rm -f conftest.err conftest.
$ac_ext
12174 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12175 echo "${ECHO_T}$ac_header_preproc" >&6
12177 # So? What about this header?
12178 case $ac_header_compiler:$ac_header_preproc in
12180 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12181 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12182 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12183 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12186 ## ------------------------------------ ##
12187 ## Report this to bug-autoconf@gnu.org. ##
12188 ## ------------------------------------ ##
12191 sed "s/^/$as_me: WARNING: /" >&2
12194 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12195 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12196 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12197 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12198 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12199 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12202 ## ------------------------------------ ##
12203 ## Report this to bug-autoconf@gnu.org. ##
12204 ## ------------------------------------ ##
12207 sed "s/^/$as_me: WARNING: /" >&2
12210 echo "$as_me:$LINENO: checking for $ac_header" >&5
12211 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12212 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12213 echo $ECHO_N "(cached) $ECHO_C" >&6
12215 eval "$as_ac_Header=$ac_header_preproc"
12217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12218 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12221 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12222 cat >>confdefs.h
<<_ACEOF
12223 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12231 for ac_header
in malloc.h
12233 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12234 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12235 echo "$as_me:$LINENO: checking for $ac_header" >&5
12236 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12237 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12238 echo $ECHO_N "(cached) $ECHO_C" >&6
12240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12241 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12243 # Is the header compilable?
12244 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12245 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12246 cat >conftest.
$ac_ext <<_ACEOF
12247 #line $LINENO "configure"
12250 cat confdefs.h
>>conftest.
$ac_ext
12251 cat >>conftest.
$ac_ext <<_ACEOF
12252 /* end confdefs.h. */
12253 $ac_includes_default
12254 #include <$ac_header>
12256 rm -f conftest.
$ac_objext
12257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12258 (eval $ac_compile) 2>&5
12260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12261 (exit $ac_status); } &&
12262 { ac_try
='test -s conftest.$ac_objext'
12263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12264 (eval $ac_try) 2>&5
12266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12267 (exit $ac_status); }; }; then
12268 ac_header_compiler
=yes
12270 echo "$as_me: failed program was:" >&5
12271 sed 's/^/| /' conftest.
$ac_ext >&5
12273 ac_header_compiler
=no
12275 rm -f conftest.
$ac_objext conftest.
$ac_ext
12276 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12277 echo "${ECHO_T}$ac_header_compiler" >&6
12279 # Is the header present?
12280 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12281 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12282 cat >conftest.
$ac_ext <<_ACEOF
12283 #line $LINENO "configure"
12286 cat confdefs.h
>>conftest.
$ac_ext
12287 cat >>conftest.
$ac_ext <<_ACEOF
12288 /* end confdefs.h. */
12289 #include <$ac_header>
12291 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12292 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12294 grep -v '^ *+' conftest.er1
>conftest.err
12296 cat conftest.err
>&5
12297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12298 (exit $ac_status); } >/dev
/null
; then
12299 if test -s conftest.err
; then
12300 ac_cpp_err
=$ac_c_preproc_warn_flag
12307 if test -z "$ac_cpp_err"; then
12308 ac_header_preproc
=yes
12310 echo "$as_me: failed program was:" >&5
12311 sed 's/^/| /' conftest.
$ac_ext >&5
12313 ac_header_preproc
=no
12315 rm -f conftest.err conftest.
$ac_ext
12316 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12317 echo "${ECHO_T}$ac_header_preproc" >&6
12319 # So? What about this header?
12320 case $ac_header_compiler:$ac_header_preproc in
12322 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12323 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12324 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12325 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12328 ## ------------------------------------ ##
12329 ## Report this to bug-autoconf@gnu.org. ##
12330 ## ------------------------------------ ##
12333 sed "s/^/$as_me: WARNING: /" >&2
12336 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12337 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12338 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12339 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12340 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12341 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12344 ## ------------------------------------ ##
12345 ## Report this to bug-autoconf@gnu.org. ##
12346 ## ------------------------------------ ##
12349 sed "s/^/$as_me: WARNING: /" >&2
12352 echo "$as_me:$LINENO: checking for $ac_header" >&5
12353 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12354 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12355 echo $ECHO_N "(cached) $ECHO_C" >&6
12357 eval "$as_ac_Header=$ac_header_preproc"
12359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12360 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12363 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12364 cat >>confdefs.h
<<_ACEOF
12365 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12373 for ac_header
in unistd.h
12375 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12376 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12377 echo "$as_me:$LINENO: checking for $ac_header" >&5
12378 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12379 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12380 echo $ECHO_N "(cached) $ECHO_C" >&6
12382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12383 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12385 # Is the header compilable?
12386 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12387 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12388 cat >conftest.
$ac_ext <<_ACEOF
12389 #line $LINENO "configure"
12392 cat confdefs.h
>>conftest.
$ac_ext
12393 cat >>conftest.
$ac_ext <<_ACEOF
12394 /* end confdefs.h. */
12395 $ac_includes_default
12396 #include <$ac_header>
12398 rm -f conftest.
$ac_objext
12399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12400 (eval $ac_compile) 2>&5
12402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12403 (exit $ac_status); } &&
12404 { ac_try
='test -s conftest.$ac_objext'
12405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12406 (eval $ac_try) 2>&5
12408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12409 (exit $ac_status); }; }; then
12410 ac_header_compiler
=yes
12412 echo "$as_me: failed program was:" >&5
12413 sed 's/^/| /' conftest.
$ac_ext >&5
12415 ac_header_compiler
=no
12417 rm -f conftest.
$ac_objext conftest.
$ac_ext
12418 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12419 echo "${ECHO_T}$ac_header_compiler" >&6
12421 # Is the header present?
12422 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12423 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12424 cat >conftest.
$ac_ext <<_ACEOF
12425 #line $LINENO "configure"
12428 cat confdefs.h
>>conftest.
$ac_ext
12429 cat >>conftest.
$ac_ext <<_ACEOF
12430 /* end confdefs.h. */
12431 #include <$ac_header>
12433 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12434 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12436 grep -v '^ *+' conftest.er1
>conftest.err
12438 cat conftest.err
>&5
12439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12440 (exit $ac_status); } >/dev
/null
; then
12441 if test -s conftest.err
; then
12442 ac_cpp_err
=$ac_c_preproc_warn_flag
12449 if test -z "$ac_cpp_err"; then
12450 ac_header_preproc
=yes
12452 echo "$as_me: failed program was:" >&5
12453 sed 's/^/| /' conftest.
$ac_ext >&5
12455 ac_header_preproc
=no
12457 rm -f conftest.err conftest.
$ac_ext
12458 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12459 echo "${ECHO_T}$ac_header_preproc" >&6
12461 # So? What about this header?
12462 case $ac_header_compiler:$ac_header_preproc in
12464 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12465 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12466 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12467 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12470 ## ------------------------------------ ##
12471 ## Report this to bug-autoconf@gnu.org. ##
12472 ## ------------------------------------ ##
12475 sed "s/^/$as_me: WARNING: /" >&2
12478 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12479 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12480 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12481 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12482 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12483 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12486 ## ------------------------------------ ##
12487 ## Report this to bug-autoconf@gnu.org. ##
12488 ## ------------------------------------ ##
12491 sed "s/^/$as_me: WARNING: /" >&2
12494 echo "$as_me:$LINENO: checking for $ac_header" >&5
12495 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12496 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12497 echo $ECHO_N "(cached) $ECHO_C" >&6
12499 eval "$as_ac_Header=$ac_header_preproc"
12501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12502 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12505 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12506 cat >>confdefs.h
<<_ACEOF
12507 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12515 for ac_header
in wchar.h
12517 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12518 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12519 echo "$as_me:$LINENO: checking for $ac_header" >&5
12520 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12521 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12522 echo $ECHO_N "(cached) $ECHO_C" >&6
12524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12525 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12527 # Is the header compilable?
12528 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12529 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12530 cat >conftest.
$ac_ext <<_ACEOF
12531 #line $LINENO "configure"
12534 cat confdefs.h
>>conftest.
$ac_ext
12535 cat >>conftest.
$ac_ext <<_ACEOF
12536 /* end confdefs.h. */
12537 $ac_includes_default
12538 #include <$ac_header>
12540 rm -f conftest.
$ac_objext
12541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12542 (eval $ac_compile) 2>&5
12544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12545 (exit $ac_status); } &&
12546 { ac_try
='test -s conftest.$ac_objext'
12547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12548 (eval $ac_try) 2>&5
12550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12551 (exit $ac_status); }; }; then
12552 ac_header_compiler
=yes
12554 echo "$as_me: failed program was:" >&5
12555 sed 's/^/| /' conftest.
$ac_ext >&5
12557 ac_header_compiler
=no
12559 rm -f conftest.
$ac_objext conftest.
$ac_ext
12560 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12561 echo "${ECHO_T}$ac_header_compiler" >&6
12563 # Is the header present?
12564 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12565 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12566 cat >conftest.
$ac_ext <<_ACEOF
12567 #line $LINENO "configure"
12570 cat confdefs.h
>>conftest.
$ac_ext
12571 cat >>conftest.
$ac_ext <<_ACEOF
12572 /* end confdefs.h. */
12573 #include <$ac_header>
12575 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12576 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12578 grep -v '^ *+' conftest.er1
>conftest.err
12580 cat conftest.err
>&5
12581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12582 (exit $ac_status); } >/dev
/null
; then
12583 if test -s conftest.err
; then
12584 ac_cpp_err
=$ac_c_preproc_warn_flag
12591 if test -z "$ac_cpp_err"; then
12592 ac_header_preproc
=yes
12594 echo "$as_me: failed program was:" >&5
12595 sed 's/^/| /' conftest.
$ac_ext >&5
12597 ac_header_preproc
=no
12599 rm -f conftest.err conftest.
$ac_ext
12600 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12601 echo "${ECHO_T}$ac_header_preproc" >&6
12603 # So? What about this header?
12604 case $ac_header_compiler:$ac_header_preproc in
12606 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12607 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12608 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12609 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12612 ## ------------------------------------ ##
12613 ## Report this to bug-autoconf@gnu.org. ##
12614 ## ------------------------------------ ##
12617 sed "s/^/$as_me: WARNING: /" >&2
12620 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12621 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12622 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12623 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12624 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12625 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12628 ## ------------------------------------ ##
12629 ## Report this to bug-autoconf@gnu.org. ##
12630 ## ------------------------------------ ##
12633 sed "s/^/$as_me: WARNING: /" >&2
12636 echo "$as_me:$LINENO: checking for $ac_header" >&5
12637 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12638 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12639 echo $ECHO_N "(cached) $ECHO_C" >&6
12641 eval "$as_ac_Header=$ac_header_preproc"
12643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12644 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12647 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12648 cat >>confdefs.h
<<_ACEOF
12649 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12657 if test "$ac_cv_header_wchar_h" != "yes"; then
12659 for ac_header
in wcstr.h
12661 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12662 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12663 echo "$as_me:$LINENO: checking for $ac_header" >&5
12664 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12665 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12666 echo $ECHO_N "(cached) $ECHO_C" >&6
12668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12669 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12671 # Is the header compilable?
12672 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12673 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12674 cat >conftest.
$ac_ext <<_ACEOF
12675 #line $LINENO "configure"
12678 cat confdefs.h
>>conftest.
$ac_ext
12679 cat >>conftest.
$ac_ext <<_ACEOF
12680 /* end confdefs.h. */
12681 $ac_includes_default
12682 #include <$ac_header>
12684 rm -f conftest.
$ac_objext
12685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12686 (eval $ac_compile) 2>&5
12688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12689 (exit $ac_status); } &&
12690 { ac_try
='test -s conftest.$ac_objext'
12691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12692 (eval $ac_try) 2>&5
12694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12695 (exit $ac_status); }; }; then
12696 ac_header_compiler
=yes
12698 echo "$as_me: failed program was:" >&5
12699 sed 's/^/| /' conftest.
$ac_ext >&5
12701 ac_header_compiler
=no
12703 rm -f conftest.
$ac_objext conftest.
$ac_ext
12704 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12705 echo "${ECHO_T}$ac_header_compiler" >&6
12707 # Is the header present?
12708 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12709 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12710 cat >conftest.
$ac_ext <<_ACEOF
12711 #line $LINENO "configure"
12714 cat confdefs.h
>>conftest.
$ac_ext
12715 cat >>conftest.
$ac_ext <<_ACEOF
12716 /* end confdefs.h. */
12717 #include <$ac_header>
12719 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12720 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12722 grep -v '^ *+' conftest.er1
>conftest.err
12724 cat conftest.err
>&5
12725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12726 (exit $ac_status); } >/dev
/null
; then
12727 if test -s conftest.err
; then
12728 ac_cpp_err
=$ac_c_preproc_warn_flag
12735 if test -z "$ac_cpp_err"; then
12736 ac_header_preproc
=yes
12738 echo "$as_me: failed program was:" >&5
12739 sed 's/^/| /' conftest.
$ac_ext >&5
12741 ac_header_preproc
=no
12743 rm -f conftest.err conftest.
$ac_ext
12744 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12745 echo "${ECHO_T}$ac_header_preproc" >&6
12747 # So? What about this header?
12748 case $ac_header_compiler:$ac_header_preproc in
12750 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12751 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12752 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12753 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12756 ## ------------------------------------ ##
12757 ## Report this to bug-autoconf@gnu.org. ##
12758 ## ------------------------------------ ##
12761 sed "s/^/$as_me: WARNING: /" >&2
12764 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12765 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12766 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12767 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12768 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12769 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12772 ## ------------------------------------ ##
12773 ## Report this to bug-autoconf@gnu.org. ##
12774 ## ------------------------------------ ##
12777 sed "s/^/$as_me: WARNING: /" >&2
12780 echo "$as_me:$LINENO: checking for $ac_header" >&5
12781 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12782 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12783 echo $ECHO_N "(cached) $ECHO_C" >&6
12785 eval "$as_ac_Header=$ac_header_preproc"
12787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12788 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12791 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12792 cat >>confdefs.h
<<_ACEOF
12793 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12803 for ac_header
in fnmatch.h
12805 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12806 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12807 echo "$as_me:$LINENO: checking for $ac_header" >&5
12808 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12809 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12810 echo $ECHO_N "(cached) $ECHO_C" >&6
12812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12813 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12815 # Is the header compilable?
12816 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12817 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12818 cat >conftest.
$ac_ext <<_ACEOF
12819 #line $LINENO "configure"
12822 cat confdefs.h
>>conftest.
$ac_ext
12823 cat >>conftest.
$ac_ext <<_ACEOF
12824 /* end confdefs.h. */
12825 $ac_includes_default
12826 #include <$ac_header>
12828 rm -f conftest.
$ac_objext
12829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12830 (eval $ac_compile) 2>&5
12832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12833 (exit $ac_status); } &&
12834 { ac_try
='test -s conftest.$ac_objext'
12835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12836 (eval $ac_try) 2>&5
12838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12839 (exit $ac_status); }; }; then
12840 ac_header_compiler
=yes
12842 echo "$as_me: failed program was:" >&5
12843 sed 's/^/| /' conftest.
$ac_ext >&5
12845 ac_header_compiler
=no
12847 rm -f conftest.
$ac_objext conftest.
$ac_ext
12848 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12849 echo "${ECHO_T}$ac_header_compiler" >&6
12851 # Is the header present?
12852 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12853 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12854 cat >conftest.
$ac_ext <<_ACEOF
12855 #line $LINENO "configure"
12858 cat confdefs.h
>>conftest.
$ac_ext
12859 cat >>conftest.
$ac_ext <<_ACEOF
12860 /* end confdefs.h. */
12861 #include <$ac_header>
12863 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12864 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12866 grep -v '^ *+' conftest.er1
>conftest.err
12868 cat conftest.err
>&5
12869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12870 (exit $ac_status); } >/dev
/null
; then
12871 if test -s conftest.err
; then
12872 ac_cpp_err
=$ac_c_preproc_warn_flag
12879 if test -z "$ac_cpp_err"; then
12880 ac_header_preproc
=yes
12882 echo "$as_me: failed program was:" >&5
12883 sed 's/^/| /' conftest.
$ac_ext >&5
12885 ac_header_preproc
=no
12887 rm -f conftest.err conftest.
$ac_ext
12888 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12889 echo "${ECHO_T}$ac_header_preproc" >&6
12891 # So? What about this header?
12892 case $ac_header_compiler:$ac_header_preproc in
12894 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12895 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12896 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12897 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12900 ## ------------------------------------ ##
12901 ## Report this to bug-autoconf@gnu.org. ##
12902 ## ------------------------------------ ##
12905 sed "s/^/$as_me: WARNING: /" >&2
12908 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12909 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12910 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12911 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12912 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12913 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12916 ## ------------------------------------ ##
12917 ## Report this to bug-autoconf@gnu.org. ##
12918 ## ------------------------------------ ##
12921 sed "s/^/$as_me: WARNING: /" >&2
12924 echo "$as_me:$LINENO: checking for $ac_header" >&5
12925 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12926 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12927 echo $ECHO_N "(cached) $ECHO_C" >&6
12929 eval "$as_ac_Header=$ac_header_preproc"
12931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12932 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12935 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12936 cat >>confdefs.h
<<_ACEOF
12937 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12945 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
12947 for ac_func
in fnmatch
12949 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12950 echo "$as_me:$LINENO: checking for $ac_func" >&5
12951 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12952 if eval "test \"\${$as_ac_var+set}\" = set"; then
12953 echo $ECHO_N "(cached) $ECHO_C" >&6
12955 cat >conftest.
$ac_ext <<_ACEOF
12956 #line $LINENO "configure"
12959 cat confdefs.h
>>conftest.
$ac_ext
12960 cat >>conftest.
$ac_ext <<_ACEOF
12961 /* end confdefs.h. */
12962 /* System header to define __stub macros and hopefully few prototypes,
12963 which can conflict with char $ac_func (); below.
12964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12965 <limits.h> exists even on freestanding compilers. */
12967 # include <limits.h>
12969 # include <assert.h>
12971 /* Override any gcc2 internal prototype to avoid an error. */
12976 /* We use char because int might match the return type of a gcc2
12977 builtin and then its argument prototype would still apply. */
12979 /* The GNU C library defines this for functions which it implements
12980 to always fail with ENOSYS. Some functions are actually named
12981 something starting with __ and the normal name is an alias. */
12982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12985 char (*f) () = $ac_func;
12994 return f != $ac_func;
12999 rm -f conftest.
$ac_objext conftest
$ac_exeext
13000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13001 (eval $ac_link) 2>&5
13003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13004 (exit $ac_status); } &&
13005 { ac_try
='test -s conftest$ac_exeext'
13006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13007 (eval $ac_try) 2>&5
13009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13010 (exit $ac_status); }; }; then
13011 eval "$as_ac_var=yes"
13013 echo "$as_me: failed program was:" >&5
13014 sed 's/^/| /' conftest.
$ac_ext >&5
13016 eval "$as_ac_var=no"
13018 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13021 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13022 if test `eval echo '${'$as_ac_var'}'` = yes; then
13023 cat >>confdefs.h
<<_ACEOF
13024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13033 for ac_header
in langinfo.h
13035 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13036 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13037 echo "$as_me:$LINENO: checking for $ac_header" >&5
13038 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13039 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13040 echo $ECHO_N "(cached) $ECHO_C" >&6
13042 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13043 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13045 # Is the header compilable?
13046 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13047 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13048 cat >conftest.
$ac_ext <<_ACEOF
13049 #line $LINENO "configure"
13052 cat confdefs.h
>>conftest.
$ac_ext
13053 cat >>conftest.
$ac_ext <<_ACEOF
13054 /* end confdefs.h. */
13055 $ac_includes_default
13056 #include <$ac_header>
13058 rm -f conftest.
$ac_objext
13059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13060 (eval $ac_compile) 2>&5
13062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13063 (exit $ac_status); } &&
13064 { ac_try
='test -s conftest.$ac_objext'
13065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13066 (eval $ac_try) 2>&5
13068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13069 (exit $ac_status); }; }; then
13070 ac_header_compiler
=yes
13072 echo "$as_me: failed program was:" >&5
13073 sed 's/^/| /' conftest.
$ac_ext >&5
13075 ac_header_compiler
=no
13077 rm -f conftest.
$ac_objext conftest.
$ac_ext
13078 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13079 echo "${ECHO_T}$ac_header_compiler" >&6
13081 # Is the header present?
13082 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13083 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13084 cat >conftest.
$ac_ext <<_ACEOF
13085 #line $LINENO "configure"
13088 cat confdefs.h
>>conftest.
$ac_ext
13089 cat >>conftest.
$ac_ext <<_ACEOF
13090 /* end confdefs.h. */
13091 #include <$ac_header>
13093 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13094 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13096 grep -v '^ *+' conftest.er1
>conftest.err
13098 cat conftest.err
>&5
13099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13100 (exit $ac_status); } >/dev
/null
; then
13101 if test -s conftest.err
; then
13102 ac_cpp_err
=$ac_c_preproc_warn_flag
13109 if test -z "$ac_cpp_err"; then
13110 ac_header_preproc
=yes
13112 echo "$as_me: failed program was:" >&5
13113 sed 's/^/| /' conftest.
$ac_ext >&5
13115 ac_header_preproc
=no
13117 rm -f conftest.err conftest.
$ac_ext
13118 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13119 echo "${ECHO_T}$ac_header_preproc" >&6
13121 # So? What about this header?
13122 case $ac_header_compiler:$ac_header_preproc in
13124 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13125 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13126 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13127 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13130 ## ------------------------------------ ##
13131 ## Report this to bug-autoconf@gnu.org. ##
13132 ## ------------------------------------ ##
13135 sed "s/^/$as_me: WARNING: /" >&2
13138 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13139 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13140 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13141 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13142 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13143 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13146 ## ------------------------------------ ##
13147 ## Report this to bug-autoconf@gnu.org. ##
13148 ## ------------------------------------ ##
13151 sed "s/^/$as_me: WARNING: /" >&2
13154 echo "$as_me:$LINENO: checking for $ac_header" >&5
13155 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13156 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13157 echo $ECHO_N "(cached) $ECHO_C" >&6
13159 eval "$as_ac_Header=$ac_header_preproc"
13161 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13162 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13165 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13166 cat >>confdefs.h
<<_ACEOF
13167 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13176 *-pc-os2_emx | *-pc-os2-emx )
13177 if test $ac_cv_header_langinfo_h = "yes"; then
13178 LIBS
="$LIBS -lintl"
13183 if test "$wxUSE_GUI" = "yes"; then
13184 if test "$wxUSE_UNIX" = "yes"; then
13186 for ac_header
in X
11/Xlib.h
13188 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13189 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13190 echo "$as_me:$LINENO: checking for $ac_header" >&5
13191 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13192 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13193 echo $ECHO_N "(cached) $ECHO_C" >&6
13195 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13196 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13198 # Is the header compilable?
13199 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13200 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13201 cat >conftest.
$ac_ext <<_ACEOF
13202 #line $LINENO "configure"
13205 cat confdefs.h
>>conftest.
$ac_ext
13206 cat >>conftest.
$ac_ext <<_ACEOF
13207 /* end confdefs.h. */
13208 $ac_includes_default
13209 #include <$ac_header>
13211 rm -f conftest.
$ac_objext
13212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13213 (eval $ac_compile) 2>&5
13215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13216 (exit $ac_status); } &&
13217 { ac_try
='test -s conftest.$ac_objext'
13218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13219 (eval $ac_try) 2>&5
13221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13222 (exit $ac_status); }; }; then
13223 ac_header_compiler
=yes
13225 echo "$as_me: failed program was:" >&5
13226 sed 's/^/| /' conftest.
$ac_ext >&5
13228 ac_header_compiler
=no
13230 rm -f conftest.
$ac_objext conftest.
$ac_ext
13231 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13232 echo "${ECHO_T}$ac_header_compiler" >&6
13234 # Is the header present?
13235 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13236 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13237 cat >conftest.
$ac_ext <<_ACEOF
13238 #line $LINENO "configure"
13241 cat confdefs.h
>>conftest.
$ac_ext
13242 cat >>conftest.
$ac_ext <<_ACEOF
13243 /* end confdefs.h. */
13244 #include <$ac_header>
13246 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13247 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13249 grep -v '^ *+' conftest.er1
>conftest.err
13251 cat conftest.err
>&5
13252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13253 (exit $ac_status); } >/dev
/null
; then
13254 if test -s conftest.err
; then
13255 ac_cpp_err
=$ac_c_preproc_warn_flag
13262 if test -z "$ac_cpp_err"; then
13263 ac_header_preproc
=yes
13265 echo "$as_me: failed program was:" >&5
13266 sed 's/^/| /' conftest.
$ac_ext >&5
13268 ac_header_preproc
=no
13270 rm -f conftest.err conftest.
$ac_ext
13271 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13272 echo "${ECHO_T}$ac_header_preproc" >&6
13274 # So? What about this header?
13275 case $ac_header_compiler:$ac_header_preproc in
13277 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13278 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13279 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13280 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13283 ## ------------------------------------ ##
13284 ## Report this to bug-autoconf@gnu.org. ##
13285 ## ------------------------------------ ##
13288 sed "s/^/$as_me: WARNING: /" >&2
13291 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13292 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13293 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13294 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13295 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13296 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13299 ## ------------------------------------ ##
13300 ## Report this to bug-autoconf@gnu.org. ##
13301 ## ------------------------------------ ##
13304 sed "s/^/$as_me: WARNING: /" >&2
13307 echo "$as_me:$LINENO: checking for $ac_header" >&5
13308 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13309 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13310 echo $ECHO_N "(cached) $ECHO_C" >&6
13312 eval "$as_ac_Header=$ac_header_preproc"
13314 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13315 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13318 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13319 cat >>confdefs.h
<<_ACEOF
13320 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13328 for ac_header
in X
11/XKBlib.h
13330 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13331 echo "$as_me:$LINENO: checking for $ac_header" >&5
13332 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13333 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13334 echo $ECHO_N "(cached) $ECHO_C" >&6
13336 cat >conftest.
$ac_ext <<_ACEOF
13337 #line $LINENO "configure"
13340 cat confdefs.h
>>conftest.
$ac_ext
13341 cat >>conftest.
$ac_ext <<_ACEOF
13342 /* end confdefs.h. */
13344 #if HAVE_X11_XLIB_H
13345 #include <X11/Xlib.h>
13349 #include <$ac_header>
13351 rm -f conftest.
$ac_objext
13352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13353 (eval $ac_compile) 2>&5
13355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13356 (exit $ac_status); } &&
13357 { ac_try
='test -s conftest.$ac_objext'
13358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13359 (eval $ac_try) 2>&5
13361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13362 (exit $ac_status); }; }; then
13363 eval "$as_ac_Header=yes"
13365 echo "$as_me: failed program was:" >&5
13366 sed 's/^/| /' conftest.
$ac_ext >&5
13368 eval "$as_ac_Header=no"
13370 rm -f conftest.
$ac_objext conftest.
$ac_ext
13372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13373 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13374 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13375 cat >>confdefs.h
<<_ACEOF
13376 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13387 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13388 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13389 if test "${ac_cv_c_const+set}" = set; then
13390 echo $ECHO_N "(cached) $ECHO_C" >&6
13392 cat >conftest.
$ac_ext <<_ACEOF
13393 #line $LINENO "configure"
13396 cat confdefs.h
>>conftest.
$ac_ext
13397 cat >>conftest.
$ac_ext <<_ACEOF
13398 /* end confdefs.h. */
13403 /* FIXME: Include the comments suggested by Paul. */
13404 #ifndef __cplusplus
13405 /* Ultrix mips cc rejects this. */
13406 typedef int charset[2];
13408 /* SunOS 4.1.1 cc rejects this. */
13409 char const *const *ccp;
13411 /* NEC SVR4.0.2 mips cc rejects this. */
13412 struct point {int x, y;};
13413 static struct point const zero = {0,0};
13414 /* AIX XL C 1.02.0.0 rejects this.
13415 It does not let you subtract one const X* pointer from another in
13416 an arm of an if-expression whose if-part is not a constant
13418 const char *g = "string";
13419 ccp = &g + (g ? g-g : 0);
13420 /* HPUX 7.0 cc rejects these. */
13423 ccp = (char const *const *) p;
13424 { /* SCO 3.2v4 cc rejects this. */
13426 char const *s = 0 ? (char *) 0 : (char const *) 0;
13430 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13431 int x[] = {25, 17};
13432 const int *foo = &x[0];
13435 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13436 typedef const int *iptr;
13440 { /* AIX XL C 1.02.0.0 rejects this saying
13441 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13442 struct s { int j; const int *ap[3]; };
13443 struct s *b; b->j = 5;
13445 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13446 const int foo = 10;
13454 rm -f conftest.
$ac_objext
13455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13456 (eval $ac_compile) 2>&5
13458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13459 (exit $ac_status); } &&
13460 { ac_try
='test -s conftest.$ac_objext'
13461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13462 (eval $ac_try) 2>&5
13464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13465 (exit $ac_status); }; }; then
13468 echo "$as_me: failed program was:" >&5
13469 sed 's/^/| /' conftest.
$ac_ext >&5
13473 rm -f conftest.
$ac_objext conftest.
$ac_ext
13475 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13476 echo "${ECHO_T}$ac_cv_c_const" >&6
13477 if test $ac_cv_c_const = no
; then
13479 cat >>confdefs.h
<<\_ACEOF
13485 echo "$as_me:$LINENO: checking for inline" >&5
13486 echo $ECHO_N "checking for inline... $ECHO_C" >&6
13487 if test "${ac_cv_c_inline+set}" = set; then
13488 echo $ECHO_N "(cached) $ECHO_C" >&6
13491 for ac_kw
in inline __inline__ __inline
; do
13492 cat >conftest.
$ac_ext <<_ACEOF
13493 #line $LINENO "configure"
13496 cat confdefs.h
>>conftest.
$ac_ext
13497 cat >>conftest.
$ac_ext <<_ACEOF
13498 /* end confdefs.h. */
13499 #ifndef __cplusplus
13501 static $ac_kw foo_t static_foo () {return 0; }
13502 $ac_kw foo_t foo () {return 0; }
13506 rm -f conftest.
$ac_objext
13507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13508 (eval $ac_compile) 2>&5
13510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13511 (exit $ac_status); } &&
13512 { ac_try
='test -s conftest.$ac_objext'
13513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13514 (eval $ac_try) 2>&5
13516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13517 (exit $ac_status); }; }; then
13518 ac_cv_c_inline
=$ac_kw; break
13520 echo "$as_me: failed program was:" >&5
13521 sed 's/^/| /' conftest.
$ac_ext >&5
13524 rm -f conftest.
$ac_objext conftest.
$ac_ext
13528 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13529 echo "${ECHO_T}$ac_cv_c_inline" >&6
13530 case $ac_cv_c_inline in
13533 cat >>confdefs.h
<<\_ACEOF
13537 *) cat >>confdefs.h
<<_ACEOF
13538 #define inline $ac_cv_c_inline
13544 echo "$as_me:$LINENO: checking for char" >&5
13545 echo $ECHO_N "checking for char... $ECHO_C" >&6
13546 if test "${ac_cv_type_char+set}" = set; then
13547 echo $ECHO_N "(cached) $ECHO_C" >&6
13549 cat >conftest.
$ac_ext <<_ACEOF
13550 #line $LINENO "configure"
13553 cat confdefs.h
>>conftest.
$ac_ext
13554 cat >>conftest.
$ac_ext <<_ACEOF
13555 /* end confdefs.h. */
13556 $ac_includes_default
13568 rm -f conftest.
$ac_objext
13569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13570 (eval $ac_compile) 2>&5
13572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13573 (exit $ac_status); } &&
13574 { ac_try
='test -s conftest.$ac_objext'
13575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13576 (eval $ac_try) 2>&5
13578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13579 (exit $ac_status); }; }; then
13580 ac_cv_type_char
=yes
13582 echo "$as_me: failed program was:" >&5
13583 sed 's/^/| /' conftest.
$ac_ext >&5
13587 rm -f conftest.
$ac_objext conftest.
$ac_ext
13589 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13590 echo "${ECHO_T}$ac_cv_type_char" >&6
13592 echo "$as_me:$LINENO: checking size of char" >&5
13593 echo $ECHO_N "checking size of char... $ECHO_C" >&6
13594 if test "${ac_cv_sizeof_char+set}" = set; then
13595 echo $ECHO_N "(cached) $ECHO_C" >&6
13597 if test "$ac_cv_type_char" = yes; then
13598 # The cast to unsigned long works around a bug in the HP C Compiler
13599 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13600 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13601 # This bug is HP SR number 8606223364.
13602 if test "$cross_compiling" = yes; then
13603 # Depending upon the size, compute the lo and hi bounds.
13604 cat >conftest.
$ac_ext <<_ACEOF
13605 #line $LINENO "configure"
13608 cat confdefs.h
>>conftest.
$ac_ext
13609 cat >>conftest.
$ac_ext <<_ACEOF
13610 /* end confdefs.h. */
13611 $ac_includes_default
13615 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13622 rm -f conftest.
$ac_objext
13623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13624 (eval $ac_compile) 2>&5
13626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13627 (exit $ac_status); } &&
13628 { ac_try
='test -s conftest.$ac_objext'
13629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13630 (eval $ac_try) 2>&5
13632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13633 (exit $ac_status); }; }; then
13636 cat >conftest.
$ac_ext <<_ACEOF
13637 #line $LINENO "configure"
13640 cat confdefs.h
>>conftest.
$ac_ext
13641 cat >>conftest.
$ac_ext <<_ACEOF
13642 /* end confdefs.h. */
13643 $ac_includes_default
13647 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13654 rm -f conftest.
$ac_objext
13655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13656 (eval $ac_compile) 2>&5
13658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13659 (exit $ac_status); } &&
13660 { ac_try
='test -s conftest.$ac_objext'
13661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13662 (eval $ac_try) 2>&5
13664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13665 (exit $ac_status); }; }; then
13666 ac_hi
=$ac_mid; break
13668 echo "$as_me: failed program was:" >&5
13669 sed 's/^/| /' conftest.
$ac_ext >&5
13671 ac_lo
=`expr $ac_mid + 1`
13672 if test $ac_lo -le $ac_mid; then
13676 ac_mid
=`expr 2 '*' $ac_mid + 1`
13678 rm -f conftest.
$ac_objext conftest.
$ac_ext
13681 echo "$as_me: failed program was:" >&5
13682 sed 's/^/| /' conftest.
$ac_ext >&5
13684 cat >conftest.
$ac_ext <<_ACEOF
13685 #line $LINENO "configure"
13688 cat confdefs.h
>>conftest.
$ac_ext
13689 cat >>conftest.
$ac_ext <<_ACEOF
13690 /* end confdefs.h. */
13691 $ac_includes_default
13695 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
13702 rm -f conftest.
$ac_objext
13703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13704 (eval $ac_compile) 2>&5
13706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13707 (exit $ac_status); } &&
13708 { ac_try
='test -s conftest.$ac_objext'
13709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13710 (eval $ac_try) 2>&5
13712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13713 (exit $ac_status); }; }; then
13716 cat >conftest.
$ac_ext <<_ACEOF
13717 #line $LINENO "configure"
13720 cat confdefs.h
>>conftest.
$ac_ext
13721 cat >>conftest.
$ac_ext <<_ACEOF
13722 /* end confdefs.h. */
13723 $ac_includes_default
13727 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
13734 rm -f conftest.
$ac_objext
13735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13736 (eval $ac_compile) 2>&5
13738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13739 (exit $ac_status); } &&
13740 { ac_try
='test -s conftest.$ac_objext'
13741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13742 (eval $ac_try) 2>&5
13744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13745 (exit $ac_status); }; }; then
13746 ac_lo
=$ac_mid; break
13748 echo "$as_me: failed program was:" >&5
13749 sed 's/^/| /' conftest.
$ac_ext >&5
13751 ac_hi
=`expr '(' $ac_mid ')' - 1`
13752 if test $ac_mid -le $ac_hi; then
13756 ac_mid
=`expr 2 '*' $ac_mid`
13758 rm -f conftest.
$ac_objext conftest.
$ac_ext
13761 echo "$as_me: failed program was:" >&5
13762 sed 's/^/| /' conftest.
$ac_ext >&5
13766 rm -f conftest.
$ac_objext conftest.
$ac_ext
13768 rm -f conftest.
$ac_objext conftest.
$ac_ext
13769 # Binary search between lo and hi bounds.
13770 while test "x$ac_lo" != "x$ac_hi"; do
13771 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13772 cat >conftest.
$ac_ext <<_ACEOF
13773 #line $LINENO "configure"
13776 cat confdefs.h
>>conftest.
$ac_ext
13777 cat >>conftest.
$ac_ext <<_ACEOF
13778 /* end confdefs.h. */
13779 $ac_includes_default
13783 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13790 rm -f conftest.
$ac_objext
13791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13792 (eval $ac_compile) 2>&5
13794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13795 (exit $ac_status); } &&
13796 { ac_try
='test -s conftest.$ac_objext'
13797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13798 (eval $ac_try) 2>&5
13800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13801 (exit $ac_status); }; }; then
13804 echo "$as_me: failed program was:" >&5
13805 sed 's/^/| /' conftest.
$ac_ext >&5
13807 ac_lo
=`expr '(' $ac_mid ')' + 1`
13809 rm -f conftest.
$ac_objext conftest.
$ac_ext
13812 ?
*) ac_cv_sizeof_char
=$ac_lo;;
13813 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13814 See \`config.log' for more details." >&5
13815 echo "$as_me: error: cannot compute sizeof (char), 77
13816 See \`config.log' for more details." >&2;}
13817 { (exit 1); exit 1; }; } ;;
13820 if test "$cross_compiling" = yes; then
13821 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13822 See \`config.log' for more details." >&5
13823 echo "$as_me: error: cannot run test program while cross compiling
13824 See \`config.log' for more details." >&2;}
13825 { (exit 1); exit 1; }; }
13827 cat >conftest.
$ac_ext <<_ACEOF
13828 #line $LINENO "configure"
13831 cat confdefs.h
>>conftest.
$ac_ext
13832 cat >>conftest.
$ac_ext <<_ACEOF
13833 /* end confdefs.h. */
13834 $ac_includes_default
13835 long longval () { return (long) (sizeof (char)); }
13836 unsigned long ulongval () { return (long) (sizeof (char)); }
13838 #include <stdlib.h>
13843 FILE *f = fopen ("conftest.val", "w");
13846 if (((long) (sizeof (char))) < 0)
13848 long i = longval ();
13849 if (i != ((long) (sizeof (char))))
13851 fprintf (f, "%ld\n", i);
13855 unsigned long i = ulongval ();
13856 if (i != ((long) (sizeof (char))))
13858 fprintf (f, "%lu\n", i);
13860 exit (ferror (f) || fclose (f) != 0);
13866 rm -f conftest
$ac_exeext
13867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13868 (eval $ac_link) 2>&5
13870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13871 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13873 (eval $ac_try) 2>&5
13875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13876 (exit $ac_status); }; }; then
13877 ac_cv_sizeof_char
=`cat conftest.val`
13879 echo "$as_me: program exited with status $ac_status" >&5
13880 echo "$as_me: failed program was:" >&5
13881 sed 's/^/| /' conftest.
$ac_ext >&5
13883 ( exit $ac_status )
13884 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13885 See \`config.log' for more details." >&5
13886 echo "$as_me: error: cannot compute sizeof (char), 77
13887 See \`config.log' for more details." >&2;}
13888 { (exit 1); exit 1; }; }
13890 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13895 ac_cv_sizeof_char
=0
13898 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
13899 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
13900 cat >>confdefs.h
<<_ACEOF
13901 #define SIZEOF_CHAR $ac_cv_sizeof_char
13905 echo "$as_me:$LINENO: checking for short" >&5
13906 echo $ECHO_N "checking for short... $ECHO_C" >&6
13907 if test "${ac_cv_type_short+set}" = set; then
13908 echo $ECHO_N "(cached) $ECHO_C" >&6
13910 cat >conftest.
$ac_ext <<_ACEOF
13911 #line $LINENO "configure"
13914 cat confdefs.h
>>conftest.
$ac_ext
13915 cat >>conftest.
$ac_ext <<_ACEOF
13916 /* end confdefs.h. */
13917 $ac_includes_default
13923 if (sizeof (short))
13929 rm -f conftest.
$ac_objext
13930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13931 (eval $ac_compile) 2>&5
13933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13934 (exit $ac_status); } &&
13935 { ac_try
='test -s conftest.$ac_objext'
13936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13937 (eval $ac_try) 2>&5
13939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13940 (exit $ac_status); }; }; then
13941 ac_cv_type_short
=yes
13943 echo "$as_me: failed program was:" >&5
13944 sed 's/^/| /' conftest.
$ac_ext >&5
13946 ac_cv_type_short
=no
13948 rm -f conftest.
$ac_objext conftest.
$ac_ext
13950 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
13951 echo "${ECHO_T}$ac_cv_type_short" >&6
13953 echo "$as_me:$LINENO: checking size of short" >&5
13954 echo $ECHO_N "checking size of short... $ECHO_C" >&6
13955 if test "${ac_cv_sizeof_short+set}" = set; then
13956 echo $ECHO_N "(cached) $ECHO_C" >&6
13958 if test "$ac_cv_type_short" = yes; then
13959 # The cast to unsigned long works around a bug in the HP C Compiler
13960 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13961 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13962 # This bug is HP SR number 8606223364.
13963 if test "$cross_compiling" = yes; then
13964 # Depending upon the size, compute the lo and hi bounds.
13965 cat >conftest.
$ac_ext <<_ACEOF
13966 #line $LINENO "configure"
13969 cat confdefs.h
>>conftest.
$ac_ext
13970 cat >>conftest.
$ac_ext <<_ACEOF
13971 /* end confdefs.h. */
13972 $ac_includes_default
13976 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
13983 rm -f conftest.
$ac_objext
13984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13985 (eval $ac_compile) 2>&5
13987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13988 (exit $ac_status); } &&
13989 { ac_try
='test -s conftest.$ac_objext'
13990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13991 (eval $ac_try) 2>&5
13993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13994 (exit $ac_status); }; }; then
13997 cat >conftest.
$ac_ext <<_ACEOF
13998 #line $LINENO "configure"
14001 cat confdefs.h
>>conftest.
$ac_ext
14002 cat >>conftest.
$ac_ext <<_ACEOF
14003 /* end confdefs.h. */
14004 $ac_includes_default
14008 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14015 rm -f conftest.
$ac_objext
14016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14017 (eval $ac_compile) 2>&5
14019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14020 (exit $ac_status); } &&
14021 { ac_try
='test -s conftest.$ac_objext'
14022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14023 (eval $ac_try) 2>&5
14025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14026 (exit $ac_status); }; }; then
14027 ac_hi
=$ac_mid; break
14029 echo "$as_me: failed program was:" >&5
14030 sed 's/^/| /' conftest.
$ac_ext >&5
14032 ac_lo
=`expr $ac_mid + 1`
14033 if test $ac_lo -le $ac_mid; then
14037 ac_mid
=`expr 2 '*' $ac_mid + 1`
14039 rm -f conftest.
$ac_objext conftest.
$ac_ext
14042 echo "$as_me: failed program was:" >&5
14043 sed 's/^/| /' conftest.
$ac_ext >&5
14045 cat >conftest.
$ac_ext <<_ACEOF
14046 #line $LINENO "configure"
14049 cat confdefs.h
>>conftest.
$ac_ext
14050 cat >>conftest.
$ac_ext <<_ACEOF
14051 /* end confdefs.h. */
14052 $ac_includes_default
14056 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14063 rm -f conftest.
$ac_objext
14064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14065 (eval $ac_compile) 2>&5
14067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14068 (exit $ac_status); } &&
14069 { ac_try
='test -s conftest.$ac_objext'
14070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14071 (eval $ac_try) 2>&5
14073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14074 (exit $ac_status); }; }; then
14077 cat >conftest.
$ac_ext <<_ACEOF
14078 #line $LINENO "configure"
14081 cat confdefs.h
>>conftest.
$ac_ext
14082 cat >>conftest.
$ac_ext <<_ACEOF
14083 /* end confdefs.h. */
14084 $ac_includes_default
14088 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14095 rm -f conftest.
$ac_objext
14096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14097 (eval $ac_compile) 2>&5
14099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14100 (exit $ac_status); } &&
14101 { ac_try
='test -s conftest.$ac_objext'
14102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14103 (eval $ac_try) 2>&5
14105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14106 (exit $ac_status); }; }; then
14107 ac_lo
=$ac_mid; break
14109 echo "$as_me: failed program was:" >&5
14110 sed 's/^/| /' conftest.
$ac_ext >&5
14112 ac_hi
=`expr '(' $ac_mid ')' - 1`
14113 if test $ac_mid -le $ac_hi; then
14117 ac_mid
=`expr 2 '*' $ac_mid`
14119 rm -f conftest.
$ac_objext conftest.
$ac_ext
14122 echo "$as_me: failed program was:" >&5
14123 sed 's/^/| /' conftest.
$ac_ext >&5
14127 rm -f conftest.
$ac_objext conftest.
$ac_ext
14129 rm -f conftest.
$ac_objext conftest.
$ac_ext
14130 # Binary search between lo and hi bounds.
14131 while test "x$ac_lo" != "x$ac_hi"; do
14132 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14133 cat >conftest.
$ac_ext <<_ACEOF
14134 #line $LINENO "configure"
14137 cat confdefs.h
>>conftest.
$ac_ext
14138 cat >>conftest.
$ac_ext <<_ACEOF
14139 /* end confdefs.h. */
14140 $ac_includes_default
14144 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14151 rm -f conftest.
$ac_objext
14152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14153 (eval $ac_compile) 2>&5
14155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14156 (exit $ac_status); } &&
14157 { ac_try
='test -s conftest.$ac_objext'
14158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14159 (eval $ac_try) 2>&5
14161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14162 (exit $ac_status); }; }; then
14165 echo "$as_me: failed program was:" >&5
14166 sed 's/^/| /' conftest.
$ac_ext >&5
14168 ac_lo
=`expr '(' $ac_mid ')' + 1`
14170 rm -f conftest.
$ac_objext conftest.
$ac_ext
14173 ?
*) ac_cv_sizeof_short
=$ac_lo;;
14174 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14175 See \`config.log' for more details." >&5
14176 echo "$as_me: error: cannot compute sizeof (short), 77
14177 See \`config.log' for more details." >&2;}
14178 { (exit 1); exit 1; }; } ;;
14181 if test "$cross_compiling" = yes; then
14182 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14183 See \`config.log' for more details." >&5
14184 echo "$as_me: error: cannot run test program while cross compiling
14185 See \`config.log' for more details." >&2;}
14186 { (exit 1); exit 1; }; }
14188 cat >conftest.
$ac_ext <<_ACEOF
14189 #line $LINENO "configure"
14192 cat confdefs.h
>>conftest.
$ac_ext
14193 cat >>conftest.
$ac_ext <<_ACEOF
14194 /* end confdefs.h. */
14195 $ac_includes_default
14196 long longval () { return (long) (sizeof (short)); }
14197 unsigned long ulongval () { return (long) (sizeof (short)); }
14199 #include <stdlib.h>
14204 FILE *f = fopen ("conftest.val", "w");
14207 if (((long) (sizeof (short))) < 0)
14209 long i = longval ();
14210 if (i != ((long) (sizeof (short))))
14212 fprintf (f, "%ld\n", i);
14216 unsigned long i = ulongval ();
14217 if (i != ((long) (sizeof (short))))
14219 fprintf (f, "%lu\n", i);
14221 exit (ferror (f) || fclose (f) != 0);
14227 rm -f conftest
$ac_exeext
14228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14229 (eval $ac_link) 2>&5
14231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14232 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14234 (eval $ac_try) 2>&5
14236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14237 (exit $ac_status); }; }; then
14238 ac_cv_sizeof_short
=`cat conftest.val`
14240 echo "$as_me: program exited with status $ac_status" >&5
14241 echo "$as_me: failed program was:" >&5
14242 sed 's/^/| /' conftest.
$ac_ext >&5
14244 ( exit $ac_status )
14245 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14246 See \`config.log' for more details." >&5
14247 echo "$as_me: error: cannot compute sizeof (short), 77
14248 See \`config.log' for more details." >&2;}
14249 { (exit 1); exit 1; }; }
14251 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14256 ac_cv_sizeof_short
=0
14259 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14260 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14261 cat >>confdefs.h
<<_ACEOF
14262 #define SIZEOF_SHORT $ac_cv_sizeof_short
14266 echo "$as_me:$LINENO: checking for void *" >&5
14267 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14268 if test "${ac_cv_type_void_p+set}" = set; then
14269 echo $ECHO_N "(cached) $ECHO_C" >&6
14271 cat >conftest.
$ac_ext <<_ACEOF
14272 #line $LINENO "configure"
14275 cat confdefs.h
>>conftest.
$ac_ext
14276 cat >>conftest.
$ac_ext <<_ACEOF
14277 /* end confdefs.h. */
14278 $ac_includes_default
14284 if (sizeof (void *))
14290 rm -f conftest.
$ac_objext
14291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14292 (eval $ac_compile) 2>&5
14294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14295 (exit $ac_status); } &&
14296 { ac_try
='test -s conftest.$ac_objext'
14297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14298 (eval $ac_try) 2>&5
14300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14301 (exit $ac_status); }; }; then
14302 ac_cv_type_void_p
=yes
14304 echo "$as_me: failed program was:" >&5
14305 sed 's/^/| /' conftest.
$ac_ext >&5
14307 ac_cv_type_void_p
=no
14309 rm -f conftest.
$ac_objext conftest.
$ac_ext
14311 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14312 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14314 echo "$as_me:$LINENO: checking size of void *" >&5
14315 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14316 if test "${ac_cv_sizeof_void_p+set}" = set; then
14317 echo $ECHO_N "(cached) $ECHO_C" >&6
14319 if test "$ac_cv_type_void_p" = yes; then
14320 # The cast to unsigned long works around a bug in the HP C Compiler
14321 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14322 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14323 # This bug is HP SR number 8606223364.
14324 if test "$cross_compiling" = yes; then
14325 # Depending upon the size, compute the lo and hi bounds.
14326 cat >conftest.
$ac_ext <<_ACEOF
14327 #line $LINENO "configure"
14330 cat confdefs.h
>>conftest.
$ac_ext
14331 cat >>conftest.
$ac_ext <<_ACEOF
14332 /* end confdefs.h. */
14333 $ac_includes_default
14337 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14344 rm -f conftest.
$ac_objext
14345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14346 (eval $ac_compile) 2>&5
14348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14349 (exit $ac_status); } &&
14350 { ac_try
='test -s conftest.$ac_objext'
14351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14352 (eval $ac_try) 2>&5
14354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14355 (exit $ac_status); }; }; then
14358 cat >conftest.
$ac_ext <<_ACEOF
14359 #line $LINENO "configure"
14362 cat confdefs.h
>>conftest.
$ac_ext
14363 cat >>conftest.
$ac_ext <<_ACEOF
14364 /* end confdefs.h. */
14365 $ac_includes_default
14369 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14376 rm -f conftest.
$ac_objext
14377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14378 (eval $ac_compile) 2>&5
14380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14381 (exit $ac_status); } &&
14382 { ac_try
='test -s conftest.$ac_objext'
14383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14384 (eval $ac_try) 2>&5
14386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14387 (exit $ac_status); }; }; then
14388 ac_hi
=$ac_mid; break
14390 echo "$as_me: failed program was:" >&5
14391 sed 's/^/| /' conftest.
$ac_ext >&5
14393 ac_lo
=`expr $ac_mid + 1`
14394 if test $ac_lo -le $ac_mid; then
14398 ac_mid
=`expr 2 '*' $ac_mid + 1`
14400 rm -f conftest.
$ac_objext conftest.
$ac_ext
14403 echo "$as_me: failed program was:" >&5
14404 sed 's/^/| /' conftest.
$ac_ext >&5
14406 cat >conftest.
$ac_ext <<_ACEOF
14407 #line $LINENO "configure"
14410 cat confdefs.h
>>conftest.
$ac_ext
14411 cat >>conftest.
$ac_ext <<_ACEOF
14412 /* end confdefs.h. */
14413 $ac_includes_default
14417 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14424 rm -f conftest.
$ac_objext
14425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14426 (eval $ac_compile) 2>&5
14428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14429 (exit $ac_status); } &&
14430 { ac_try
='test -s conftest.$ac_objext'
14431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14432 (eval $ac_try) 2>&5
14434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14435 (exit $ac_status); }; }; then
14438 cat >conftest.
$ac_ext <<_ACEOF
14439 #line $LINENO "configure"
14442 cat confdefs.h
>>conftest.
$ac_ext
14443 cat >>conftest.
$ac_ext <<_ACEOF
14444 /* end confdefs.h. */
14445 $ac_includes_default
14449 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14456 rm -f conftest.
$ac_objext
14457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14458 (eval $ac_compile) 2>&5
14460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14461 (exit $ac_status); } &&
14462 { ac_try
='test -s conftest.$ac_objext'
14463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14464 (eval $ac_try) 2>&5
14466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14467 (exit $ac_status); }; }; then
14468 ac_lo
=$ac_mid; break
14470 echo "$as_me: failed program was:" >&5
14471 sed 's/^/| /' conftest.
$ac_ext >&5
14473 ac_hi
=`expr '(' $ac_mid ')' - 1`
14474 if test $ac_mid -le $ac_hi; then
14478 ac_mid
=`expr 2 '*' $ac_mid`
14480 rm -f conftest.
$ac_objext conftest.
$ac_ext
14483 echo "$as_me: failed program was:" >&5
14484 sed 's/^/| /' conftest.
$ac_ext >&5
14488 rm -f conftest.
$ac_objext conftest.
$ac_ext
14490 rm -f conftest.
$ac_objext conftest.
$ac_ext
14491 # Binary search between lo and hi bounds.
14492 while test "x$ac_lo" != "x$ac_hi"; do
14493 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14494 cat >conftest.
$ac_ext <<_ACEOF
14495 #line $LINENO "configure"
14498 cat confdefs.h
>>conftest.
$ac_ext
14499 cat >>conftest.
$ac_ext <<_ACEOF
14500 /* end confdefs.h. */
14501 $ac_includes_default
14505 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14512 rm -f conftest.
$ac_objext
14513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14514 (eval $ac_compile) 2>&5
14516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14517 (exit $ac_status); } &&
14518 { ac_try
='test -s conftest.$ac_objext'
14519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14520 (eval $ac_try) 2>&5
14522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14523 (exit $ac_status); }; }; then
14526 echo "$as_me: failed program was:" >&5
14527 sed 's/^/| /' conftest.
$ac_ext >&5
14529 ac_lo
=`expr '(' $ac_mid ')' + 1`
14531 rm -f conftest.
$ac_objext conftest.
$ac_ext
14534 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
14535 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14536 See \`config.log' for more details." >&5
14537 echo "$as_me: error: cannot compute sizeof (void *), 77
14538 See \`config.log' for more details." >&2;}
14539 { (exit 1); exit 1; }; } ;;
14542 if test "$cross_compiling" = yes; then
14543 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14544 See \`config.log' for more details." >&5
14545 echo "$as_me: error: cannot run test program while cross compiling
14546 See \`config.log' for more details." >&2;}
14547 { (exit 1); exit 1; }; }
14549 cat >conftest.
$ac_ext <<_ACEOF
14550 #line $LINENO "configure"
14553 cat confdefs.h
>>conftest.
$ac_ext
14554 cat >>conftest.
$ac_ext <<_ACEOF
14555 /* end confdefs.h. */
14556 $ac_includes_default
14557 long longval () { return (long) (sizeof (void *)); }
14558 unsigned long ulongval () { return (long) (sizeof (void *)); }
14560 #include <stdlib.h>
14565 FILE *f = fopen ("conftest.val", "w");
14568 if (((long) (sizeof (void *))) < 0)
14570 long i = longval ();
14571 if (i != ((long) (sizeof (void *))))
14573 fprintf (f, "%ld\n", i);
14577 unsigned long i = ulongval ();
14578 if (i != ((long) (sizeof (void *))))
14580 fprintf (f, "%lu\n", i);
14582 exit (ferror (f) || fclose (f) != 0);
14588 rm -f conftest
$ac_exeext
14589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14590 (eval $ac_link) 2>&5
14592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14593 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14595 (eval $ac_try) 2>&5
14597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14598 (exit $ac_status); }; }; then
14599 ac_cv_sizeof_void_p
=`cat conftest.val`
14601 echo "$as_me: program exited with status $ac_status" >&5
14602 echo "$as_me: failed program was:" >&5
14603 sed 's/^/| /' conftest.
$ac_ext >&5
14605 ( exit $ac_status )
14606 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14607 See \`config.log' for more details." >&5
14608 echo "$as_me: error: cannot compute sizeof (void *), 77
14609 See \`config.log' for more details." >&2;}
14610 { (exit 1); exit 1; }; }
14612 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14617 ac_cv_sizeof_void_p
=0
14620 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14621 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14622 cat >>confdefs.h
<<_ACEOF
14623 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14627 echo "$as_me:$LINENO: checking for int" >&5
14628 echo $ECHO_N "checking for int... $ECHO_C" >&6
14629 if test "${ac_cv_type_int+set}" = set; then
14630 echo $ECHO_N "(cached) $ECHO_C" >&6
14632 cat >conftest.
$ac_ext <<_ACEOF
14633 #line $LINENO "configure"
14636 cat confdefs.h
>>conftest.
$ac_ext
14637 cat >>conftest.
$ac_ext <<_ACEOF
14638 /* end confdefs.h. */
14639 $ac_includes_default
14651 rm -f conftest.
$ac_objext
14652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14653 (eval $ac_compile) 2>&5
14655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14656 (exit $ac_status); } &&
14657 { ac_try
='test -s conftest.$ac_objext'
14658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14659 (eval $ac_try) 2>&5
14661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14662 (exit $ac_status); }; }; then
14665 echo "$as_me: failed program was:" >&5
14666 sed 's/^/| /' conftest.
$ac_ext >&5
14670 rm -f conftest.
$ac_objext conftest.
$ac_ext
14672 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14673 echo "${ECHO_T}$ac_cv_type_int" >&6
14675 echo "$as_me:$LINENO: checking size of int" >&5
14676 echo $ECHO_N "checking size of int... $ECHO_C" >&6
14677 if test "${ac_cv_sizeof_int+set}" = set; then
14678 echo $ECHO_N "(cached) $ECHO_C" >&6
14680 if test "$ac_cv_type_int" = yes; then
14681 # The cast to unsigned long works around a bug in the HP C Compiler
14682 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14683 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14684 # This bug is HP SR number 8606223364.
14685 if test "$cross_compiling" = yes; then
14686 # Depending upon the size, compute the lo and hi bounds.
14687 cat >conftest.
$ac_ext <<_ACEOF
14688 #line $LINENO "configure"
14691 cat confdefs.h
>>conftest.
$ac_ext
14692 cat >>conftest.
$ac_ext <<_ACEOF
14693 /* end confdefs.h. */
14694 $ac_includes_default
14698 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14705 rm -f conftest.
$ac_objext
14706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14707 (eval $ac_compile) 2>&5
14709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14710 (exit $ac_status); } &&
14711 { ac_try
='test -s conftest.$ac_objext'
14712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14713 (eval $ac_try) 2>&5
14715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14716 (exit $ac_status); }; }; then
14719 cat >conftest.
$ac_ext <<_ACEOF
14720 #line $LINENO "configure"
14723 cat confdefs.h
>>conftest.
$ac_ext
14724 cat >>conftest.
$ac_ext <<_ACEOF
14725 /* end confdefs.h. */
14726 $ac_includes_default
14730 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14737 rm -f conftest.
$ac_objext
14738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14739 (eval $ac_compile) 2>&5
14741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14742 (exit $ac_status); } &&
14743 { ac_try
='test -s conftest.$ac_objext'
14744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14745 (eval $ac_try) 2>&5
14747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14748 (exit $ac_status); }; }; then
14749 ac_hi
=$ac_mid; break
14751 echo "$as_me: failed program was:" >&5
14752 sed 's/^/| /' conftest.
$ac_ext >&5
14754 ac_lo
=`expr $ac_mid + 1`
14755 if test $ac_lo -le $ac_mid; then
14759 ac_mid
=`expr 2 '*' $ac_mid + 1`
14761 rm -f conftest.
$ac_objext conftest.
$ac_ext
14764 echo "$as_me: failed program was:" >&5
14765 sed 's/^/| /' conftest.
$ac_ext >&5
14767 cat >conftest.
$ac_ext <<_ACEOF
14768 #line $LINENO "configure"
14771 cat confdefs.h
>>conftest.
$ac_ext
14772 cat >>conftest.
$ac_ext <<_ACEOF
14773 /* end confdefs.h. */
14774 $ac_includes_default
14778 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
14785 rm -f conftest.
$ac_objext
14786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14787 (eval $ac_compile) 2>&5
14789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14790 (exit $ac_status); } &&
14791 { ac_try
='test -s conftest.$ac_objext'
14792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14793 (eval $ac_try) 2>&5
14795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14796 (exit $ac_status); }; }; then
14799 cat >conftest.
$ac_ext <<_ACEOF
14800 #line $LINENO "configure"
14803 cat confdefs.h
>>conftest.
$ac_ext
14804 cat >>conftest.
$ac_ext <<_ACEOF
14805 /* end confdefs.h. */
14806 $ac_includes_default
14810 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
14817 rm -f conftest.
$ac_objext
14818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14819 (eval $ac_compile) 2>&5
14821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14822 (exit $ac_status); } &&
14823 { ac_try
='test -s conftest.$ac_objext'
14824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14825 (eval $ac_try) 2>&5
14827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14828 (exit $ac_status); }; }; then
14829 ac_lo
=$ac_mid; break
14831 echo "$as_me: failed program was:" >&5
14832 sed 's/^/| /' conftest.
$ac_ext >&5
14834 ac_hi
=`expr '(' $ac_mid ')' - 1`
14835 if test $ac_mid -le $ac_hi; then
14839 ac_mid
=`expr 2 '*' $ac_mid`
14841 rm -f conftest.
$ac_objext conftest.
$ac_ext
14844 echo "$as_me: failed program was:" >&5
14845 sed 's/^/| /' conftest.
$ac_ext >&5
14849 rm -f conftest.
$ac_objext conftest.
$ac_ext
14851 rm -f conftest.
$ac_objext conftest.
$ac_ext
14852 # Binary search between lo and hi bounds.
14853 while test "x$ac_lo" != "x$ac_hi"; do
14854 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14855 cat >conftest.
$ac_ext <<_ACEOF
14856 #line $LINENO "configure"
14859 cat confdefs.h
>>conftest.
$ac_ext
14860 cat >>conftest.
$ac_ext <<_ACEOF
14861 /* end confdefs.h. */
14862 $ac_includes_default
14866 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14873 rm -f conftest.
$ac_objext
14874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14875 (eval $ac_compile) 2>&5
14877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14878 (exit $ac_status); } &&
14879 { ac_try
='test -s conftest.$ac_objext'
14880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14881 (eval $ac_try) 2>&5
14883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14884 (exit $ac_status); }; }; then
14887 echo "$as_me: failed program was:" >&5
14888 sed 's/^/| /' conftest.
$ac_ext >&5
14890 ac_lo
=`expr '(' $ac_mid ')' + 1`
14892 rm -f conftest.
$ac_objext conftest.
$ac_ext
14895 ?
*) ac_cv_sizeof_int
=$ac_lo;;
14896 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
14897 See \`config.log' for more details." >&5
14898 echo "$as_me: error: cannot compute sizeof (int), 77
14899 See \`config.log' for more details." >&2;}
14900 { (exit 1); exit 1; }; } ;;
14903 if test "$cross_compiling" = yes; then
14904 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14905 See \`config.log' for more details." >&5
14906 echo "$as_me: error: cannot run test program while cross compiling
14907 See \`config.log' for more details." >&2;}
14908 { (exit 1); exit 1; }; }
14910 cat >conftest.
$ac_ext <<_ACEOF
14911 #line $LINENO "configure"
14914 cat confdefs.h
>>conftest.
$ac_ext
14915 cat >>conftest.
$ac_ext <<_ACEOF
14916 /* end confdefs.h. */
14917 $ac_includes_default
14918 long longval () { return (long) (sizeof (int)); }
14919 unsigned long ulongval () { return (long) (sizeof (int)); }
14921 #include <stdlib.h>
14926 FILE *f = fopen ("conftest.val", "w");
14929 if (((long) (sizeof (int))) < 0)
14931 long i = longval ();
14932 if (i != ((long) (sizeof (int))))
14934 fprintf (f, "%ld\n", i);
14938 unsigned long i = ulongval ();
14939 if (i != ((long) (sizeof (int))))
14941 fprintf (f, "%lu\n", i);
14943 exit (ferror (f) || fclose (f) != 0);
14949 rm -f conftest
$ac_exeext
14950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14951 (eval $ac_link) 2>&5
14953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14954 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14956 (eval $ac_try) 2>&5
14958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14959 (exit $ac_status); }; }; then
14960 ac_cv_sizeof_int
=`cat conftest.val`
14962 echo "$as_me: program exited with status $ac_status" >&5
14963 echo "$as_me: failed program was:" >&5
14964 sed 's/^/| /' conftest.
$ac_ext >&5
14966 ( exit $ac_status )
14967 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
14968 See \`config.log' for more details." >&5
14969 echo "$as_me: error: cannot compute sizeof (int), 77
14970 See \`config.log' for more details." >&2;}
14971 { (exit 1); exit 1; }; }
14973 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14981 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
14982 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
14983 cat >>confdefs.h
<<_ACEOF
14984 #define SIZEOF_INT $ac_cv_sizeof_int
14988 echo "$as_me:$LINENO: checking for long" >&5
14989 echo $ECHO_N "checking for long... $ECHO_C" >&6
14990 if test "${ac_cv_type_long+set}" = set; then
14991 echo $ECHO_N "(cached) $ECHO_C" >&6
14993 cat >conftest.
$ac_ext <<_ACEOF
14994 #line $LINENO "configure"
14997 cat confdefs.h
>>conftest.
$ac_ext
14998 cat >>conftest.
$ac_ext <<_ACEOF
14999 /* end confdefs.h. */
15000 $ac_includes_default
15012 rm -f conftest.
$ac_objext
15013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15014 (eval $ac_compile) 2>&5
15016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15017 (exit $ac_status); } &&
15018 { ac_try
='test -s conftest.$ac_objext'
15019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15020 (eval $ac_try) 2>&5
15022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15023 (exit $ac_status); }; }; then
15024 ac_cv_type_long
=yes
15026 echo "$as_me: failed program was:" >&5
15027 sed 's/^/| /' conftest.
$ac_ext >&5
15031 rm -f conftest.
$ac_objext conftest.
$ac_ext
15033 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15034 echo "${ECHO_T}$ac_cv_type_long" >&6
15036 echo "$as_me:$LINENO: checking size of long" >&5
15037 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15038 if test "${ac_cv_sizeof_long+set}" = set; then
15039 echo $ECHO_N "(cached) $ECHO_C" >&6
15041 if test "$ac_cv_type_long" = yes; then
15042 # The cast to unsigned long works around a bug in the HP C Compiler
15043 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15044 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15045 # This bug is HP SR number 8606223364.
15046 if test "$cross_compiling" = yes; then
15047 # Depending upon the size, compute the lo and hi bounds.
15048 cat >conftest.
$ac_ext <<_ACEOF
15049 #line $LINENO "configure"
15052 cat confdefs.h
>>conftest.
$ac_ext
15053 cat >>conftest.
$ac_ext <<_ACEOF
15054 /* end confdefs.h. */
15055 $ac_includes_default
15059 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15066 rm -f conftest.
$ac_objext
15067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15068 (eval $ac_compile) 2>&5
15070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15071 (exit $ac_status); } &&
15072 { ac_try
='test -s conftest.$ac_objext'
15073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15074 (eval $ac_try) 2>&5
15076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15077 (exit $ac_status); }; }; then
15080 cat >conftest.
$ac_ext <<_ACEOF
15081 #line $LINENO "configure"
15084 cat confdefs.h
>>conftest.
$ac_ext
15085 cat >>conftest.
$ac_ext <<_ACEOF
15086 /* end confdefs.h. */
15087 $ac_includes_default
15091 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15098 rm -f conftest.
$ac_objext
15099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15100 (eval $ac_compile) 2>&5
15102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15103 (exit $ac_status); } &&
15104 { ac_try
='test -s conftest.$ac_objext'
15105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15106 (eval $ac_try) 2>&5
15108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15109 (exit $ac_status); }; }; then
15110 ac_hi
=$ac_mid; break
15112 echo "$as_me: failed program was:" >&5
15113 sed 's/^/| /' conftest.
$ac_ext >&5
15115 ac_lo
=`expr $ac_mid + 1`
15116 if test $ac_lo -le $ac_mid; then
15120 ac_mid
=`expr 2 '*' $ac_mid + 1`
15122 rm -f conftest.
$ac_objext conftest.
$ac_ext
15125 echo "$as_me: failed program was:" >&5
15126 sed 's/^/| /' conftest.
$ac_ext >&5
15128 cat >conftest.
$ac_ext <<_ACEOF
15129 #line $LINENO "configure"
15132 cat confdefs.h
>>conftest.
$ac_ext
15133 cat >>conftest.
$ac_ext <<_ACEOF
15134 /* end confdefs.h. */
15135 $ac_includes_default
15139 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15146 rm -f conftest.
$ac_objext
15147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15148 (eval $ac_compile) 2>&5
15150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15151 (exit $ac_status); } &&
15152 { ac_try
='test -s conftest.$ac_objext'
15153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15154 (eval $ac_try) 2>&5
15156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15157 (exit $ac_status); }; }; then
15160 cat >conftest.
$ac_ext <<_ACEOF
15161 #line $LINENO "configure"
15164 cat confdefs.h
>>conftest.
$ac_ext
15165 cat >>conftest.
$ac_ext <<_ACEOF
15166 /* end confdefs.h. */
15167 $ac_includes_default
15171 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15178 rm -f conftest.
$ac_objext
15179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15180 (eval $ac_compile) 2>&5
15182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15183 (exit $ac_status); } &&
15184 { ac_try
='test -s conftest.$ac_objext'
15185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15186 (eval $ac_try) 2>&5
15188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15189 (exit $ac_status); }; }; then
15190 ac_lo
=$ac_mid; break
15192 echo "$as_me: failed program was:" >&5
15193 sed 's/^/| /' conftest.
$ac_ext >&5
15195 ac_hi
=`expr '(' $ac_mid ')' - 1`
15196 if test $ac_mid -le $ac_hi; then
15200 ac_mid
=`expr 2 '*' $ac_mid`
15202 rm -f conftest.
$ac_objext conftest.
$ac_ext
15205 echo "$as_me: failed program was:" >&5
15206 sed 's/^/| /' conftest.
$ac_ext >&5
15210 rm -f conftest.
$ac_objext conftest.
$ac_ext
15212 rm -f conftest.
$ac_objext conftest.
$ac_ext
15213 # Binary search between lo and hi bounds.
15214 while test "x$ac_lo" != "x$ac_hi"; do
15215 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15216 cat >conftest.
$ac_ext <<_ACEOF
15217 #line $LINENO "configure"
15220 cat confdefs.h
>>conftest.
$ac_ext
15221 cat >>conftest.
$ac_ext <<_ACEOF
15222 /* end confdefs.h. */
15223 $ac_includes_default
15227 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15234 rm -f conftest.
$ac_objext
15235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15236 (eval $ac_compile) 2>&5
15238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15239 (exit $ac_status); } &&
15240 { ac_try
='test -s conftest.$ac_objext'
15241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15242 (eval $ac_try) 2>&5
15244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15245 (exit $ac_status); }; }; then
15248 echo "$as_me: failed program was:" >&5
15249 sed 's/^/| /' conftest.
$ac_ext >&5
15251 ac_lo
=`expr '(' $ac_mid ')' + 1`
15253 rm -f conftest.
$ac_objext conftest.
$ac_ext
15256 ?
*) ac_cv_sizeof_long
=$ac_lo;;
15257 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15258 See \`config.log' for more details." >&5
15259 echo "$as_me: error: cannot compute sizeof (long), 77
15260 See \`config.log' for more details." >&2;}
15261 { (exit 1); exit 1; }; } ;;
15264 if test "$cross_compiling" = yes; then
15265 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15266 See \`config.log' for more details." >&5
15267 echo "$as_me: error: cannot run test program while cross compiling
15268 See \`config.log' for more details." >&2;}
15269 { (exit 1); exit 1; }; }
15271 cat >conftest.
$ac_ext <<_ACEOF
15272 #line $LINENO "configure"
15275 cat confdefs.h
>>conftest.
$ac_ext
15276 cat >>conftest.
$ac_ext <<_ACEOF
15277 /* end confdefs.h. */
15278 $ac_includes_default
15279 long longval () { return (long) (sizeof (long)); }
15280 unsigned long ulongval () { return (long) (sizeof (long)); }
15282 #include <stdlib.h>
15287 FILE *f = fopen ("conftest.val", "w");
15290 if (((long) (sizeof (long))) < 0)
15292 long i = longval ();
15293 if (i != ((long) (sizeof (long))))
15295 fprintf (f, "%ld\n", i);
15299 unsigned long i = ulongval ();
15300 if (i != ((long) (sizeof (long))))
15302 fprintf (f, "%lu\n", i);
15304 exit (ferror (f) || fclose (f) != 0);
15310 rm -f conftest
$ac_exeext
15311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15312 (eval $ac_link) 2>&5
15314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15315 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15317 (eval $ac_try) 2>&5
15319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15320 (exit $ac_status); }; }; then
15321 ac_cv_sizeof_long
=`cat conftest.val`
15323 echo "$as_me: program exited with status $ac_status" >&5
15324 echo "$as_me: failed program was:" >&5
15325 sed 's/^/| /' conftest.
$ac_ext >&5
15327 ( exit $ac_status )
15328 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15329 See \`config.log' for more details." >&5
15330 echo "$as_me: error: cannot compute sizeof (long), 77
15331 See \`config.log' for more details." >&2;}
15332 { (exit 1); exit 1; }; }
15334 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15339 ac_cv_sizeof_long
=0
15342 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15343 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15344 cat >>confdefs.h
<<_ACEOF
15345 #define SIZEOF_LONG $ac_cv_sizeof_long
15352 echo "$as_me:$LINENO: checking for long long" >&5
15353 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15354 if test "${ac_cv_type_long_long+set}" = set; then
15355 echo $ECHO_N "(cached) $ECHO_C" >&6
15357 cat >conftest.
$ac_ext <<_ACEOF
15358 #line $LINENO "configure"
15361 cat confdefs.h
>>conftest.
$ac_ext
15362 cat >>conftest.
$ac_ext <<_ACEOF
15363 /* end confdefs.h. */
15364 $ac_includes_default
15368 if ((long long *) 0)
15370 if (sizeof (long long))
15376 rm -f conftest.
$ac_objext
15377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15378 (eval $ac_compile) 2>&5
15380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15381 (exit $ac_status); } &&
15382 { ac_try
='test -s conftest.$ac_objext'
15383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15384 (eval $ac_try) 2>&5
15386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15387 (exit $ac_status); }; }; then
15388 ac_cv_type_long_long
=yes
15390 echo "$as_me: failed program was:" >&5
15391 sed 's/^/| /' conftest.
$ac_ext >&5
15393 ac_cv_type_long_long
=no
15395 rm -f conftest.
$ac_objext conftest.
$ac_ext
15397 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15398 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15400 echo "$as_me:$LINENO: checking size of long long" >&5
15401 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15402 if test "${ac_cv_sizeof_long_long+set}" = set; then
15403 echo $ECHO_N "(cached) $ECHO_C" >&6
15405 if test "$ac_cv_type_long_long" = yes; then
15406 # The cast to unsigned long works around a bug in the HP C Compiler
15407 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15408 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15409 # This bug is HP SR number 8606223364.
15410 if test "$cross_compiling" = yes; then
15411 # Depending upon the size, compute the lo and hi bounds.
15412 cat >conftest.
$ac_ext <<_ACEOF
15413 #line $LINENO "configure"
15416 cat confdefs.h
>>conftest.
$ac_ext
15417 cat >>conftest.
$ac_ext <<_ACEOF
15418 /* end confdefs.h. */
15419 $ac_includes_default
15423 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15430 rm -f conftest.
$ac_objext
15431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15432 (eval $ac_compile) 2>&5
15434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15435 (exit $ac_status); } &&
15436 { ac_try
='test -s conftest.$ac_objext'
15437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15438 (eval $ac_try) 2>&5
15440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15441 (exit $ac_status); }; }; then
15444 cat >conftest.
$ac_ext <<_ACEOF
15445 #line $LINENO "configure"
15448 cat confdefs.h
>>conftest.
$ac_ext
15449 cat >>conftest.
$ac_ext <<_ACEOF
15450 /* end confdefs.h. */
15451 $ac_includes_default
15455 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15462 rm -f conftest.
$ac_objext
15463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15464 (eval $ac_compile) 2>&5
15466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15467 (exit $ac_status); } &&
15468 { ac_try
='test -s conftest.$ac_objext'
15469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15470 (eval $ac_try) 2>&5
15472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15473 (exit $ac_status); }; }; then
15474 ac_hi
=$ac_mid; break
15476 echo "$as_me: failed program was:" >&5
15477 sed 's/^/| /' conftest.
$ac_ext >&5
15479 ac_lo
=`expr $ac_mid + 1`
15480 if test $ac_lo -le $ac_mid; then
15484 ac_mid
=`expr 2 '*' $ac_mid + 1`
15486 rm -f conftest.
$ac_objext conftest.
$ac_ext
15489 echo "$as_me: failed program was:" >&5
15490 sed 's/^/| /' conftest.
$ac_ext >&5
15492 cat >conftest.
$ac_ext <<_ACEOF
15493 #line $LINENO "configure"
15496 cat confdefs.h
>>conftest.
$ac_ext
15497 cat >>conftest.
$ac_ext <<_ACEOF
15498 /* end confdefs.h. */
15499 $ac_includes_default
15503 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15510 rm -f conftest.
$ac_objext
15511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15512 (eval $ac_compile) 2>&5
15514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15515 (exit $ac_status); } &&
15516 { ac_try
='test -s conftest.$ac_objext'
15517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15518 (eval $ac_try) 2>&5
15520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15521 (exit $ac_status); }; }; then
15524 cat >conftest.
$ac_ext <<_ACEOF
15525 #line $LINENO "configure"
15528 cat confdefs.h
>>conftest.
$ac_ext
15529 cat >>conftest.
$ac_ext <<_ACEOF
15530 /* end confdefs.h. */
15531 $ac_includes_default
15535 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15542 rm -f conftest.
$ac_objext
15543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15544 (eval $ac_compile) 2>&5
15546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15547 (exit $ac_status); } &&
15548 { ac_try
='test -s conftest.$ac_objext'
15549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15550 (eval $ac_try) 2>&5
15552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15553 (exit $ac_status); }; }; then
15554 ac_lo
=$ac_mid; break
15556 echo "$as_me: failed program was:" >&5
15557 sed 's/^/| /' conftest.
$ac_ext >&5
15559 ac_hi
=`expr '(' $ac_mid ')' - 1`
15560 if test $ac_mid -le $ac_hi; then
15564 ac_mid
=`expr 2 '*' $ac_mid`
15566 rm -f conftest.
$ac_objext conftest.
$ac_ext
15569 echo "$as_me: failed program was:" >&5
15570 sed 's/^/| /' conftest.
$ac_ext >&5
15574 rm -f conftest.
$ac_objext conftest.
$ac_ext
15576 rm -f conftest.
$ac_objext conftest.
$ac_ext
15577 # Binary search between lo and hi bounds.
15578 while test "x$ac_lo" != "x$ac_hi"; do
15579 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15580 cat >conftest.
$ac_ext <<_ACEOF
15581 #line $LINENO "configure"
15584 cat confdefs.h
>>conftest.
$ac_ext
15585 cat >>conftest.
$ac_ext <<_ACEOF
15586 /* end confdefs.h. */
15587 $ac_includes_default
15591 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15598 rm -f conftest.
$ac_objext
15599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15600 (eval $ac_compile) 2>&5
15602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15603 (exit $ac_status); } &&
15604 { ac_try
='test -s conftest.$ac_objext'
15605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15606 (eval $ac_try) 2>&5
15608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15609 (exit $ac_status); }; }; then
15612 echo "$as_me: failed program was:" >&5
15613 sed 's/^/| /' conftest.
$ac_ext >&5
15615 ac_lo
=`expr '(' $ac_mid ')' + 1`
15617 rm -f conftest.
$ac_objext conftest.
$ac_ext
15620 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
15621 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15622 See \`config.log' for more details." >&5
15623 echo "$as_me: error: cannot compute sizeof (long long), 77
15624 See \`config.log' for more details." >&2;}
15625 { (exit 1); exit 1; }; } ;;
15628 if test "$cross_compiling" = yes; then
15629 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15630 See \`config.log' for more details." >&5
15631 echo "$as_me: error: cannot run test program while cross compiling
15632 See \`config.log' for more details." >&2;}
15633 { (exit 1); exit 1; }; }
15635 cat >conftest.
$ac_ext <<_ACEOF
15636 #line $LINENO "configure"
15639 cat confdefs.h
>>conftest.
$ac_ext
15640 cat >>conftest.
$ac_ext <<_ACEOF
15641 /* end confdefs.h. */
15642 $ac_includes_default
15643 long longval () { return (long) (sizeof (long long)); }
15644 unsigned long ulongval () { return (long) (sizeof (long long)); }
15646 #include <stdlib.h>
15651 FILE *f = fopen ("conftest.val", "w");
15654 if (((long) (sizeof (long long))) < 0)
15656 long i = longval ();
15657 if (i != ((long) (sizeof (long long))))
15659 fprintf (f, "%ld\n", i);
15663 unsigned long i = ulongval ();
15664 if (i != ((long) (sizeof (long long))))
15666 fprintf (f, "%lu\n", i);
15668 exit (ferror (f) || fclose (f) != 0);
15674 rm -f conftest
$ac_exeext
15675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15676 (eval $ac_link) 2>&5
15678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15679 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15681 (eval $ac_try) 2>&5
15683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15684 (exit $ac_status); }; }; then
15685 ac_cv_sizeof_long_long
=`cat conftest.val`
15687 echo "$as_me: program exited with status $ac_status" >&5
15688 echo "$as_me: failed program was:" >&5
15689 sed 's/^/| /' conftest.
$ac_ext >&5
15691 ( exit $ac_status )
15692 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15693 See \`config.log' for more details." >&5
15694 echo "$as_me: error: cannot compute sizeof (long long), 77
15695 See \`config.log' for more details." >&2;}
15696 { (exit 1); exit 1; }; }
15698 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15703 ac_cv_sizeof_long_long
=0
15706 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
15707 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
15708 cat >>confdefs.h
<<_ACEOF
15709 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15715 echo "$as_me:$LINENO: checking for long long" >&5
15716 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15717 if test "${ac_cv_type_long_long+set}" = set; then
15718 echo $ECHO_N "(cached) $ECHO_C" >&6
15720 cat >conftest.
$ac_ext <<_ACEOF
15721 #line $LINENO "configure"
15724 cat confdefs.h
>>conftest.
$ac_ext
15725 cat >>conftest.
$ac_ext <<_ACEOF
15726 /* end confdefs.h. */
15727 $ac_includes_default
15731 if ((long long *) 0)
15733 if (sizeof (long long))
15739 rm -f conftest.
$ac_objext
15740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15741 (eval $ac_compile) 2>&5
15743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15744 (exit $ac_status); } &&
15745 { ac_try
='test -s conftest.$ac_objext'
15746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15747 (eval $ac_try) 2>&5
15749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15750 (exit $ac_status); }; }; then
15751 ac_cv_type_long_long
=yes
15753 echo "$as_me: failed program was:" >&5
15754 sed 's/^/| /' conftest.
$ac_ext >&5
15756 ac_cv_type_long_long
=no
15758 rm -f conftest.
$ac_objext conftest.
$ac_ext
15760 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15761 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15763 echo "$as_me:$LINENO: checking size of long long" >&5
15764 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15765 if test "${ac_cv_sizeof_long_long+set}" = set; then
15766 echo $ECHO_N "(cached) $ECHO_C" >&6
15768 if test "$ac_cv_type_long_long" = yes; then
15769 # The cast to unsigned long works around a bug in the HP C Compiler
15770 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15771 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15772 # This bug is HP SR number 8606223364.
15773 if test "$cross_compiling" = yes; then
15774 # Depending upon the size, compute the lo and hi bounds.
15775 cat >conftest.
$ac_ext <<_ACEOF
15776 #line $LINENO "configure"
15779 cat confdefs.h
>>conftest.
$ac_ext
15780 cat >>conftest.
$ac_ext <<_ACEOF
15781 /* end confdefs.h. */
15782 $ac_includes_default
15786 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15793 rm -f conftest.
$ac_objext
15794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15795 (eval $ac_compile) 2>&5
15797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15798 (exit $ac_status); } &&
15799 { ac_try
='test -s conftest.$ac_objext'
15800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15801 (eval $ac_try) 2>&5
15803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15804 (exit $ac_status); }; }; then
15807 cat >conftest.
$ac_ext <<_ACEOF
15808 #line $LINENO "configure"
15811 cat confdefs.h
>>conftest.
$ac_ext
15812 cat >>conftest.
$ac_ext <<_ACEOF
15813 /* end confdefs.h. */
15814 $ac_includes_default
15818 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15825 rm -f conftest.
$ac_objext
15826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15827 (eval $ac_compile) 2>&5
15829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15830 (exit $ac_status); } &&
15831 { ac_try
='test -s conftest.$ac_objext'
15832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15833 (eval $ac_try) 2>&5
15835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15836 (exit $ac_status); }; }; then
15837 ac_hi
=$ac_mid; break
15839 echo "$as_me: failed program was:" >&5
15840 sed 's/^/| /' conftest.
$ac_ext >&5
15842 ac_lo
=`expr $ac_mid + 1`
15843 if test $ac_lo -le $ac_mid; then
15847 ac_mid
=`expr 2 '*' $ac_mid + 1`
15849 rm -f conftest.
$ac_objext conftest.
$ac_ext
15852 echo "$as_me: failed program was:" >&5
15853 sed 's/^/| /' conftest.
$ac_ext >&5
15855 cat >conftest.
$ac_ext <<_ACEOF
15856 #line $LINENO "configure"
15859 cat confdefs.h
>>conftest.
$ac_ext
15860 cat >>conftest.
$ac_ext <<_ACEOF
15861 /* end confdefs.h. */
15862 $ac_includes_default
15866 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15873 rm -f conftest.
$ac_objext
15874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15875 (eval $ac_compile) 2>&5
15877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15878 (exit $ac_status); } &&
15879 { ac_try
='test -s conftest.$ac_objext'
15880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15881 (eval $ac_try) 2>&5
15883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15884 (exit $ac_status); }; }; then
15887 cat >conftest.
$ac_ext <<_ACEOF
15888 #line $LINENO "configure"
15891 cat confdefs.h
>>conftest.
$ac_ext
15892 cat >>conftest.
$ac_ext <<_ACEOF
15893 /* end confdefs.h. */
15894 $ac_includes_default
15898 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15905 rm -f conftest.
$ac_objext
15906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15907 (eval $ac_compile) 2>&5
15909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15910 (exit $ac_status); } &&
15911 { ac_try
='test -s conftest.$ac_objext'
15912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15913 (eval $ac_try) 2>&5
15915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15916 (exit $ac_status); }; }; then
15917 ac_lo
=$ac_mid; break
15919 echo "$as_me: failed program was:" >&5
15920 sed 's/^/| /' conftest.
$ac_ext >&5
15922 ac_hi
=`expr '(' $ac_mid ')' - 1`
15923 if test $ac_mid -le $ac_hi; then
15927 ac_mid
=`expr 2 '*' $ac_mid`
15929 rm -f conftest.
$ac_objext conftest.
$ac_ext
15932 echo "$as_me: failed program was:" >&5
15933 sed 's/^/| /' conftest.
$ac_ext >&5
15937 rm -f conftest.
$ac_objext conftest.
$ac_ext
15939 rm -f conftest.
$ac_objext conftest.
$ac_ext
15940 # Binary search between lo and hi bounds.
15941 while test "x$ac_lo" != "x$ac_hi"; do
15942 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15943 cat >conftest.
$ac_ext <<_ACEOF
15944 #line $LINENO "configure"
15947 cat confdefs.h
>>conftest.
$ac_ext
15948 cat >>conftest.
$ac_ext <<_ACEOF
15949 /* end confdefs.h. */
15950 $ac_includes_default
15954 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15961 rm -f conftest.
$ac_objext
15962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15963 (eval $ac_compile) 2>&5
15965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15966 (exit $ac_status); } &&
15967 { ac_try
='test -s conftest.$ac_objext'
15968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15969 (eval $ac_try) 2>&5
15971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15972 (exit $ac_status); }; }; then
15975 echo "$as_me: failed program was:" >&5
15976 sed 's/^/| /' conftest.
$ac_ext >&5
15978 ac_lo
=`expr '(' $ac_mid ')' + 1`
15980 rm -f conftest.
$ac_objext conftest.
$ac_ext
15983 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
15984 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15985 See \`config.log' for more details." >&5
15986 echo "$as_me: error: cannot compute sizeof (long long), 77
15987 See \`config.log' for more details." >&2;}
15988 { (exit 1); exit 1; }; } ;;
15991 if test "$cross_compiling" = yes; then
15992 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15993 See \`config.log' for more details." >&5
15994 echo "$as_me: error: cannot run test program while cross compiling
15995 See \`config.log' for more details." >&2;}
15996 { (exit 1); exit 1; }; }
15998 cat >conftest.
$ac_ext <<_ACEOF
15999 #line $LINENO "configure"
16002 cat confdefs.h
>>conftest.
$ac_ext
16003 cat >>conftest.
$ac_ext <<_ACEOF
16004 /* end confdefs.h. */
16005 $ac_includes_default
16006 long longval () { return (long) (sizeof (long long)); }
16007 unsigned long ulongval () { return (long) (sizeof (long long)); }
16009 #include <stdlib.h>
16014 FILE *f = fopen ("conftest.val", "w");
16017 if (((long) (sizeof (long long))) < 0)
16019 long i = longval ();
16020 if (i != ((long) (sizeof (long long))))
16022 fprintf (f, "%ld\n", i);
16026 unsigned long i = ulongval ();
16027 if (i != ((long) (sizeof (long long))))
16029 fprintf (f, "%lu\n", i);
16031 exit (ferror (f) || fclose (f) != 0);
16037 rm -f conftest
$ac_exeext
16038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16039 (eval $ac_link) 2>&5
16041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16042 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16044 (eval $ac_try) 2>&5
16046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16047 (exit $ac_status); }; }; then
16048 ac_cv_sizeof_long_long
=`cat conftest.val`
16050 echo "$as_me: program exited with status $ac_status" >&5
16051 echo "$as_me: failed program was:" >&5
16052 sed 's/^/| /' conftest.
$ac_ext >&5
16054 ( exit $ac_status )
16055 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16056 See \`config.log' for more details." >&5
16057 echo "$as_me: error: cannot compute sizeof (long long), 77
16058 See \`config.log' for more details." >&2;}
16059 { (exit 1); exit 1; }; }
16061 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16066 ac_cv_sizeof_long_long
=0
16069 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16070 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16071 cat >>confdefs.h
<<_ACEOF
16072 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16076 if test "$ac_cv_sizeof_long_long" != "0"; then
16077 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
16081 echo "$as_me:$LINENO: checking for long long" >&5
16082 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16083 if test "${ac_cv_type_long_long+set}" = set; then
16084 echo $ECHO_N "(cached) $ECHO_C" >&6
16086 cat >conftest.
$ac_ext <<_ACEOF
16087 #line $LINENO "configure"
16090 cat confdefs.h
>>conftest.
$ac_ext
16091 cat >>conftest.
$ac_ext <<_ACEOF
16092 /* end confdefs.h. */
16093 $ac_includes_default
16097 if ((long long *) 0)
16099 if (sizeof (long long))
16105 rm -f conftest.
$ac_objext
16106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16107 (eval $ac_compile) 2>&5
16109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16110 (exit $ac_status); } &&
16111 { ac_try
='test -s conftest.$ac_objext'
16112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16113 (eval $ac_try) 2>&5
16115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16116 (exit $ac_status); }; }; then
16117 ac_cv_type_long_long
=yes
16119 echo "$as_me: failed program was:" >&5
16120 sed 's/^/| /' conftest.
$ac_ext >&5
16122 ac_cv_type_long_long
=no
16124 rm -f conftest.
$ac_objext conftest.
$ac_ext
16126 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16127 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16129 echo "$as_me:$LINENO: checking size of long long" >&5
16130 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16131 if test "${ac_cv_sizeof_long_long+set}" = set; then
16132 echo $ECHO_N "(cached) $ECHO_C" >&6
16134 if test "$ac_cv_type_long_long" = yes; then
16135 # The cast to unsigned long works around a bug in the HP C Compiler
16136 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16137 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16138 # This bug is HP SR number 8606223364.
16139 if test "$cross_compiling" = yes; then
16140 # Depending upon the size, compute the lo and hi bounds.
16141 cat >conftest.
$ac_ext <<_ACEOF
16142 #line $LINENO "configure"
16145 cat confdefs.h
>>conftest.
$ac_ext
16146 cat >>conftest.
$ac_ext <<_ACEOF
16147 /* end confdefs.h. */
16148 $ac_includes_default
16152 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16159 rm -f conftest.
$ac_objext
16160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16161 (eval $ac_compile) 2>&5
16163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16164 (exit $ac_status); } &&
16165 { ac_try
='test -s conftest.$ac_objext'
16166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16167 (eval $ac_try) 2>&5
16169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16170 (exit $ac_status); }; }; then
16173 cat >conftest.
$ac_ext <<_ACEOF
16174 #line $LINENO "configure"
16177 cat confdefs.h
>>conftest.
$ac_ext
16178 cat >>conftest.
$ac_ext <<_ACEOF
16179 /* end confdefs.h. */
16180 $ac_includes_default
16184 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16191 rm -f conftest.
$ac_objext
16192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16193 (eval $ac_compile) 2>&5
16195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16196 (exit $ac_status); } &&
16197 { ac_try
='test -s conftest.$ac_objext'
16198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16199 (eval $ac_try) 2>&5
16201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16202 (exit $ac_status); }; }; then
16203 ac_hi
=$ac_mid; break
16205 echo "$as_me: failed program was:" >&5
16206 sed 's/^/| /' conftest.
$ac_ext >&5
16208 ac_lo
=`expr $ac_mid + 1`
16209 if test $ac_lo -le $ac_mid; then
16213 ac_mid
=`expr 2 '*' $ac_mid + 1`
16215 rm -f conftest.
$ac_objext conftest.
$ac_ext
16218 echo "$as_me: failed program was:" >&5
16219 sed 's/^/| /' conftest.
$ac_ext >&5
16221 cat >conftest.
$ac_ext <<_ACEOF
16222 #line $LINENO "configure"
16225 cat confdefs.h
>>conftest.
$ac_ext
16226 cat >>conftest.
$ac_ext <<_ACEOF
16227 /* end confdefs.h. */
16228 $ac_includes_default
16232 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16239 rm -f conftest.
$ac_objext
16240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16241 (eval $ac_compile) 2>&5
16243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16244 (exit $ac_status); } &&
16245 { ac_try
='test -s conftest.$ac_objext'
16246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16247 (eval $ac_try) 2>&5
16249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16250 (exit $ac_status); }; }; then
16253 cat >conftest.
$ac_ext <<_ACEOF
16254 #line $LINENO "configure"
16257 cat confdefs.h
>>conftest.
$ac_ext
16258 cat >>conftest.
$ac_ext <<_ACEOF
16259 /* end confdefs.h. */
16260 $ac_includes_default
16264 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16271 rm -f conftest.
$ac_objext
16272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16273 (eval $ac_compile) 2>&5
16275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16276 (exit $ac_status); } &&
16277 { ac_try
='test -s conftest.$ac_objext'
16278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16279 (eval $ac_try) 2>&5
16281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16282 (exit $ac_status); }; }; then
16283 ac_lo
=$ac_mid; break
16285 echo "$as_me: failed program was:" >&5
16286 sed 's/^/| /' conftest.
$ac_ext >&5
16288 ac_hi
=`expr '(' $ac_mid ')' - 1`
16289 if test $ac_mid -le $ac_hi; then
16293 ac_mid
=`expr 2 '*' $ac_mid`
16295 rm -f conftest.
$ac_objext conftest.
$ac_ext
16298 echo "$as_me: failed program was:" >&5
16299 sed 's/^/| /' conftest.
$ac_ext >&5
16303 rm -f conftest.
$ac_objext conftest.
$ac_ext
16305 rm -f conftest.
$ac_objext conftest.
$ac_ext
16306 # Binary search between lo and hi bounds.
16307 while test "x$ac_lo" != "x$ac_hi"; do
16308 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16309 cat >conftest.
$ac_ext <<_ACEOF
16310 #line $LINENO "configure"
16313 cat confdefs.h
>>conftest.
$ac_ext
16314 cat >>conftest.
$ac_ext <<_ACEOF
16315 /* end confdefs.h. */
16316 $ac_includes_default
16320 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16327 rm -f conftest.
$ac_objext
16328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16329 (eval $ac_compile) 2>&5
16331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16332 (exit $ac_status); } &&
16333 { ac_try
='test -s conftest.$ac_objext'
16334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16335 (eval $ac_try) 2>&5
16337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16338 (exit $ac_status); }; }; then
16341 echo "$as_me: failed program was:" >&5
16342 sed 's/^/| /' conftest.
$ac_ext >&5
16344 ac_lo
=`expr '(' $ac_mid ')' + 1`
16346 rm -f conftest.
$ac_objext conftest.
$ac_ext
16349 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
16350 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16351 See \`config.log' for more details." >&5
16352 echo "$as_me: error: cannot compute sizeof (long long), 77
16353 See \`config.log' for more details." >&2;}
16354 { (exit 1); exit 1; }; } ;;
16357 if test "$cross_compiling" = yes; then
16358 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16359 See \`config.log' for more details." >&5
16360 echo "$as_me: error: cannot run test program while cross compiling
16361 See \`config.log' for more details." >&2;}
16362 { (exit 1); exit 1; }; }
16364 cat >conftest.
$ac_ext <<_ACEOF
16365 #line $LINENO "configure"
16368 cat confdefs.h
>>conftest.
$ac_ext
16369 cat >>conftest.
$ac_ext <<_ACEOF
16370 /* end confdefs.h. */
16371 $ac_includes_default
16372 long longval () { return (long) (sizeof (long long)); }
16373 unsigned long ulongval () { return (long) (sizeof (long long)); }
16375 #include <stdlib.h>
16380 FILE *f = fopen ("conftest.val", "w");
16383 if (((long) (sizeof (long long))) < 0)
16385 long i = longval ();
16386 if (i != ((long) (sizeof (long long))))
16388 fprintf (f, "%ld\n", i);
16392 unsigned long i = ulongval ();
16393 if (i != ((long) (sizeof (long long))))
16395 fprintf (f, "%lu\n", i);
16397 exit (ferror (f) || fclose (f) != 0);
16403 rm -f conftest
$ac_exeext
16404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16405 (eval $ac_link) 2>&5
16407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16408 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16410 (eval $ac_try) 2>&5
16412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16413 (exit $ac_status); }; }; then
16414 ac_cv_sizeof_long_long
=`cat conftest.val`
16416 echo "$as_me: program exited with status $ac_status" >&5
16417 echo "$as_me: failed program was:" >&5
16418 sed 's/^/| /' conftest.
$ac_ext >&5
16420 ( exit $ac_status )
16421 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16422 See \`config.log' for more details." >&5
16423 echo "$as_me: error: cannot compute sizeof (long long), 77
16424 See \`config.log' for more details." >&2;}
16425 { (exit 1); exit 1; }; }
16427 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16432 ac_cv_sizeof_long_long
=0
16435 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16436 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16437 cat >>confdefs.h
<<_ACEOF
16438 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16444 echo "$as_me:$LINENO: checking size of wchar_t" >&5
16445 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
16446 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
16447 echo $ECHO_N "(cached) $ECHO_C" >&6
16450 if test "$cross_compiling" = yes; then
16454 wx_cv_sizeof_wchar_t
=0
16457 wx_cv_sizeof_wchar_t
=4
16463 cat >conftest.
$ac_ext <<_ACEOF
16464 #line $LINENO "configure"
16467 cat confdefs.h
>>conftest.
$ac_ext
16468 cat >>conftest.
$ac_ext <<_ACEOF
16469 /* end confdefs.h. */
16471 /* DJGPP only has fake wchar_t: */
16473 # error "fake wchar_t"
16475 #ifdef HAVE_WCHAR_H
16477 # include <stddef.h>
16479 # include <wchar.h>
16481 #ifdef HAVE_STDLIB_H
16482 # include <stdlib.h>
16487 FILE *f=fopen("conftestval", "w");
16489 fprintf(f, "%i", sizeof(wchar_t));
16494 rm -f conftest
$ac_exeext
16495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16496 (eval $ac_link) 2>&5
16498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16499 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16501 (eval $ac_try) 2>&5
16503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16504 (exit $ac_status); }; }; then
16505 wx_cv_sizeof_wchar_t
=`cat conftestval`
16507 echo "$as_me: program exited with status $ac_status" >&5
16508 echo "$as_me: failed program was:" >&5
16509 sed 's/^/| /' conftest.
$ac_ext >&5
16511 ( exit $ac_status )
16512 wx_cv_sizeof_wchar_t
=0
16514 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16518 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
16519 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
16521 cat >>confdefs.h
<<_ACEOF
16522 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
16526 # Check whether --enable-largefile or --disable-largefile was given.
16527 if test "${enable_largefile+set}" = set; then
16528 enableval
="$enable_largefile"
16531 if test "$enable_largefile" != no
; then
16534 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16535 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
16536 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
16537 echo $ECHO_N "(cached) $ECHO_C" >&6
16540 cat >conftest.
$ac_ext <<_ACEOF
16541 #line $LINENO "configure"
16544 cat confdefs.h
>>conftest.
$ac_ext
16545 cat >>conftest.
$ac_ext <<_ACEOF
16546 /* end confdefs.h. */
16547 #define _FILE_OFFSET_BITS 64
16548 #include <sys/types.h>
16553 unsigned int field: sizeof(off_t) == 8;
16560 rm -f conftest.
$ac_objext
16561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16562 (eval $ac_compile) 2>&5
16564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16565 (exit $ac_status); } &&
16566 { ac_try
='test -s conftest.$ac_objext'
16567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16568 (eval $ac_try) 2>&5
16570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16571 (exit $ac_status); }; }; then
16572 ac_cv_sys_file_offset_bits
=64
16574 echo "$as_me: failed program was:" >&5
16575 sed 's/^/| /' conftest.
$ac_ext >&5
16577 ac_cv_sys_file_offset_bits
=no
16579 rm -f conftest.
$ac_objext conftest.
$ac_ext
16583 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
16584 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
16586 if test "$ac_cv_sys_file_offset_bits" != no
; then
16588 cat >>confdefs.h
<<_ACEOF
16589 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16594 if test "x$wx_largefile" != "xyes"; then
16596 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
16597 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
16598 if test "${ac_cv_sys_large_files+set}" = set; then
16599 echo $ECHO_N "(cached) $ECHO_C" >&6
16602 cat >conftest.
$ac_ext <<_ACEOF
16603 #line $LINENO "configure"
16606 cat confdefs.h
>>conftest.
$ac_ext
16607 cat >>conftest.
$ac_ext <<_ACEOF
16608 /* end confdefs.h. */
16609 #define _LARGE_FILES 1
16610 #include <sys/types.h>
16615 unsigned int field: sizeof(off_t) == 8;
16622 rm -f conftest.
$ac_objext
16623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16624 (eval $ac_compile) 2>&5
16626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16627 (exit $ac_status); } &&
16628 { ac_try
='test -s conftest.$ac_objext'
16629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16630 (eval $ac_try) 2>&5
16632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16633 (exit $ac_status); }; }; then
16634 ac_cv_sys_large_files
=1
16636 echo "$as_me: failed program was:" >&5
16637 sed 's/^/| /' conftest.
$ac_ext >&5
16639 ac_cv_sys_large_files
=no
16641 rm -f conftest.
$ac_objext conftest.
$ac_ext
16645 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
16646 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
16648 if test "$ac_cv_sys_large_files" != no
; then
16650 cat >>confdefs.h
<<_ACEOF
16651 #define _LARGE_FILES $ac_cv_sys_large_files
16658 echo "$as_me:$LINENO: checking if large file support is available" >&5
16659 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
16660 if test "x$wx_largefile" = "xyes"; then
16661 cat >>confdefs.h
<<\_ACEOF
16662 #define HAVE_LARGEFILE_SUPPORT 1
16666 echo "$as_me:$LINENO: result: $wx_largefile" >&5
16667 echo "${ECHO_T}$wx_largefile" >&6
16671 if test "x$wx_largefile" = "xyes"; then
16672 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
16673 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
16675 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
16677 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
16680 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16681 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16682 if test "${ac_cv_c_bigendian+set}" = set; then
16683 echo $ECHO_N "(cached) $ECHO_C" >&6
16685 ac_cv_c_bigendian
=unknown
16686 # See if sys/param.h defines the BYTE_ORDER macro.
16687 cat >conftest.
$ac_ext <<_ACEOF
16688 #line $LINENO "configure"
16691 cat confdefs.h
>>conftest.
$ac_ext
16692 cat >>conftest.
$ac_ext <<_ACEOF
16693 /* end confdefs.h. */
16694 #include <sys/types.h>
16695 #include <sys/param.h>
16700 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16701 bogus endian macros
16707 rm -f conftest.
$ac_objext
16708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16709 (eval $ac_compile) 2>&5
16711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16712 (exit $ac_status); } &&
16713 { ac_try
='test -s conftest.$ac_objext'
16714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16715 (eval $ac_try) 2>&5
16717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16718 (exit $ac_status); }; }; then
16719 # It does; now see whether it defined to BIG_ENDIAN or not.
16720 cat >conftest.
$ac_ext <<_ACEOF
16721 #line $LINENO "configure"
16724 cat confdefs.h
>>conftest.
$ac_ext
16725 cat >>conftest.
$ac_ext <<_ACEOF
16726 /* end confdefs.h. */
16727 #include <sys/types.h>
16728 #include <sys/param.h>
16733 #if BYTE_ORDER != BIG_ENDIAN
16740 rm -f conftest.
$ac_objext
16741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16742 (eval $ac_compile) 2>&5
16744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16745 (exit $ac_status); } &&
16746 { ac_try
='test -s conftest.$ac_objext'
16747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16748 (eval $ac_try) 2>&5
16750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16751 (exit $ac_status); }; }; then
16752 ac_cv_c_bigendian
=yes
16754 echo "$as_me: failed program was:" >&5
16755 sed 's/^/| /' conftest.
$ac_ext >&5
16757 ac_cv_c_bigendian
=no
16759 rm -f conftest.
$ac_objext conftest.
$ac_ext
16761 echo "$as_me: failed program was:" >&5
16762 sed 's/^/| /' conftest.
$ac_ext >&5
16765 rm -f conftest.
$ac_objext conftest.
$ac_ext
16766 if test $ac_cv_c_bigendian = unknown
; then
16767 if test "$cross_compiling" = yes; then
16768 ac_cv_c_bigendian
=unknown
16770 cat >conftest.
$ac_ext <<_ACEOF
16771 #line $LINENO "configure"
16774 cat confdefs.h
>>conftest.
$ac_ext
16775 cat >>conftest.
$ac_ext <<_ACEOF
16776 /* end confdefs.h. */
16778 /* Are we little or big endian? From Harbison&Steele. */
16782 char c[sizeof (long)];
16785 exit (u.c[sizeof (long) - 1] == 1);
16788 rm -f conftest
$ac_exeext
16789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16790 (eval $ac_link) 2>&5
16792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16793 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16795 (eval $ac_try) 2>&5
16797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16798 (exit $ac_status); }; }; then
16799 ac_cv_c_bigendian
=no
16801 echo "$as_me: program exited with status $ac_status" >&5
16802 echo "$as_me: failed program was:" >&5
16803 sed 's/^/| /' conftest.
$ac_ext >&5
16805 ( exit $ac_status )
16806 ac_cv_c_bigendian
=yes
16808 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16812 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
16813 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
16814 if test $ac_cv_c_bigendian = unknown
; then
16815 { 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
16816 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;}
16818 if test $ac_cv_c_bigendian = yes; then
16819 cat >>confdefs.h
<<\_ACEOF
16820 #define WORDS_BIGENDIAN 1
16828 ac_cpp
='$CXXCPP $CPPFLAGS'
16829 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16830 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16831 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16832 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16833 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16834 if test -z "$CXXCPP"; then
16835 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16836 echo $ECHO_N "(cached) $ECHO_C" >&6
16838 # Double quotes because CXXCPP needs to be expanded
16839 for CXXCPP
in "$CXX -E" "/lib/cpp"
16841 ac_preproc_ok
=false
16842 for ac_cxx_preproc_warn_flag
in '' yes
16844 # Use a header file that comes with gcc, so configuring glibc
16845 # with a fresh cross-compiler works.
16846 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16847 # <limits.h> exists even on freestanding compilers.
16848 # On the NeXT, cc -E runs the code through the compiler's parser,
16849 # not just through cpp. "Syntax error" is here to catch this case.
16850 cat >conftest.
$ac_ext <<_ACEOF
16851 #line $LINENO "configure"
16854 cat confdefs.h
>>conftest.
$ac_ext
16855 cat >>conftest.
$ac_ext <<_ACEOF
16856 /* end confdefs.h. */
16858 # include <limits.h>
16860 # include <assert.h>
16864 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16865 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16867 grep -v '^ *+' conftest.er1
>conftest.err
16869 cat conftest.err
>&5
16870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16871 (exit $ac_status); } >/dev
/null
; then
16872 if test -s conftest.err
; then
16873 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16880 if test -z "$ac_cpp_err"; then
16883 echo "$as_me: failed program was:" >&5
16884 sed 's/^/| /' conftest.
$ac_ext >&5
16886 # Broken: fails on valid input.
16889 rm -f conftest.err conftest.
$ac_ext
16891 # OK, works on sane cases. Now check whether non-existent headers
16892 # can be detected and how.
16893 cat >conftest.
$ac_ext <<_ACEOF
16894 #line $LINENO "configure"
16897 cat confdefs.h
>>conftest.
$ac_ext
16898 cat >>conftest.
$ac_ext <<_ACEOF
16899 /* end confdefs.h. */
16900 #include <ac_nonexistent.h>
16902 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16903 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16905 grep -v '^ *+' conftest.er1
>conftest.err
16907 cat conftest.err
>&5
16908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16909 (exit $ac_status); } >/dev
/null
; then
16910 if test -s conftest.err
; then
16911 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16918 if test -z "$ac_cpp_err"; then
16919 # Broken: success on invalid input.
16922 echo "$as_me: failed program was:" >&5
16923 sed 's/^/| /' conftest.
$ac_ext >&5
16925 # Passes both tests.
16929 rm -f conftest.err conftest.
$ac_ext
16932 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16933 rm -f conftest.err conftest.
$ac_ext
16934 if $ac_preproc_ok; then
16939 ac_cv_prog_CXXCPP
=$CXXCPP
16942 CXXCPP
=$ac_cv_prog_CXXCPP
16944 ac_cv_prog_CXXCPP
=$CXXCPP
16946 echo "$as_me:$LINENO: result: $CXXCPP" >&5
16947 echo "${ECHO_T}$CXXCPP" >&6
16948 ac_preproc_ok
=false
16949 for ac_cxx_preproc_warn_flag
in '' yes
16951 # Use a header file that comes with gcc, so configuring glibc
16952 # with a fresh cross-compiler works.
16953 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16954 # <limits.h> exists even on freestanding compilers.
16955 # On the NeXT, cc -E runs the code through the compiler's parser,
16956 # not just through cpp. "Syntax error" is here to catch this case.
16957 cat >conftest.
$ac_ext <<_ACEOF
16958 #line $LINENO "configure"
16961 cat confdefs.h
>>conftest.
$ac_ext
16962 cat >>conftest.
$ac_ext <<_ACEOF
16963 /* end confdefs.h. */
16965 # include <limits.h>
16967 # include <assert.h>
16971 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16972 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16974 grep -v '^ *+' conftest.er1
>conftest.err
16976 cat conftest.err
>&5
16977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16978 (exit $ac_status); } >/dev
/null
; then
16979 if test -s conftest.err
; then
16980 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16987 if test -z "$ac_cpp_err"; then
16990 echo "$as_me: failed program was:" >&5
16991 sed 's/^/| /' conftest.
$ac_ext >&5
16993 # Broken: fails on valid input.
16996 rm -f conftest.err conftest.
$ac_ext
16998 # OK, works on sane cases. Now check whether non-existent headers
16999 # can be detected and how.
17000 cat >conftest.
$ac_ext <<_ACEOF
17001 #line $LINENO "configure"
17004 cat confdefs.h
>>conftest.
$ac_ext
17005 cat >>conftest.
$ac_ext <<_ACEOF
17006 /* end confdefs.h. */
17007 #include <ac_nonexistent.h>
17009 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17010 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17012 grep -v '^ *+' conftest.er1
>conftest.err
17014 cat conftest.err
>&5
17015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17016 (exit $ac_status); } >/dev
/null
; then
17017 if test -s conftest.err
; then
17018 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17025 if test -z "$ac_cpp_err"; then
17026 # Broken: success on invalid input.
17029 echo "$as_me: failed program was:" >&5
17030 sed 's/^/| /' conftest.
$ac_ext >&5
17032 # Passes both tests.
17036 rm -f conftest.err conftest.
$ac_ext
17039 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17040 rm -f conftest.err conftest.
$ac_ext
17041 if $ac_preproc_ok; then
17044 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17045 See \`config.log' for more details." >&5
17046 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17047 See \`config.log' for more details." >&2;}
17048 { (exit 1); exit 1; }; }
17052 ac_cpp
='$CXXCPP $CPPFLAGS'
17053 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17054 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17055 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17059 if test "$cross_compiling" = "yes"; then
17060 cat >>confdefs.h
<<\_ACEOF
17061 #define wxUSE_IOSTREAMH 1
17068 ac_cpp
='$CXXCPP $CPPFLAGS'
17069 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17070 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17071 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17075 for ac_header
in iostream
17077 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17078 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17079 echo "$as_me:$LINENO: checking for $ac_header" >&5
17080 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17081 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17082 echo $ECHO_N "(cached) $ECHO_C" >&6
17084 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17085 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17087 # Is the header compilable?
17088 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17089 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17090 cat >conftest.
$ac_ext <<_ACEOF
17091 #line $LINENO "configure"
17094 cat confdefs.h
>>conftest.
$ac_ext
17095 cat >>conftest.
$ac_ext <<_ACEOF
17096 /* end confdefs.h. */
17097 $ac_includes_default
17098 #include <$ac_header>
17100 rm -f conftest.
$ac_objext
17101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17102 (eval $ac_compile) 2>&5
17104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17105 (exit $ac_status); } &&
17106 { ac_try
='test -s conftest.$ac_objext'
17107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17108 (eval $ac_try) 2>&5
17110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17111 (exit $ac_status); }; }; then
17112 ac_header_compiler
=yes
17114 echo "$as_me: failed program was:" >&5
17115 sed 's/^/| /' conftest.
$ac_ext >&5
17117 ac_header_compiler
=no
17119 rm -f conftest.
$ac_objext conftest.
$ac_ext
17120 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17121 echo "${ECHO_T}$ac_header_compiler" >&6
17123 # Is the header present?
17124 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17125 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17126 cat >conftest.
$ac_ext <<_ACEOF
17127 #line $LINENO "configure"
17130 cat confdefs.h
>>conftest.
$ac_ext
17131 cat >>conftest.
$ac_ext <<_ACEOF
17132 /* end confdefs.h. */
17133 #include <$ac_header>
17135 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17136 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17138 grep -v '^ *+' conftest.er1
>conftest.err
17140 cat conftest.err
>&5
17141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17142 (exit $ac_status); } >/dev
/null
; then
17143 if test -s conftest.err
; then
17144 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17151 if test -z "$ac_cpp_err"; then
17152 ac_header_preproc
=yes
17154 echo "$as_me: failed program was:" >&5
17155 sed 's/^/| /' conftest.
$ac_ext >&5
17157 ac_header_preproc
=no
17159 rm -f conftest.err conftest.
$ac_ext
17160 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17161 echo "${ECHO_T}$ac_header_preproc" >&6
17163 # So? What about this header?
17164 case $ac_header_compiler:$ac_header_preproc in
17166 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17167 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17168 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17169 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17172 ## ------------------------------------ ##
17173 ## Report this to bug-autoconf@gnu.org. ##
17174 ## ------------------------------------ ##
17177 sed "s/^/$as_me: WARNING: /" >&2
17180 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17181 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17182 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17183 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17184 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17185 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17188 ## ------------------------------------ ##
17189 ## Report this to bug-autoconf@gnu.org. ##
17190 ## ------------------------------------ ##
17193 sed "s/^/$as_me: WARNING: /" >&2
17196 echo "$as_me:$LINENO: checking for $ac_header" >&5
17197 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17198 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17199 echo $ECHO_N "(cached) $ECHO_C" >&6
17201 eval "$as_ac_Header=$ac_header_preproc"
17203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17204 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17207 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17208 cat >>confdefs.h
<<_ACEOF
17209 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17217 if test "$ac_cv_header_iostream" = "yes" ; then
17220 cat >>confdefs.h
<<\_ACEOF
17221 #define wxUSE_IOSTREAMH 1
17227 ac_cpp
='$CPP $CPPFLAGS'
17228 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17229 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17230 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17236 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
17237 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
17238 if test "${wx_cv_cpp_bool+set}" = set; then
17239 echo $ECHO_N "(cached) $ECHO_C" >&6
17245 ac_cpp
='$CXXCPP $CPPFLAGS'
17246 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17247 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17248 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17251 cat >conftest.
$ac_ext <<_ACEOF
17252 #line $LINENO "configure"
17255 cat confdefs.h
>>conftest.
$ac_ext
17256 cat >>conftest.
$ac_ext <<_ACEOF
17257 /* end confdefs.h. */
17272 rm -f conftest.
$ac_objext
17273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17274 (eval $ac_compile) 2>&5
17276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17277 (exit $ac_status); } &&
17278 { ac_try
='test -s conftest.$ac_objext'
17279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17280 (eval $ac_try) 2>&5
17282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17283 (exit $ac_status); }; }; then
17288 echo "$as_me: failed program was:" >&5
17289 sed 's/^/| /' conftest.
$ac_ext >&5
17296 rm -f conftest.
$ac_objext conftest.
$ac_ext
17299 ac_cpp
='$CPP $CPPFLAGS'
17300 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17301 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17302 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17306 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
17307 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
17309 if test "$wx_cv_cpp_bool" = "yes"; then
17310 cat >>confdefs.h
<<\_ACEOF
17311 #define HAVE_BOOL 1
17318 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
17319 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
17320 if test "${wx_cv_explicit+set}" = set; then
17321 echo $ECHO_N "(cached) $ECHO_C" >&6
17327 ac_cpp
='$CXXCPP $CPPFLAGS'
17328 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17329 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17330 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17333 cat >conftest.
$ac_ext <<_ACEOF
17334 #line $LINENO "configure"
17337 cat confdefs.h
>>conftest.
$ac_ext
17338 cat >>conftest.
$ac_ext <<_ACEOF
17339 /* end confdefs.h. */
17341 class Foo { public: explicit Foo(int) {} };
17353 rm -f conftest.
$ac_objext
17354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17355 (eval $ac_compile) 2>&5
17357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17358 (exit $ac_status); } &&
17359 { ac_try
='test -s conftest.$ac_objext'
17360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17361 (eval $ac_try) 2>&5
17363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17364 (exit $ac_status); }; }; then
17366 cat >conftest.
$ac_ext <<_ACEOF
17367 #line $LINENO "configure"
17370 cat confdefs.h
>>conftest.
$ac_ext
17371 cat >>conftest.
$ac_ext <<_ACEOF
17372 /* end confdefs.h. */
17374 class Foo { public: explicit Foo(int) {} };
17375 static void TakeFoo(const Foo& foo) { }
17388 rm -f conftest.
$ac_objext
17389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17390 (eval $ac_compile) 2>&5
17392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17393 (exit $ac_status); } &&
17394 { ac_try
='test -s conftest.$ac_objext'
17395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17396 (eval $ac_try) 2>&5
17398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17399 (exit $ac_status); }; }; then
17402 echo "$as_me: failed program was:" >&5
17403 sed 's/^/| /' conftest.
$ac_ext >&5
17408 rm -f conftest.
$ac_objext conftest.
$ac_ext
17411 echo "$as_me: failed program was:" >&5
17412 sed 's/^/| /' conftest.
$ac_ext >&5
17417 rm -f conftest.
$ac_objext conftest.
$ac_ext
17420 ac_cpp
='$CPP $CPPFLAGS'
17421 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17422 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17423 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17427 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
17428 echo "${ECHO_T}$wx_cv_explicit" >&6
17430 if test "$wx_cv_explicit" = "yes"; then
17431 cat >>confdefs.h
<<\_ACEOF
17432 #define HAVE_EXPLICIT 1
17438 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
17439 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
17440 if test "${ac_cv_cxx_const_cast+set}" = set; then
17441 echo $ECHO_N "(cached) $ECHO_C" >&6
17446 ac_cpp
='$CXXCPP $CPPFLAGS'
17447 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17448 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17449 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17451 cat >conftest.
$ac_ext <<_ACEOF
17452 #line $LINENO "configure"
17455 cat confdefs.h
>>conftest.
$ac_ext
17456 cat >>conftest.
$ac_ext <<_ACEOF
17457 /* end confdefs.h. */
17462 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
17467 rm -f conftest.
$ac_objext
17468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17469 (eval $ac_compile) 2>&5
17471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17472 (exit $ac_status); } &&
17473 { ac_try
='test -s conftest.$ac_objext'
17474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17475 (eval $ac_try) 2>&5
17477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17478 (exit $ac_status); }; }; then
17479 ac_cv_cxx_const_cast
=yes
17481 echo "$as_me: failed program was:" >&5
17482 sed 's/^/| /' conftest.
$ac_ext >&5
17484 ac_cv_cxx_const_cast
=no
17486 rm -f conftest.
$ac_objext conftest.
$ac_ext
17488 ac_cpp
='$CPP $CPPFLAGS'
17489 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17490 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17491 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17495 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
17496 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
17497 if test "$ac_cv_cxx_const_cast" = yes; then
17499 cat >>confdefs.h
<<\_ACEOF
17500 #define HAVE_CONST_CAST
17506 if test "$wxUSE_STL" = "yes"; then
17508 ac_cpp
='$CXXCPP $CPPFLAGS'
17509 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17510 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17511 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17514 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
17515 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
17516 cat >conftest.
$ac_ext <<_ACEOF
17517 #line $LINENO "configure"
17520 cat confdefs.h
>>conftest.
$ac_ext
17521 cat >>conftest.
$ac_ext <<_ACEOF
17522 /* end confdefs.h. */
17524 #include <functional>
17525 #include <algorithm>
17531 std::vector<int> moo;
17532 std::list<int> foo;
17533 std::vector<int>::iterator it =
17534 std::find_if(moo.begin(), moo.end(),
17535 std::bind2nd(std::less<int>(), 3));
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
17555 echo "$as_me: failed program was:" >&5
17556 sed 's/^/| /' conftest.
$ac_ext >&5
17558 echo "$as_me:$LINENO: result: no" >&5
17559 echo "${ECHO_T}no" >&6
17560 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
17561 echo "$as_me: error: Basic STL functionality missing" >&2;}
17562 { (exit 1); exit 1; }; }
17564 rm -f conftest.
$ac_objext conftest.
$ac_ext
17566 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
17567 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
17568 cat >conftest.
$ac_ext <<_ACEOF
17569 #line $LINENO "configure"
17572 cat confdefs.h
>>conftest.
$ac_ext
17573 cat >>conftest.
$ac_ext <<_ACEOF
17574 /* end confdefs.h. */
17584 rm -f conftest.
$ac_objext
17585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17586 (eval $ac_compile) 2>&5
17588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17589 (exit $ac_status); } &&
17590 { ac_try
='test -s conftest.$ac_objext'
17591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17592 (eval $ac_try) 2>&5
17594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17595 (exit $ac_status); }; }; then
17596 echo "$as_me:$LINENO: result: yes" >&5
17597 echo "${ECHO_T}yes" >&6
17598 cat >>confdefs.h
<<\_ACEOF
17599 #define HAVE_STD_WSTRING 1
17603 echo "$as_me: failed program was:" >&5
17604 sed 's/^/| /' conftest.
$ac_ext >&5
17606 echo "$as_me:$LINENO: result: no" >&5
17607 echo "${ECHO_T}no" >&6
17609 rm -f conftest.
$ac_objext conftest.
$ac_ext
17611 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
17612 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
17613 cat >conftest.
$ac_ext <<_ACEOF
17614 #line $LINENO "configure"
17617 cat confdefs.h
>>conftest.
$ac_ext
17618 cat >>conftest.
$ac_ext <<_ACEOF
17619 /* end confdefs.h. */
17624 std::string foo, bar;
17626 foo.compare(1, 1, bar);
17627 foo.compare(1, 1, bar, 1, 1);
17629 foo.compare(1, 1, "");
17630 foo.compare(1, 1, "", 2);
17635 rm -f conftest.
$ac_objext
17636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17637 (eval $ac_compile) 2>&5
17639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17640 (exit $ac_status); } &&
17641 { ac_try
='test -s conftest.$ac_objext'
17642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17643 (eval $ac_try) 2>&5
17645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17646 (exit $ac_status); }; }; then
17647 echo "$as_me:$LINENO: result: yes" >&5
17648 echo "${ECHO_T}yes" >&6
17649 cat >>confdefs.h
<<\_ACEOF
17650 #define HAVE_STD_STRING_COMPARE 1
17654 echo "$as_me: failed program was:" >&5
17655 sed 's/^/| /' conftest.
$ac_ext >&5
17657 echo "$as_me:$LINENO: result: no" >&5
17658 echo "${ECHO_T}no" >&6
17660 rm -f conftest.
$ac_objext conftest.
$ac_ext
17663 ac_cpp
='$CPP $CPPFLAGS'
17664 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17665 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17666 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17672 /usr/local/include \
17674 /usr/Motif-1.2/include \
17675 /usr/Motif-2.1/include \
17677 /usr/include/Motif1.2 \
17678 /opt/xpm/include/X11 \
17679 /opt/GBxpm/include/ \
17680 /opt/GBxpm/X11/include/ \
17682 /usr/Motif1.2/include \
17684 /usr/openwin/include \
17688 /usr/X11R6/include \
17689 /usr/X11R6.4/include \
17690 /usr/X11R5/include \
17691 /usr/X11R4/include \
17693 /usr/include/X11R6 \
17694 /usr/include/X11R5 \
17695 /usr/include/X11R4 \
17697 /usr/local/X11R6/include \
17698 /usr/local/X11R5/include \
17699 /usr/local/X11R4/include \
17701 /usr/local/include/X11R6 \
17702 /usr/local/include/X11R5 \
17703 /usr/local/include/X11R4 \
17707 /usr/local/X11/include \
17708 /usr/local/include/X11 \
17710 /usr/X386/include \
17711 /usr/x386/include \
17712 /usr/XFree86/include/X11 \
17714 X:/XFree86/include \
17715 X:/XFree86/include/X11 \
17718 /usr/local/include/gtk \
17719 /usr/include/glib \
17720 /usr/local/include/glib \
17723 /usr/local/include/qt \
17725 /usr/include/windows \
17726 /usr/include/wine \
17727 /usr/local/include/wine \
17729 /usr/unsupported/include \
17730 /usr/athena/include \
17731 /usr/local/x11r5/include \
17732 /usr/lpp/Xamples/include \
17734 /usr/openwin/share/include"
17736 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
17739 cat >confcache
<<\_ACEOF
17740 # This file is a shell script that caches the results of configure
17741 # tests run on this system so they can be shared between configure
17742 # scripts and configure runs, see configure's option --config-cache.
17743 # It is not useful on other systems. If it contains results you don't
17744 # want to keep, you may remove or edit it.
17746 # config.status only pays attention to the cache file if you give it
17747 # the --recheck option to rerun configure.
17749 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17750 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17751 # following values.
17755 # The following way of writing the cache mishandles newlines in values,
17756 # but we know of no workaround that is simple, portable, and efficient.
17757 # So, don't put newlines in cache variables' values.
17758 # Ultrix sh set writes to stderr and can't be redirected directly,
17759 # and sets the high bit in the cache file unless we assign to the vars.
17762 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17764 # `set' does not quote correctly, so add quotes (double-quote
17765 # substitution turns \\\\ into \\, and sed turns \\ into \).
17768 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17771 # `set' quotes correctly as required by POSIX, so do not add quotes.
17773 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17780 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17782 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17784 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
17785 if test -w $cache_file; then
17786 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
17787 cat confcache
>$cache_file
17789 echo "not updating unwritable cache $cache_file"
17794 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
17795 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
17796 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
17797 if test "${wx_cv_lib_glibc21+set}" = set; then
17798 echo $ECHO_N "(cached) $ECHO_C" >&6
17801 cat >conftest.
$ac_ext <<_ACEOF
17802 #line $LINENO "configure"
17805 cat confdefs.h
>>conftest.
$ac_ext
17806 cat >>conftest.
$ac_ext <<_ACEOF
17807 /* end confdefs.h. */
17808 #include <features.h>
17813 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
17814 #error not glibc2.1
17821 rm -f conftest.
$ac_objext
17822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17823 (eval $ac_compile) 2>&5
17825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17826 (exit $ac_status); } &&
17827 { ac_try
='test -s conftest.$ac_objext'
17828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17829 (eval $ac_try) 2>&5
17831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17832 (exit $ac_status); }; }; then
17834 wx_cv_lib_glibc21
=yes
17837 echo "$as_me: failed program was:" >&5
17838 sed 's/^/| /' conftest.
$ac_ext >&5
17841 wx_cv_lib_glibc21
=no
17845 rm -f conftest.
$ac_objext conftest.
$ac_ext
17848 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
17849 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
17850 if test "$wx_cv_lib_glibc21" = "yes"; then
17851 cat >>confdefs.h
<<\_ACEOF
17852 #define wxHAVE_GLIBC2 1
17858 if test "x$wx_cv_lib_glibc21" = "xyes"; then
17859 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
17860 cat >>confdefs.h
<<\_ACEOF
17861 #define _GNU_SOURCE 1
17870 if test "$wxUSE_REGEX" != "no"; then
17871 cat >>confdefs.h
<<\_ACEOF
17872 #define wxUSE_REGEX 1
17876 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
17877 if test "${ac_cv_header_regex_h+set}" = set; then
17878 echo "$as_me:$LINENO: checking for regex.h" >&5
17879 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
17880 if test "${ac_cv_header_regex_h+set}" = set; then
17881 echo $ECHO_N "(cached) $ECHO_C" >&6
17883 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
17884 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
17886 # Is the header compilable?
17887 echo "$as_me:$LINENO: checking regex.h usability" >&5
17888 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
17889 cat >conftest.
$ac_ext <<_ACEOF
17890 #line $LINENO "configure"
17893 cat confdefs.h
>>conftest.
$ac_ext
17894 cat >>conftest.
$ac_ext <<_ACEOF
17895 /* end confdefs.h. */
17896 $ac_includes_default
17899 rm -f conftest.
$ac_objext
17900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17901 (eval $ac_compile) 2>&5
17903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17904 (exit $ac_status); } &&
17905 { ac_try
='test -s conftest.$ac_objext'
17906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17907 (eval $ac_try) 2>&5
17909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17910 (exit $ac_status); }; }; then
17911 ac_header_compiler
=yes
17913 echo "$as_me: failed program was:" >&5
17914 sed 's/^/| /' conftest.
$ac_ext >&5
17916 ac_header_compiler
=no
17918 rm -f conftest.
$ac_objext conftest.
$ac_ext
17919 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17920 echo "${ECHO_T}$ac_header_compiler" >&6
17922 # Is the header present?
17923 echo "$as_me:$LINENO: checking regex.h presence" >&5
17924 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
17925 cat >conftest.
$ac_ext <<_ACEOF
17926 #line $LINENO "configure"
17929 cat confdefs.h
>>conftest.
$ac_ext
17930 cat >>conftest.
$ac_ext <<_ACEOF
17931 /* end confdefs.h. */
17934 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17935 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17937 grep -v '^ *+' conftest.er1
>conftest.err
17939 cat conftest.err
>&5
17940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17941 (exit $ac_status); } >/dev
/null
; then
17942 if test -s conftest.err
; then
17943 ac_cpp_err
=$ac_c_preproc_warn_flag
17950 if test -z "$ac_cpp_err"; then
17951 ac_header_preproc
=yes
17953 echo "$as_me: failed program was:" >&5
17954 sed 's/^/| /' conftest.
$ac_ext >&5
17956 ac_header_preproc
=no
17958 rm -f conftest.err conftest.
$ac_ext
17959 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17960 echo "${ECHO_T}$ac_header_preproc" >&6
17962 # So? What about this header?
17963 case $ac_header_compiler:$ac_header_preproc in
17965 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
17966 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
17967 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
17968 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
17971 ## ------------------------------------ ##
17972 ## Report this to bug-autoconf@gnu.org. ##
17973 ## ------------------------------------ ##
17976 sed "s/^/$as_me: WARNING: /" >&2
17979 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
17980 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
17981 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
17982 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
17983 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
17984 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
17987 ## ------------------------------------ ##
17988 ## Report this to bug-autoconf@gnu.org. ##
17989 ## ------------------------------------ ##
17992 sed "s/^/$as_me: WARNING: /" >&2
17995 echo "$as_me:$LINENO: checking for regex.h" >&5
17996 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
17997 if test "${ac_cv_header_regex_h+set}" = set; then
17998 echo $ECHO_N "(cached) $ECHO_C" >&6
18000 ac_cv_header_regex_h
=$ac_header_preproc
18002 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18003 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18006 if test $ac_cv_header_regex_h = yes; then
18008 for ac_func
in regcomp
18010 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18011 echo "$as_me:$LINENO: checking for $ac_func" >&5
18012 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18013 if eval "test \"\${$as_ac_var+set}\" = set"; then
18014 echo $ECHO_N "(cached) $ECHO_C" >&6
18016 cat >conftest.
$ac_ext <<_ACEOF
18017 #line $LINENO "configure"
18020 cat confdefs.h
>>conftest.
$ac_ext
18021 cat >>conftest.
$ac_ext <<_ACEOF
18022 /* end confdefs.h. */
18023 /* System header to define __stub macros and hopefully few prototypes,
18024 which can conflict with char $ac_func (); below.
18025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18026 <limits.h> exists even on freestanding compilers. */
18028 # include <limits.h>
18030 # include <assert.h>
18032 /* Override any gcc2 internal prototype to avoid an error. */
18037 /* We use char because int might match the return type of a gcc2
18038 builtin and then its argument prototype would still apply. */
18040 /* The GNU C library defines this for functions which it implements
18041 to always fail with ENOSYS. Some functions are actually named
18042 something starting with __ and the normal name is an alias. */
18043 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18046 char (*f) () = $ac_func;
18055 return f != $ac_func;
18060 rm -f conftest.
$ac_objext conftest
$ac_exeext
18061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18062 (eval $ac_link) 2>&5
18064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18065 (exit $ac_status); } &&
18066 { ac_try
='test -s conftest$ac_exeext'
18067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18068 (eval $ac_try) 2>&5
18070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18071 (exit $ac_status); }; }; then
18072 eval "$as_ac_var=yes"
18074 echo "$as_me: failed program was:" >&5
18075 sed 's/^/| /' conftest.
$ac_ext >&5
18077 eval "$as_ac_var=no"
18079 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18082 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18083 if test `eval echo '${'$as_ac_var'}'` = yes; then
18084 cat >>confdefs.h
<<_ACEOF
18085 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18095 if test "x$ac_cv_func_regcomp" != "xyes"; then
18096 if test "$wxUSE_REGEX" = "sys" ; then
18097 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
18098 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
18099 { (exit 1); exit 1; }; }
18101 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
18102 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
18103 wxUSE_REGEX
=builtin
18110 if test "$wxUSE_REGEX" = "builtin" ; then
18111 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
18118 if test "$wxUSE_ZLIB" != "no" ; then
18119 cat >>confdefs.h
<<\_ACEOF
18120 #define wxUSE_ZLIB 1
18124 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
18125 if test "$USE_DARWIN" = 1; then
18126 system_zlib_h_ok
="yes"
18128 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
18129 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
18130 if test "${ac_cv_header_zlib_h+set}" = set; then
18131 echo $ECHO_N "(cached) $ECHO_C" >&6
18133 if test "$cross_compiling" = yes; then
18134 unset ac_cv_header_zlib_h
18137 cat >conftest.
$ac_ext <<_ACEOF
18138 #line $LINENO "configure"
18141 cat confdefs.h
>>conftest.
$ac_ext
18142 cat >>conftest.
$ac_ext <<_ACEOF
18143 /* end confdefs.h. */
18150 FILE *f=fopen("conftestval", "w");
18153 ZLIB_VERSION[0] == '1' &&
18154 (ZLIB_VERSION[2] > '1' ||
18155 (ZLIB_VERSION[2] == '1' &&
18156 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
18161 rm -f conftest
$ac_exeext
18162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18163 (eval $ac_link) 2>&5
18165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18166 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18168 (eval $ac_try) 2>&5
18170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18171 (exit $ac_status); }; }; then
18172 ac_cv_header_zlib_h
=`cat conftestval`
18174 echo "$as_me: program exited with status $ac_status" >&5
18175 echo "$as_me: failed program was:" >&5
18176 sed 's/^/| /' conftest.
$ac_ext >&5
18178 ( exit $ac_status )
18179 ac_cv_header_zlib_h
=no
18181 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18185 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18186 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18187 if test "${ac_cv_header_zlib_h+set}" = set; then
18188 echo "$as_me:$LINENO: checking for zlib.h" >&5
18189 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18190 if test "${ac_cv_header_zlib_h+set}" = set; then
18191 echo $ECHO_N "(cached) $ECHO_C" >&6
18193 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18194 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18196 # Is the header compilable?
18197 echo "$as_me:$LINENO: checking zlib.h usability" >&5
18198 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
18199 cat >conftest.
$ac_ext <<_ACEOF
18200 #line $LINENO "configure"
18203 cat confdefs.h
>>conftest.
$ac_ext
18204 cat >>conftest.
$ac_ext <<_ACEOF
18205 /* end confdefs.h. */
18206 $ac_includes_default
18209 rm -f conftest.
$ac_objext
18210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18211 (eval $ac_compile) 2>&5
18213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18214 (exit $ac_status); } &&
18215 { ac_try
='test -s conftest.$ac_objext'
18216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18217 (eval $ac_try) 2>&5
18219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18220 (exit $ac_status); }; }; then
18221 ac_header_compiler
=yes
18223 echo "$as_me: failed program was:" >&5
18224 sed 's/^/| /' conftest.
$ac_ext >&5
18226 ac_header_compiler
=no
18228 rm -f conftest.
$ac_objext conftest.
$ac_ext
18229 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18230 echo "${ECHO_T}$ac_header_compiler" >&6
18232 # Is the header present?
18233 echo "$as_me:$LINENO: checking zlib.h presence" >&5
18234 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
18235 cat >conftest.
$ac_ext <<_ACEOF
18236 #line $LINENO "configure"
18239 cat confdefs.h
>>conftest.
$ac_ext
18240 cat >>conftest.
$ac_ext <<_ACEOF
18241 /* end confdefs.h. */
18244 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18245 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18247 grep -v '^ *+' conftest.er1
>conftest.err
18249 cat conftest.err
>&5
18250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18251 (exit $ac_status); } >/dev
/null
; then
18252 if test -s conftest.err
; then
18253 ac_cpp_err
=$ac_c_preproc_warn_flag
18260 if test -z "$ac_cpp_err"; then
18261 ac_header_preproc
=yes
18263 echo "$as_me: failed program was:" >&5
18264 sed 's/^/| /' conftest.
$ac_ext >&5
18266 ac_header_preproc
=no
18268 rm -f conftest.err conftest.
$ac_ext
18269 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18270 echo "${ECHO_T}$ac_header_preproc" >&6
18272 # So? What about this header?
18273 case $ac_header_compiler:$ac_header_preproc in
18275 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
18276 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18277 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18278 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18281 ## ------------------------------------ ##
18282 ## Report this to bug-autoconf@gnu.org. ##
18283 ## ------------------------------------ ##
18286 sed "s/^/$as_me: WARNING: /" >&2
18289 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
18290 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
18291 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
18292 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
18293 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18294 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18297 ## ------------------------------------ ##
18298 ## Report this to bug-autoconf@gnu.org. ##
18299 ## ------------------------------------ ##
18302 sed "s/^/$as_me: WARNING: /" >&2
18305 echo "$as_me:$LINENO: checking for zlib.h" >&5
18306 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18307 if test "${ac_cv_header_zlib_h+set}" = set; then
18308 echo $ECHO_N "(cached) $ECHO_C" >&6
18310 ac_cv_header_zlib_h
=$ac_header_preproc
18312 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18313 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18319 system_zlib_h_ok
=$ac_cv_header_zlib_h
18322 if test "$system_zlib_h_ok" = "yes"; then
18323 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
18324 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
18325 if test "${ac_cv_lib_z_deflate+set}" = set; then
18326 echo $ECHO_N "(cached) $ECHO_C" >&6
18328 ac_check_lib_save_LIBS
=$LIBS
18330 cat >conftest.
$ac_ext <<_ACEOF
18331 #line $LINENO "configure"
18334 cat confdefs.h
>>conftest.
$ac_ext
18335 cat >>conftest.
$ac_ext <<_ACEOF
18336 /* end confdefs.h. */
18338 /* Override any gcc2 internal prototype to avoid an error. */
18342 /* We use char because int might match the return type of a gcc2
18343 builtin and then its argument prototype would still apply. */
18353 rm -f conftest.
$ac_objext conftest
$ac_exeext
18354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18355 (eval $ac_link) 2>&5
18357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18358 (exit $ac_status); } &&
18359 { ac_try
='test -s conftest$ac_exeext'
18360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18361 (eval $ac_try) 2>&5
18363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18364 (exit $ac_status); }; }; then
18365 ac_cv_lib_z_deflate
=yes
18367 echo "$as_me: failed program was:" >&5
18368 sed 's/^/| /' conftest.
$ac_ext >&5
18370 ac_cv_lib_z_deflate
=no
18372 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18373 LIBS
=$ac_check_lib_save_LIBS
18375 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
18376 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
18377 if test $ac_cv_lib_z_deflate = yes; then
18383 if test "x$ZLIB_LINK" = "x" ; then
18384 if test "$wxUSE_ZLIB" = "sys" ; then
18385 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
18386 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
18387 { (exit 1); exit 1; }; }
18389 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
18390 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
18398 if test "$wxUSE_ZLIB" = "builtin" ; then
18399 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
18406 if test "$wxUSE_LIBPNG" != "no" ; then
18407 cat >>confdefs.h
<<\_ACEOF
18408 #define wxUSE_LIBPNG 1
18412 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
18413 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
18414 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
18418 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
18419 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
18420 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
18421 wxUSE_LIBPNG
=builtin
18424 if test "$wxUSE_MGL" != 1 ; then
18425 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
18426 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
18427 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
18428 if test "${ac_cv_header_png_h+set}" = set; then
18429 echo $ECHO_N "(cached) $ECHO_C" >&6
18431 if test "$cross_compiling" = yes; then
18432 unset ac_cv_header_png_h
18435 cat >conftest.
$ac_ext <<_ACEOF
18436 #line $LINENO "configure"
18439 cat confdefs.h
>>conftest.
$ac_ext
18440 cat >>conftest.
$ac_ext <<_ACEOF
18441 /* end confdefs.h. */
18448 FILE *f=fopen("conftestval", "w");
18451 PNG_LIBPNG_VER > 90 ? "yes" : "no");
18456 rm -f conftest
$ac_exeext
18457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18458 (eval $ac_link) 2>&5
18460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18461 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18463 (eval $ac_try) 2>&5
18465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18466 (exit $ac_status); }; }; then
18467 ac_cv_header_png_h
=`cat conftestval`
18469 echo "$as_me: program exited with status $ac_status" >&5
18470 echo "$as_me: failed program was:" >&5
18471 sed 's/^/| /' conftest.
$ac_ext >&5
18473 ( exit $ac_status )
18474 ac_cv_header_png_h
=no
18476 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18480 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18481 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18482 if test "${ac_cv_header_png_h+set}" = set; then
18483 echo "$as_me:$LINENO: checking for png.h" >&5
18484 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18485 if test "${ac_cv_header_png_h+set}" = set; then
18486 echo $ECHO_N "(cached) $ECHO_C" >&6
18488 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18489 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18491 # Is the header compilable?
18492 echo "$as_me:$LINENO: checking png.h usability" >&5
18493 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
18494 cat >conftest.
$ac_ext <<_ACEOF
18495 #line $LINENO "configure"
18498 cat confdefs.h
>>conftest.
$ac_ext
18499 cat >>conftest.
$ac_ext <<_ACEOF
18500 /* end confdefs.h. */
18501 $ac_includes_default
18504 rm -f conftest.
$ac_objext
18505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18506 (eval $ac_compile) 2>&5
18508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18509 (exit $ac_status); } &&
18510 { ac_try
='test -s conftest.$ac_objext'
18511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18512 (eval $ac_try) 2>&5
18514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18515 (exit $ac_status); }; }; then
18516 ac_header_compiler
=yes
18518 echo "$as_me: failed program was:" >&5
18519 sed 's/^/| /' conftest.
$ac_ext >&5
18521 ac_header_compiler
=no
18523 rm -f conftest.
$ac_objext conftest.
$ac_ext
18524 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18525 echo "${ECHO_T}$ac_header_compiler" >&6
18527 # Is the header present?
18528 echo "$as_me:$LINENO: checking png.h presence" >&5
18529 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
18530 cat >conftest.
$ac_ext <<_ACEOF
18531 #line $LINENO "configure"
18534 cat confdefs.h
>>conftest.
$ac_ext
18535 cat >>conftest.
$ac_ext <<_ACEOF
18536 /* end confdefs.h. */
18539 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18540 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18542 grep -v '^ *+' conftest.er1
>conftest.err
18544 cat conftest.err
>&5
18545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18546 (exit $ac_status); } >/dev
/null
; then
18547 if test -s conftest.err
; then
18548 ac_cpp_err
=$ac_c_preproc_warn_flag
18555 if test -z "$ac_cpp_err"; then
18556 ac_header_preproc
=yes
18558 echo "$as_me: failed program was:" >&5
18559 sed 's/^/| /' conftest.
$ac_ext >&5
18561 ac_header_preproc
=no
18563 rm -f conftest.err conftest.
$ac_ext
18564 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18565 echo "${ECHO_T}$ac_header_preproc" >&6
18567 # So? What about this header?
18568 case $ac_header_compiler:$ac_header_preproc in
18570 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
18571 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18572 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18573 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18576 ## ------------------------------------ ##
18577 ## Report this to bug-autoconf@gnu.org. ##
18578 ## ------------------------------------ ##
18581 sed "s/^/$as_me: WARNING: /" >&2
18584 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
18585 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
18586 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
18587 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
18588 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18589 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18592 ## ------------------------------------ ##
18593 ## Report this to bug-autoconf@gnu.org. ##
18594 ## ------------------------------------ ##
18597 sed "s/^/$as_me: WARNING: /" >&2
18600 echo "$as_me:$LINENO: checking for png.h" >&5
18601 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18602 if test "${ac_cv_header_png_h+set}" = set; then
18603 echo $ECHO_N "(cached) $ECHO_C" >&6
18605 ac_cv_header_png_h
=$ac_header_preproc
18607 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18608 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18614 if test "$ac_cv_header_png_h" = "yes"; then
18615 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
18616 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
18617 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
18618 echo $ECHO_N "(cached) $ECHO_C" >&6
18620 ac_check_lib_save_LIBS
=$LIBS
18621 LIBS
="-lpng -lz -lm $LIBS"
18622 cat >conftest.
$ac_ext <<_ACEOF
18623 #line $LINENO "configure"
18626 cat confdefs.h
>>conftest.
$ac_ext
18627 cat >>conftest.
$ac_ext <<_ACEOF
18628 /* end confdefs.h. */
18630 /* Override any gcc2 internal prototype to avoid an error. */
18634 /* We use char because int might match the return type of a gcc2
18635 builtin and then its argument prototype would still apply. */
18636 char png_check_sig ();
18645 rm -f conftest.
$ac_objext conftest
$ac_exeext
18646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18647 (eval $ac_link) 2>&5
18649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18650 (exit $ac_status); } &&
18651 { ac_try
='test -s conftest$ac_exeext'
18652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18653 (eval $ac_try) 2>&5
18655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18656 (exit $ac_status); }; }; then
18657 ac_cv_lib_png_png_check_sig
=yes
18659 echo "$as_me: failed program was:" >&5
18660 sed 's/^/| /' conftest.
$ac_ext >&5
18662 ac_cv_lib_png_png_check_sig
=no
18664 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18665 LIBS
=$ac_check_lib_save_LIBS
18667 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
18668 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
18669 if test $ac_cv_lib_png_png_check_sig = yes; then
18675 if test "x$PNG_LINK" = "x" ; then
18676 if test "$wxUSE_LIBPNG" = "sys" ; then
18677 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
18678 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
18679 { (exit 1); exit 1; }; }
18681 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
18682 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
18683 wxUSE_LIBPNG
=builtin
18691 if test "$wxUSE_LIBPNG" = "builtin" ; then
18692 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
18695 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
18701 if test "$wxUSE_LIBJPEG" != "no" ; then
18702 cat >>confdefs.h
<<\_ACEOF
18703 #define wxUSE_LIBJPEG 1
18707 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
18708 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
18709 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
18713 if test "$wxUSE_MGL" != 1 ; then
18714 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
18715 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
18716 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
18717 if test "${ac_cv_header_jpeglib_h+set}" = set; then
18718 echo $ECHO_N "(cached) $ECHO_C" >&6
18720 cat >conftest.
$ac_ext <<_ACEOF
18721 #line $LINENO "configure"
18724 cat confdefs.h
>>conftest.
$ac_ext
18725 cat >>conftest.
$ac_ext <<_ACEOF
18726 /* end confdefs.h. */
18728 #undef HAVE_STDLIB_H
18730 #include <jpeglib.h>
18741 rm -f conftest.
$ac_objext
18742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18743 (eval $ac_compile) 2>&5
18745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18746 (exit $ac_status); } &&
18747 { ac_try
='test -s conftest.$ac_objext'
18748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18749 (eval $ac_try) 2>&5
18751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18752 (exit $ac_status); }; }; then
18753 ac_cv_header_jpeglib_h
=yes
18755 echo "$as_me: failed program was:" >&5
18756 sed 's/^/| /' conftest.
$ac_ext >&5
18758 ac_cv_header_jpeglib_h
=no
18761 rm -f conftest.
$ac_objext conftest.
$ac_ext
18765 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
18766 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
18768 if test "$ac_cv_header_jpeglib_h" = "yes"; then
18769 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
18770 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
18771 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
18772 echo $ECHO_N "(cached) $ECHO_C" >&6
18774 ac_check_lib_save_LIBS
=$LIBS
18775 LIBS
="-ljpeg $LIBS"
18776 cat >conftest.
$ac_ext <<_ACEOF
18777 #line $LINENO "configure"
18780 cat confdefs.h
>>conftest.
$ac_ext
18781 cat >>conftest.
$ac_ext <<_ACEOF
18782 /* end confdefs.h. */
18784 /* Override any gcc2 internal prototype to avoid an error. */
18788 /* We use char because int might match the return type of a gcc2
18789 builtin and then its argument prototype would still apply. */
18790 char jpeg_read_header ();
18794 jpeg_read_header ();
18799 rm -f conftest.
$ac_objext conftest
$ac_exeext
18800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18801 (eval $ac_link) 2>&5
18803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18804 (exit $ac_status); } &&
18805 { ac_try
='test -s conftest$ac_exeext'
18806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18807 (eval $ac_try) 2>&5
18809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18810 (exit $ac_status); }; }; then
18811 ac_cv_lib_jpeg_jpeg_read_header
=yes
18813 echo "$as_me: failed program was:" >&5
18814 sed 's/^/| /' conftest.
$ac_ext >&5
18816 ac_cv_lib_jpeg_jpeg_read_header
=no
18818 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18819 LIBS
=$ac_check_lib_save_LIBS
18821 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
18822 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
18823 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
18824 JPEG_LINK
=" -ljpeg"
18829 if test "x$JPEG_LINK" = "x" ; then
18830 if test "$wxUSE_LIBJPEG" = "sys" ; then
18831 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
18832 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
18833 { (exit 1); exit 1; }; }
18835 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
18836 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
18837 wxUSE_LIBJPEG
=builtin
18845 if test "$wxUSE_LIBJPEG" = "builtin" ; then
18846 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
18853 TIFF_PREREQ_LINKS
=-lm
18854 if test "$wxUSE_LIBTIFF" != "no" ; then
18855 cat >>confdefs.h
<<\_ACEOF
18856 #define wxUSE_LIBTIFF 1
18860 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
18861 if test "$wxUSE_LIBJPEG" = "sys"; then
18862 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
18864 if test "$wxUSE_ZLIB" = "sys"; then
18865 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
18867 if test "${ac_cv_header_tiffio_h+set}" = set; then
18868 echo "$as_me:$LINENO: checking for tiffio.h" >&5
18869 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
18870 if test "${ac_cv_header_tiffio_h+set}" = set; then
18871 echo $ECHO_N "(cached) $ECHO_C" >&6
18873 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
18874 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
18876 # Is the header compilable?
18877 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
18878 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
18879 cat >conftest.
$ac_ext <<_ACEOF
18880 #line $LINENO "configure"
18883 cat confdefs.h
>>conftest.
$ac_ext
18884 cat >>conftest.
$ac_ext <<_ACEOF
18885 /* end confdefs.h. */
18886 $ac_includes_default
18887 #include <tiffio.h>
18889 rm -f conftest.
$ac_objext
18890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18891 (eval $ac_compile) 2>&5
18893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18894 (exit $ac_status); } &&
18895 { ac_try
='test -s conftest.$ac_objext'
18896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18897 (eval $ac_try) 2>&5
18899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18900 (exit $ac_status); }; }; then
18901 ac_header_compiler
=yes
18903 echo "$as_me: failed program was:" >&5
18904 sed 's/^/| /' conftest.
$ac_ext >&5
18906 ac_header_compiler
=no
18908 rm -f conftest.
$ac_objext conftest.
$ac_ext
18909 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18910 echo "${ECHO_T}$ac_header_compiler" >&6
18912 # Is the header present?
18913 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
18914 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
18915 cat >conftest.
$ac_ext <<_ACEOF
18916 #line $LINENO "configure"
18919 cat confdefs.h
>>conftest.
$ac_ext
18920 cat >>conftest.
$ac_ext <<_ACEOF
18921 /* end confdefs.h. */
18922 #include <tiffio.h>
18924 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18925 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18927 grep -v '^ *+' conftest.er1
>conftest.err
18929 cat conftest.err
>&5
18930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18931 (exit $ac_status); } >/dev
/null
; then
18932 if test -s conftest.err
; then
18933 ac_cpp_err
=$ac_c_preproc_warn_flag
18940 if test -z "$ac_cpp_err"; then
18941 ac_header_preproc
=yes
18943 echo "$as_me: failed program was:" >&5
18944 sed 's/^/| /' conftest.
$ac_ext >&5
18946 ac_header_preproc
=no
18948 rm -f conftest.err conftest.
$ac_ext
18949 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18950 echo "${ECHO_T}$ac_header_preproc" >&6
18952 # So? What about this header?
18953 case $ac_header_compiler:$ac_header_preproc in
18955 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
18956 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18957 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
18958 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
18961 ## ------------------------------------ ##
18962 ## Report this to bug-autoconf@gnu.org. ##
18963 ## ------------------------------------ ##
18966 sed "s/^/$as_me: WARNING: /" >&2
18969 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
18970 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
18971 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
18972 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
18973 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
18974 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
18977 ## ------------------------------------ ##
18978 ## Report this to bug-autoconf@gnu.org. ##
18979 ## ------------------------------------ ##
18982 sed "s/^/$as_me: WARNING: /" >&2
18985 echo "$as_me:$LINENO: checking for tiffio.h" >&5
18986 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
18987 if test "${ac_cv_header_tiffio_h+set}" = set; then
18988 echo $ECHO_N "(cached) $ECHO_C" >&6
18990 ac_cv_header_tiffio_h
=$ac_header_preproc
18992 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
18993 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
18996 if test $ac_cv_header_tiffio_h = yes; then
18998 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
18999 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
19000 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
19001 echo $ECHO_N "(cached) $ECHO_C" >&6
19003 ac_check_lib_save_LIBS
=$LIBS
19004 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
19005 cat >conftest.
$ac_ext <<_ACEOF
19006 #line $LINENO "configure"
19009 cat confdefs.h
>>conftest.
$ac_ext
19010 cat >>conftest.
$ac_ext <<_ACEOF
19011 /* end confdefs.h. */
19013 /* Override any gcc2 internal prototype to avoid an error. */
19017 /* We use char because int might match the return type of a gcc2
19018 builtin and then its argument prototype would still apply. */
19028 rm -f conftest.
$ac_objext conftest
$ac_exeext
19029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19030 (eval $ac_link) 2>&5
19032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19033 (exit $ac_status); } &&
19034 { ac_try
='test -s conftest$ac_exeext'
19035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19036 (eval $ac_try) 2>&5
19038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19039 (exit $ac_status); }; }; then
19040 ac_cv_lib_tiff_TIFFError
=yes
19042 echo "$as_me: failed program was:" >&5
19043 sed 's/^/| /' conftest.
$ac_ext >&5
19045 ac_cv_lib_tiff_TIFFError
=no
19047 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19048 LIBS
=$ac_check_lib_save_LIBS
19050 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
19051 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
19052 if test $ac_cv_lib_tiff_TIFFError = yes; then
19053 TIFF_LINK
=" -ltiff"
19062 if test "x$TIFF_LINK" = "x" ; then
19063 if test "$wxUSE_LIBTIFF" = "sys" ; then
19064 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
19065 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
19066 { (exit 1); exit 1; }; }
19068 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
19069 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
19070 wxUSE_LIBTIFF
=builtin
19077 if test "$wxUSE_LIBTIFF" = "builtin" ; then
19078 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
19083 if test "$wxUSE_EXPAT" != "no"; then
19085 cat >>confdefs.h
<<\_ACEOF
19086 #define wxUSE_EXPAT 1
19089 cat >>confdefs.h
<<\_ACEOF
19090 #define wxUSE_XML 1
19094 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
19095 if test "${ac_cv_header_expat_h+set}" = set; then
19096 echo "$as_me:$LINENO: checking for expat.h" >&5
19097 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19098 if test "${ac_cv_header_expat_h+set}" = set; then
19099 echo $ECHO_N "(cached) $ECHO_C" >&6
19101 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19102 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19104 # Is the header compilable?
19105 echo "$as_me:$LINENO: checking expat.h usability" >&5
19106 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
19107 cat >conftest.
$ac_ext <<_ACEOF
19108 #line $LINENO "configure"
19111 cat confdefs.h
>>conftest.
$ac_ext
19112 cat >>conftest.
$ac_ext <<_ACEOF
19113 /* end confdefs.h. */
19114 $ac_includes_default
19117 rm -f conftest.
$ac_objext
19118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19119 (eval $ac_compile) 2>&5
19121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19122 (exit $ac_status); } &&
19123 { ac_try
='test -s conftest.$ac_objext'
19124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19125 (eval $ac_try) 2>&5
19127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19128 (exit $ac_status); }; }; then
19129 ac_header_compiler
=yes
19131 echo "$as_me: failed program was:" >&5
19132 sed 's/^/| /' conftest.
$ac_ext >&5
19134 ac_header_compiler
=no
19136 rm -f conftest.
$ac_objext conftest.
$ac_ext
19137 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19138 echo "${ECHO_T}$ac_header_compiler" >&6
19140 # Is the header present?
19141 echo "$as_me:$LINENO: checking expat.h presence" >&5
19142 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
19143 cat >conftest.
$ac_ext <<_ACEOF
19144 #line $LINENO "configure"
19147 cat confdefs.h
>>conftest.
$ac_ext
19148 cat >>conftest.
$ac_ext <<_ACEOF
19149 /* end confdefs.h. */
19152 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19153 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19155 grep -v '^ *+' conftest.er1
>conftest.err
19157 cat conftest.err
>&5
19158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19159 (exit $ac_status); } >/dev
/null
; then
19160 if test -s conftest.err
; then
19161 ac_cpp_err
=$ac_c_preproc_warn_flag
19168 if test -z "$ac_cpp_err"; then
19169 ac_header_preproc
=yes
19171 echo "$as_me: failed program was:" >&5
19172 sed 's/^/| /' conftest.
$ac_ext >&5
19174 ac_header_preproc
=no
19176 rm -f conftest.err conftest.
$ac_ext
19177 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19178 echo "${ECHO_T}$ac_header_preproc" >&6
19180 # So? What about this header?
19181 case $ac_header_compiler:$ac_header_preproc in
19183 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
19184 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19185 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19186 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19189 ## ------------------------------------ ##
19190 ## Report this to bug-autoconf@gnu.org. ##
19191 ## ------------------------------------ ##
19194 sed "s/^/$as_me: WARNING: /" >&2
19197 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
19198 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
19199 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
19200 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
19201 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19202 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19205 ## ------------------------------------ ##
19206 ## Report this to bug-autoconf@gnu.org. ##
19207 ## ------------------------------------ ##
19210 sed "s/^/$as_me: WARNING: /" >&2
19213 echo "$as_me:$LINENO: checking for expat.h" >&5
19214 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19215 if test "${ac_cv_header_expat_h+set}" = set; then
19216 echo $ECHO_N "(cached) $ECHO_C" >&6
19218 ac_cv_header_expat_h
=$ac_header_preproc
19220 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19221 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19224 if test $ac_cv_header_expat_h = yes; then
19229 if test "x$found_expat_h" = "x1"; then
19230 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
19231 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
19232 if test "${wx_cv_expat_is_not_broken+set}" = set; then
19233 echo $ECHO_N "(cached) $ECHO_C" >&6
19239 ac_cpp
='$CXXCPP $CPPFLAGS'
19240 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19241 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19242 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19244 cat >conftest.
$ac_ext <<_ACEOF
19245 #line $LINENO "configure"
19248 cat confdefs.h
>>conftest.
$ac_ext
19249 cat >>conftest.
$ac_ext <<_ACEOF
19250 /* end confdefs.h. */
19260 rm -f conftest.
$ac_objext
19261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19262 (eval $ac_compile) 2>&5
19264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19265 (exit $ac_status); } &&
19266 { ac_try
='test -s conftest.$ac_objext'
19267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19268 (eval $ac_try) 2>&5
19270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19271 (exit $ac_status); }; }; then
19272 wx_cv_expat_is_not_broken
=yes
19274 echo "$as_me: failed program was:" >&5
19275 sed 's/^/| /' conftest.
$ac_ext >&5
19277 wx_cv_expat_is_not_broken
=no
19280 rm -f conftest.
$ac_objext conftest.
$ac_ext
19282 ac_cpp
='$CPP $CPPFLAGS'
19283 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19284 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19285 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19290 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
19291 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
19292 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
19293 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
19294 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
19295 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
19296 echo $ECHO_N "(cached) $ECHO_C" >&6
19298 ac_check_lib_save_LIBS
=$LIBS
19299 LIBS
="-lexpat $LIBS"
19300 cat >conftest.
$ac_ext <<_ACEOF
19301 #line $LINENO "configure"
19304 cat confdefs.h
>>conftest.
$ac_ext
19305 cat >>conftest.
$ac_ext <<_ACEOF
19306 /* end confdefs.h. */
19308 /* Override any gcc2 internal prototype to avoid an error. */
19312 /* We use char because int might match the return type of a gcc2
19313 builtin and then its argument prototype would still apply. */
19314 char XML_ParserCreate ();
19318 XML_ParserCreate ();
19323 rm -f conftest.
$ac_objext conftest
$ac_exeext
19324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19325 (eval $ac_link) 2>&5
19327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19328 (exit $ac_status); } &&
19329 { ac_try
='test -s conftest$ac_exeext'
19330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19331 (eval $ac_try) 2>&5
19333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19334 (exit $ac_status); }; }; then
19335 ac_cv_lib_expat_XML_ParserCreate
=yes
19337 echo "$as_me: failed program was:" >&5
19338 sed 's/^/| /' conftest.
$ac_ext >&5
19340 ac_cv_lib_expat_XML_ParserCreate
=no
19342 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19343 LIBS
=$ac_check_lib_save_LIBS
19345 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
19346 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
19347 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
19348 EXPAT_LINK
=" -lexpat"
19353 if test "x$EXPAT_LINK" = "x" ; then
19354 if test "$wxUSE_EXPAT" = "sys" ; then
19355 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
19356 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
19357 { (exit 1); exit 1; }; }
19359 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
19360 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
19361 wxUSE_EXPAT
=builtin
19367 if test "$wxUSE_EXPAT" = "builtin" ; then
19370 subdirs
="$subdirs src/expat"
19384 if test "$USE_WIN32" = 1 ; then
19386 for ac_header
in w32api.h
19388 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19389 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19390 echo "$as_me:$LINENO: checking for $ac_header" >&5
19391 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19392 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19393 echo $ECHO_N "(cached) $ECHO_C" >&6
19395 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19396 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19398 # Is the header compilable?
19399 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19400 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19401 cat >conftest.
$ac_ext <<_ACEOF
19402 #line $LINENO "configure"
19405 cat confdefs.h
>>conftest.
$ac_ext
19406 cat >>conftest.
$ac_ext <<_ACEOF
19407 /* end confdefs.h. */
19408 $ac_includes_default
19409 #include <$ac_header>
19411 rm -f conftest.
$ac_objext
19412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19413 (eval $ac_compile) 2>&5
19415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19416 (exit $ac_status); } &&
19417 { ac_try
='test -s conftest.$ac_objext'
19418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19419 (eval $ac_try) 2>&5
19421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19422 (exit $ac_status); }; }; then
19423 ac_header_compiler
=yes
19425 echo "$as_me: failed program was:" >&5
19426 sed 's/^/| /' conftest.
$ac_ext >&5
19428 ac_header_compiler
=no
19430 rm -f conftest.
$ac_objext conftest.
$ac_ext
19431 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19432 echo "${ECHO_T}$ac_header_compiler" >&6
19434 # Is the header present?
19435 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19436 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19437 cat >conftest.
$ac_ext <<_ACEOF
19438 #line $LINENO "configure"
19441 cat confdefs.h
>>conftest.
$ac_ext
19442 cat >>conftest.
$ac_ext <<_ACEOF
19443 /* end confdefs.h. */
19444 #include <$ac_header>
19446 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19447 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19449 grep -v '^ *+' conftest.er1
>conftest.err
19451 cat conftest.err
>&5
19452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19453 (exit $ac_status); } >/dev
/null
; then
19454 if test -s conftest.err
; then
19455 ac_cpp_err
=$ac_c_preproc_warn_flag
19462 if test -z "$ac_cpp_err"; then
19463 ac_header_preproc
=yes
19465 echo "$as_me: failed program was:" >&5
19466 sed 's/^/| /' conftest.
$ac_ext >&5
19468 ac_header_preproc
=no
19470 rm -f conftest.err conftest.
$ac_ext
19471 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19472 echo "${ECHO_T}$ac_header_preproc" >&6
19474 # So? What about this header?
19475 case $ac_header_compiler:$ac_header_preproc in
19477 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19478 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19479 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19480 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19483 ## ------------------------------------ ##
19484 ## Report this to bug-autoconf@gnu.org. ##
19485 ## ------------------------------------ ##
19488 sed "s/^/$as_me: WARNING: /" >&2
19491 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19492 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19493 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19494 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19495 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19496 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19499 ## ------------------------------------ ##
19500 ## Report this to bug-autoconf@gnu.org. ##
19501 ## ------------------------------------ ##
19504 sed "s/^/$as_me: WARNING: /" >&2
19507 echo "$as_me:$LINENO: checking for $ac_header" >&5
19508 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19509 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19510 echo $ECHO_N "(cached) $ECHO_C" >&6
19512 eval "$as_ac_Header=$ac_header_preproc"
19514 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19515 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19518 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19519 cat >>confdefs.h
<<_ACEOF
19520 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19527 if test "${ac_cv_header_windows_h+set}" = set; then
19528 echo "$as_me:$LINENO: checking for windows.h" >&5
19529 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19530 if test "${ac_cv_header_windows_h+set}" = set; then
19531 echo $ECHO_N "(cached) $ECHO_C" >&6
19533 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19534 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19536 # Is the header compilable?
19537 echo "$as_me:$LINENO: checking windows.h usability" >&5
19538 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
19539 cat >conftest.
$ac_ext <<_ACEOF
19540 #line $LINENO "configure"
19543 cat confdefs.h
>>conftest.
$ac_ext
19544 cat >>conftest.
$ac_ext <<_ACEOF
19545 /* end confdefs.h. */
19546 $ac_includes_default
19547 #include <windows.h>
19549 rm -f conftest.
$ac_objext
19550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19551 (eval $ac_compile) 2>&5
19553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19554 (exit $ac_status); } &&
19555 { ac_try
='test -s conftest.$ac_objext'
19556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19557 (eval $ac_try) 2>&5
19559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19560 (exit $ac_status); }; }; then
19561 ac_header_compiler
=yes
19563 echo "$as_me: failed program was:" >&5
19564 sed 's/^/| /' conftest.
$ac_ext >&5
19566 ac_header_compiler
=no
19568 rm -f conftest.
$ac_objext conftest.
$ac_ext
19569 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19570 echo "${ECHO_T}$ac_header_compiler" >&6
19572 # Is the header present?
19573 echo "$as_me:$LINENO: checking windows.h presence" >&5
19574 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
19575 cat >conftest.
$ac_ext <<_ACEOF
19576 #line $LINENO "configure"
19579 cat confdefs.h
>>conftest.
$ac_ext
19580 cat >>conftest.
$ac_ext <<_ACEOF
19581 /* end confdefs.h. */
19582 #include <windows.h>
19584 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19585 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19587 grep -v '^ *+' conftest.er1
>conftest.err
19589 cat conftest.err
>&5
19590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19591 (exit $ac_status); } >/dev
/null
; then
19592 if test -s conftest.err
; then
19593 ac_cpp_err
=$ac_c_preproc_warn_flag
19600 if test -z "$ac_cpp_err"; then
19601 ac_header_preproc
=yes
19603 echo "$as_me: failed program was:" >&5
19604 sed 's/^/| /' conftest.
$ac_ext >&5
19606 ac_header_preproc
=no
19608 rm -f conftest.err conftest.
$ac_ext
19609 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19610 echo "${ECHO_T}$ac_header_preproc" >&6
19612 # So? What about this header?
19613 case $ac_header_compiler:$ac_header_preproc in
19615 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
19616 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19617 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19618 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19621 ## ------------------------------------ ##
19622 ## Report this to bug-autoconf@gnu.org. ##
19623 ## ------------------------------------ ##
19626 sed "s/^/$as_me: WARNING: /" >&2
19629 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
19630 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
19631 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
19632 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
19633 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19634 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19637 ## ------------------------------------ ##
19638 ## Report this to bug-autoconf@gnu.org. ##
19639 ## ------------------------------------ ##
19642 sed "s/^/$as_me: WARNING: /" >&2
19645 echo "$as_me:$LINENO: checking for windows.h" >&5
19646 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19647 if test "${ac_cv_header_windows_h+set}" = set; then
19648 echo $ECHO_N "(cached) $ECHO_C" >&6
19650 ac_cv_header_windows_h
=$ac_header_preproc
19652 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19653 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19656 if test $ac_cv_header_windows_h = yes; then
19660 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
19661 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
19662 { (exit 1); exit 1; }; }
19668 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
19670 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
19671 LIBS
="$LIBS -loleacc"
19676 LIBS
="$LIBS -lkernel32 -luser32"
19677 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
19680 if test "$wxUSE_ODBC" = "sys" ; then
19683 if test "$wxUSE_ODBC" = "yes" ; then
19684 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
19685 cat >>confdefs.h
<<\_ACEOF
19686 #define wxUSE_ODBC 1
19691 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
19692 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
19694 WIN32INSTALL
=win32install
19697 if test "$wxUSE_GUI" = "yes"; then
19706 if test "$wxUSE_MSW" = 1 ; then
19712 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
19716 if test "$wxUSE_GTK" = 1; then
19717 echo "$as_me:$LINENO: checking for GTK+ version" >&5
19718 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
19720 gtk_version_cached
=1
19721 if test "${wx_cv_lib_gtk+set}" = set; then
19722 echo $ECHO_N "(cached) $ECHO_C" >&6
19725 gtk_version_cached
=0
19726 echo "$as_me:$LINENO: result: " >&5
19727 echo "${ECHO_T}" >&6
19730 if test "$wxUSE_THREADS" = "yes"; then
19731 GTK_MODULES
=gthread
19735 if test "x$wxUSE_GTK2" = "xyes"; then
19736 # Check whether --enable-gtktest or --disable-gtktest was given.
19737 if test "${enable_gtktest+set}" = set; then
19738 enableval
="$enable_gtktest"
19744 pkg_config_args
=gtk
+-2.0
19745 for module
in .
$GTK_MODULES
19749 pkg_config_args
="$pkg_config_args gthread-2.0"
19756 # Extract the first word of "pkg-config", so it can be a program name with args.
19757 set dummy pkg
-config; ac_word
=$2
19758 echo "$as_me:$LINENO: checking for $ac_word" >&5
19759 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19760 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19761 echo $ECHO_N "(cached) $ECHO_C" >&6
19763 case $PKG_CONFIG in
19765 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
19768 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19769 for as_dir
in $PATH
19772 test -z "$as_dir" && as_dir
=.
19773 for ac_exec_ext
in '' $ac_executable_extensions; do
19774 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19775 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
19776 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19782 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
19786 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
19788 if test -n "$PKG_CONFIG"; then
19789 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19790 echo "${ECHO_T}$PKG_CONFIG" >&6
19792 echo "$as_me:$LINENO: result: no" >&5
19793 echo "${ECHO_T}no" >&6
19797 if test x
$PKG_CONFIG != xno
; then
19798 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
19801 echo *** pkg
-config too old
; version
0.7 or better required.
19809 min_gtk_version
=2.0.0
19810 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
19811 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
19813 if test x
$PKG_CONFIG != xno
; then
19814 ## don't try to run the test against uninstalled libtool libs
19815 if $PKG_CONFIG --uninstalled $pkg_config_args; then
19816 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
19820 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
19827 if test x
"$no_gtk" = x
; then
19828 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
19829 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
19830 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
19831 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
19832 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
19833 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
19834 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
19835 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
19836 if test "x$enable_gtktest" = "xyes" ; then
19837 ac_save_CFLAGS
="$CFLAGS"
19838 ac_save_LIBS
="$LIBS"
19839 CFLAGS
="$CFLAGS $GTK_CFLAGS"
19840 LIBS
="$GTK_LIBS $LIBS"
19842 if test "$cross_compiling" = yes; then
19843 echo $ac_n "cross compiling; assumed OK... $ac_c"
19845 cat >conftest.
$ac_ext <<_ACEOF
19846 #line $LINENO "configure"
19849 cat confdefs.h
>>conftest.
$ac_ext
19850 cat >>conftest.
$ac_ext <<_ACEOF
19851 /* end confdefs.h. */
19853 #include <gtk/gtk.h>
19855 #include <stdlib.h>
19860 int major, minor, micro;
19863 system ("touch conf.gtktest");
19865 /* HP/UX 9 (%@#!) writes to sscanf strings */
19866 tmp_version = g_strdup("$min_gtk_version");
19867 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
19868 printf("%s, bad version string\n", "$min_gtk_version");
19872 if ((gtk_major_version != $gtk_config_major_version) ||
19873 (gtk_minor_version != $gtk_config_minor_version) ||
19874 (gtk_micro_version != $gtk_config_micro_version))
19876 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
19877 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
19878 gtk_major_version, gtk_minor_version, gtk_micro_version);
19879 printf ("*** was found! If pkg-config was correct, then it is best\n");
19880 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
19881 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
19882 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
19883 printf("*** required on your system.\n");
19884 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
19885 printf("*** to point to the correct configuration files\n");
19887 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
19888 (gtk_minor_version != GTK_MINOR_VERSION) ||
19889 (gtk_micro_version != GTK_MICRO_VERSION))
19891 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
19892 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
19893 printf("*** library (version %d.%d.%d)\n",
19894 gtk_major_version, gtk_minor_version, gtk_micro_version);
19898 if ((gtk_major_version > major) ||
19899 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
19900 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
19906 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
19907 gtk_major_version, gtk_minor_version, gtk_micro_version);
19908 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
19909 major, minor, micro);
19910 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
19912 printf("*** If you have already installed a sufficiently new version, this error\n");
19913 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
19914 printf("*** being found. The easiest way to fix this is to remove the old version\n");
19915 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
19916 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
19917 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
19918 printf("*** so that the correct libraries are found at run-time))\n");
19925 rm -f conftest
$ac_exeext
19926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19927 (eval $ac_link) 2>&5
19929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19930 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19932 (eval $ac_try) 2>&5
19934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19935 (exit $ac_status); }; }; then
19938 echo "$as_me: program exited with status $ac_status" >&5
19939 echo "$as_me: failed program was:" >&5
19940 sed 's/^/| /' conftest.
$ac_ext >&5
19942 ( exit $ac_status )
19945 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19947 CFLAGS
="$ac_save_CFLAGS"
19948 LIBS
="$ac_save_LIBS"
19951 if test "x$no_gtk" = x
; then
19952 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
19953 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
19956 echo "$as_me:$LINENO: result: no" >&5
19957 echo "${ECHO_T}no" >&6
19958 if test "$PKG_CONFIG" = "no" ; then
19959 echo "*** A new enough version of pkg-config was not found."
19960 echo "*** See http://pkgconfig.sourceforge.net"
19962 if test -f conf.gtktest
; then
19965 echo "*** Could not run GTK+ test program, checking why..."
19966 ac_save_CFLAGS
="$CFLAGS"
19967 ac_save_LIBS
="$LIBS"
19968 CFLAGS
="$CFLAGS $GTK_CFLAGS"
19969 LIBS
="$LIBS $GTK_LIBS"
19970 cat >conftest.
$ac_ext <<_ACEOF
19971 #line $LINENO "configure"
19974 cat confdefs.h
>>conftest.
$ac_ext
19975 cat >>conftest.
$ac_ext <<_ACEOF
19976 /* end confdefs.h. */
19978 #include <gtk/gtk.h>
19984 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
19989 rm -f conftest.
$ac_objext conftest
$ac_exeext
19990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19991 (eval $ac_link) 2>&5
19993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19994 (exit $ac_status); } &&
19995 { ac_try
='test -s conftest$ac_exeext'
19996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19997 (eval $ac_try) 2>&5
19999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20000 (exit $ac_status); }; }; then
20001 echo "*** The test program compiled, but did not run. This usually means"
20002 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
20003 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
20004 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20005 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20006 echo "*** is required on your system"
20008 echo "*** If you have an old version installed, it is best to remove it, although"
20009 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20011 echo "$as_me: failed program was:" >&5
20012 sed 's/^/| /' conftest.
$ac_ext >&5
20014 echo "*** The test program failed to compile or link. See the file config.log for the"
20015 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
20017 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20018 CFLAGS
="$ac_save_CFLAGS"
20019 LIBS
="$ac_save_LIBS"
20032 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20033 if test "${with_gtk_prefix+set}" = set; then
20034 withval
="$with_gtk_prefix"
20035 gtk_config_prefix
="$withval"
20037 gtk_config_prefix
=""
20040 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20041 if test "${with_gtk_exec_prefix+set}" = set; then
20042 withval
="$with_gtk_exec_prefix"
20043 gtk_config_exec_prefix
="$withval"
20045 gtk_config_exec_prefix
=""
20047 # Check whether --enable-gtktest or --disable-gtktest was given.
20048 if test "${enable_gtktest+set}" = set; then
20049 enableval
="$enable_gtktest"
20055 for module
in .
$GTK_MODULES
20059 gtk_config_args
="$gtk_config_args gthread"
20064 if test x
$gtk_config_exec_prefix != x
; then
20065 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20066 if test x
${GTK_CONFIG+set} != xset
; then
20067 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
20070 if test x
$gtk_config_prefix != x
; then
20071 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
20072 if test x
${GTK_CONFIG+set} != xset
; then
20073 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
20077 # Extract the first word of "gtk-config", so it can be a program name with args.
20078 set dummy gtk
-config; ac_word
=$2
20079 echo "$as_me:$LINENO: checking for $ac_word" >&5
20080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20081 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20082 echo $ECHO_N "(cached) $ECHO_C" >&6
20084 case $GTK_CONFIG in
20086 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
20089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20090 for as_dir
in $PATH
20093 test -z "$as_dir" && as_dir
=.
20094 for ac_exec_ext
in '' $ac_executable_extensions; do
20095 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20096 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20103 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
20107 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
20109 if test -n "$GTK_CONFIG"; then
20110 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20111 echo "${ECHO_T}$GTK_CONFIG" >&6
20113 echo "$as_me:$LINENO: result: no" >&5
20114 echo "${ECHO_T}no" >&6
20117 min_gtk_version
=1.2.7
20118 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20119 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20121 if test "$GTK_CONFIG" = "no" ; then
20124 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
20125 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
20126 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
20127 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20128 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
20129 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20130 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
20131 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20132 if test "x$enable_gtktest" = "xyes" ; then
20133 ac_save_CFLAGS
="$CFLAGS"
20134 ac_save_LIBS
="$LIBS"
20135 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20136 LIBS
="$GTK_LIBS $LIBS"
20138 if test "$cross_compiling" = yes; then
20139 echo $ac_n "cross compiling; assumed OK... $ac_c"
20141 cat >conftest.
$ac_ext <<_ACEOF
20142 #line $LINENO "configure"
20145 cat confdefs.h
>>conftest.
$ac_ext
20146 cat >>conftest.
$ac_ext <<_ACEOF
20147 /* end confdefs.h. */
20149 #include <gtk/gtk.h>
20151 #include <stdlib.h>
20156 int major, minor, micro;
20159 system ("touch conf.gtktest");
20161 /* HP/UX 9 (%@#!) writes to sscanf strings */
20162 tmp_version = g_strdup("$min_gtk_version");
20163 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
20164 printf("%s, bad version string\n", "$min_gtk_version");
20168 if ((gtk_major_version != $gtk_config_major_version) ||
20169 (gtk_minor_version != $gtk_config_minor_version) ||
20170 (gtk_micro_version != $gtk_config_micro_version))
20172 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20173 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20174 gtk_major_version, gtk_minor_version, gtk_micro_version);
20175 printf ("*** was found! If gtk-config was correct, then it is best\n");
20176 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20177 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20178 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20179 printf("*** required on your system.\n");
20180 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20181 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20182 printf("*** before re-running configure\n");
20184 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20185 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20186 (gtk_minor_version != GTK_MINOR_VERSION) ||
20187 (gtk_micro_version != GTK_MICRO_VERSION))
20189 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20190 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20191 printf("*** library (version %d.%d.%d)\n",
20192 gtk_major_version, gtk_minor_version, gtk_micro_version);
20194 #endif /* defined (GTK_MAJOR_VERSION) ... */
20197 if ((gtk_major_version > major) ||
20198 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20199 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20205 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20206 gtk_major_version, gtk_minor_version, gtk_micro_version);
20207 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20208 major, minor, micro);
20209 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20211 printf("*** If you have already installed a sufficiently new version, this error\n");
20212 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20213 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20214 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20215 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20216 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20217 printf("*** so that the correct libraries are found at run-time))\n");
20224 rm -f conftest
$ac_exeext
20225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20226 (eval $ac_link) 2>&5
20228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20229 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20231 (eval $ac_try) 2>&5
20233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20234 (exit $ac_status); }; }; then
20237 echo "$as_me: program exited with status $ac_status" >&5
20238 echo "$as_me: failed program was:" >&5
20239 sed 's/^/| /' conftest.
$ac_ext >&5
20241 ( exit $ac_status )
20244 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20246 CFLAGS
="$ac_save_CFLAGS"
20247 LIBS
="$ac_save_LIBS"
20250 if test "x$no_gtk" = x
; then
20251 echo "$as_me:$LINENO: result: yes" >&5
20252 echo "${ECHO_T}yes" >&6
20253 wx_cv_lib_gtk
=1.2.7
20255 echo "$as_me:$LINENO: result: no" >&5
20256 echo "${ECHO_T}no" >&6
20257 if test "$GTK_CONFIG" = "no" ; then
20258 echo "*** The gtk-config script installed by GTK could not be found"
20259 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20260 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20261 echo "*** full path to gtk-config."
20263 if test -f conf.gtktest
; then
20266 echo "*** Could not run GTK test program, checking why..."
20267 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20268 LIBS
="$LIBS $GTK_LIBS"
20269 cat >conftest.
$ac_ext <<_ACEOF
20270 #line $LINENO "configure"
20273 cat confdefs.h
>>conftest.
$ac_ext
20274 cat >>conftest.
$ac_ext <<_ACEOF
20275 /* end confdefs.h. */
20277 #include <gtk/gtk.h>
20283 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20288 rm -f conftest.
$ac_objext conftest
$ac_exeext
20289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20290 (eval $ac_link) 2>&5
20292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20293 (exit $ac_status); } &&
20294 { ac_try
='test -s conftest$ac_exeext'
20295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20296 (eval $ac_try) 2>&5
20298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20299 (exit $ac_status); }; }; then
20300 echo "*** The test program compiled, but did not run. This usually means"
20301 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20302 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20303 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20304 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20305 echo "*** is required on your system"
20307 echo "*** If you have an old version installed, it is best to remove it, although"
20308 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20310 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20311 echo "*** came with the system with the command"
20313 echo "*** rpm --erase --nodeps gtk gtk-devel"
20315 echo "$as_me: failed program was:" >&5
20316 sed 's/^/| /' conftest.
$ac_ext >&5
20318 echo "*** The test program failed to compile or link. See the file config.log for the"
20319 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20320 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20321 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20323 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20324 CFLAGS
="$ac_save_CFLAGS"
20325 LIBS
="$ac_save_LIBS"
20337 if test -z "$wx_cv_lib_gtk"; then
20339 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20340 if test "${with_gtk_prefix+set}" = set; then
20341 withval
="$with_gtk_prefix"
20342 gtk_config_prefix
="$withval"
20344 gtk_config_prefix
=""
20347 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20348 if test "${with_gtk_exec_prefix+set}" = set; then
20349 withval
="$with_gtk_exec_prefix"
20350 gtk_config_exec_prefix
="$withval"
20352 gtk_config_exec_prefix
=""
20354 # Check whether --enable-gtktest or --disable-gtktest was given.
20355 if test "${enable_gtktest+set}" = set; then
20356 enableval
="$enable_gtktest"
20362 for module
in .
$GTK_MODULES
20366 gtk_config_args
="$gtk_config_args gthread"
20371 if test x
$gtk_config_exec_prefix != x
; then
20372 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20373 if test x
${GTK_CONFIG+set} != xset
; then
20374 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
20377 if test x
$gtk_config_prefix != x
; then
20378 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
20379 if test x
${GTK_CONFIG+set} != xset
; then
20380 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
20384 # Extract the first word of "gtk-config", so it can be a program name with args.
20385 set dummy gtk
-config; ac_word
=$2
20386 echo "$as_me:$LINENO: checking for $ac_word" >&5
20387 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20388 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20389 echo $ECHO_N "(cached) $ECHO_C" >&6
20391 case $GTK_CONFIG in
20393 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
20396 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20397 for as_dir
in $PATH
20400 test -z "$as_dir" && as_dir
=.
20401 for ac_exec_ext
in '' $ac_executable_extensions; do
20402 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20403 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20404 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20410 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
20414 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
20416 if test -n "$GTK_CONFIG"; then
20417 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20418 echo "${ECHO_T}$GTK_CONFIG" >&6
20420 echo "$as_me:$LINENO: result: no" >&5
20421 echo "${ECHO_T}no" >&6
20424 min_gtk_version
=1.2.3
20425 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20426 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20428 if test "$GTK_CONFIG" = "no" ; then
20431 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
20432 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
20433 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
20434 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20435 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
20436 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20437 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
20438 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20439 if test "x$enable_gtktest" = "xyes" ; then
20440 ac_save_CFLAGS
="$CFLAGS"
20441 ac_save_LIBS
="$LIBS"
20442 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20443 LIBS
="$GTK_LIBS $LIBS"
20445 if test "$cross_compiling" = yes; then
20446 echo $ac_n "cross compiling; assumed OK... $ac_c"
20448 cat >conftest.
$ac_ext <<_ACEOF
20449 #line $LINENO "configure"
20452 cat confdefs.h
>>conftest.
$ac_ext
20453 cat >>conftest.
$ac_ext <<_ACEOF
20454 /* end confdefs.h. */
20456 #include <gtk/gtk.h>
20458 #include <stdlib.h>
20463 int major, minor, micro;
20466 system ("touch conf.gtktest");
20468 /* HP/UX 9 (%@#!) writes to sscanf strings */
20469 tmp_version = g_strdup("$min_gtk_version");
20470 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
20471 printf("%s, bad version string\n", "$min_gtk_version");
20475 if ((gtk_major_version != $gtk_config_major_version) ||
20476 (gtk_minor_version != $gtk_config_minor_version) ||
20477 (gtk_micro_version != $gtk_config_micro_version))
20479 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20480 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20481 gtk_major_version, gtk_minor_version, gtk_micro_version);
20482 printf ("*** was found! If gtk-config was correct, then it is best\n");
20483 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20484 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20485 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20486 printf("*** required on your system.\n");
20487 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20488 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20489 printf("*** before re-running configure\n");
20491 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20492 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20493 (gtk_minor_version != GTK_MINOR_VERSION) ||
20494 (gtk_micro_version != GTK_MICRO_VERSION))
20496 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20497 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20498 printf("*** library (version %d.%d.%d)\n",
20499 gtk_major_version, gtk_minor_version, gtk_micro_version);
20501 #endif /* defined (GTK_MAJOR_VERSION) ... */
20504 if ((gtk_major_version > major) ||
20505 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20506 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20512 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20513 gtk_major_version, gtk_minor_version, gtk_micro_version);
20514 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20515 major, minor, micro);
20516 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20518 printf("*** If you have already installed a sufficiently new version, this error\n");
20519 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20520 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20521 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20522 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20523 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20524 printf("*** so that the correct libraries are found at run-time))\n");
20531 rm -f conftest
$ac_exeext
20532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20533 (eval $ac_link) 2>&5
20535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20536 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20538 (eval $ac_try) 2>&5
20540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20541 (exit $ac_status); }; }; then
20544 echo "$as_me: program exited with status $ac_status" >&5
20545 echo "$as_me: failed program was:" >&5
20546 sed 's/^/| /' conftest.
$ac_ext >&5
20548 ( exit $ac_status )
20551 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20553 CFLAGS
="$ac_save_CFLAGS"
20554 LIBS
="$ac_save_LIBS"
20557 if test "x$no_gtk" = x
; then
20558 echo "$as_me:$LINENO: result: yes" >&5
20559 echo "${ECHO_T}yes" >&6
20560 wx_cv_lib_gtk
=1.2.3
20562 echo "$as_me:$LINENO: result: no" >&5
20563 echo "${ECHO_T}no" >&6
20564 if test "$GTK_CONFIG" = "no" ; then
20565 echo "*** The gtk-config script installed by GTK could not be found"
20566 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20567 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20568 echo "*** full path to gtk-config."
20570 if test -f conf.gtktest
; then
20573 echo "*** Could not run GTK test program, checking why..."
20574 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20575 LIBS
="$LIBS $GTK_LIBS"
20576 cat >conftest.
$ac_ext <<_ACEOF
20577 #line $LINENO "configure"
20580 cat confdefs.h
>>conftest.
$ac_ext
20581 cat >>conftest.
$ac_ext <<_ACEOF
20582 /* end confdefs.h. */
20584 #include <gtk/gtk.h>
20590 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20595 rm -f conftest.
$ac_objext conftest
$ac_exeext
20596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20597 (eval $ac_link) 2>&5
20599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20600 (exit $ac_status); } &&
20601 { ac_try
='test -s conftest$ac_exeext'
20602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20603 (eval $ac_try) 2>&5
20605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20606 (exit $ac_status); }; }; then
20607 echo "*** The test program compiled, but did not run. This usually means"
20608 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20609 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20610 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20611 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20612 echo "*** is required on your system"
20614 echo "*** If you have an old version installed, it is best to remove it, although"
20615 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20617 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20618 echo "*** came with the system with the command"
20620 echo "*** rpm --erase --nodeps gtk gtk-devel"
20622 echo "$as_me: failed program was:" >&5
20623 sed 's/^/| /' conftest.
$ac_ext >&5
20625 echo "*** The test program failed to compile or link. See the file config.log for the"
20626 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20627 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20628 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20630 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20631 CFLAGS
="$ac_save_CFLAGS"
20632 LIBS
="$ac_save_LIBS"
20646 if test -z "$wx_cv_lib_gtk"; then
20649 wx_cv_cflags_gtk
=$GTK_CFLAGS
20650 wx_cv_libs_gtk
=$GTK_LIBS
20657 if test "$gtk_version_cached" = 1; then
20658 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
20659 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
20662 case "$wx_cv_lib_gtk" in
20671 *) { { echo "$as_me:$LINENO: error:
20672 Please check that gtk-config is in path, the directory
20673 where GTK+ libraries are installed (returned by
20674 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20675 equivalent variable and GTK+ is version 1.2.3 or above.
20677 echo "$as_me: error:
20678 Please check that gtk-config is in path, the directory
20679 where GTK+ libraries are installed (returned by
20680 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20681 equivalent variable and GTK+ is version 1.2.3 or above.
20683 { (exit 1); exit 1; }; }
20687 if test "$WXGTK20" = 1; then
20688 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
20692 if test -z "$PKG_CONFIG"; then
20693 # Extract the first word of "pkg-config", so it can be a program name with args.
20694 set dummy pkg
-config; ac_word
=$2
20695 echo "$as_me:$LINENO: checking for $ac_word" >&5
20696 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20697 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20698 echo $ECHO_N "(cached) $ECHO_C" >&6
20700 case $PKG_CONFIG in
20702 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20705 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20706 for as_dir
in $PATH
20709 test -z "$as_dir" && as_dir
=.
20710 for ac_exec_ext
in '' $ac_executable_extensions; do
20711 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20712 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20713 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20719 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
20723 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20725 if test -n "$PKG_CONFIG"; then
20726 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20727 echo "${ECHO_T}$PKG_CONFIG" >&6
20729 echo "$as_me:$LINENO: result: no" >&5
20730 echo "${ECHO_T}no" >&6
20735 if test "$PKG_CONFIG" = "no" ; then
20736 echo "*** The pkg-config script could not be found. Make sure it is"
20737 echo "*** in your path, or set the PKG_CONFIG environment variable"
20738 echo "*** to the full path to pkg-config."
20739 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20741 PKG_CONFIG_MIN_VERSION
=0.9.0
20742 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20743 echo "$as_me:$LINENO: checking for pangoft2" >&5
20744 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
20746 if $PKG_CONFIG --exists "pangoft2" ; then
20747 echo "$as_me:$LINENO: result: yes" >&5
20748 echo "${ECHO_T}yes" >&6
20751 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
20752 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
20753 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
20754 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
20755 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
20757 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
20758 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
20759 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
20760 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
20761 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
20765 ## If we have a custom action on failure, don't print errors, but
20766 ## do set a variable so people can do so.
20767 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
20774 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20775 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20779 if test $succeeded = yes; then
20781 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
20782 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
20786 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
20787 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
20788 wxUSE_PRINTING_ARCHITECTURE
="no"
20795 if test "$wxUSE_UNICODE" = "yes"; then
20796 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
20797 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
20802 if test "$USE_DARWIN" != 1; then
20804 for ac_func
in poll
20806 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20807 echo "$as_me:$LINENO: checking for $ac_func" >&5
20808 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20809 if eval "test \"\${$as_ac_var+set}\" = set"; then
20810 echo $ECHO_N "(cached) $ECHO_C" >&6
20812 cat >conftest.
$ac_ext <<_ACEOF
20813 #line $LINENO "configure"
20816 cat confdefs.h
>>conftest.
$ac_ext
20817 cat >>conftest.
$ac_ext <<_ACEOF
20818 /* end confdefs.h. */
20819 /* System header to define __stub macros and hopefully few prototypes,
20820 which can conflict with char $ac_func (); below.
20821 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20822 <limits.h> exists even on freestanding compilers. */
20824 # include <limits.h>
20826 # include <assert.h>
20828 /* Override any gcc2 internal prototype to avoid an error. */
20833 /* We use char because int might match the return type of a gcc2
20834 builtin and then its argument prototype would still apply. */
20836 /* The GNU C library defines this for functions which it implements
20837 to always fail with ENOSYS. Some functions are actually named
20838 something starting with __ and the normal name is an alias. */
20839 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20842 char (*f) () = $ac_func;
20851 return f != $ac_func;
20856 rm -f conftest.
$ac_objext conftest
$ac_exeext
20857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20858 (eval $ac_link) 2>&5
20860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20861 (exit $ac_status); } &&
20862 { ac_try
='test -s conftest$ac_exeext'
20863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20864 (eval $ac_try) 2>&5
20866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20867 (exit $ac_status); }; }; then
20868 eval "$as_ac_var=yes"
20870 echo "$as_me: failed program was:" >&5
20871 sed 's/^/| /' conftest.
$ac_ext >&5
20873 eval "$as_ac_var=no"
20875 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20878 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20879 if test `eval echo '${'$as_ac_var'}'` = yes; then
20880 cat >>confdefs.h
<<_ACEOF
20881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20889 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
20890 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
20892 AFMINSTALL
=afminstall
20896 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
20897 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
20898 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
20899 echo $ECHO_N "(cached) $ECHO_C" >&6
20901 ac_check_lib_save_LIBS
=$LIBS
20903 cat >conftest.
$ac_ext <<_ACEOF
20904 #line $LINENO "configure"
20907 cat confdefs.h
>>conftest.
$ac_ext
20908 cat >>conftest.
$ac_ext <<_ACEOF
20909 /* end confdefs.h. */
20911 /* Override any gcc2 internal prototype to avoid an error. */
20915 /* We use char because int might match the return type of a gcc2
20916 builtin and then its argument prototype would still apply. */
20917 char gdk_im_open ();
20926 rm -f conftest.
$ac_objext conftest
$ac_exeext
20927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20928 (eval $ac_link) 2>&5
20930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20931 (exit $ac_status); } &&
20932 { ac_try
='test -s conftest$ac_exeext'
20933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20934 (eval $ac_try) 2>&5
20936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20937 (exit $ac_status); }; }; then
20938 ac_cv_lib_gdk_gdk_im_open
=yes
20940 echo "$as_me: failed program was:" >&5
20941 sed 's/^/| /' conftest.
$ac_ext >&5
20943 ac_cv_lib_gdk_gdk_im_open
=no
20945 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20946 LIBS
=$ac_check_lib_save_LIBS
20948 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
20949 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
20950 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
20951 cat >>confdefs.h
<<\_ACEOF
20959 if test "$wxUSE_MGL" = 1; then
20960 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
20961 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
20962 if test "x$MGL_ROOT" = x
; then
20963 echo "$as_me:$LINENO: result: not found" >&5
20964 echo "${ECHO_T}not found" >&6
20965 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
20966 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
20967 { (exit 1); exit 1; }; }
20969 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
20970 echo "${ECHO_T}$MGL_ROOT" >&6
20973 echo "$as_me:$LINENO: checking for libmgl location" >&5
20974 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
20977 if test "x$wxUSE_SHARED" = xyes
; then
20978 mgl_os_candidates
="linux/gcc/glibc.so linux/gcc/glibc"
20980 mgl_os_candidates
="linux/gcc/glibc linux/gcc/glibc.so"
20984 mgl_os_candidates
="dos32/dj2"
20987 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
20988 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
20989 { (exit 1); exit 1; }; }
20995 for mgl_os_i
in $mgl_os_candidates ; do
20996 if test "x$mgl_os" = x
; then
20997 if test "$wxUSE_DEBUG_FLAG" = yes ; then
20998 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
20999 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
21004 if test "x$mgl_lib_type" = x
; then
21005 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
21006 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
21007 mgl_lib_type
=release
21014 if test "x$mgl_os" = x
; then
21015 echo "$as_me:$LINENO: result: not found" >&5
21016 echo "${ECHO_T}not found" >&6
21017 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
21018 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
21019 { (exit 1); exit 1; }; }
21021 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
21022 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
21024 wxUSE_UNIVERSAL
="yes"
21026 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
21027 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
21029 AFMINSTALL
=afminstall
21034 if test "$wxUSE_MICROWIN" = 1; then
21035 echo "$as_me:$LINENO: checking for MicroWindows" >&5
21036 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
21037 if test "x$MICROWINDOWS" = x
; then
21038 echo "$as_me:$LINENO: result: not found" >&5
21039 echo "${ECHO_T}not found" >&6
21040 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
21041 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
21042 { (exit 1); exit 1; }; }
21044 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
21045 echo "${ECHO_T}$MICROWINDOWS" >&6
21048 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
21049 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
21050 echo "${ECHO_T}MicroWindows' libraries found." >&6
21052 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
21053 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
21054 { (exit 1); exit 1; }; }
21057 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
21058 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
21060 wxUSE_UNIVERSAL
="yes"
21062 AFMINSTALL
=afminstall
21064 GUIDIST
=MICROWIN_DIST
21066 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
21069 if test "$wxUSE_X11" = 1; then
21070 echo "$as_me:$LINENO: checking for X" >&5
21071 echo $ECHO_N "checking for X... $ECHO_C" >&6
21074 # Check whether --with-x or --without-x was given.
21075 if test "${with_x+set}" = set; then
21079 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
21080 if test "x$with_x" = xno
; then
21081 # The user explicitly disabled X.
21084 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
21085 # Both variables are already set.
21088 if test "${ac_cv_have_x+set}" = set; then
21089 echo $ECHO_N "(cached) $ECHO_C" >&6
21091 # One or both of the vars are not set, and there is no cached value.
21092 ac_x_includes
=no ac_x_libraries
=no
21093 rm -fr conftest.dir
21094 if mkdir conftest.dir
; then
21096 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
21097 cat >Imakefile
<<'_ACEOF'
21099 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
21101 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
21102 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
21103 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
21104 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
21105 for ac_extension
in a so sl
; do
21106 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
21107 test -f $ac_im_libdir/libX11.
$ac_extension; then
21108 ac_im_usrlibdir
=$ac_im_libdir; break
21111 # Screen out bogus values from the imake configuration. They are
21112 # bogus both because they are the default anyway, and because
21113 # using them would break gcc on systems where it needs fixed includes.
21114 case $ac_im_incroot in
21116 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
21118 case $ac_im_usrlibdir in
21119 /usr
/lib
| /lib
) ;;
21120 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
21124 rm -fr conftest.dir
21127 # Standard set of common directories for X headers.
21128 # Check X11 before X11Rn because it is often a symlink to the current release.
21140 /usr/local/X11/include
21141 /usr/local/X11R6/include
21142 /usr/local/X11R5/include
21143 /usr/local/X11R4/include
21145 /usr/local/include/X11
21146 /usr/local/include/X11R6
21147 /usr/local/include/X11R5
21148 /usr/local/include/X11R4
21152 /usr/XFree86/include/X11
21156 /usr/unsupported/include
21157 /usr/athena/include
21158 /usr/local/x11r5/include
21159 /usr/lpp/Xamples/include
21161 /usr/openwin/include
21162 /usr/openwin/share/include'
21164 if test "$ac_x_includes" = no
; then
21165 # Guess where to find include files, by looking for Intrinsic.h.
21166 # First, try using that file with no special directory specified.
21167 cat >conftest.
$ac_ext <<_ACEOF
21168 #line $LINENO "configure"
21171 cat confdefs.h
>>conftest.
$ac_ext
21172 cat >>conftest.
$ac_ext <<_ACEOF
21173 /* end confdefs.h. */
21174 #include <X11/Intrinsic.h>
21176 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21177 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21179 grep -v '^ *+' conftest.er1
>conftest.err
21181 cat conftest.err
>&5
21182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21183 (exit $ac_status); } >/dev
/null
; then
21184 if test -s conftest.err
; then
21185 ac_cpp_err
=$ac_c_preproc_warn_flag
21192 if test -z "$ac_cpp_err"; then
21193 # We can compile using X headers with no special include directory.
21196 echo "$as_me: failed program was:" >&5
21197 sed 's/^/| /' conftest.
$ac_ext >&5
21199 for ac_dir
in $ac_x_header_dirs; do
21200 if test -r "$ac_dir/X11/Intrinsic.h"; then
21201 ac_x_includes
=$ac_dir
21206 rm -f conftest.err conftest.
$ac_ext
21207 fi # $ac_x_includes = no
21209 if test "$ac_x_libraries" = no
; then
21210 # Check for the libraries.
21211 # See if we find them without any special options.
21212 # Don't add to $LIBS permanently.
21215 cat >conftest.
$ac_ext <<_ACEOF
21216 #line $LINENO "configure"
21219 cat confdefs.h
>>conftest.
$ac_ext
21220 cat >>conftest.
$ac_ext <<_ACEOF
21221 /* end confdefs.h. */
21222 #include <X11/Intrinsic.h>
21231 rm -f conftest.
$ac_objext conftest
$ac_exeext
21232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21233 (eval $ac_link) 2>&5
21235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21236 (exit $ac_status); } &&
21237 { ac_try
='test -s conftest$ac_exeext'
21238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21239 (eval $ac_try) 2>&5
21241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21242 (exit $ac_status); }; }; then
21244 # We can link X programs with no special library path.
21247 echo "$as_me: failed program was:" >&5
21248 sed 's/^/| /' conftest.
$ac_ext >&5
21251 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
21253 # Don't even attempt the hair of trying to link an X program!
21254 for ac_extension
in a so sl
; do
21255 if test -r $ac_dir/libXt.
$ac_extension; then
21256 ac_x_libraries
=$ac_dir
21262 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21263 fi # $ac_x_libraries = no
21265 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
21266 # Didn't find X anywhere. Cache the known absence of X.
21267 ac_cv_have_x
="have_x=no"
21269 # Record where we found X for the cache.
21270 ac_cv_have_x
="have_x=yes \
21271 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
21276 eval "$ac_cv_have_x"
21279 if test "$have_x" != yes; then
21280 echo "$as_me:$LINENO: result: $have_x" >&5
21281 echo "${ECHO_T}$have_x" >&6
21284 # If each of the values was on the command line, it overrides each guess.
21285 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
21286 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
21287 # Update the cache value to reflect the command line values.
21288 ac_cv_have_x
="have_x=yes \
21289 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
21290 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
21291 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
21294 if test "$no_x" = yes; then
21295 # Not all programs may use this symbol, but it does not hurt to define it.
21297 cat >>confdefs.h
<<\_ACEOF
21298 #define X_DISPLAY_MISSING 1
21301 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
21303 if test -n "$x_includes"; then
21304 X_CFLAGS
="$X_CFLAGS -I$x_includes"
21307 # It would also be nice to do this for all -L options, not just this one.
21308 if test -n "$x_libraries"; then
21309 X_LIBS
="$X_LIBS -L$x_libraries"
21310 # For Solaris; some versions of Sun CC require a space after -R and
21311 # others require no space. Words are not sufficient . . . .
21312 case `(uname -sr) 2>/dev/null` in
21314 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
21315 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
21316 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
21317 cat >conftest.
$ac_ext <<_ACEOF
21318 #line $LINENO "configure"
21321 cat confdefs.h
>>conftest.
$ac_ext
21322 cat >>conftest.
$ac_ext <<_ACEOF
21323 /* end confdefs.h. */
21333 rm -f conftest.
$ac_objext conftest
$ac_exeext
21334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21335 (eval $ac_link) 2>&5
21337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21338 (exit $ac_status); } &&
21339 { ac_try
='test -s conftest$ac_exeext'
21340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21341 (eval $ac_try) 2>&5
21343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21344 (exit $ac_status); }; }; then
21347 echo "$as_me: failed program was:" >&5
21348 sed 's/^/| /' conftest.
$ac_ext >&5
21352 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21353 if test $ac_R_nospace = yes; then
21354 echo "$as_me:$LINENO: result: no" >&5
21355 echo "${ECHO_T}no" >&6
21356 X_LIBS
="$X_LIBS -R$x_libraries"
21358 LIBS
="$ac_xsave_LIBS -R $x_libraries"
21359 cat >conftest.
$ac_ext <<_ACEOF
21360 #line $LINENO "configure"
21363 cat confdefs.h
>>conftest.
$ac_ext
21364 cat >>conftest.
$ac_ext <<_ACEOF
21365 /* end confdefs.h. */
21375 rm -f conftest.
$ac_objext conftest
$ac_exeext
21376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21377 (eval $ac_link) 2>&5
21379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21380 (exit $ac_status); } &&
21381 { ac_try
='test -s conftest$ac_exeext'
21382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21383 (eval $ac_try) 2>&5
21385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21386 (exit $ac_status); }; }; then
21389 echo "$as_me: failed program was:" >&5
21390 sed 's/^/| /' conftest.
$ac_ext >&5
21394 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21395 if test $ac_R_space = yes; then
21396 echo "$as_me:$LINENO: result: yes" >&5
21397 echo "${ECHO_T}yes" >&6
21398 X_LIBS
="$X_LIBS -R $x_libraries"
21400 echo "$as_me:$LINENO: result: neither works" >&5
21401 echo "${ECHO_T}neither works" >&6
21404 LIBS
=$ac_xsave_LIBS
21408 # Check for system-dependent libraries X programs must link with.
21409 # Do this before checking for the system-independent R6 libraries
21410 # (-lICE), since we may need -lsocket or whatever for X linking.
21412 if test "$ISC" = yes; then
21413 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
21415 # Martyn Johnson says this is needed for Ultrix, if the X
21416 # libraries were built with DECnet support. And Karl Berry says
21417 # the Alpha needs dnet_stub (dnet does not exist).
21418 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
21419 cat >conftest.
$ac_ext <<_ACEOF
21420 #line $LINENO "configure"
21423 cat confdefs.h
>>conftest.
$ac_ext
21424 cat >>conftest.
$ac_ext <<_ACEOF
21425 /* end confdefs.h. */
21427 /* Override any gcc2 internal prototype to avoid an error. */
21431 /* We use char because int might match the return type of a gcc2
21432 builtin and then its argument prototype would still apply. */
21433 char XOpenDisplay ();
21442 rm -f conftest.
$ac_objext conftest
$ac_exeext
21443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21444 (eval $ac_link) 2>&5
21446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21447 (exit $ac_status); } &&
21448 { ac_try
='test -s conftest$ac_exeext'
21449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21450 (eval $ac_try) 2>&5
21452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21453 (exit $ac_status); }; }; then
21456 echo "$as_me: failed program was:" >&5
21457 sed 's/^/| /' conftest.
$ac_ext >&5
21459 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
21460 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
21461 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
21462 echo $ECHO_N "(cached) $ECHO_C" >&6
21464 ac_check_lib_save_LIBS
=$LIBS
21465 LIBS
="-ldnet $LIBS"
21466 cat >conftest.
$ac_ext <<_ACEOF
21467 #line $LINENO "configure"
21470 cat confdefs.h
>>conftest.
$ac_ext
21471 cat >>conftest.
$ac_ext <<_ACEOF
21472 /* end confdefs.h. */
21474 /* Override any gcc2 internal prototype to avoid an error. */
21478 /* We use char because int might match the return type of a gcc2
21479 builtin and then its argument prototype would still apply. */
21489 rm -f conftest.
$ac_objext conftest
$ac_exeext
21490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21491 (eval $ac_link) 2>&5
21493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21494 (exit $ac_status); } &&
21495 { ac_try
='test -s conftest$ac_exeext'
21496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21497 (eval $ac_try) 2>&5
21499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21500 (exit $ac_status); }; }; then
21501 ac_cv_lib_dnet_dnet_ntoa
=yes
21503 echo "$as_me: failed program was:" >&5
21504 sed 's/^/| /' conftest.
$ac_ext >&5
21506 ac_cv_lib_dnet_dnet_ntoa
=no
21508 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21509 LIBS
=$ac_check_lib_save_LIBS
21511 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
21512 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
21513 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
21514 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
21517 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
21518 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
21519 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
21520 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
21521 echo $ECHO_N "(cached) $ECHO_C" >&6
21523 ac_check_lib_save_LIBS
=$LIBS
21524 LIBS
="-ldnet_stub $LIBS"
21525 cat >conftest.
$ac_ext <<_ACEOF
21526 #line $LINENO "configure"
21529 cat confdefs.h
>>conftest.
$ac_ext
21530 cat >>conftest.
$ac_ext <<_ACEOF
21531 /* end confdefs.h. */
21533 /* Override any gcc2 internal prototype to avoid an error. */
21537 /* We use char because int might match the return type of a gcc2
21538 builtin and then its argument prototype would still apply. */
21548 rm -f conftest.
$ac_objext conftest
$ac_exeext
21549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21550 (eval $ac_link) 2>&5
21552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21553 (exit $ac_status); } &&
21554 { ac_try
='test -s conftest$ac_exeext'
21555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21556 (eval $ac_try) 2>&5
21558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21559 (exit $ac_status); }; }; then
21560 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
21562 echo "$as_me: failed program was:" >&5
21563 sed 's/^/| /' conftest.
$ac_ext >&5
21565 ac_cv_lib_dnet_stub_dnet_ntoa
=no
21567 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21568 LIBS
=$ac_check_lib_save_LIBS
21570 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
21571 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
21572 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
21573 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
21578 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21579 LIBS
="$ac_xsave_LIBS"
21581 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
21582 # to get the SysV transport functions.
21583 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
21585 # The nsl library prevents programs from opening the X display
21586 # on Irix 5.2, according to T.E. Dickey.
21587 # The functions gethostbyname, getservbyname, and inet_addr are
21588 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
21589 echo "$as_me:$LINENO: checking for gethostbyname" >&5
21590 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
21591 if test "${ac_cv_func_gethostbyname+set}" = set; then
21592 echo $ECHO_N "(cached) $ECHO_C" >&6
21594 cat >conftest.
$ac_ext <<_ACEOF
21595 #line $LINENO "configure"
21598 cat confdefs.h
>>conftest.
$ac_ext
21599 cat >>conftest.
$ac_ext <<_ACEOF
21600 /* end confdefs.h. */
21601 /* System header to define __stub macros and hopefully few prototypes,
21602 which can conflict with char gethostbyname (); below.
21603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21604 <limits.h> exists even on freestanding compilers. */
21606 # include <limits.h>
21608 # include <assert.h>
21610 /* Override any gcc2 internal prototype to avoid an error. */
21615 /* We use char because int might match the return type of a gcc2
21616 builtin and then its argument prototype would still apply. */
21617 char gethostbyname ();
21618 /* The GNU C library defines this for functions which it implements
21619 to always fail with ENOSYS. Some functions are actually named
21620 something starting with __ and the normal name is an alias. */
21621 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
21624 char (*f) () = gethostbyname;
21633 return f != gethostbyname;
21638 rm -f conftest.
$ac_objext conftest
$ac_exeext
21639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21640 (eval $ac_link) 2>&5
21642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21643 (exit $ac_status); } &&
21644 { ac_try
='test -s conftest$ac_exeext'
21645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21646 (eval $ac_try) 2>&5
21648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21649 (exit $ac_status); }; }; then
21650 ac_cv_func_gethostbyname
=yes
21652 echo "$as_me: failed program was:" >&5
21653 sed 's/^/| /' conftest.
$ac_ext >&5
21655 ac_cv_func_gethostbyname
=no
21657 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21659 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
21660 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
21662 if test $ac_cv_func_gethostbyname = no
; then
21663 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
21664 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
21665 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
21666 echo $ECHO_N "(cached) $ECHO_C" >&6
21668 ac_check_lib_save_LIBS
=$LIBS
21670 cat >conftest.
$ac_ext <<_ACEOF
21671 #line $LINENO "configure"
21674 cat confdefs.h
>>conftest.
$ac_ext
21675 cat >>conftest.
$ac_ext <<_ACEOF
21676 /* end confdefs.h. */
21678 /* Override any gcc2 internal prototype to avoid an error. */
21682 /* We use char because int might match the return type of a gcc2
21683 builtin and then its argument prototype would still apply. */
21684 char gethostbyname ();
21693 rm -f conftest.
$ac_objext conftest
$ac_exeext
21694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21695 (eval $ac_link) 2>&5
21697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21698 (exit $ac_status); } &&
21699 { ac_try
='test -s conftest$ac_exeext'
21700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21701 (eval $ac_try) 2>&5
21703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21704 (exit $ac_status); }; }; then
21705 ac_cv_lib_nsl_gethostbyname
=yes
21707 echo "$as_me: failed program was:" >&5
21708 sed 's/^/| /' conftest.
$ac_ext >&5
21710 ac_cv_lib_nsl_gethostbyname
=no
21712 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21713 LIBS
=$ac_check_lib_save_LIBS
21715 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
21716 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
21717 if test $ac_cv_lib_nsl_gethostbyname = yes; then
21718 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
21721 if test $ac_cv_lib_nsl_gethostbyname = no
; then
21722 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
21723 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
21724 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
21725 echo $ECHO_N "(cached) $ECHO_C" >&6
21727 ac_check_lib_save_LIBS
=$LIBS
21729 cat >conftest.
$ac_ext <<_ACEOF
21730 #line $LINENO "configure"
21733 cat confdefs.h
>>conftest.
$ac_ext
21734 cat >>conftest.
$ac_ext <<_ACEOF
21735 /* end confdefs.h. */
21737 /* Override any gcc2 internal prototype to avoid an error. */
21741 /* We use char because int might match the return type of a gcc2
21742 builtin and then its argument prototype would still apply. */
21743 char gethostbyname ();
21752 rm -f conftest.
$ac_objext conftest
$ac_exeext
21753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21754 (eval $ac_link) 2>&5
21756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21757 (exit $ac_status); } &&
21758 { ac_try
='test -s conftest$ac_exeext'
21759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21760 (eval $ac_try) 2>&5
21762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21763 (exit $ac_status); }; }; then
21764 ac_cv_lib_bsd_gethostbyname
=yes
21766 echo "$as_me: failed program was:" >&5
21767 sed 's/^/| /' conftest.
$ac_ext >&5
21769 ac_cv_lib_bsd_gethostbyname
=no
21771 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21772 LIBS
=$ac_check_lib_save_LIBS
21774 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
21775 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
21776 if test $ac_cv_lib_bsd_gethostbyname = yes; then
21777 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
21783 # lieder@skyler.mavd.honeywell.com says without -lsocket,
21784 # socket/setsockopt and other routines are undefined under SCO ODT
21785 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
21786 # on later versions), says Simon Leinen: it contains gethostby*
21787 # variants that don't use the name server (or something). -lsocket
21788 # must be given before -lnsl if both are needed. We assume that
21789 # if connect needs -lnsl, so does gethostbyname.
21790 echo "$as_me:$LINENO: checking for connect" >&5
21791 echo $ECHO_N "checking for connect... $ECHO_C" >&6
21792 if test "${ac_cv_func_connect+set}" = set; then
21793 echo $ECHO_N "(cached) $ECHO_C" >&6
21795 cat >conftest.
$ac_ext <<_ACEOF
21796 #line $LINENO "configure"
21799 cat confdefs.h
>>conftest.
$ac_ext
21800 cat >>conftest.
$ac_ext <<_ACEOF
21801 /* end confdefs.h. */
21802 /* System header to define __stub macros and hopefully few prototypes,
21803 which can conflict with char connect (); below.
21804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21805 <limits.h> exists even on freestanding compilers. */
21807 # include <limits.h>
21809 # include <assert.h>
21811 /* Override any gcc2 internal prototype to avoid an error. */
21816 /* We use char because int might match the return type of a gcc2
21817 builtin and then its argument prototype would still apply. */
21819 /* The GNU C library defines this for functions which it implements
21820 to always fail with ENOSYS. Some functions are actually named
21821 something starting with __ and the normal name is an alias. */
21822 #if defined (__stub_connect) || defined (__stub___connect)
21825 char (*f) () = connect;
21834 return f != connect;
21839 rm -f conftest.
$ac_objext conftest
$ac_exeext
21840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21841 (eval $ac_link) 2>&5
21843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21844 (exit $ac_status); } &&
21845 { ac_try
='test -s conftest$ac_exeext'
21846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21847 (eval $ac_try) 2>&5
21849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21850 (exit $ac_status); }; }; then
21851 ac_cv_func_connect
=yes
21853 echo "$as_me: failed program was:" >&5
21854 sed 's/^/| /' conftest.
$ac_ext >&5
21856 ac_cv_func_connect
=no
21858 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21860 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
21861 echo "${ECHO_T}$ac_cv_func_connect" >&6
21863 if test $ac_cv_func_connect = no
; then
21864 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
21865 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
21866 if test "${ac_cv_lib_socket_connect+set}" = set; then
21867 echo $ECHO_N "(cached) $ECHO_C" >&6
21869 ac_check_lib_save_LIBS
=$LIBS
21870 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
21871 cat >conftest.
$ac_ext <<_ACEOF
21872 #line $LINENO "configure"
21875 cat confdefs.h
>>conftest.
$ac_ext
21876 cat >>conftest.
$ac_ext <<_ACEOF
21877 /* end confdefs.h. */
21879 /* Override any gcc2 internal prototype to avoid an error. */
21883 /* We use char because int might match the return type of a gcc2
21884 builtin and then its argument prototype would still apply. */
21894 rm -f conftest.
$ac_objext conftest
$ac_exeext
21895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21896 (eval $ac_link) 2>&5
21898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21899 (exit $ac_status); } &&
21900 { ac_try
='test -s conftest$ac_exeext'
21901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21902 (eval $ac_try) 2>&5
21904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21905 (exit $ac_status); }; }; then
21906 ac_cv_lib_socket_connect
=yes
21908 echo "$as_me: failed program was:" >&5
21909 sed 's/^/| /' conftest.
$ac_ext >&5
21911 ac_cv_lib_socket_connect
=no
21913 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21914 LIBS
=$ac_check_lib_save_LIBS
21916 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
21917 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
21918 if test $ac_cv_lib_socket_connect = yes; then
21919 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
21924 # Guillermo Gomez says -lposix is necessary on A/UX.
21925 echo "$as_me:$LINENO: checking for remove" >&5
21926 echo $ECHO_N "checking for remove... $ECHO_C" >&6
21927 if test "${ac_cv_func_remove+set}" = set; then
21928 echo $ECHO_N "(cached) $ECHO_C" >&6
21930 cat >conftest.
$ac_ext <<_ACEOF
21931 #line $LINENO "configure"
21934 cat confdefs.h
>>conftest.
$ac_ext
21935 cat >>conftest.
$ac_ext <<_ACEOF
21936 /* end confdefs.h. */
21937 /* System header to define __stub macros and hopefully few prototypes,
21938 which can conflict with char remove (); below.
21939 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21940 <limits.h> exists even on freestanding compilers. */
21942 # include <limits.h>
21944 # include <assert.h>
21946 /* Override any gcc2 internal prototype to avoid an error. */
21951 /* We use char because int might match the return type of a gcc2
21952 builtin and then its argument prototype would still apply. */
21954 /* The GNU C library defines this for functions which it implements
21955 to always fail with ENOSYS. Some functions are actually named
21956 something starting with __ and the normal name is an alias. */
21957 #if defined (__stub_remove) || defined (__stub___remove)
21960 char (*f) () = remove;
21969 return f != remove;
21974 rm -f conftest.
$ac_objext conftest
$ac_exeext
21975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21976 (eval $ac_link) 2>&5
21978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21979 (exit $ac_status); } &&
21980 { ac_try
='test -s conftest$ac_exeext'
21981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21982 (eval $ac_try) 2>&5
21984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21985 (exit $ac_status); }; }; then
21986 ac_cv_func_remove
=yes
21988 echo "$as_me: failed program was:" >&5
21989 sed 's/^/| /' conftest.
$ac_ext >&5
21991 ac_cv_func_remove
=no
21993 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21995 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
21996 echo "${ECHO_T}$ac_cv_func_remove" >&6
21998 if test $ac_cv_func_remove = no
; then
21999 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
22000 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
22001 if test "${ac_cv_lib_posix_remove+set}" = set; then
22002 echo $ECHO_N "(cached) $ECHO_C" >&6
22004 ac_check_lib_save_LIBS
=$LIBS
22005 LIBS
="-lposix $LIBS"
22006 cat >conftest.
$ac_ext <<_ACEOF
22007 #line $LINENO "configure"
22010 cat confdefs.h
>>conftest.
$ac_ext
22011 cat >>conftest.
$ac_ext <<_ACEOF
22012 /* end confdefs.h. */
22014 /* Override any gcc2 internal prototype to avoid an error. */
22018 /* We use char because int might match the return type of a gcc2
22019 builtin and then its argument prototype would still apply. */
22029 rm -f conftest.
$ac_objext conftest
$ac_exeext
22030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22031 (eval $ac_link) 2>&5
22033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22034 (exit $ac_status); } &&
22035 { ac_try
='test -s conftest$ac_exeext'
22036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22037 (eval $ac_try) 2>&5
22039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22040 (exit $ac_status); }; }; then
22041 ac_cv_lib_posix_remove
=yes
22043 echo "$as_me: failed program was:" >&5
22044 sed 's/^/| /' conftest.
$ac_ext >&5
22046 ac_cv_lib_posix_remove
=no
22048 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22049 LIBS
=$ac_check_lib_save_LIBS
22051 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
22052 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
22053 if test $ac_cv_lib_posix_remove = yes; then
22054 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
22059 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
22060 echo "$as_me:$LINENO: checking for shmat" >&5
22061 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
22062 if test "${ac_cv_func_shmat+set}" = set; then
22063 echo $ECHO_N "(cached) $ECHO_C" >&6
22065 cat >conftest.
$ac_ext <<_ACEOF
22066 #line $LINENO "configure"
22069 cat confdefs.h
>>conftest.
$ac_ext
22070 cat >>conftest.
$ac_ext <<_ACEOF
22071 /* end confdefs.h. */
22072 /* System header to define __stub macros and hopefully few prototypes,
22073 which can conflict with char shmat (); below.
22074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22075 <limits.h> exists even on freestanding compilers. */
22077 # include <limits.h>
22079 # include <assert.h>
22081 /* Override any gcc2 internal prototype to avoid an error. */
22086 /* We use char because int might match the return type of a gcc2
22087 builtin and then its argument prototype would still apply. */
22089 /* The GNU C library defines this for functions which it implements
22090 to always fail with ENOSYS. Some functions are actually named
22091 something starting with __ and the normal name is an alias. */
22092 #if defined (__stub_shmat) || defined (__stub___shmat)
22095 char (*f) () = shmat;
22109 rm -f conftest.
$ac_objext conftest
$ac_exeext
22110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22111 (eval $ac_link) 2>&5
22113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22114 (exit $ac_status); } &&
22115 { ac_try
='test -s conftest$ac_exeext'
22116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22117 (eval $ac_try) 2>&5
22119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22120 (exit $ac_status); }; }; then
22121 ac_cv_func_shmat
=yes
22123 echo "$as_me: failed program was:" >&5
22124 sed 's/^/| /' conftest.
$ac_ext >&5
22126 ac_cv_func_shmat
=no
22128 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22130 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
22131 echo "${ECHO_T}$ac_cv_func_shmat" >&6
22133 if test $ac_cv_func_shmat = no
; then
22134 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
22135 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
22136 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
22137 echo $ECHO_N "(cached) $ECHO_C" >&6
22139 ac_check_lib_save_LIBS
=$LIBS
22141 cat >conftest.
$ac_ext <<_ACEOF
22142 #line $LINENO "configure"
22145 cat confdefs.h
>>conftest.
$ac_ext
22146 cat >>conftest.
$ac_ext <<_ACEOF
22147 /* end confdefs.h. */
22149 /* Override any gcc2 internal prototype to avoid an error. */
22153 /* We use char because int might match the return type of a gcc2
22154 builtin and then its argument prototype would still apply. */
22164 rm -f conftest.
$ac_objext conftest
$ac_exeext
22165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22166 (eval $ac_link) 2>&5
22168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22169 (exit $ac_status); } &&
22170 { ac_try
='test -s conftest$ac_exeext'
22171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22172 (eval $ac_try) 2>&5
22174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22175 (exit $ac_status); }; }; then
22176 ac_cv_lib_ipc_shmat
=yes
22178 echo "$as_me: failed program was:" >&5
22179 sed 's/^/| /' conftest.
$ac_ext >&5
22181 ac_cv_lib_ipc_shmat
=no
22183 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22184 LIBS
=$ac_check_lib_save_LIBS
22186 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
22187 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
22188 if test $ac_cv_lib_ipc_shmat = yes; then
22189 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
22195 # Check for libraries that X11R6 Xt/Xaw programs need.
22196 ac_save_LDFLAGS
=$LDFLAGS
22197 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
22198 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
22199 # check for ICE first), but we must link in the order -lSM -lICE or
22200 # we get undefined symbols. So assume we have SM if we have ICE.
22201 # These have to be linked with before -lX11, unlike the other
22202 # libraries we check for below, so use a different variable.
22203 # John Interrante, Karl Berry
22204 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
22205 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
22206 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
22207 echo $ECHO_N "(cached) $ECHO_C" >&6
22209 ac_check_lib_save_LIBS
=$LIBS
22210 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
22211 cat >conftest.
$ac_ext <<_ACEOF
22212 #line $LINENO "configure"
22215 cat confdefs.h
>>conftest.
$ac_ext
22216 cat >>conftest.
$ac_ext <<_ACEOF
22217 /* end confdefs.h. */
22219 /* Override any gcc2 internal prototype to avoid an error. */
22223 /* We use char because int might match the return type of a gcc2
22224 builtin and then its argument prototype would still apply. */
22225 char IceConnectionNumber ();
22229 IceConnectionNumber ();
22234 rm -f conftest.
$ac_objext conftest
$ac_exeext
22235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22236 (eval $ac_link) 2>&5
22238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22239 (exit $ac_status); } &&
22240 { ac_try
='test -s conftest$ac_exeext'
22241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22242 (eval $ac_try) 2>&5
22244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22245 (exit $ac_status); }; }; then
22246 ac_cv_lib_ICE_IceConnectionNumber
=yes
22248 echo "$as_me: failed program was:" >&5
22249 sed 's/^/| /' conftest.
$ac_ext >&5
22251 ac_cv_lib_ICE_IceConnectionNumber
=no
22253 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22254 LIBS
=$ac_check_lib_save_LIBS
22256 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
22257 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
22258 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
22259 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
22262 LDFLAGS
=$ac_save_LDFLAGS
22267 if test "$no_x" = "yes"; then
22268 { { echo "$as_me:$LINENO: error: X11 not found" >&5
22269 echo "$as_me: error: X11 not found" >&2;}
22270 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
22273 GUI_TK_LIBRARY
="$X_LIBS"
22274 TOOLKIT_INCLUDE
="$X_CFLAGS"
22275 AFMINSTALL
=afminstall
22276 COMPILED_X_PROGRAM
=0
22278 if test "$wxUSE_NANOX" = "yes"; then
22279 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
22280 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
22281 if test "x$MICROWIN" = x
; then
22282 echo "$as_me:$LINENO: result: not found" >&5
22283 echo "${ECHO_T}not found" >&6
22284 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
22285 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
22286 { (exit 1); exit 1; }; }
22288 echo "$as_me:$LINENO: result: $MICROWIN" >&5
22289 echo "${ECHO_T}$MICROWIN" >&6
22290 cat >>confdefs.h
<<\_ACEOF
22291 #define wxUSE_NANOX 1
22298 echo "$as_me:$LINENO: checking for Xpm library" >&5
22299 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
22302 for ac_dir
in $SEARCH_LIB /usr
/lib
;
22304 for ac_extension
in a so sl dylib
; do
22305 if test -f "$ac_dir/libXpm.$ac_extension"; then
22306 ac_find_libraries
=$ac_dir
22312 if test "$ac_find_libraries" != "" ; then
22314 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
22316 if test $result = 0; then
22319 ac_path_to_link
=" -L$ac_find_libraries"
22322 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
22324 cat >>confdefs.h
<<\_ACEOF
22325 #define wxHAVE_LIB_XPM 1
22328 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
22329 echo "${ECHO_T}found at $ac_find_libraries" >&6
22331 cat >conftest.
$ac_ext <<_ACEOF
22332 #line $LINENO "configure"
22335 cat confdefs.h
>>conftest.
$ac_ext
22336 cat >>conftest.
$ac_ext <<_ACEOF
22337 /* end confdefs.h. */
22339 #include <X11/xpm.h>
22346 version = XpmLibraryVersion();
22352 rm -f conftest.
$ac_objext
22353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22354 (eval $ac_compile) 2>&5
22356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22357 (exit $ac_status); } &&
22358 { ac_try
='test -s conftest.$ac_objext'
22359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22360 (eval $ac_try) 2>&5
22362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22363 (exit $ac_status); }; }; then
22366 cat >>confdefs.h
<<\_ACEOF
22367 #define wxHAVE_LIB_XPM 1
22370 echo "$as_me:$LINENO: result: found in default search path" >&5
22371 echo "${ECHO_T}found in default search path" >&6
22372 COMPILED_X_PROGRAM
=0
22375 echo "$as_me: failed program was:" >&5
22376 sed 's/^/| /' conftest.
$ac_ext >&5
22379 echo "$as_me:$LINENO: result: no" >&5
22380 echo "${ECHO_T}no" >&6
22381 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
22382 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
22386 rm -f conftest.
$ac_objext conftest.
$ac_ext
22389 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
22390 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
22391 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
22392 echo $ECHO_N "(cached) $ECHO_C" >&6
22394 ac_check_lib_save_LIBS
=$LIBS
22395 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
22396 cat >conftest.
$ac_ext <<_ACEOF
22397 #line $LINENO "configure"
22400 cat confdefs.h
>>conftest.
$ac_ext
22401 cat >>conftest.
$ac_ext <<_ACEOF
22402 /* end confdefs.h. */
22404 /* Override any gcc2 internal prototype to avoid an error. */
22408 /* We use char because int might match the return type of a gcc2
22409 builtin and then its argument prototype would still apply. */
22410 char XShapeQueryExtension ();
22414 XShapeQueryExtension ();
22419 rm -f conftest.
$ac_objext conftest
$ac_exeext
22420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22421 (eval $ac_link) 2>&5
22423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22424 (exit $ac_status); } &&
22425 { ac_try
='test -s conftest$ac_exeext'
22426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22427 (eval $ac_try) 2>&5
22429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22430 (exit $ac_status); }; }; then
22431 ac_cv_lib_Xext_XShapeQueryExtension
=yes
22433 echo "$as_me: failed program was:" >&5
22434 sed 's/^/| /' conftest.
$ac_ext >&5
22436 ac_cv_lib_Xext_XShapeQueryExtension
=no
22438 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22439 LIBS
=$ac_check_lib_save_LIBS
22441 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
22442 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
22443 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
22445 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
22451 if test "$wxUSE_UNICODE" = "yes"; then
22455 if test -z "$PKG_CONFIG"; then
22456 # Extract the first word of "pkg-config", so it can be a program name with args.
22457 set dummy pkg
-config; ac_word
=$2
22458 echo "$as_me:$LINENO: checking for $ac_word" >&5
22459 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22460 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22461 echo $ECHO_N "(cached) $ECHO_C" >&6
22463 case $PKG_CONFIG in
22465 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22468 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22469 for as_dir
in $PATH
22472 test -z "$as_dir" && as_dir
=.
22473 for ac_exec_ext
in '' $ac_executable_extensions; do
22474 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22475 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22476 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22482 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22486 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22488 if test -n "$PKG_CONFIG"; then
22489 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22490 echo "${ECHO_T}$PKG_CONFIG" >&6
22492 echo "$as_me:$LINENO: result: no" >&5
22493 echo "${ECHO_T}no" >&6
22498 if test "$PKG_CONFIG" = "no" ; then
22499 echo "*** The pkg-config script could not be found. Make sure it is"
22500 echo "*** in your path, or set the PKG_CONFIG environment variable"
22501 echo "*** to the full path to pkg-config."
22502 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22504 PKG_CONFIG_MIN_VERSION
=0.9.0
22505 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22506 echo "$as_me:$LINENO: checking for pangox" >&5
22507 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
22509 if $PKG_CONFIG --exists "pangox" ; then
22510 echo "$as_me:$LINENO: result: yes" >&5
22511 echo "${ECHO_T}yes" >&6
22514 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
22515 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
22516 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
22517 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
22518 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
22520 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
22521 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
22522 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
22523 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
22524 echo "${ECHO_T}$PANGOX_LIBS" >&6
22528 ## If we have a custom action on failure, don't print errors, but
22529 ## do set a variable so people can do so.
22530 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
22537 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22538 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22542 if test $succeeded = yes; then
22544 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
22545 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
22549 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
22550 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
22551 { (exit 1); exit 1; }; }
22559 if test -z "$PKG_CONFIG"; then
22560 # Extract the first word of "pkg-config", so it can be a program name with args.
22561 set dummy pkg
-config; ac_word
=$2
22562 echo "$as_me:$LINENO: checking for $ac_word" >&5
22563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22564 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22565 echo $ECHO_N "(cached) $ECHO_C" >&6
22567 case $PKG_CONFIG in
22569 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22572 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22573 for as_dir
in $PATH
22576 test -z "$as_dir" && as_dir
=.
22577 for ac_exec_ext
in '' $ac_executable_extensions; do
22578 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22579 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22580 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22586 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22590 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22592 if test -n "$PKG_CONFIG"; then
22593 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22594 echo "${ECHO_T}$PKG_CONFIG" >&6
22596 echo "$as_me:$LINENO: result: no" >&5
22597 echo "${ECHO_T}no" >&6
22602 if test "$PKG_CONFIG" = "no" ; then
22603 echo "*** The pkg-config script could not be found. Make sure it is"
22604 echo "*** in your path, or set the PKG_CONFIG environment variable"
22605 echo "*** to the full path to pkg-config."
22606 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22608 PKG_CONFIG_MIN_VERSION
=0.9.0
22609 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22610 echo "$as_me:$LINENO: checking for pangoft2" >&5
22611 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22613 if $PKG_CONFIG --exists "pangoft2" ; then
22614 echo "$as_me:$LINENO: result: yes" >&5
22615 echo "${ECHO_T}yes" >&6
22618 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22619 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22620 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
22621 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22622 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22624 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22625 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22626 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
22627 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22628 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22632 ## If we have a custom action on failure, don't print errors, but
22633 ## do set a variable so people can do so.
22634 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22641 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22642 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22646 if test $succeeded = yes; then
22648 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
22649 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22653 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22654 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22655 wxUSE_PRINTING_ARCHITECTURE
="no"
22663 if test -z "$PKG_CONFIG"; then
22664 # Extract the first word of "pkg-config", so it can be a program name with args.
22665 set dummy pkg
-config; ac_word
=$2
22666 echo "$as_me:$LINENO: checking for $ac_word" >&5
22667 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22668 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22669 echo $ECHO_N "(cached) $ECHO_C" >&6
22671 case $PKG_CONFIG in
22673 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22676 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22677 for as_dir
in $PATH
22680 test -z "$as_dir" && as_dir
=.
22681 for ac_exec_ext
in '' $ac_executable_extensions; do
22682 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22683 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22684 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22690 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22694 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22696 if test -n "$PKG_CONFIG"; then
22697 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22698 echo "${ECHO_T}$PKG_CONFIG" >&6
22700 echo "$as_me:$LINENO: result: no" >&5
22701 echo "${ECHO_T}no" >&6
22706 if test "$PKG_CONFIG" = "no" ; then
22707 echo "*** The pkg-config script could not be found. Make sure it is"
22708 echo "*** in your path, or set the PKG_CONFIG environment variable"
22709 echo "*** to the full path to pkg-config."
22710 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22712 PKG_CONFIG_MIN_VERSION
=0.9.0
22713 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22714 echo "$as_me:$LINENO: checking for pangoxft" >&5
22715 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
22717 if $PKG_CONFIG --exists "pangoxft" ; then
22718 echo "$as_me:$LINENO: result: yes" >&5
22719 echo "${ECHO_T}yes" >&6
22722 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
22723 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
22724 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
22725 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
22726 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
22728 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
22729 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
22730 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
22731 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
22732 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
22736 ## If we have a custom action on failure, don't print errors, but
22737 ## do set a variable so people can do so.
22738 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
22745 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22746 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22750 if test $succeeded = yes; then
22752 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
22753 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
22757 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
22758 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
22765 wxUSE_UNIVERSAL
="yes"
22767 if test "$wxUSE_NANOX" = "yes"; then
22768 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
22769 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"
22770 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
22772 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11$xpm_link"
22775 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
22780 if test "$wxUSE_MOTIF" = 1; then
22781 if test "$no_x" = yes; then
22782 # Not all programs may use this symbol, but it does not hurt to define it.
22784 cat >>confdefs.h
<<\_ACEOF
22785 #define X_DISPLAY_MISSING 1
22788 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
22790 if test -n "$x_includes"; then
22791 X_CFLAGS
="$X_CFLAGS -I$x_includes"
22794 # It would also be nice to do this for all -L options, not just this one.
22795 if test -n "$x_libraries"; then
22796 X_LIBS
="$X_LIBS -L$x_libraries"
22797 # For Solaris; some versions of Sun CC require a space after -R and
22798 # others require no space. Words are not sufficient . . . .
22799 case `(uname -sr) 2>/dev/null` in
22801 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
22802 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
22803 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
22804 cat >conftest.
$ac_ext <<_ACEOF
22805 #line $LINENO "configure"
22808 cat confdefs.h
>>conftest.
$ac_ext
22809 cat >>conftest.
$ac_ext <<_ACEOF
22810 /* end confdefs.h. */
22820 rm -f conftest.
$ac_objext conftest
$ac_exeext
22821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22822 (eval $ac_link) 2>&5
22824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22825 (exit $ac_status); } &&
22826 { ac_try
='test -s conftest$ac_exeext'
22827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22828 (eval $ac_try) 2>&5
22830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22831 (exit $ac_status); }; }; then
22834 echo "$as_me: failed program was:" >&5
22835 sed 's/^/| /' conftest.
$ac_ext >&5
22839 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22840 if test $ac_R_nospace = yes; then
22841 echo "$as_me:$LINENO: result: no" >&5
22842 echo "${ECHO_T}no" >&6
22843 X_LIBS
="$X_LIBS -R$x_libraries"
22845 LIBS
="$ac_xsave_LIBS -R $x_libraries"
22846 cat >conftest.
$ac_ext <<_ACEOF
22847 #line $LINENO "configure"
22850 cat confdefs.h
>>conftest.
$ac_ext
22851 cat >>conftest.
$ac_ext <<_ACEOF
22852 /* end confdefs.h. */
22862 rm -f conftest.
$ac_objext conftest
$ac_exeext
22863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22864 (eval $ac_link) 2>&5
22866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22867 (exit $ac_status); } &&
22868 { ac_try
='test -s conftest$ac_exeext'
22869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22870 (eval $ac_try) 2>&5
22872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22873 (exit $ac_status); }; }; then
22876 echo "$as_me: failed program was:" >&5
22877 sed 's/^/| /' conftest.
$ac_ext >&5
22881 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22882 if test $ac_R_space = yes; then
22883 echo "$as_me:$LINENO: result: yes" >&5
22884 echo "${ECHO_T}yes" >&6
22885 X_LIBS
="$X_LIBS -R $x_libraries"
22887 echo "$as_me:$LINENO: result: neither works" >&5
22888 echo "${ECHO_T}neither works" >&6
22891 LIBS
=$ac_xsave_LIBS
22895 # Check for system-dependent libraries X programs must link with.
22896 # Do this before checking for the system-independent R6 libraries
22897 # (-lICE), since we may need -lsocket or whatever for X linking.
22899 if test "$ISC" = yes; then
22900 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
22902 # Martyn Johnson says this is needed for Ultrix, if the X
22903 # libraries were built with DECnet support. And Karl Berry says
22904 # the Alpha needs dnet_stub (dnet does not exist).
22905 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
22906 cat >conftest.
$ac_ext <<_ACEOF
22907 #line $LINENO "configure"
22910 cat confdefs.h
>>conftest.
$ac_ext
22911 cat >>conftest.
$ac_ext <<_ACEOF
22912 /* end confdefs.h. */
22914 /* Override any gcc2 internal prototype to avoid an error. */
22918 /* We use char because int might match the return type of a gcc2
22919 builtin and then its argument prototype would still apply. */
22920 char XOpenDisplay ();
22929 rm -f conftest.
$ac_objext conftest
$ac_exeext
22930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22931 (eval $ac_link) 2>&5
22933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22934 (exit $ac_status); } &&
22935 { ac_try
='test -s conftest$ac_exeext'
22936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22937 (eval $ac_try) 2>&5
22939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22940 (exit $ac_status); }; }; then
22943 echo "$as_me: failed program was:" >&5
22944 sed 's/^/| /' conftest.
$ac_ext >&5
22946 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
22947 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
22948 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
22949 echo $ECHO_N "(cached) $ECHO_C" >&6
22951 ac_check_lib_save_LIBS
=$LIBS
22952 LIBS
="-ldnet $LIBS"
22953 cat >conftest.
$ac_ext <<_ACEOF
22954 #line $LINENO "configure"
22957 cat confdefs.h
>>conftest.
$ac_ext
22958 cat >>conftest.
$ac_ext <<_ACEOF
22959 /* end confdefs.h. */
22961 /* Override any gcc2 internal prototype to avoid an error. */
22965 /* We use char because int might match the return type of a gcc2
22966 builtin and then its argument prototype would still apply. */
22976 rm -f conftest.
$ac_objext conftest
$ac_exeext
22977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22978 (eval $ac_link) 2>&5
22980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22981 (exit $ac_status); } &&
22982 { ac_try
='test -s conftest$ac_exeext'
22983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22984 (eval $ac_try) 2>&5
22986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22987 (exit $ac_status); }; }; then
22988 ac_cv_lib_dnet_dnet_ntoa
=yes
22990 echo "$as_me: failed program was:" >&5
22991 sed 's/^/| /' conftest.
$ac_ext >&5
22993 ac_cv_lib_dnet_dnet_ntoa
=no
22995 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22996 LIBS
=$ac_check_lib_save_LIBS
22998 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
22999 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
23000 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23001 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
23004 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
23005 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23006 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
23007 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23008 echo $ECHO_N "(cached) $ECHO_C" >&6
23010 ac_check_lib_save_LIBS
=$LIBS
23011 LIBS
="-ldnet_stub $LIBS"
23012 cat >conftest.
$ac_ext <<_ACEOF
23013 #line $LINENO "configure"
23016 cat confdefs.h
>>conftest.
$ac_ext
23017 cat >>conftest.
$ac_ext <<_ACEOF
23018 /* end confdefs.h. */
23020 /* Override any gcc2 internal prototype to avoid an error. */
23024 /* We use char because int might match the return type of a gcc2
23025 builtin and then its argument prototype would still apply. */
23035 rm -f conftest.
$ac_objext conftest
$ac_exeext
23036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23037 (eval $ac_link) 2>&5
23039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23040 (exit $ac_status); } &&
23041 { ac_try
='test -s conftest$ac_exeext'
23042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23043 (eval $ac_try) 2>&5
23045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23046 (exit $ac_status); }; }; then
23047 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
23049 echo "$as_me: failed program was:" >&5
23050 sed 's/^/| /' conftest.
$ac_ext >&5
23052 ac_cv_lib_dnet_stub_dnet_ntoa
=no
23054 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23055 LIBS
=$ac_check_lib_save_LIBS
23057 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23058 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23059 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23060 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
23065 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23066 LIBS
="$ac_xsave_LIBS"
23068 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23069 # to get the SysV transport functions.
23070 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23072 # The nsl library prevents programs from opening the X display
23073 # on Irix 5.2, according to T.E. Dickey.
23074 # The functions gethostbyname, getservbyname, and inet_addr are
23075 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23076 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23077 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23078 if test "${ac_cv_func_gethostbyname+set}" = set; then
23079 echo $ECHO_N "(cached) $ECHO_C" >&6
23081 cat >conftest.
$ac_ext <<_ACEOF
23082 #line $LINENO "configure"
23085 cat confdefs.h
>>conftest.
$ac_ext
23086 cat >>conftest.
$ac_ext <<_ACEOF
23087 /* end confdefs.h. */
23088 /* System header to define __stub macros and hopefully few prototypes,
23089 which can conflict with char gethostbyname (); below.
23090 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23091 <limits.h> exists even on freestanding compilers. */
23093 # include <limits.h>
23095 # include <assert.h>
23097 /* Override any gcc2 internal prototype to avoid an error. */
23102 /* We use char because int might match the return type of a gcc2
23103 builtin and then its argument prototype would still apply. */
23104 char gethostbyname ();
23105 /* The GNU C library defines this for functions which it implements
23106 to always fail with ENOSYS. Some functions are actually named
23107 something starting with __ and the normal name is an alias. */
23108 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23111 char (*f) () = gethostbyname;
23120 return f != gethostbyname;
23125 rm -f conftest.
$ac_objext conftest
$ac_exeext
23126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23127 (eval $ac_link) 2>&5
23129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23130 (exit $ac_status); } &&
23131 { ac_try
='test -s conftest$ac_exeext'
23132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23133 (eval $ac_try) 2>&5
23135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23136 (exit $ac_status); }; }; then
23137 ac_cv_func_gethostbyname
=yes
23139 echo "$as_me: failed program was:" >&5
23140 sed 's/^/| /' conftest.
$ac_ext >&5
23142 ac_cv_func_gethostbyname
=no
23144 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23146 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23147 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23149 if test $ac_cv_func_gethostbyname = no
; then
23150 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23151 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23152 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23153 echo $ECHO_N "(cached) $ECHO_C" >&6
23155 ac_check_lib_save_LIBS
=$LIBS
23157 cat >conftest.
$ac_ext <<_ACEOF
23158 #line $LINENO "configure"
23161 cat confdefs.h
>>conftest.
$ac_ext
23162 cat >>conftest.
$ac_ext <<_ACEOF
23163 /* end confdefs.h. */
23165 /* Override any gcc2 internal prototype to avoid an error. */
23169 /* We use char because int might match the return type of a gcc2
23170 builtin and then its argument prototype would still apply. */
23171 char gethostbyname ();
23180 rm -f conftest.
$ac_objext conftest
$ac_exeext
23181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23182 (eval $ac_link) 2>&5
23184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23185 (exit $ac_status); } &&
23186 { ac_try
='test -s conftest$ac_exeext'
23187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23188 (eval $ac_try) 2>&5
23190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23191 (exit $ac_status); }; }; then
23192 ac_cv_lib_nsl_gethostbyname
=yes
23194 echo "$as_me: failed program was:" >&5
23195 sed 's/^/| /' conftest.
$ac_ext >&5
23197 ac_cv_lib_nsl_gethostbyname
=no
23199 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23200 LIBS
=$ac_check_lib_save_LIBS
23202 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23203 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
23204 if test $ac_cv_lib_nsl_gethostbyname = yes; then
23205 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
23208 if test $ac_cv_lib_nsl_gethostbyname = no
; then
23209 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23210 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
23211 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23212 echo $ECHO_N "(cached) $ECHO_C" >&6
23214 ac_check_lib_save_LIBS
=$LIBS
23216 cat >conftest.
$ac_ext <<_ACEOF
23217 #line $LINENO "configure"
23220 cat confdefs.h
>>conftest.
$ac_ext
23221 cat >>conftest.
$ac_ext <<_ACEOF
23222 /* end confdefs.h. */
23224 /* Override any gcc2 internal prototype to avoid an error. */
23228 /* We use char because int might match the return type of a gcc2
23229 builtin and then its argument prototype would still apply. */
23230 char gethostbyname ();
23239 rm -f conftest.
$ac_objext conftest
$ac_exeext
23240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23241 (eval $ac_link) 2>&5
23243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23244 (exit $ac_status); } &&
23245 { ac_try
='test -s conftest$ac_exeext'
23246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23247 (eval $ac_try) 2>&5
23249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23250 (exit $ac_status); }; }; then
23251 ac_cv_lib_bsd_gethostbyname
=yes
23253 echo "$as_me: failed program was:" >&5
23254 sed 's/^/| /' conftest.
$ac_ext >&5
23256 ac_cv_lib_bsd_gethostbyname
=no
23258 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23259 LIBS
=$ac_check_lib_save_LIBS
23261 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
23262 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
23263 if test $ac_cv_lib_bsd_gethostbyname = yes; then
23264 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
23270 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23271 # socket/setsockopt and other routines are undefined under SCO ODT
23272 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23273 # on later versions), says Simon Leinen: it contains gethostby*
23274 # variants that don't use the name server (or something). -lsocket
23275 # must be given before -lnsl if both are needed. We assume that
23276 # if connect needs -lnsl, so does gethostbyname.
23277 echo "$as_me:$LINENO: checking for connect" >&5
23278 echo $ECHO_N "checking for connect... $ECHO_C" >&6
23279 if test "${ac_cv_func_connect+set}" = set; then
23280 echo $ECHO_N "(cached) $ECHO_C" >&6
23282 cat >conftest.
$ac_ext <<_ACEOF
23283 #line $LINENO "configure"
23286 cat confdefs.h
>>conftest.
$ac_ext
23287 cat >>conftest.
$ac_ext <<_ACEOF
23288 /* end confdefs.h. */
23289 /* System header to define __stub macros and hopefully few prototypes,
23290 which can conflict with char connect (); below.
23291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23292 <limits.h> exists even on freestanding compilers. */
23294 # include <limits.h>
23296 # include <assert.h>
23298 /* Override any gcc2 internal prototype to avoid an error. */
23303 /* We use char because int might match the return type of a gcc2
23304 builtin and then its argument prototype would still apply. */
23306 /* The GNU C library defines this for functions which it implements
23307 to always fail with ENOSYS. Some functions are actually named
23308 something starting with __ and the normal name is an alias. */
23309 #if defined (__stub_connect) || defined (__stub___connect)
23312 char (*f) () = connect;
23321 return f != connect;
23326 rm -f conftest.
$ac_objext conftest
$ac_exeext
23327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23328 (eval $ac_link) 2>&5
23330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23331 (exit $ac_status); } &&
23332 { ac_try
='test -s conftest$ac_exeext'
23333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23334 (eval $ac_try) 2>&5
23336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23337 (exit $ac_status); }; }; then
23338 ac_cv_func_connect
=yes
23340 echo "$as_me: failed program was:" >&5
23341 sed 's/^/| /' conftest.
$ac_ext >&5
23343 ac_cv_func_connect
=no
23345 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23347 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23348 echo "${ECHO_T}$ac_cv_func_connect" >&6
23350 if test $ac_cv_func_connect = no
; then
23351 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23352 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23353 if test "${ac_cv_lib_socket_connect+set}" = set; then
23354 echo $ECHO_N "(cached) $ECHO_C" >&6
23356 ac_check_lib_save_LIBS
=$LIBS
23357 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
23358 cat >conftest.
$ac_ext <<_ACEOF
23359 #line $LINENO "configure"
23362 cat confdefs.h
>>conftest.
$ac_ext
23363 cat >>conftest.
$ac_ext <<_ACEOF
23364 /* end confdefs.h. */
23366 /* Override any gcc2 internal prototype to avoid an error. */
23370 /* We use char because int might match the return type of a gcc2
23371 builtin and then its argument prototype would still apply. */
23381 rm -f conftest.
$ac_objext conftest
$ac_exeext
23382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23383 (eval $ac_link) 2>&5
23385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23386 (exit $ac_status); } &&
23387 { ac_try
='test -s conftest$ac_exeext'
23388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23389 (eval $ac_try) 2>&5
23391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23392 (exit $ac_status); }; }; then
23393 ac_cv_lib_socket_connect
=yes
23395 echo "$as_me: failed program was:" >&5
23396 sed 's/^/| /' conftest.
$ac_ext >&5
23398 ac_cv_lib_socket_connect
=no
23400 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23401 LIBS
=$ac_check_lib_save_LIBS
23403 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23404 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23405 if test $ac_cv_lib_socket_connect = yes; then
23406 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
23411 # Guillermo Gomez says -lposix is necessary on A/UX.
23412 echo "$as_me:$LINENO: checking for remove" >&5
23413 echo $ECHO_N "checking for remove... $ECHO_C" >&6
23414 if test "${ac_cv_func_remove+set}" = set; then
23415 echo $ECHO_N "(cached) $ECHO_C" >&6
23417 cat >conftest.
$ac_ext <<_ACEOF
23418 #line $LINENO "configure"
23421 cat confdefs.h
>>conftest.
$ac_ext
23422 cat >>conftest.
$ac_ext <<_ACEOF
23423 /* end confdefs.h. */
23424 /* System header to define __stub macros and hopefully few prototypes,
23425 which can conflict with char remove (); below.
23426 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23427 <limits.h> exists even on freestanding compilers. */
23429 # include <limits.h>
23431 # include <assert.h>
23433 /* Override any gcc2 internal prototype to avoid an error. */
23438 /* We use char because int might match the return type of a gcc2
23439 builtin and then its argument prototype would still apply. */
23441 /* The GNU C library defines this for functions which it implements
23442 to always fail with ENOSYS. Some functions are actually named
23443 something starting with __ and the normal name is an alias. */
23444 #if defined (__stub_remove) || defined (__stub___remove)
23447 char (*f) () = remove;
23456 return f != remove;
23461 rm -f conftest.
$ac_objext conftest
$ac_exeext
23462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23463 (eval $ac_link) 2>&5
23465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23466 (exit $ac_status); } &&
23467 { ac_try
='test -s conftest$ac_exeext'
23468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23469 (eval $ac_try) 2>&5
23471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23472 (exit $ac_status); }; }; then
23473 ac_cv_func_remove
=yes
23475 echo "$as_me: failed program was:" >&5
23476 sed 's/^/| /' conftest.
$ac_ext >&5
23478 ac_cv_func_remove
=no
23480 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23482 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23483 echo "${ECHO_T}$ac_cv_func_remove" >&6
23485 if test $ac_cv_func_remove = no
; then
23486 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23487 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23488 if test "${ac_cv_lib_posix_remove+set}" = set; then
23489 echo $ECHO_N "(cached) $ECHO_C" >&6
23491 ac_check_lib_save_LIBS
=$LIBS
23492 LIBS
="-lposix $LIBS"
23493 cat >conftest.
$ac_ext <<_ACEOF
23494 #line $LINENO "configure"
23497 cat confdefs.h
>>conftest.
$ac_ext
23498 cat >>conftest.
$ac_ext <<_ACEOF
23499 /* end confdefs.h. */
23501 /* Override any gcc2 internal prototype to avoid an error. */
23505 /* We use char because int might match the return type of a gcc2
23506 builtin and then its argument prototype would still apply. */
23516 rm -f conftest.
$ac_objext conftest
$ac_exeext
23517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23518 (eval $ac_link) 2>&5
23520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23521 (exit $ac_status); } &&
23522 { ac_try
='test -s conftest$ac_exeext'
23523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23524 (eval $ac_try) 2>&5
23526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23527 (exit $ac_status); }; }; then
23528 ac_cv_lib_posix_remove
=yes
23530 echo "$as_me: failed program was:" >&5
23531 sed 's/^/| /' conftest.
$ac_ext >&5
23533 ac_cv_lib_posix_remove
=no
23535 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23536 LIBS
=$ac_check_lib_save_LIBS
23538 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23539 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23540 if test $ac_cv_lib_posix_remove = yes; then
23541 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
23546 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23547 echo "$as_me:$LINENO: checking for shmat" >&5
23548 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23549 if test "${ac_cv_func_shmat+set}" = set; then
23550 echo $ECHO_N "(cached) $ECHO_C" >&6
23552 cat >conftest.
$ac_ext <<_ACEOF
23553 #line $LINENO "configure"
23556 cat confdefs.h
>>conftest.
$ac_ext
23557 cat >>conftest.
$ac_ext <<_ACEOF
23558 /* end confdefs.h. */
23559 /* System header to define __stub macros and hopefully few prototypes,
23560 which can conflict with char shmat (); below.
23561 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23562 <limits.h> exists even on freestanding compilers. */
23564 # include <limits.h>
23566 # include <assert.h>
23568 /* Override any gcc2 internal prototype to avoid an error. */
23573 /* We use char because int might match the return type of a gcc2
23574 builtin and then its argument prototype would still apply. */
23576 /* The GNU C library defines this for functions which it implements
23577 to always fail with ENOSYS. Some functions are actually named
23578 something starting with __ and the normal name is an alias. */
23579 #if defined (__stub_shmat) || defined (__stub___shmat)
23582 char (*f) () = shmat;
23596 rm -f conftest.
$ac_objext conftest
$ac_exeext
23597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23598 (eval $ac_link) 2>&5
23600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23601 (exit $ac_status); } &&
23602 { ac_try
='test -s conftest$ac_exeext'
23603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23604 (eval $ac_try) 2>&5
23606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23607 (exit $ac_status); }; }; then
23608 ac_cv_func_shmat
=yes
23610 echo "$as_me: failed program was:" >&5
23611 sed 's/^/| /' conftest.
$ac_ext >&5
23613 ac_cv_func_shmat
=no
23615 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23617 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23618 echo "${ECHO_T}$ac_cv_func_shmat" >&6
23620 if test $ac_cv_func_shmat = no
; then
23621 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23622 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23623 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23624 echo $ECHO_N "(cached) $ECHO_C" >&6
23626 ac_check_lib_save_LIBS
=$LIBS
23628 cat >conftest.
$ac_ext <<_ACEOF
23629 #line $LINENO "configure"
23632 cat confdefs.h
>>conftest.
$ac_ext
23633 cat >>conftest.
$ac_ext <<_ACEOF
23634 /* end confdefs.h. */
23636 /* Override any gcc2 internal prototype to avoid an error. */
23640 /* We use char because int might match the return type of a gcc2
23641 builtin and then its argument prototype would still apply. */
23651 rm -f conftest.
$ac_objext conftest
$ac_exeext
23652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23653 (eval $ac_link) 2>&5
23655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23656 (exit $ac_status); } &&
23657 { ac_try
='test -s conftest$ac_exeext'
23658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23659 (eval $ac_try) 2>&5
23661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23662 (exit $ac_status); }; }; then
23663 ac_cv_lib_ipc_shmat
=yes
23665 echo "$as_me: failed program was:" >&5
23666 sed 's/^/| /' conftest.
$ac_ext >&5
23668 ac_cv_lib_ipc_shmat
=no
23670 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23671 LIBS
=$ac_check_lib_save_LIBS
23673 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23674 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23675 if test $ac_cv_lib_ipc_shmat = yes; then
23676 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
23682 # Check for libraries that X11R6 Xt/Xaw programs need.
23683 ac_save_LDFLAGS
=$LDFLAGS
23684 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
23685 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23686 # check for ICE first), but we must link in the order -lSM -lICE or
23687 # we get undefined symbols. So assume we have SM if we have ICE.
23688 # These have to be linked with before -lX11, unlike the other
23689 # libraries we check for below, so use a different variable.
23690 # John Interrante, Karl Berry
23691 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23692 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23693 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23694 echo $ECHO_N "(cached) $ECHO_C" >&6
23696 ac_check_lib_save_LIBS
=$LIBS
23697 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
23698 cat >conftest.
$ac_ext <<_ACEOF
23699 #line $LINENO "configure"
23702 cat confdefs.h
>>conftest.
$ac_ext
23703 cat >>conftest.
$ac_ext <<_ACEOF
23704 /* end confdefs.h. */
23706 /* Override any gcc2 internal prototype to avoid an error. */
23710 /* We use char because int might match the return type of a gcc2
23711 builtin and then its argument prototype would still apply. */
23712 char IceConnectionNumber ();
23716 IceConnectionNumber ();
23721 rm -f conftest.
$ac_objext conftest
$ac_exeext
23722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23723 (eval $ac_link) 2>&5
23725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23726 (exit $ac_status); } &&
23727 { ac_try
='test -s conftest$ac_exeext'
23728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23729 (eval $ac_try) 2>&5
23731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23732 (exit $ac_status); }; }; then
23733 ac_cv_lib_ICE_IceConnectionNumber
=yes
23735 echo "$as_me: failed program was:" >&5
23736 sed 's/^/| /' conftest.
$ac_ext >&5
23738 ac_cv_lib_ICE_IceConnectionNumber
=no
23740 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23741 LIBS
=$ac_check_lib_save_LIBS
23743 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23744 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
23745 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
23746 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
23749 LDFLAGS
=$ac_save_LDFLAGS
23754 if test "$no_x" = "yes"; then
23755 { { echo "$as_me:$LINENO: error: X11 not found" >&5
23756 echo "$as_me: error: X11 not found" >&2;}
23757 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
23760 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//'`
23761 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
23762 AFMINSTALL
=afminstall
23763 COMPILED_X_PROGRAM
=0
23765 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
23766 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
23769 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
23771 if test -f "$ac_dir/Xm/Xm.h"; then
23772 ac_find_includes
=$ac_dir
23777 if test "$ac_find_includes" != "" ; then
23778 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
23779 echo "${ECHO_T}found in $ac_find_includes" >&6
23781 if test "x$ac_find_includes" = "x/usr/include"; then
23782 ac_path_to_include
=""
23784 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
23786 if test $result = 0; then
23787 ac_path_to_include
=""
23789 ac_path_to_include
=" -I$ac_find_includes"
23793 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
23795 cat >conftest.
$ac_ext <<_ACEOF
23796 #line $LINENO "configure"
23799 cat confdefs.h
>>conftest.
$ac_ext
23800 cat >>conftest.
$ac_ext <<_ACEOF
23801 /* end confdefs.h. */
23810 version = xmUseVersion;
23816 rm -f conftest.
$ac_objext
23817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23818 (eval $ac_compile) 2>&5
23820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23821 (exit $ac_status); } &&
23822 { ac_try
='test -s conftest.$ac_objext'
23823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23824 (eval $ac_try) 2>&5
23826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23827 (exit $ac_status); }; }; then
23829 echo "$as_me:$LINENO: result: found in default search path" >&5
23830 echo "${ECHO_T}found in default search path" >&6
23831 COMPILED_X_PROGRAM
=1
23834 echo "$as_me: failed program was:" >&5
23835 sed 's/^/| /' conftest.
$ac_ext >&5
23838 echo "$as_me:$LINENO: result: no" >&5
23839 echo "${ECHO_T}no" >&6
23840 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
23841 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
23842 { (exit 1); exit 1; }; }
23846 rm -f conftest.
$ac_objext conftest.
$ac_ext
23849 if test "$COMPILED_X_PROGRAM" = 0; then
23850 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
23851 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
23854 for ac_dir
in $SEARCH_LIB /usr
/lib
;
23856 for ac_extension
in a so sl dylib
; do
23857 if test -f "$ac_dir/libXm.$ac_extension"; then
23858 ac_find_libraries
=$ac_dir
23864 if test "$ac_find_libraries" != "" ; then
23865 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23866 echo "${ECHO_T}found at $ac_find_libraries" >&6
23869 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
23871 if test $result = 0; then
23874 ac_path_to_link
=" -L$ac_find_libraries"
23877 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
23879 save_CFLAGS
=$CFLAGS
23880 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
23882 cat >conftest.
$ac_ext <<_ACEOF
23883 #line $LINENO "configure"
23886 cat confdefs.h
>>conftest.
$ac_ext
23887 cat >>conftest.
$ac_ext <<_ACEOF
23888 /* end confdefs.h. */
23897 version = xmUseVersion;
23903 rm -f conftest.
$ac_objext
23904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23905 (eval $ac_compile) 2>&5
23907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23908 (exit $ac_status); } &&
23909 { ac_try
='test -s conftest.$ac_objext'
23910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23911 (eval $ac_try) 2>&5
23913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23914 (exit $ac_status); }; }; then
23916 echo "$as_me:$LINENO: result: found in default search path" >&5
23917 echo "${ECHO_T}found in default search path" >&6
23918 COMPILED_X_PROGRAM
=1
23921 echo "$as_me: failed program was:" >&5
23922 sed 's/^/| /' conftest.
$ac_ext >&5
23925 echo "$as_me:$LINENO: result: no" >&5
23926 echo "${ECHO_T}no" >&6
23927 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
23928 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
23929 { (exit 1); exit 1; }; }
23933 rm -f conftest.
$ac_objext conftest.
$ac_ext
23935 CFLAGS
=$save_CFLAGS
23940 echo "$as_me:$LINENO: checking for Xpm library" >&5
23941 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
23944 for ac_dir
in $SEARCH_LIB /usr
/lib
;
23946 for ac_extension
in a so sl dylib
; do
23947 if test -f "$ac_dir/libXpm.$ac_extension"; then
23948 ac_find_libraries
=$ac_dir
23954 if test "$ac_find_libraries" != "" ; then
23956 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
23958 if test $result = 0; then
23961 ac_path_to_link
=" -L$ac_find_libraries"
23964 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
23967 cat >>confdefs.h
<<\_ACEOF
23968 #define wxHAVE_LIB_XPM 1
23971 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23972 echo "${ECHO_T}found at $ac_find_libraries" >&6
23974 save_CFLAGS
=$CFLAGS
23975 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
23977 cat >conftest.
$ac_ext <<_ACEOF
23978 #line $LINENO "configure"
23981 cat confdefs.h
>>conftest.
$ac_ext
23982 cat >>conftest.
$ac_ext <<_ACEOF
23983 /* end confdefs.h. */
23985 #include <X11/xpm.h>
23992 version = XpmLibraryVersion();
23998 rm -f conftest.
$ac_objext
23999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24000 (eval $ac_compile) 2>&5
24002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24003 (exit $ac_status); } &&
24004 { ac_try
='test -s conftest.$ac_objext'
24005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24006 (eval $ac_try) 2>&5
24008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24009 (exit $ac_status); }; }; then
24012 cat >>confdefs.h
<<\_ACEOF
24013 #define wxHAVE_LIB_XPM 1
24016 echo "$as_me:$LINENO: result: found in default search path" >&5
24017 echo "${ECHO_T}found in default search path" >&6
24018 COMPILED_X_PROGRAM
=0
24021 echo "$as_me: failed program was:" >&5
24022 sed 's/^/| /' conftest.
$ac_ext >&5
24025 echo "$as_me:$LINENO: result: no" >&5
24026 echo "${ECHO_T}no" >&6
24027 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
24028 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
24032 rm -f conftest.
$ac_objext conftest.
$ac_ext
24034 CFLAGS
=$save_CFLAGS
24037 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
24038 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
24042 for libp
in "" " -lXp"; do
24043 if test "$libs_found" = "0"; then
24044 for libsm_ice
in " -lSM -lICE"; do
24045 if test "$libs_found" = "0"; then
24047 LIBS
="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
24048 save_CFLAGS
=$CFLAGS
24049 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24051 cat >conftest.
$ac_ext <<_ACEOF
24052 #line $LINENO "configure"
24055 cat confdefs.h
>>conftest.
$ac_ext
24056 cat >>conftest.
$ac_ext <<_ACEOF
24057 /* end confdefs.h. */
24060 #include <Xm/List.h>
24066 XmString string = NULL;
24069 XmListAddItem(w, string, position);
24075 rm -f conftest.
$ac_objext conftest
$ac_exeext
24076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24077 (eval $ac_link) 2>&5
24079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24080 (exit $ac_status); } &&
24081 { ac_try
='test -s conftest$ac_exeext'
24082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24083 (eval $ac_try) 2>&5
24085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24086 (exit $ac_status); }; }; then
24089 libsm_ice_link
="$libsm_ice"
24090 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
24091 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
24095 echo "$as_me: failed program was:" >&5
24096 sed 's/^/| /' conftest.
$ac_ext >&5
24101 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24104 CFLAGS
=$save_CFLAGS
24110 if test "$libs_found" = "0"; then
24111 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
24112 echo "${ECHO_T}can't find the right libraries" >&6
24113 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
24114 echo "$as_me: error: can't link a simple motif program" >&2;}
24115 { (exit 1); exit 1; }; }
24118 save_CFLAGS
=$CFLAGS
24119 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24120 echo "$as_me:$LINENO: checking for Motif 2" >&5
24121 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
24122 cat >conftest.
$ac_ext <<_ACEOF
24123 #line $LINENO "configure"
24126 cat confdefs.h
>>conftest.
$ac_ext
24127 cat >>conftest.
$ac_ext <<_ACEOF
24128 /* end confdefs.h. */
24136 #if XmVersion < 2000
24137 #error "Not Motif 2"
24144 rm -f conftest.
$ac_objext
24145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24146 (eval $ac_compile) 2>&5
24148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24149 (exit $ac_status); } &&
24150 { ac_try
='test -s conftest.$ac_objext'
24151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24152 (eval $ac_try) 2>&5
24154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24155 (exit $ac_status); }; }; then
24157 cat >>confdefs.h
<<\_ACEOF
24158 #define __WXMOTIF20__ 1
24161 echo "$as_me:$LINENO: result: found" >&5
24162 echo "${ECHO_T}found" >&6
24165 echo "$as_me: failed program was:" >&5
24166 sed 's/^/| /' conftest.
$ac_ext >&5
24169 cat >>confdefs.h
<<\_ACEOF
24170 #define __WXMOTIF20__ 0
24173 echo "$as_me:$LINENO: result: not found" >&5
24174 echo "${ECHO_T}not found" >&6
24177 rm -f conftest.
$ac_objext conftest.
$ac_ext
24178 CFLAGS
=$save_CFLAGS
24180 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
24181 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
24187 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1 &&
24188 test "$wxHAVE_XEXT_LIB" = 1; then
24189 save_CFLAGS
="$CFLAGS"
24190 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24192 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
24193 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
24194 cat >conftest.
$ac_ext <<_ACEOF
24195 #line $LINENO "configure"
24198 cat confdefs.h
>>conftest.
$ac_ext
24199 cat >>conftest.
$ac_ext <<_ACEOF
24200 /* end confdefs.h. */
24202 #include <X11/Xlib.h>
24203 #include <X11/extensions/shape.h>
24209 int dummy1, dummy2;
24210 XShapeQueryExtension((Display*)NULL,
24211 (int*)NULL, (int*)NULL);
24217 rm -f conftest.
$ac_objext
24218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24219 (eval $ac_compile) 2>&5
24221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24222 (exit $ac_status); } &&
24223 { ac_try
='test -s conftest.$ac_objext'
24224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24225 (eval $ac_try) 2>&5
24227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24228 (exit $ac_status); }; }; then
24230 cat >>confdefs.h
<<\_ACEOF
24231 #define HAVE_XSHAPE 1
24234 echo "$as_me:$LINENO: result: found" >&5
24235 echo "${ECHO_T}found" >&6
24238 echo "$as_me: failed program was:" >&5
24239 sed 's/^/| /' conftest.
$ac_ext >&5
24242 echo "$as_me:$LINENO: result: not found" >&5
24243 echo "${ECHO_T}not found" >&6
24246 rm -f conftest.
$ac_objext conftest.
$ac_ext
24247 CFLAGS
="$save_CFLAGS"
24250 if test "$wxUSE_MAC" = 1; then
24251 CPPFLAGS
="$CPPFLAGS -fpascal-strings -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
24253 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
24256 WXBASEPORT
="_carbon"
24259 if test "$wxUSE_COCOA" = 1; then
24260 TOOLKIT_VPATH
="\${top_srcdir}/src/cocoa"
24265 if test "$wxUSE_PM" = 1; then
24268 { echo "$as_me:$LINENO: WARNING: OS/2 threads are not yet supported... disabled" >&5
24269 echo "$as_me: WARNING: OS/2 threads are not yet supported... disabled" >&2;}
24273 if test "$TOOLKIT" = "PM" ; then
24276 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
24279 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
24281 if test "$wxUSE_UNIVERSAL" = "yes"; then
24282 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
24284 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
24285 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
24287 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
24288 if test "$wxUSE_X11" = 1; then
24289 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
24291 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
24293 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
24296 ALL_OBJECTS
="\$(GUIOBJS)"
24297 ALL_SOURCES
="\$(ALL_SOURCES)"
24298 ALL_HEADERS
="\$(ALL_HEADERS)"
24301 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
24303 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
24304 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
24307 if test "$wxUSE_HTML" = "yes"; then
24308 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
24311 if test "$wxUSE_LIBJPEG" = "builtin" ; then
24312 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
24314 if test "$wxUSE_LIBTIFF" = "builtin" ; then
24315 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
24317 if test "$wxUSE_LIBPNG" = "builtin" ; then
24318 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
24321 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
24322 DISTDIR
="wx\$(TOOLKIT)"
24328 if test "$USE_WIN32" = 1 ; then
24329 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
24330 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
24334 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
24335 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
24338 ALL_SOURCES
="\$(ALL_SOURCES)"
24339 ALL_HEADERS
="\$(ALL_HEADERS)"
24341 PORT_FILES
="\${top_srcdir}/src/files.lst"
24343 GUIDIST
="BASE_DIST"
24353 if test "$TOOLKIT" != "MSW" ; then
24355 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
24357 if test "${ac_cv_header_sql_h+set}" = set; then
24358 echo "$as_me:$LINENO: checking for sql.h" >&5
24359 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24360 if test "${ac_cv_header_sql_h+set}" = set; then
24361 echo $ECHO_N "(cached) $ECHO_C" >&6
24363 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24364 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24366 # Is the header compilable?
24367 echo "$as_me:$LINENO: checking sql.h usability" >&5
24368 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
24369 cat >conftest.
$ac_ext <<_ACEOF
24370 #line $LINENO "configure"
24373 cat confdefs.h
>>conftest.
$ac_ext
24374 cat >>conftest.
$ac_ext <<_ACEOF
24375 /* end confdefs.h. */
24376 $ac_includes_default
24379 rm -f conftest.
$ac_objext
24380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24381 (eval $ac_compile) 2>&5
24383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24384 (exit $ac_status); } &&
24385 { ac_try
='test -s conftest.$ac_objext'
24386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24387 (eval $ac_try) 2>&5
24389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24390 (exit $ac_status); }; }; then
24391 ac_header_compiler
=yes
24393 echo "$as_me: failed program was:" >&5
24394 sed 's/^/| /' conftest.
$ac_ext >&5
24396 ac_header_compiler
=no
24398 rm -f conftest.
$ac_objext conftest.
$ac_ext
24399 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24400 echo "${ECHO_T}$ac_header_compiler" >&6
24402 # Is the header present?
24403 echo "$as_me:$LINENO: checking sql.h presence" >&5
24404 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
24405 cat >conftest.
$ac_ext <<_ACEOF
24406 #line $LINENO "configure"
24409 cat confdefs.h
>>conftest.
$ac_ext
24410 cat >>conftest.
$ac_ext <<_ACEOF
24411 /* end confdefs.h. */
24414 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24415 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24417 grep -v '^ *+' conftest.er1
>conftest.err
24419 cat conftest.err
>&5
24420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24421 (exit $ac_status); } >/dev
/null
; then
24422 if test -s conftest.err
; then
24423 ac_cpp_err
=$ac_c_preproc_warn_flag
24430 if test -z "$ac_cpp_err"; then
24431 ac_header_preproc
=yes
24433 echo "$as_me: failed program was:" >&5
24434 sed 's/^/| /' conftest.
$ac_ext >&5
24436 ac_header_preproc
=no
24438 rm -f conftest.err conftest.
$ac_ext
24439 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24440 echo "${ECHO_T}$ac_header_preproc" >&6
24442 # So? What about this header?
24443 case $ac_header_compiler:$ac_header_preproc in
24445 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
24446 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24447 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24448 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24451 ## ------------------------------------ ##
24452 ## Report this to bug-autoconf@gnu.org. ##
24453 ## ------------------------------------ ##
24456 sed "s/^/$as_me: WARNING: /" >&2
24459 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
24460 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
24461 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
24462 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
24463 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24464 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24467 ## ------------------------------------ ##
24468 ## Report this to bug-autoconf@gnu.org. ##
24469 ## ------------------------------------ ##
24472 sed "s/^/$as_me: WARNING: /" >&2
24475 echo "$as_me:$LINENO: checking for sql.h" >&5
24476 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24477 if test "${ac_cv_header_sql_h+set}" = set; then
24478 echo $ECHO_N "(cached) $ECHO_C" >&6
24480 ac_cv_header_sql_h
=$ac_header_preproc
24482 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24483 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24486 if test $ac_cv_header_sql_h = yes; then
24491 if test "x$found_sql_h" = "x1" ; then
24492 echo "$as_me:$LINENO: checking for iodbc in -lSQLAllocEnv" >&5
24493 echo $ECHO_N "checking for iodbc in -lSQLAllocEnv... $ECHO_C" >&6
24494 if test "${ac_cv_lib_SQLAllocEnv_iodbc+set}" = set; then
24495 echo $ECHO_N "(cached) $ECHO_C" >&6
24497 ac_check_lib_save_LIBS
=$LIBS
24498 LIBS
="-lSQLAllocEnv $LIBS"
24499 cat >conftest.
$ac_ext <<_ACEOF
24500 #line $LINENO "configure"
24503 cat confdefs.h
>>conftest.
$ac_ext
24504 cat >>conftest.
$ac_ext <<_ACEOF
24505 /* end confdefs.h. */
24507 /* Override any gcc2 internal prototype to avoid an error. */
24511 /* We use char because int might match the return type of a gcc2
24512 builtin and then its argument prototype would still apply. */
24522 rm -f conftest.
$ac_objext conftest
$ac_exeext
24523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24524 (eval $ac_link) 2>&5
24526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24527 (exit $ac_status); } &&
24528 { ac_try
='test -s conftest$ac_exeext'
24529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24530 (eval $ac_try) 2>&5
24532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24533 (exit $ac_status); }; }; then
24534 ac_cv_lib_SQLAllocEnv_iodbc
=yes
24536 echo "$as_me: failed program was:" >&5
24537 sed 's/^/| /' conftest.
$ac_ext >&5
24539 ac_cv_lib_SQLAllocEnv_iodbc
=no
24541 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24542 LIBS
=$ac_check_lib_save_LIBS
24544 echo "$as_me:$LINENO: result: $ac_cv_lib_SQLAllocEnv_iodbc" >&5
24545 echo "${ECHO_T}$ac_cv_lib_SQLAllocEnv_iodbc" >&6
24546 if test $ac_cv_lib_SQLAllocEnv_iodbc = yes; then
24547 ODBC_LINK
=" -liodbc"
24550 echo "$as_me:$LINENO: checking for unixodbc in -lSQLAllocEnv" >&5
24551 echo $ECHO_N "checking for unixodbc in -lSQLAllocEnv... $ECHO_C" >&6
24552 if test "${ac_cv_lib_SQLAllocEnv_unixodbc+set}" = set; then
24553 echo $ECHO_N "(cached) $ECHO_C" >&6
24555 ac_check_lib_save_LIBS
=$LIBS
24556 LIBS
="-lSQLAllocEnv $LIBS"
24557 cat >conftest.
$ac_ext <<_ACEOF
24558 #line $LINENO "configure"
24561 cat confdefs.h
>>conftest.
$ac_ext
24562 cat >>conftest.
$ac_ext <<_ACEOF
24563 /* end confdefs.h. */
24565 /* Override any gcc2 internal prototype to avoid an error. */
24569 /* We use char because int might match the return type of a gcc2
24570 builtin and then its argument prototype would still apply. */
24580 rm -f conftest.
$ac_objext conftest
$ac_exeext
24581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24582 (eval $ac_link) 2>&5
24584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24585 (exit $ac_status); } &&
24586 { ac_try
='test -s conftest$ac_exeext'
24587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24588 (eval $ac_try) 2>&5
24590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24591 (exit $ac_status); }; }; then
24592 ac_cv_lib_SQLAllocEnv_unixodbc
=yes
24594 echo "$as_me: failed program was:" >&5
24595 sed 's/^/| /' conftest.
$ac_ext >&5
24597 ac_cv_lib_SQLAllocEnv_unixodbc
=no
24599 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24600 LIBS
=$ac_check_lib_save_LIBS
24602 echo "$as_me:$LINENO: result: $ac_cv_lib_SQLAllocEnv_unixodbc" >&5
24603 echo "${ECHO_T}$ac_cv_lib_SQLAllocEnv_unixodbc" >&6
24604 if test $ac_cv_lib_SQLAllocEnv_unixodbc = yes; then
24605 ODBC_LINK
=" -lunixodbc"
24608 echo "$as_me:$LINENO: checking for odbc in -lSQLAllocEnv" >&5
24609 echo $ECHO_N "checking for odbc in -lSQLAllocEnv... $ECHO_C" >&6
24610 if test "${ac_cv_lib_SQLAllocEnv_odbc+set}" = set; then
24611 echo $ECHO_N "(cached) $ECHO_C" >&6
24613 ac_check_lib_save_LIBS
=$LIBS
24614 LIBS
="-lSQLAllocEnv $LIBS"
24615 cat >conftest.
$ac_ext <<_ACEOF
24616 #line $LINENO "configure"
24619 cat confdefs.h
>>conftest.
$ac_ext
24620 cat >>conftest.
$ac_ext <<_ACEOF
24621 /* end confdefs.h. */
24623 /* Override any gcc2 internal prototype to avoid an error. */
24627 /* We use char because int might match the return type of a gcc2
24628 builtin and then its argument prototype would still apply. */
24638 rm -f conftest.
$ac_objext conftest
$ac_exeext
24639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24640 (eval $ac_link) 2>&5
24642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24643 (exit $ac_status); } &&
24644 { ac_try
='test -s conftest$ac_exeext'
24645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24646 (eval $ac_try) 2>&5
24648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24649 (exit $ac_status); }; }; then
24650 ac_cv_lib_SQLAllocEnv_odbc
=yes
24652 echo "$as_me: failed program was:" >&5
24653 sed 's/^/| /' conftest.
$ac_ext >&5
24655 ac_cv_lib_SQLAllocEnv_odbc
=no
24657 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24658 LIBS
=$ac_check_lib_save_LIBS
24660 echo "$as_me:$LINENO: result: $ac_cv_lib_SQLAllocEnv_odbc" >&5
24661 echo "${ECHO_T}$ac_cv_lib_SQLAllocEnv_odbc" >&6
24662 if test $ac_cv_lib_SQLAllocEnv_odbc = yes; then
24663 ODBC_LINK
=" -lodbc"
24673 if test "x$ODBC_LINK" = "x" ; then
24674 if test "$wxUSE_ODBC" = "sys" ; then
24675 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
24676 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
24677 { (exit 1); exit 1; }; }
24679 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
24680 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
24687 if test "$wxUSE_ODBC" != "no" ; then
24688 cat >>confdefs.h
<<\_ACEOF
24689 #define wxUSE_ODBC 1
24692 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
24694 WXODBCFLAG
="-D_IODBC_"
24698 if test "$wxUSE_REGEX" = "builtin" ; then
24699 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
24701 if test "$wxUSE_ZLIB" = "builtin" ; then
24702 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
24707 if test "$wxUSE_OPENGL" = "yes"; then
24708 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
24709 OPENGL_LIBS
="-framework OpenGL -framework AGL"
24710 elif test "$wxUSE_MSW" = 1; then
24711 OPENGL_LIBS
="-lopengl32 -lglu32"
24716 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
24718 if test -f "$ac_dir/GL/gl.h"; then
24719 ac_find_includes
=$ac_dir
24724 if test "$ac_find_includes" != "" ; then
24725 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
24726 echo "${ECHO_T}found in $ac_find_includes" >&6
24728 if test "x$ac_find_includes" = "x/usr/include"; then
24729 ac_path_to_include
=""
24731 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
24733 if test $result = 0; then
24734 ac_path_to_include
=""
24736 ac_path_to_include
=" -I$ac_find_includes"
24740 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
24743 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24744 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24745 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24746 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24747 echo $ECHO_N "(cached) $ECHO_C" >&6
24749 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24750 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24752 # Is the header compilable?
24753 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
24754 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
24755 cat >conftest.
$ac_ext <<_ACEOF
24756 #line $LINENO "configure"
24759 cat confdefs.h
>>conftest.
$ac_ext
24760 cat >>conftest.
$ac_ext <<_ACEOF
24761 /* end confdefs.h. */
24762 $ac_includes_default
24765 rm -f conftest.
$ac_objext
24766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24767 (eval $ac_compile) 2>&5
24769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24770 (exit $ac_status); } &&
24771 { ac_try
='test -s conftest.$ac_objext'
24772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24773 (eval $ac_try) 2>&5
24775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24776 (exit $ac_status); }; }; then
24777 ac_header_compiler
=yes
24779 echo "$as_me: failed program was:" >&5
24780 sed 's/^/| /' conftest.
$ac_ext >&5
24782 ac_header_compiler
=no
24784 rm -f conftest.
$ac_objext conftest.
$ac_ext
24785 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24786 echo "${ECHO_T}$ac_header_compiler" >&6
24788 # Is the header present?
24789 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
24790 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
24791 cat >conftest.
$ac_ext <<_ACEOF
24792 #line $LINENO "configure"
24795 cat confdefs.h
>>conftest.
$ac_ext
24796 cat >>conftest.
$ac_ext <<_ACEOF
24797 /* end confdefs.h. */
24800 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24801 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24803 grep -v '^ *+' conftest.er1
>conftest.err
24805 cat conftest.err
>&5
24806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24807 (exit $ac_status); } >/dev
/null
; then
24808 if test -s conftest.err
; then
24809 ac_cpp_err
=$ac_c_preproc_warn_flag
24816 if test -z "$ac_cpp_err"; then
24817 ac_header_preproc
=yes
24819 echo "$as_me: failed program was:" >&5
24820 sed 's/^/| /' conftest.
$ac_ext >&5
24822 ac_header_preproc
=no
24824 rm -f conftest.err conftest.
$ac_ext
24825 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24826 echo "${ECHO_T}$ac_header_preproc" >&6
24828 # So? What about this header?
24829 case $ac_header_compiler:$ac_header_preproc in
24831 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
24832 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24833 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24834 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24837 ## ------------------------------------ ##
24838 ## Report this to bug-autoconf@gnu.org. ##
24839 ## ------------------------------------ ##
24842 sed "s/^/$as_me: WARNING: /" >&2
24845 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
24846 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
24847 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
24848 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
24849 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24850 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24853 ## ------------------------------------ ##
24854 ## Report this to bug-autoconf@gnu.org. ##
24855 ## ------------------------------------ ##
24858 sed "s/^/$as_me: WARNING: /" >&2
24861 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24862 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24863 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24864 echo $ECHO_N "(cached) $ECHO_C" >&6
24866 ac_cv_header_GL_gl_h
=$ac_header_preproc
24868 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24869 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24872 if test $ac_cv_header_GL_gl_h = yes; then
24876 echo "$as_me:$LINENO: checking for -lGL" >&5
24877 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
24880 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24882 for ac_extension
in a so sl dylib
; do
24883 if test -f "$ac_dir/libGL.$ac_extension"; then
24884 ac_find_libraries
=$ac_dir
24890 if test "$ac_find_libraries" != "" ; then
24892 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
24894 if test $result = 0; then
24897 ac_path_to_link
=" -L$ac_find_libraries"
24900 if test "$ac_path_to_link" != " -L/usr/lib" ; then
24901 LDFLAGS_GL
="$ac_path_to_link"
24906 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24908 for ac_extension
in a so sl dylib
; do
24909 if test -f "$ac_dir/libGLU.$ac_extension"; then
24910 ac_find_libraries
=$ac_dir
24916 if test "$ac_find_libraries" != "" ; then
24918 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
24920 if test $result = 0; then
24923 ac_path_to_link
=" -L$ac_find_libraries"
24926 if test "$ac_path_to_link" != " -L/usr/lib" -a \
24927 "$ac_path_to_link" != "$LDFLAGS_GL"; then
24928 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
24932 OPENGL_LIBS
="-lGL -lGLU"
24933 echo "$as_me:$LINENO: result: yes" >&5
24934 echo "${ECHO_T}yes" >&6
24938 if test "$found_gl" != 1; then
24939 echo "$as_me:$LINENO: result: no" >&5
24940 echo "${ECHO_T}no" >&6
24941 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
24942 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
24945 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24947 for ac_extension
in a so sl dylib
; do
24948 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
24949 ac_find_libraries
=$ac_dir
24955 if test "$ac_find_libraries" != "" ; then
24957 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
24959 if test $result = 0; then
24962 ac_path_to_link
=" -L$ac_find_libraries"
24965 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
24966 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
24967 echo "$as_me:$LINENO: result: yes" >&5
24968 echo "${ECHO_T}yes" >&6
24970 echo "$as_me:$LINENO: result: no" >&5
24971 echo "${ECHO_T}no" >&6
24979 if test "x$OPENGL_LIBS" = "x"; then
24980 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
24981 echo "$as_me: error: OpenGL libraries not available" >&2;}
24982 { (exit 1); exit 1; }; }
24986 if test "$wxUSE_OPENGL" = "yes"; then
24988 cat >>confdefs.h
<<\_ACEOF
24989 #define wxUSE_OPENGL 1
24992 cat >>confdefs.h
<<\_ACEOF
24993 #define wxUSE_GLCANVAS 1
24996 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
25000 if test -z "$TOOLKIT_VPATH" ; then
25001 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
25004 if test -n "$TOOLKIT" ; then
25005 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
25009 lib_unicode_suffix
=
25010 if test "$wxUSE_UNICODE" = "yes"; then
25011 lib_unicode_suffix
=u
25017 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
25023 if test "$wxUSE_DEBUG_INFO" = "yes"; then
25027 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
25029 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
25030 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
25032 if test "$cross_compiling" = "yes"; then
25033 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
25034 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
25035 HOST_SUFFIX
="-${host_alias}"
25038 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
25039 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
25040 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
25041 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
25043 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25044 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25046 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
25047 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
25048 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
25049 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25052 *-*-cygwin* | *-*-mingw32* )
25053 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
25054 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25059 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25060 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25062 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
25063 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
25064 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
25065 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25067 if test "$wxUSE_MAC" = 1; then
25068 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.${WX_CURRENT}.r"
25069 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
25074 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
25075 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
25077 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
25078 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
25080 if test "$wxUSE_OPENGL" = "yes"; then
25081 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
25082 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
25087 if test "$wxUSE_SHARED" = "yes"; then
25089 *-pc-os2_emx | *-pc-os2-emx | \
25092 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
25093 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
25099 if test "$wxUSE_SHARED" = "yes"; then
25103 found_versioning
=no
25106 if test $found_versioning = no
; then
25107 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
25108 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
25109 if test "${wx_cv_version_script+set}" = set; then
25110 echo $ECHO_N "(cached) $ECHO_C" >&6
25113 echo "VER_1 { *; };" >conftest.sym
25114 echo "int main() { return 0; }" >conftest.cpp
25117 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
25118 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
25119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25120 (eval $ac_try) 2>&5
25122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25123 (exit $ac_status); }; } ; then
25124 if test -s conftest.stderr
; then
25125 wx_cv_version_script
=no
25127 wx_cv_version_script
=yes
25130 wx_cv_version_script
=no
25132 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
25135 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
25136 echo "${ECHO_T}$wx_cv_version_script" >&6
25137 if test $wx_cv_version_script = yes ; then
25138 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
25144 *-*-linux* | *-*-gnu* )
25145 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
25149 if test "$GCC" = yes ; then
25150 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
25152 saveLdflags
="$LDFLAGS"
25153 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
25154 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
25155 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
25156 cat >conftest.
$ac_ext <<_ACEOF
25157 #line $LINENO "configure"
25160 cat confdefs.h
>>conftest.
$ac_ext
25161 cat >>conftest.
$ac_ext <<_ACEOF
25162 /* end confdefs.h. */
25172 rm -f conftest.
$ac_objext conftest
$ac_exeext
25173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25174 (eval $ac_link) 2>&5
25176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25177 (exit $ac_status); } &&
25178 { ac_try
='test -s conftest$ac_exeext'
25179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25180 (eval $ac_try) 2>&5
25182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25183 (exit $ac_status); }; }; then
25185 echo "$as_me:$LINENO: result: yes" >&5
25186 echo "${ECHO_T}yes" >&6
25187 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
25190 echo "$as_me: failed program was:" >&5
25191 sed 's/^/| /' conftest.
$ac_ext >&5
25194 echo "$as_me:$LINENO: result: no" >&5
25195 echo "${ECHO_T}no" >&6
25196 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
25197 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
25198 LDFLAGS
="$saveLdflags -Wl,-R,/"
25199 cat >conftest.
$ac_ext <<_ACEOF
25200 #line $LINENO "configure"
25203 cat confdefs.h
>>conftest.
$ac_ext
25204 cat >>conftest.
$ac_ext <<_ACEOF
25205 /* end confdefs.h. */
25215 rm -f conftest.
$ac_objext conftest
$ac_exeext
25216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25217 (eval $ac_link) 2>&5
25219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25220 (exit $ac_status); } &&
25221 { ac_try
='test -s conftest$ac_exeext'
25222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25223 (eval $ac_try) 2>&5
25225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25226 (exit $ac_status); }; }; then
25228 echo "$as_me:$LINENO: result: yes" >&5
25229 echo "${ECHO_T}yes" >&6
25230 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
25232 echo "$as_me: failed program was:" >&5
25233 sed 's/^/| /' conftest.
$ac_ext >&5
25236 echo "$as_me:$LINENO: result: no" >&5
25237 echo "${ECHO_T}no" >&6
25240 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25243 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25244 LDFLAGS
="$saveLdflags"
25246 SHARED_LD
="${CXX} -G -o"
25248 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
25252 powerpc
-*-darwin* )
25253 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
25254 cat <<EOF >change-install-names
25256 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
25257 inst_cmd="install_name_tool "
25258 for i in \${libnames} ; do
25259 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
25263 chmod +x change
-install-names
25268 if test "x$WX_TARGET_LIBRARY" = "x"; then
25269 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
25270 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
25273 WX_TARGET_LIBRARY_TYPE
="so"
25274 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
25277 if test "$wxUSE_SHARED" = "no"; then
25279 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
25280 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
25283 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
25284 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
25287 if test "$wxUSE_OPENGL" = "yes"; then
25288 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
25289 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
25291 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
25294 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
25295 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
25297 WX_TARGET_LIBRARY_TYPE
="a"
25298 INSTALL_LIBRARY
='$(INSTALL_DATA)'
25308 if test "$wxUSE_MAC" = 1; then
25309 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
25310 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
25311 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
25312 # Extract the first word of "Rez", so it can be a program name with args.
25313 set dummy Rez
; ac_word
=$2
25314 echo "$as_me:$LINENO: checking for $ac_word" >&5
25315 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25316 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25317 echo $ECHO_N "(cached) $ECHO_C" >&6
25319 if test -n "$RESCOMP"; then
25320 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
25322 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25323 for as_dir
in $PATH
25326 test -z "$as_dir" && as_dir
=.
25327 for ac_exec_ext
in '' $ac_executable_extensions; do
25328 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25329 ac_cv_prog_RESCOMP
="Rez"
25330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25336 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
25339 RESCOMP
=$ac_cv_prog_RESCOMP
25340 if test -n "$RESCOMP"; then
25341 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25342 echo "${ECHO_T}$RESCOMP" >&6
25344 echo "$as_me:$LINENO: result: no" >&5
25345 echo "${ECHO_T}no" >&6
25348 # Extract the first word of "DeRez", so it can be a program name with args.
25349 set dummy DeRez
; ac_word
=$2
25350 echo "$as_me:$LINENO: checking for $ac_word" >&5
25351 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25352 if test "${ac_cv_prog_DEREZ+set}" = set; then
25353 echo $ECHO_N "(cached) $ECHO_C" >&6
25355 if test -n "$DEREZ"; then
25356 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
25358 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25359 for as_dir
in $PATH
25362 test -z "$as_dir" && as_dir
=.
25363 for ac_exec_ext
in '' $ac_executable_extensions; do
25364 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25365 ac_cv_prog_DEREZ
="DeRez"
25366 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25372 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
25375 DEREZ
=$ac_cv_prog_DEREZ
25376 if test -n "$DEREZ"; then
25377 echo "$as_me:$LINENO: result: $DEREZ" >&5
25378 echo "${ECHO_T}$DEREZ" >&6
25380 echo "$as_me:$LINENO: result: no" >&5
25381 echo "${ECHO_T}no" >&6
25384 # Extract the first word of "SetFile", so it can be a program name with args.
25385 set dummy SetFile
; ac_word
=$2
25386 echo "$as_me:$LINENO: checking for $ac_word" >&5
25387 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25388 if test "${ac_cv_prog_SETFILE+set}" = set; then
25389 echo $ECHO_N "(cached) $ECHO_C" >&6
25391 if test -n "$SETFILE"; then
25392 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
25394 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25395 for as_dir
in $PATH
25398 test -z "$as_dir" && as_dir
=.
25399 for ac_exec_ext
in '' $ac_executable_extensions; do
25400 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25401 ac_cv_prog_SETFILE
="SetFile"
25402 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25408 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
25411 SETFILE
=$ac_cv_prog_SETFILE
25412 if test -n "$SETFILE"; then
25413 echo "$as_me:$LINENO: result: $SETFILE" >&5
25414 echo "${ECHO_T}$SETFILE" >&6
25416 echo "$as_me:$LINENO: result: no" >&5
25417 echo "${ECHO_T}no" >&6
25420 MACOSX_BUNDLE
="bundle"
25421 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
25422 MACSETFILE
="\$(SETFILE)"
25423 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25424 elif test "$wxUSE_COCOA" = 1; then
25425 # Extract the first word of "Rez", so it can be a program name with args.
25426 set dummy Rez
; ac_word
=$2
25427 echo "$as_me:$LINENO: checking for $ac_word" >&5
25428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25429 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25430 echo $ECHO_N "(cached) $ECHO_C" >&6
25432 if test -n "$RESCOMP"; then
25433 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
25435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25436 for as_dir
in $PATH
25439 test -z "$as_dir" && as_dir
=.
25440 for ac_exec_ext
in '' $ac_executable_extensions; do
25441 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25442 ac_cv_prog_RESCOMP
="Rez"
25443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25449 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
25452 RESCOMP
=$ac_cv_prog_RESCOMP
25453 if test -n "$RESCOMP"; then
25454 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25455 echo "${ECHO_T}$RESCOMP" >&6
25457 echo "$as_me:$LINENO: result: no" >&5
25458 echo "${ECHO_T}no" >&6
25461 # Extract the first word of "DeRez", so it can be a program name with args.
25462 set dummy DeRez
; ac_word
=$2
25463 echo "$as_me:$LINENO: checking for $ac_word" >&5
25464 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25465 if test "${ac_cv_prog_DEREZ+set}" = set; then
25466 echo $ECHO_N "(cached) $ECHO_C" >&6
25468 if test -n "$DEREZ"; then
25469 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
25471 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25472 for as_dir
in $PATH
25475 test -z "$as_dir" && as_dir
=.
25476 for ac_exec_ext
in '' $ac_executable_extensions; do
25477 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25478 ac_cv_prog_DEREZ
="DeRez"
25479 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25485 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
25488 DEREZ
=$ac_cv_prog_DEREZ
25489 if test -n "$DEREZ"; then
25490 echo "$as_me:$LINENO: result: $DEREZ" >&5
25491 echo "${ECHO_T}$DEREZ" >&6
25493 echo "$as_me:$LINENO: result: no" >&5
25494 echo "${ECHO_T}no" >&6
25497 # Extract the first word of "SetFile", so it can be a program name with args.
25498 set dummy SetFile
; ac_word
=$2
25499 echo "$as_me:$LINENO: checking for $ac_word" >&5
25500 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25501 if test "${ac_cv_prog_SETFILE+set}" = set; then
25502 echo $ECHO_N "(cached) $ECHO_C" >&6
25504 if test -n "$SETFILE"; then
25505 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
25507 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25508 for as_dir
in $PATH
25511 test -z "$as_dir" && as_dir
=.
25512 for ac_exec_ext
in '' $ac_executable_extensions; do
25513 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25514 ac_cv_prog_SETFILE
="SetFile"
25515 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25521 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
25524 SETFILE
=$ac_cv_prog_SETFILE
25525 if test -n "$SETFILE"; then
25526 echo "$as_me:$LINENO: result: $SETFILE" >&5
25527 echo "${ECHO_T}$SETFILE" >&6
25529 echo "$as_me:$LINENO: result: no" >&5
25530 echo "${ECHO_T}no" >&6
25533 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
25534 MACSETFILE
="\$(SETFILE)"
25535 MACRESWXCONFIG
="echo -n | ${RESCOMP} -d __DARWIN__ -t APPL \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25537 if test "$wxUSE_PM" = 1; then
25538 MACRESCOMP
="emxbind -ep"
25543 echo "$as_me:$LINENO: checking for mode_t" >&5
25544 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
25545 if test "${ac_cv_type_mode_t+set}" = set; then
25546 echo $ECHO_N "(cached) $ECHO_C" >&6
25548 cat >conftest.
$ac_ext <<_ACEOF
25549 #line $LINENO "configure"
25552 cat confdefs.h
>>conftest.
$ac_ext
25553 cat >>conftest.
$ac_ext <<_ACEOF
25554 /* end confdefs.h. */
25555 $ac_includes_default
25561 if (sizeof (mode_t))
25567 rm -f conftest.
$ac_objext
25568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25569 (eval $ac_compile) 2>&5
25571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25572 (exit $ac_status); } &&
25573 { ac_try
='test -s conftest.$ac_objext'
25574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25575 (eval $ac_try) 2>&5
25577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25578 (exit $ac_status); }; }; then
25579 ac_cv_type_mode_t
=yes
25581 echo "$as_me: failed program was:" >&5
25582 sed 's/^/| /' conftest.
$ac_ext >&5
25584 ac_cv_type_mode_t
=no
25586 rm -f conftest.
$ac_objext conftest.
$ac_ext
25588 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
25589 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
25590 if test $ac_cv_type_mode_t = yes; then
25594 cat >>confdefs.h
<<_ACEOF
25600 echo "$as_me:$LINENO: checking for off_t" >&5
25601 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
25602 if test "${ac_cv_type_off_t+set}" = set; then
25603 echo $ECHO_N "(cached) $ECHO_C" >&6
25605 cat >conftest.
$ac_ext <<_ACEOF
25606 #line $LINENO "configure"
25609 cat confdefs.h
>>conftest.
$ac_ext
25610 cat >>conftest.
$ac_ext <<_ACEOF
25611 /* end confdefs.h. */
25612 $ac_includes_default
25618 if (sizeof (off_t))
25624 rm -f conftest.
$ac_objext
25625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25626 (eval $ac_compile) 2>&5
25628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25629 (exit $ac_status); } &&
25630 { ac_try
='test -s conftest.$ac_objext'
25631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25632 (eval $ac_try) 2>&5
25634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25635 (exit $ac_status); }; }; then
25636 ac_cv_type_off_t
=yes
25638 echo "$as_me: failed program was:" >&5
25639 sed 's/^/| /' conftest.
$ac_ext >&5
25641 ac_cv_type_off_t
=no
25643 rm -f conftest.
$ac_objext conftest.
$ac_ext
25645 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
25646 echo "${ECHO_T}$ac_cv_type_off_t" >&6
25647 if test $ac_cv_type_off_t = yes; then
25651 cat >>confdefs.h
<<_ACEOF
25657 echo "$as_me:$LINENO: checking for pid_t" >&5
25658 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
25659 if test "${ac_cv_type_pid_t+set}" = set; then
25660 echo $ECHO_N "(cached) $ECHO_C" >&6
25662 cat >conftest.
$ac_ext <<_ACEOF
25663 #line $LINENO "configure"
25666 cat confdefs.h
>>conftest.
$ac_ext
25667 cat >>conftest.
$ac_ext <<_ACEOF
25668 /* end confdefs.h. */
25669 $ac_includes_default
25675 if (sizeof (pid_t))
25681 rm -f conftest.
$ac_objext
25682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25683 (eval $ac_compile) 2>&5
25685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25686 (exit $ac_status); } &&
25687 { ac_try
='test -s conftest.$ac_objext'
25688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25689 (eval $ac_try) 2>&5
25691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25692 (exit $ac_status); }; }; then
25693 ac_cv_type_pid_t
=yes
25695 echo "$as_me: failed program was:" >&5
25696 sed 's/^/| /' conftest.
$ac_ext >&5
25698 ac_cv_type_pid_t
=no
25700 rm -f conftest.
$ac_objext conftest.
$ac_ext
25702 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
25703 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
25704 if test $ac_cv_type_pid_t = yes; then
25708 cat >>confdefs.h
<<_ACEOF
25714 echo "$as_me:$LINENO: checking for size_t" >&5
25715 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
25716 if test "${ac_cv_type_size_t+set}" = set; then
25717 echo $ECHO_N "(cached) $ECHO_C" >&6
25719 cat >conftest.
$ac_ext <<_ACEOF
25720 #line $LINENO "configure"
25723 cat confdefs.h
>>conftest.
$ac_ext
25724 cat >>conftest.
$ac_ext <<_ACEOF
25725 /* end confdefs.h. */
25726 $ac_includes_default
25732 if (sizeof (size_t))
25738 rm -f conftest.
$ac_objext
25739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25740 (eval $ac_compile) 2>&5
25742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25743 (exit $ac_status); } &&
25744 { ac_try
='test -s conftest.$ac_objext'
25745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25746 (eval $ac_try) 2>&5
25748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25749 (exit $ac_status); }; }; then
25750 ac_cv_type_size_t
=yes
25752 echo "$as_me: failed program was:" >&5
25753 sed 's/^/| /' conftest.
$ac_ext >&5
25755 ac_cv_type_size_t
=no
25757 rm -f conftest.
$ac_objext conftest.
$ac_ext
25759 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
25760 echo "${ECHO_T}$ac_cv_type_size_t" >&6
25761 if test $ac_cv_type_size_t = yes; then
25765 cat >>confdefs.h
<<_ACEOF
25766 #define size_t unsigned
25771 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
25772 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
25773 if test "${ac_cv_type_uid_t+set}" = set; then
25774 echo $ECHO_N "(cached) $ECHO_C" >&6
25776 cat >conftest.
$ac_ext <<_ACEOF
25777 #line $LINENO "configure"
25780 cat confdefs.h
>>conftest.
$ac_ext
25781 cat >>conftest.
$ac_ext <<_ACEOF
25782 /* end confdefs.h. */
25783 #include <sys/types.h>
25786 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25787 $EGREP "uid_t" >/dev
/null
2>&1; then
25788 ac_cv_type_uid_t
=yes
25790 ac_cv_type_uid_t
=no
25795 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
25796 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
25797 if test $ac_cv_type_uid_t = no
; then
25799 cat >>confdefs.h
<<\_ACEOF
25804 cat >>confdefs.h
<<\_ACEOF
25814 ac_cpp
='$CXXCPP $CPPFLAGS'
25815 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25816 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25817 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25819 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
25820 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
25821 if test "${wx_cv_size_t_is_uint+set}" = set; then
25822 echo $ECHO_N "(cached) $ECHO_C" >&6
25825 cat >conftest.
$ac_ext <<_ACEOF
25826 #line $LINENO "configure"
25829 cat confdefs.h
>>conftest.
$ac_ext
25830 cat >>conftest.
$ac_ext <<_ACEOF
25831 /* end confdefs.h. */
25832 #include <stddef.h>
25839 struct Foo { void foo(size_t); void foo(unsigned int); };
25847 rm -f conftest.
$ac_objext
25848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25849 (eval $ac_compile) 2>&5
25851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25852 (exit $ac_status); } &&
25853 { ac_try
='test -s conftest.$ac_objext'
25854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25855 (eval $ac_try) 2>&5
25857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25858 (exit $ac_status); }; }; then
25859 wx_cv_size_t_is_uint
=no
25861 echo "$as_me: failed program was:" >&5
25862 sed 's/^/| /' conftest.
$ac_ext >&5
25864 wx_cv_size_t_is_uint
=yes
25867 rm -f conftest.
$ac_objext conftest.
$ac_ext
25871 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
25872 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
25874 if test "$wx_cv_size_t_is_uint" = "yes"; then
25875 cat >>confdefs.h
<<\_ACEOF
25876 #define wxSIZE_T_IS_UINT 1
25880 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
25881 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
25882 if test "${wx_cv_size_t_is_ulong+set}" = set; then
25883 echo $ECHO_N "(cached) $ECHO_C" >&6
25885 cat >conftest.
$ac_ext <<_ACEOF
25886 #line $LINENO "configure"
25889 cat confdefs.h
>>conftest.
$ac_ext
25890 cat >>conftest.
$ac_ext <<_ACEOF
25891 /* end confdefs.h. */
25892 #include <stddef.h>
25899 struct Foo { void foo(size_t); void foo(unsigned long); };
25907 rm -f conftest.
$ac_objext
25908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25909 (eval $ac_compile) 2>&5
25911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25912 (exit $ac_status); } &&
25913 { ac_try
='test -s conftest.$ac_objext'
25914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25915 (eval $ac_try) 2>&5
25917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25918 (exit $ac_status); }; }; then
25919 wx_cv_size_t_is_ulong
=no
25921 echo "$as_me: failed program was:" >&5
25922 sed 's/^/| /' conftest.
$ac_ext >&5
25924 wx_cv_size_t_is_ulong
=yes
25927 rm -f conftest.
$ac_objext conftest.
$ac_ext
25930 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
25931 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
25933 if test "$wx_cv_size_t_is_ulong" = "yes"; then
25934 cat >>confdefs.h
<<\_ACEOF
25935 #define wxSIZE_T_IS_ULONG 1
25942 ac_cpp
='$CPP $CPPFLAGS'
25943 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25944 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25945 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25949 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
25950 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
25951 if test "${wx_cv_struct_pw_gecos+set}" = set; then
25952 echo $ECHO_N "(cached) $ECHO_C" >&6
25955 cat >conftest.
$ac_ext <<_ACEOF
25956 #line $LINENO "configure"
25959 cat confdefs.h
>>conftest.
$ac_ext
25960 cat >>conftest.
$ac_ext <<_ACEOF
25961 /* end confdefs.h. */
25975 rm -f conftest.
$ac_objext
25976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25977 (eval $ac_compile) 2>&5
25979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25980 (exit $ac_status); } &&
25981 { ac_try
='test -s conftest.$ac_objext'
25982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25983 (eval $ac_try) 2>&5
25985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25986 (exit $ac_status); }; }; then
25988 wx_cv_struct_pw_gecos
=yes
25991 echo "$as_me: failed program was:" >&5
25992 sed 's/^/| /' conftest.
$ac_ext >&5
25995 wx_cv_struct_pw_gecos
=no
25999 rm -f conftest.
$ac_objext conftest.
$ac_ext
26003 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
26004 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
26006 if test "$wx_cv_struct_pw_gecos" = "yes"; then
26007 cat >>confdefs.h
<<\_ACEOF
26008 #define HAVE_PW_GECOS 1
26014 if test "$wx_cv_sizeof_wchar_t" != "0"; then
26015 cat >>confdefs.h
<<\_ACEOF
26016 #define wxUSE_WCHAR_T 1
26023 for ac_func
in wcslen
26025 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26026 echo "$as_me:$LINENO: checking for $ac_func" >&5
26027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26028 if eval "test \"\${$as_ac_var+set}\" = set"; then
26029 echo $ECHO_N "(cached) $ECHO_C" >&6
26031 cat >conftest.
$ac_ext <<_ACEOF
26032 #line $LINENO "configure"
26035 cat confdefs.h
>>conftest.
$ac_ext
26036 cat >>conftest.
$ac_ext <<_ACEOF
26037 /* end confdefs.h. */
26038 /* System header to define __stub macros and hopefully few prototypes,
26039 which can conflict with char $ac_func (); below.
26040 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26041 <limits.h> exists even on freestanding compilers. */
26043 # include <limits.h>
26045 # include <assert.h>
26047 /* Override any gcc2 internal prototype to avoid an error. */
26052 /* We use char because int might match the return type of a gcc2
26053 builtin and then its argument prototype would still apply. */
26055 /* The GNU C library defines this for functions which it implements
26056 to always fail with ENOSYS. Some functions are actually named
26057 something starting with __ and the normal name is an alias. */
26058 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26061 char (*f) () = $ac_func;
26070 return f != $ac_func;
26075 rm -f conftest.
$ac_objext conftest
$ac_exeext
26076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26077 (eval $ac_link) 2>&5
26079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26080 (exit $ac_status); } &&
26081 { ac_try
='test -s conftest$ac_exeext'
26082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26083 (eval $ac_try) 2>&5
26085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26086 (exit $ac_status); }; }; then
26087 eval "$as_ac_var=yes"
26089 echo "$as_me: failed program was:" >&5
26090 sed 's/^/| /' conftest.
$ac_ext >&5
26092 eval "$as_ac_var=no"
26094 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26098 if test `eval echo '${'$as_ac_var'}'` = yes; then
26099 cat >>confdefs.h
<<_ACEOF
26100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26107 if test "$WCSLEN_FOUND" = 0; then
26108 if test "$TOOLKIT" = "MSW"; then
26109 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
26110 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
26111 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
26112 echo $ECHO_N "(cached) $ECHO_C" >&6
26114 ac_check_lib_save_LIBS
=$LIBS
26115 LIBS
="-lmsvcrt $LIBS"
26116 cat >conftest.
$ac_ext <<_ACEOF
26117 #line $LINENO "configure"
26120 cat confdefs.h
>>conftest.
$ac_ext
26121 cat >>conftest.
$ac_ext <<_ACEOF
26122 /* end confdefs.h. */
26124 /* Override any gcc2 internal prototype to avoid an error. */
26128 /* We use char because int might match the return type of a gcc2
26129 builtin and then its argument prototype would still apply. */
26139 rm -f conftest.
$ac_objext conftest
$ac_exeext
26140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26141 (eval $ac_link) 2>&5
26143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26144 (exit $ac_status); } &&
26145 { ac_try
='test -s conftest$ac_exeext'
26146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26147 (eval $ac_try) 2>&5
26149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26150 (exit $ac_status); }; }; then
26151 ac_cv_lib_msvcrt_wcslen
=yes
26153 echo "$as_me: failed program was:" >&5
26154 sed 's/^/| /' conftest.
$ac_ext >&5
26156 ac_cv_lib_msvcrt_wcslen
=no
26158 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26159 LIBS
=$ac_check_lib_save_LIBS
26161 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
26162 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
26163 if test $ac_cv_lib_msvcrt_wcslen = yes; then
26168 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
26169 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
26170 if test "${ac_cv_lib_w_wcslen+set}" = set; then
26171 echo $ECHO_N "(cached) $ECHO_C" >&6
26173 ac_check_lib_save_LIBS
=$LIBS
26175 cat >conftest.
$ac_ext <<_ACEOF
26176 #line $LINENO "configure"
26179 cat confdefs.h
>>conftest.
$ac_ext
26180 cat >>conftest.
$ac_ext <<_ACEOF
26181 /* end confdefs.h. */
26183 /* Override any gcc2 internal prototype to avoid an error. */
26187 /* We use char because int might match the return type of a gcc2
26188 builtin and then its argument prototype would still apply. */
26198 rm -f conftest.
$ac_objext conftest
$ac_exeext
26199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26200 (eval $ac_link) 2>&5
26202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26203 (exit $ac_status); } &&
26204 { ac_try
='test -s conftest$ac_exeext'
26205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26206 (eval $ac_try) 2>&5
26208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26209 (exit $ac_status); }; }; then
26210 ac_cv_lib_w_wcslen
=yes
26212 echo "$as_me: failed program was:" >&5
26213 sed 's/^/| /' conftest.
$ac_ext >&5
26215 ac_cv_lib_w_wcslen
=no
26217 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26218 LIBS
=$ac_check_lib_save_LIBS
26220 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
26221 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
26222 if test $ac_cv_lib_w_wcslen = yes; then
26232 if test "$WCSLEN_FOUND" = 1; then
26233 cat >>confdefs.h
<<\_ACEOF
26234 #define HAVE_WCSLEN 1
26240 for ac_func
in wcsrtombs
26242 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26243 echo "$as_me:$LINENO: checking for $ac_func" >&5
26244 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26245 if eval "test \"\${$as_ac_var+set}\" = set"; then
26246 echo $ECHO_N "(cached) $ECHO_C" >&6
26248 cat >conftest.
$ac_ext <<_ACEOF
26249 #line $LINENO "configure"
26252 cat confdefs.h
>>conftest.
$ac_ext
26253 cat >>conftest.
$ac_ext <<_ACEOF
26254 /* end confdefs.h. */
26255 /* System header to define __stub macros and hopefully few prototypes,
26256 which can conflict with char $ac_func (); below.
26257 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26258 <limits.h> exists even on freestanding compilers. */
26260 # include <limits.h>
26262 # include <assert.h>
26264 /* Override any gcc2 internal prototype to avoid an error. */
26269 /* We use char because int might match the return type of a gcc2
26270 builtin and then its argument prototype would still apply. */
26272 /* The GNU C library defines this for functions which it implements
26273 to always fail with ENOSYS. Some functions are actually named
26274 something starting with __ and the normal name is an alias. */
26275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26278 char (*f) () = $ac_func;
26287 return f != $ac_func;
26292 rm -f conftest.
$ac_objext conftest
$ac_exeext
26293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26294 (eval $ac_link) 2>&5
26296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26297 (exit $ac_status); } &&
26298 { ac_try
='test -s conftest$ac_exeext'
26299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26300 (eval $ac_try) 2>&5
26302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26303 (exit $ac_status); }; }; then
26304 eval "$as_ac_var=yes"
26306 echo "$as_me: failed program was:" >&5
26307 sed 's/^/| /' conftest.
$ac_ext >&5
26309 eval "$as_ac_var=no"
26311 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26314 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26315 if test `eval echo '${'$as_ac_var'}'` = yes; then
26316 cat >>confdefs.h
<<_ACEOF
26317 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26324 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
26325 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
26331 ac_cpp
='$CXXCPP $CPPFLAGS'
26332 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26333 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26334 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26338 for ac_func
in vsnprintf
26340 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26341 echo "$as_me:$LINENO: checking for $ac_func" >&5
26342 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26343 if eval "test \"\${$as_ac_var+set}\" = set"; then
26344 echo $ECHO_N "(cached) $ECHO_C" >&6
26346 cat >conftest.
$ac_ext <<_ACEOF
26347 #line $LINENO "configure"
26350 cat confdefs.h
>>conftest.
$ac_ext
26351 cat >>conftest.
$ac_ext <<_ACEOF
26352 /* end confdefs.h. */
26353 /* System header to define __stub macros and hopefully few prototypes,
26354 which can conflict with char $ac_func (); below.
26355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26356 <limits.h> exists even on freestanding compilers. */
26358 # include <limits.h>
26360 # include <assert.h>
26362 /* Override any gcc2 internal prototype to avoid an error. */
26367 /* We use char because int might match the return type of a gcc2
26368 builtin and then its argument prototype would still apply. */
26370 /* The GNU C library defines this for functions which it implements
26371 to always fail with ENOSYS. Some functions are actually named
26372 something starting with __ and the normal name is an alias. */
26373 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26376 char (*f) () = $ac_func;
26385 return f != $ac_func;
26390 rm -f conftest.
$ac_objext conftest
$ac_exeext
26391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26392 (eval $ac_link) 2>&5
26394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26395 (exit $ac_status); } &&
26396 { ac_try
='test -s conftest$ac_exeext'
26397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26398 (eval $ac_try) 2>&5
26400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26401 (exit $ac_status); }; }; then
26402 eval "$as_ac_var=yes"
26404 echo "$as_me: failed program was:" >&5
26405 sed 's/^/| /' conftest.
$ac_ext >&5
26407 eval "$as_ac_var=no"
26409 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26411 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26412 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26413 if test `eval echo '${'$as_ac_var'}'` = yes; then
26414 cat >>confdefs.h
<<_ACEOF
26415 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26422 if test "$ac_cv_func_vsnprintf" = "yes"; then
26423 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
26424 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
26425 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
26426 echo $ECHO_N "(cached) $ECHO_C" >&6
26429 cat >conftest.
$ac_ext <<_ACEOF
26430 #line $LINENO "configure"
26433 cat confdefs.h
>>conftest.
$ac_ext
26434 cat >>conftest.
$ac_ext <<_ACEOF
26435 /* end confdefs.h. */
26438 #include <stdarg.h>
26446 vsnprintf(buf, 10u, "%s", ap);
26452 rm -f conftest.
$ac_objext
26453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26454 (eval $ac_compile) 2>&5
26456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26457 (exit $ac_status); } &&
26458 { ac_try
='test -s conftest.$ac_objext'
26459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26460 (eval $ac_try) 2>&5
26462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26463 (exit $ac_status); }; }; then
26464 wx_cv_func_vsnprintf_decl
=yes
26466 echo "$as_me: failed program was:" >&5
26467 sed 's/^/| /' conftest.
$ac_ext >&5
26469 wx_cv_func_vsnprintf_decl
=no
26472 rm -f conftest.
$ac_objext conftest.
$ac_ext
26476 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
26477 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
26479 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
26480 cat >>confdefs.h
<<\_ACEOF
26481 #define HAVE_VSNPRINTF_DECL 1
26487 if test "$wxUSE_UNICODE" = yes; then
26491 for ac_func
in fputwc wprintf vswprintf
26493 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26494 echo "$as_me:$LINENO: checking for $ac_func" >&5
26495 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26496 if eval "test \"\${$as_ac_var+set}\" = set"; then
26497 echo $ECHO_N "(cached) $ECHO_C" >&6
26499 cat >conftest.
$ac_ext <<_ACEOF
26500 #line $LINENO "configure"
26503 cat confdefs.h
>>conftest.
$ac_ext
26504 cat >>conftest.
$ac_ext <<_ACEOF
26505 /* end confdefs.h. */
26506 /* System header to define __stub macros and hopefully few prototypes,
26507 which can conflict with char $ac_func (); below.
26508 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26509 <limits.h> exists even on freestanding compilers. */
26511 # include <limits.h>
26513 # include <assert.h>
26515 /* Override any gcc2 internal prototype to avoid an error. */
26520 /* We use char because int might match the return type of a gcc2
26521 builtin and then its argument prototype would still apply. */
26523 /* The GNU C library defines this for functions which it implements
26524 to always fail with ENOSYS. Some functions are actually named
26525 something starting with __ and the normal name is an alias. */
26526 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26529 char (*f) () = $ac_func;
26538 return f != $ac_func;
26543 rm -f conftest.
$ac_objext conftest
$ac_exeext
26544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26545 (eval $ac_link) 2>&5
26547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26548 (exit $ac_status); } &&
26549 { ac_try
='test -s conftest$ac_exeext'
26550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26551 (eval $ac_try) 2>&5
26553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26554 (exit $ac_status); }; }; then
26555 eval "$as_ac_var=yes"
26557 echo "$as_me: failed program was:" >&5
26558 sed 's/^/| /' conftest.
$ac_ext >&5
26560 eval "$as_ac_var=no"
26562 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26565 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26566 if test `eval echo '${'$as_ac_var'}'` = yes; then
26567 cat >>confdefs.h
<<_ACEOF
26568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26575 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
26576 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
26577 cat >conftest.
$ac_ext <<_ACEOF
26578 #line $LINENO "configure"
26581 cat confdefs.h
>>conftest.
$ac_ext
26582 cat >>conftest.
$ac_ext <<_ACEOF
26583 /* end confdefs.h. */
26593 rm -f conftest.
$ac_objext
26594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26595 (eval $ac_compile) 2>&5
26597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26598 (exit $ac_status); } &&
26599 { ac_try
='test -s conftest.$ac_objext'
26600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26601 (eval $ac_try) 2>&5
26603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26604 (exit $ac_status); }; }; then
26605 echo "$as_me:$LINENO: result: yes" >&5
26606 echo "${ECHO_T}yes" >&6
26607 cat >>confdefs.h
<<\_ACEOF
26608 #define HAVE__VSNWPRINTF 1
26612 echo "$as_me: failed program was:" >&5
26613 sed 's/^/| /' conftest.
$ac_ext >&5
26615 echo "$as_me:$LINENO: result: no" >&5
26616 echo "${ECHO_T}no" >&6
26618 rm -f conftest.
$ac_objext conftest.
$ac_ext;
26622 ac_cpp
='$CPP $CPPFLAGS'
26623 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26624 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26625 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26630 if test "$TOOLKIT" != "MSW"; then
26636 ac_cpp
='$CXXCPP $CPPFLAGS'
26637 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26638 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26639 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26644 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
26645 if test "${with_libiconv_prefix+set}" = set; then
26646 withval
="$with_libiconv_prefix"
26648 for dir
in `echo "$withval" | tr : ' '`; do
26649 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
26650 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
26655 echo "$as_me:$LINENO: checking for iconv" >&5
26656 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
26657 if test "${am_cv_func_iconv+set}" = set; then
26658 echo $ECHO_N "(cached) $ECHO_C" >&6
26661 am_cv_func_iconv
="no, consider installing GNU libiconv"
26663 cat >conftest.
$ac_ext <<_ACEOF
26664 #line $LINENO "configure"
26667 cat confdefs.h
>>conftest.
$ac_ext
26668 cat >>conftest.
$ac_ext <<_ACEOF
26669 /* end confdefs.h. */
26670 #include <stdlib.h>
26675 iconv_t cd = iconv_open("","");
26676 iconv(cd,NULL,NULL,NULL,NULL);
26682 rm -f conftest.
$ac_objext conftest
$ac_exeext
26683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26684 (eval $ac_link) 2>&5
26686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26687 (exit $ac_status); } &&
26688 { ac_try
='test -s conftest$ac_exeext'
26689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26690 (eval $ac_try) 2>&5
26692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26693 (exit $ac_status); }; }; then
26694 am_cv_func_iconv
=yes
26696 echo "$as_me: failed program was:" >&5
26697 sed 's/^/| /' conftest.
$ac_ext >&5
26700 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26701 if test "$am_cv_func_iconv" != yes; then
26702 am_save_LIBS
="$LIBS"
26703 LIBS
="$LIBS -liconv"
26704 cat >conftest.
$ac_ext <<_ACEOF
26705 #line $LINENO "configure"
26708 cat confdefs.h
>>conftest.
$ac_ext
26709 cat >>conftest.
$ac_ext <<_ACEOF
26710 /* end confdefs.h. */
26711 #include <stdlib.h>
26716 iconv_t cd = iconv_open("","");
26717 iconv(cd,NULL,NULL,NULL,NULL);
26723 rm -f conftest.
$ac_objext conftest
$ac_exeext
26724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26725 (eval $ac_link) 2>&5
26727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26728 (exit $ac_status); } &&
26729 { ac_try
='test -s conftest$ac_exeext'
26730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26731 (eval $ac_try) 2>&5
26733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26734 (exit $ac_status); }; }; then
26735 am_cv_lib_iconv
=yes
26736 am_cv_func_iconv
=yes
26738 echo "$as_me: failed program was:" >&5
26739 sed 's/^/| /' conftest.
$ac_ext >&5
26742 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26743 LIBS
="$am_save_LIBS"
26747 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
26748 echo "${ECHO_T}$am_cv_func_iconv" >&6
26749 if test "$am_cv_func_iconv" = yes; then
26751 cat >>confdefs.h
<<\_ACEOF
26752 #define HAVE_ICONV 1
26755 echo "$as_me:$LINENO: checking if iconv needs const" >&5
26756 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
26757 if test "${wx_cv_func_iconv_const+set}" = set; then
26758 echo $ECHO_N "(cached) $ECHO_C" >&6
26760 cat >conftest.
$ac_ext <<_ACEOF
26761 #line $LINENO "configure"
26764 cat confdefs.h
>>conftest.
$ac_ext
26765 cat >>conftest.
$ac_ext <<_ACEOF
26766 /* end confdefs.h. */
26768 #include <stdlib.h>
26774 #if defined(__STDC__) || defined(__cplusplus)
26775 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26788 rm -f conftest.
$ac_objext
26789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26790 (eval $ac_compile) 2>&5
26792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26793 (exit $ac_status); } &&
26794 { ac_try
='test -s conftest.$ac_objext'
26795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26796 (eval $ac_try) 2>&5
26798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26799 (exit $ac_status); }; }; then
26800 wx_cv_func_iconv_const
="no"
26802 echo "$as_me: failed program was:" >&5
26803 sed 's/^/| /' conftest.
$ac_ext >&5
26805 wx_cv_func_iconv_const
="yes"
26808 rm -f conftest.
$ac_objext conftest.
$ac_ext
26811 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
26812 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
26815 if test "x$wx_cv_func_iconv_const" = "xyes"; then
26816 iconv_const
="const"
26820 cat >>confdefs.h
<<_ACEOF
26821 #define ICONV_CONST $iconv_const
26826 if test "$am_cv_lib_iconv" = yes; then
26831 LIBS
="$LIBICONV $LIBS"
26833 ac_cpp
='$CPP $CPPFLAGS'
26834 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26835 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26836 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26839 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
26841 for ac_func
in sigaction
26843 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26844 echo "$as_me:$LINENO: checking for $ac_func" >&5
26845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26846 if eval "test \"\${$as_ac_var+set}\" = set"; then
26847 echo $ECHO_N "(cached) $ECHO_C" >&6
26849 cat >conftest.
$ac_ext <<_ACEOF
26850 #line $LINENO "configure"
26853 cat confdefs.h
>>conftest.
$ac_ext
26854 cat >>conftest.
$ac_ext <<_ACEOF
26855 /* end confdefs.h. */
26856 /* System header to define __stub macros and hopefully few prototypes,
26857 which can conflict with char $ac_func (); below.
26858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26859 <limits.h> exists even on freestanding compilers. */
26861 # include <limits.h>
26863 # include <assert.h>
26865 /* Override any gcc2 internal prototype to avoid an error. */
26870 /* We use char because int might match the return type of a gcc2
26871 builtin and then its argument prototype would still apply. */
26873 /* The GNU C library defines this for functions which it implements
26874 to always fail with ENOSYS. Some functions are actually named
26875 something starting with __ and the normal name is an alias. */
26876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26879 char (*f) () = $ac_func;
26888 return f != $ac_func;
26893 rm -f conftest.
$ac_objext conftest
$ac_exeext
26894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26895 (eval $ac_link) 2>&5
26897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26898 (exit $ac_status); } &&
26899 { ac_try
='test -s conftest$ac_exeext'
26900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26901 (eval $ac_try) 2>&5
26903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26904 (exit $ac_status); }; }; then
26905 eval "$as_ac_var=yes"
26907 echo "$as_me: failed program was:" >&5
26908 sed 's/^/| /' conftest.
$ac_ext >&5
26910 eval "$as_ac_var=no"
26912 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26915 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26916 if test `eval echo '${'$as_ac_var'}'` = yes; then
26917 cat >>confdefs.h
<<_ACEOF
26918 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26925 if test "$ac_cv_func_sigaction" = "no"; then
26926 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
26927 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
26928 wxUSE_ON_FATAL_EXCEPTION
=no
26931 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
26935 ac_cpp
='$CXXCPP $CPPFLAGS'
26936 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26937 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26938 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26941 echo "$as_me:$LINENO: checking for sa_handler type" >&5
26942 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
26943 if test "${wx_cv_type_sa_handler+set}" = set; then
26944 echo $ECHO_N "(cached) $ECHO_C" >&6
26947 cat >conftest.
$ac_ext <<_ACEOF
26948 #line $LINENO "configure"
26951 cat confdefs.h
>>conftest.
$ac_ext
26952 cat >>conftest.
$ac_ext <<_ACEOF
26953 /* end confdefs.h. */
26954 #include <signal.h>
26959 extern void testSigHandler(int);
26961 struct sigaction sa;
26962 sa.sa_handler = testSigHandler;
26968 rm -f conftest.
$ac_objext
26969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26970 (eval $ac_compile) 2>&5
26972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26973 (exit $ac_status); } &&
26974 { ac_try
='test -s conftest.$ac_objext'
26975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26976 (eval $ac_try) 2>&5
26978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26979 (exit $ac_status); }; }; then
26981 wx_cv_type_sa_handler
=int
26984 echo "$as_me: failed program was:" >&5
26985 sed 's/^/| /' conftest.
$ac_ext >&5
26988 wx_cv_type_sa_handler
=void
26991 rm -f conftest.
$ac_objext conftest.
$ac_ext
26994 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
26995 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
26998 ac_cpp
='$CPP $CPPFLAGS'
26999 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27000 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27001 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27004 cat >>confdefs.h
<<_ACEOF
27005 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
27013 for ac_func
in mkstemp mktemp
27015 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27016 echo "$as_me:$LINENO: checking for $ac_func" >&5
27017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27018 if eval "test \"\${$as_ac_var+set}\" = set"; then
27019 echo $ECHO_N "(cached) $ECHO_C" >&6
27021 cat >conftest.
$ac_ext <<_ACEOF
27022 #line $LINENO "configure"
27025 cat confdefs.h
>>conftest.
$ac_ext
27026 cat >>conftest.
$ac_ext <<_ACEOF
27027 /* end confdefs.h. */
27028 /* System header to define __stub macros and hopefully few prototypes,
27029 which can conflict with char $ac_func (); below.
27030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27031 <limits.h> exists even on freestanding compilers. */
27033 # include <limits.h>
27035 # include <assert.h>
27037 /* Override any gcc2 internal prototype to avoid an error. */
27042 /* We use char because int might match the return type of a gcc2
27043 builtin and then its argument prototype would still apply. */
27045 /* The GNU C library defines this for functions which it implements
27046 to always fail with ENOSYS. Some functions are actually named
27047 something starting with __ and the normal name is an alias. */
27048 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27051 char (*f) () = $ac_func;
27060 return f != $ac_func;
27065 rm -f conftest.
$ac_objext conftest
$ac_exeext
27066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27067 (eval $ac_link) 2>&5
27069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27070 (exit $ac_status); } &&
27071 { ac_try
='test -s conftest$ac_exeext'
27072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27073 (eval $ac_try) 2>&5
27075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27076 (exit $ac_status); }; }; then
27077 eval "$as_ac_var=yes"
27079 echo "$as_me: failed program was:" >&5
27080 sed 's/^/| /' conftest.
$ac_ext >&5
27082 eval "$as_ac_var=no"
27084 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27087 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27088 if test `eval echo '${'$as_ac_var'}'` = yes; then
27089 cat >>confdefs.h
<<_ACEOF
27090 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27097 echo "$as_me:$LINENO: checking for statfs" >&5
27098 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
27099 if test "${wx_cv_func_statfs+set}" = set; then
27100 echo $ECHO_N "(cached) $ECHO_C" >&6
27102 cat >conftest.
$ac_ext <<_ACEOF
27103 #line $LINENO "configure"
27106 cat confdefs.h
>>conftest.
$ac_ext
27107 cat >>conftest.
$ac_ext <<_ACEOF
27108 /* end confdefs.h. */
27110 #if defined(__BSD__)
27111 #include <sys/param.h>
27112 #include <sys/mount.h>
27114 #include <sys/vfs.h>
27132 rm -f conftest.
$ac_objext
27133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27134 (eval $ac_compile) 2>&5
27136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27137 (exit $ac_status); } &&
27138 { ac_try
='test -s conftest.$ac_objext'
27139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27140 (eval $ac_try) 2>&5
27142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27143 (exit $ac_status); }; }; then
27145 wx_cv_func_statfs
=yes
27148 echo "$as_me: failed program was:" >&5
27149 sed 's/^/| /' conftest.
$ac_ext >&5
27152 wx_cv_func_statfs
=no
27156 rm -f conftest.
$ac_objext conftest.
$ac_ext
27159 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
27160 echo "${ECHO_T}$wx_cv_func_statfs" >&6
27162 if test "$wx_cv_func_statfs" = "yes"; then
27163 wx_cv_type_statvfs_t
="struct statfs"
27164 cat >>confdefs.h
<<\_ACEOF
27165 #define HAVE_STATFS 1
27169 echo "$as_me:$LINENO: checking for statvfs" >&5
27170 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
27171 if test "${wx_cv_func_statvfs+set}" = set; then
27172 echo $ECHO_N "(cached) $ECHO_C" >&6
27174 cat >conftest.
$ac_ext <<_ACEOF
27175 #line $LINENO "configure"
27178 cat confdefs.h
>>conftest.
$ac_ext
27179 cat >>conftest.
$ac_ext <<_ACEOF
27180 /* end confdefs.h. */
27182 #include <stddef.h>
27183 #include <sys/statvfs.h>
27189 statvfs("/", NULL);
27195 rm -f conftest.
$ac_objext
27196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27197 (eval $ac_compile) 2>&5
27199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27200 (exit $ac_status); } &&
27201 { ac_try
='test -s conftest.$ac_objext'
27202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27203 (eval $ac_try) 2>&5
27205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27206 (exit $ac_status); }; }; then
27207 wx_cv_func_statvfs
=yes
27209 echo "$as_me: failed program was:" >&5
27210 sed 's/^/| /' conftest.
$ac_ext >&5
27212 wx_cv_func_statvfs
=no
27215 rm -f conftest.
$ac_objext conftest.
$ac_ext
27218 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
27219 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
27221 if test "$wx_cv_func_statvfs" = "yes"; then
27225 ac_cpp
='$CXXCPP $CPPFLAGS'
27226 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27227 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27228 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27231 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
27232 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
27233 if test "${wx_cv_type_statvfs_t+set}" = set; then
27234 echo $ECHO_N "(cached) $ECHO_C" >&6
27236 cat >conftest.
$ac_ext <<_ACEOF
27237 #line $LINENO "configure"
27240 cat confdefs.h
>>conftest.
$ac_ext
27241 cat >>conftest.
$ac_ext <<_ACEOF
27242 /* end confdefs.h. */
27244 #include <sys/statvfs.h>
27261 rm -f conftest.
$ac_objext
27262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27263 (eval $ac_compile) 2>&5
27265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27266 (exit $ac_status); } &&
27267 { ac_try
='test -s conftest.$ac_objext'
27268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27269 (eval $ac_try) 2>&5
27271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27272 (exit $ac_status); }; }; then
27273 wx_cv_type_statvfs_t
=statvfs_t
27275 echo "$as_me: failed program was:" >&5
27276 sed 's/^/| /' conftest.
$ac_ext >&5
27279 cat >conftest.
$ac_ext <<_ACEOF
27280 #line $LINENO "configure"
27283 cat confdefs.h
>>conftest.
$ac_ext
27284 cat >>conftest.
$ac_ext <<_ACEOF
27285 /* end confdefs.h. */
27287 #include <sys/statvfs.h>
27304 rm -f conftest.
$ac_objext
27305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27306 (eval $ac_compile) 2>&5
27308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27309 (exit $ac_status); } &&
27310 { ac_try
='test -s conftest.$ac_objext'
27311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27312 (eval $ac_try) 2>&5
27314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27315 (exit $ac_status); }; }; then
27316 wx_cv_type_statvfs_t
="struct statvfs"
27318 echo "$as_me: failed program was:" >&5
27319 sed 's/^/| /' conftest.
$ac_ext >&5
27321 wx_cv_type_statvfs_t
="unknown"
27324 rm -f conftest.
$ac_objext conftest.
$ac_ext
27328 rm -f conftest.
$ac_objext conftest.
$ac_ext
27331 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
27332 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
27335 ac_cpp
='$CPP $CPPFLAGS'
27336 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27337 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27338 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27341 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27342 cat >>confdefs.h
<<\_ACEOF
27343 #define HAVE_STATVFS 1
27348 wx_cv_type_statvfs_t
="unknown"
27352 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27353 cat >>confdefs.h
<<_ACEOF
27354 #define WX_STATFS_T $wx_cv_type_statvfs_t
27358 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
27359 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
27362 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
27365 for ac_func
in fcntl flock
27367 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27368 echo "$as_me:$LINENO: checking for $ac_func" >&5
27369 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27370 if eval "test \"\${$as_ac_var+set}\" = set"; then
27371 echo $ECHO_N "(cached) $ECHO_C" >&6
27373 cat >conftest.
$ac_ext <<_ACEOF
27374 #line $LINENO "configure"
27377 cat confdefs.h
>>conftest.
$ac_ext
27378 cat >>conftest.
$ac_ext <<_ACEOF
27379 /* end confdefs.h. */
27380 /* System header to define __stub macros and hopefully few prototypes,
27381 which can conflict with char $ac_func (); below.
27382 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27383 <limits.h> exists even on freestanding compilers. */
27385 # include <limits.h>
27387 # include <assert.h>
27389 /* Override any gcc2 internal prototype to avoid an error. */
27394 /* We use char because int might match the return type of a gcc2
27395 builtin and then its argument prototype would still apply. */
27397 /* The GNU C library defines this for functions which it implements
27398 to always fail with ENOSYS. Some functions are actually named
27399 something starting with __ and the normal name is an alias. */
27400 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27403 char (*f) () = $ac_func;
27412 return f != $ac_func;
27417 rm -f conftest.
$ac_objext conftest
$ac_exeext
27418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27419 (eval $ac_link) 2>&5
27421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27422 (exit $ac_status); } &&
27423 { ac_try
='test -s conftest$ac_exeext'
27424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27425 (eval $ac_try) 2>&5
27427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27428 (exit $ac_status); }; }; then
27429 eval "$as_ac_var=yes"
27431 echo "$as_me: failed program was:" >&5
27432 sed 's/^/| /' conftest.
$ac_ext >&5
27434 eval "$as_ac_var=no"
27436 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27439 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27440 if test `eval echo '${'$as_ac_var'}'` = yes; then
27441 cat >>confdefs.h
<<_ACEOF
27442 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27449 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
27450 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
27451 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
27452 wxUSE_SNGLINST_CHECKER
=no
27457 for ac_func
in timegm
27459 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27460 echo "$as_me:$LINENO: checking for $ac_func" >&5
27461 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27462 if eval "test \"\${$as_ac_var+set}\" = set"; then
27463 echo $ECHO_N "(cached) $ECHO_C" >&6
27465 cat >conftest.
$ac_ext <<_ACEOF
27466 #line $LINENO "configure"
27469 cat confdefs.h
>>conftest.
$ac_ext
27470 cat >>conftest.
$ac_ext <<_ACEOF
27471 /* end confdefs.h. */
27472 /* System header to define __stub macros and hopefully few prototypes,
27473 which can conflict with char $ac_func (); below.
27474 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27475 <limits.h> exists even on freestanding compilers. */
27477 # include <limits.h>
27479 # include <assert.h>
27481 /* Override any gcc2 internal prototype to avoid an error. */
27486 /* We use char because int might match the return type of a gcc2
27487 builtin and then its argument prototype would still apply. */
27489 /* The GNU C library defines this for functions which it implements
27490 to always fail with ENOSYS. Some functions are actually named
27491 something starting with __ and the normal name is an alias. */
27492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27495 char (*f) () = $ac_func;
27504 return f != $ac_func;
27509 rm -f conftest.
$ac_objext conftest
$ac_exeext
27510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27511 (eval $ac_link) 2>&5
27513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27514 (exit $ac_status); } &&
27515 { ac_try
='test -s conftest$ac_exeext'
27516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27517 (eval $ac_try) 2>&5
27519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27520 (exit $ac_status); }; }; then
27521 eval "$as_ac_var=yes"
27523 echo "$as_me: failed program was:" >&5
27524 sed 's/^/| /' conftest.
$ac_ext >&5
27526 eval "$as_ac_var=no"
27528 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27531 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27532 if test `eval echo '${'$as_ac_var'}'` = yes; then
27533 cat >>confdefs.h
<<_ACEOF
27534 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27543 for ac_func
in putenv setenv
27545 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27546 echo "$as_me:$LINENO: checking for $ac_func" >&5
27547 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27548 if eval "test \"\${$as_ac_var+set}\" = set"; then
27549 echo $ECHO_N "(cached) $ECHO_C" >&6
27551 cat >conftest.
$ac_ext <<_ACEOF
27552 #line $LINENO "configure"
27555 cat confdefs.h
>>conftest.
$ac_ext
27556 cat >>conftest.
$ac_ext <<_ACEOF
27557 /* end confdefs.h. */
27558 /* System header to define __stub macros and hopefully few prototypes,
27559 which can conflict with char $ac_func (); below.
27560 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27561 <limits.h> exists even on freestanding compilers. */
27563 # include <limits.h>
27565 # include <assert.h>
27567 /* Override any gcc2 internal prototype to avoid an error. */
27572 /* We use char because int might match the return type of a gcc2
27573 builtin and then its argument prototype would still apply. */
27575 /* The GNU C library defines this for functions which it implements
27576 to always fail with ENOSYS. Some functions are actually named
27577 something starting with __ and the normal name is an alias. */
27578 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27581 char (*f) () = $ac_func;
27590 return f != $ac_func;
27595 rm -f conftest.
$ac_objext conftest
$ac_exeext
27596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27597 (eval $ac_link) 2>&5
27599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27600 (exit $ac_status); } &&
27601 { ac_try
='test -s conftest$ac_exeext'
27602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27603 (eval $ac_try) 2>&5
27605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27606 (exit $ac_status); }; }; then
27607 eval "$as_ac_var=yes"
27609 echo "$as_me: failed program was:" >&5
27610 sed 's/^/| /' conftest.
$ac_ext >&5
27612 eval "$as_ac_var=no"
27614 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27617 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27618 if test `eval echo '${'$as_ac_var'}'` = yes; then
27619 cat >>confdefs.h
<<_ACEOF
27620 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27627 HAVE_SOME_SLEEP_FUNC
=0
27628 if test "$USE_BEOS" = 1; then
27629 cat >>confdefs.h
<<\_ACEOF
27630 #define HAVE_SLEEP 1
27633 HAVE_SOME_SLEEP_FUNC
=1
27636 if test "$USE_DARWIN" = 1; then
27637 cat >>confdefs.h
<<\_ACEOF
27638 #define HAVE_USLEEP 1
27641 HAVE_SOME_SLEEP_FUNC
=1
27644 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
27647 for ac_func
in nanosleep
27649 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27650 echo "$as_me:$LINENO: checking for $ac_func" >&5
27651 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27652 if eval "test \"\${$as_ac_var+set}\" = set"; then
27653 echo $ECHO_N "(cached) $ECHO_C" >&6
27655 cat >conftest.
$ac_ext <<_ACEOF
27656 #line $LINENO "configure"
27659 cat confdefs.h
>>conftest.
$ac_ext
27660 cat >>conftest.
$ac_ext <<_ACEOF
27661 /* end confdefs.h. */
27662 /* System header to define __stub macros and hopefully few prototypes,
27663 which can conflict with char $ac_func (); below.
27664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27665 <limits.h> exists even on freestanding compilers. */
27667 # include <limits.h>
27669 # include <assert.h>
27671 /* Override any gcc2 internal prototype to avoid an error. */
27676 /* We use char because int might match the return type of a gcc2
27677 builtin and then its argument prototype would still apply. */
27679 /* The GNU C library defines this for functions which it implements
27680 to always fail with ENOSYS. Some functions are actually named
27681 something starting with __ and the normal name is an alias. */
27682 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27685 char (*f) () = $ac_func;
27694 return f != $ac_func;
27699 rm -f conftest.
$ac_objext conftest
$ac_exeext
27700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27701 (eval $ac_link) 2>&5
27703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27704 (exit $ac_status); } &&
27705 { ac_try
='test -s conftest$ac_exeext'
27706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27707 (eval $ac_try) 2>&5
27709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27710 (exit $ac_status); }; }; then
27711 eval "$as_ac_var=yes"
27713 echo "$as_me: failed program was:" >&5
27714 sed 's/^/| /' conftest.
$ac_ext >&5
27716 eval "$as_ac_var=no"
27718 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27721 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27722 if test `eval echo '${'$as_ac_var'}'` = yes; then
27723 cat >>confdefs.h
<<_ACEOF
27724 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27726 cat >>confdefs.h
<<\_ACEOF
27727 #define HAVE_NANOSLEEP 1
27732 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
27733 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
27734 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
27735 echo $ECHO_N "(cached) $ECHO_C" >&6
27737 ac_check_lib_save_LIBS
=$LIBS
27738 LIBS
="-lposix4 $LIBS"
27739 cat >conftest.
$ac_ext <<_ACEOF
27740 #line $LINENO "configure"
27743 cat confdefs.h
>>conftest.
$ac_ext
27744 cat >>conftest.
$ac_ext <<_ACEOF
27745 /* end confdefs.h. */
27747 /* Override any gcc2 internal prototype to avoid an error. */
27751 /* We use char because int might match the return type of a gcc2
27752 builtin and then its argument prototype would still apply. */
27762 rm -f conftest.
$ac_objext conftest
$ac_exeext
27763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27764 (eval $ac_link) 2>&5
27766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27767 (exit $ac_status); } &&
27768 { ac_try
='test -s conftest$ac_exeext'
27769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27770 (eval $ac_try) 2>&5
27772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27773 (exit $ac_status); }; }; then
27774 ac_cv_lib_posix4_nanosleep
=yes
27776 echo "$as_me: failed program was:" >&5
27777 sed 's/^/| /' conftest.
$ac_ext >&5
27779 ac_cv_lib_posix4_nanosleep
=no
27781 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27782 LIBS
=$ac_check_lib_save_LIBS
27784 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
27785 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
27786 if test $ac_cv_lib_posix4_nanosleep = yes; then
27788 cat >>confdefs.h
<<\_ACEOF
27789 #define HAVE_NANOSLEEP 1
27792 POSIX4_LINK
=" -lposix4"
27797 for ac_func
in usleep
27799 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27800 echo "$as_me:$LINENO: checking for $ac_func" >&5
27801 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27802 if eval "test \"\${$as_ac_var+set}\" = set"; then
27803 echo $ECHO_N "(cached) $ECHO_C" >&6
27805 cat >conftest.
$ac_ext <<_ACEOF
27806 #line $LINENO "configure"
27809 cat confdefs.h
>>conftest.
$ac_ext
27810 cat >>conftest.
$ac_ext <<_ACEOF
27811 /* end confdefs.h. */
27812 /* System header to define __stub macros and hopefully few prototypes,
27813 which can conflict with char $ac_func (); below.
27814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27815 <limits.h> exists even on freestanding compilers. */
27817 # include <limits.h>
27819 # include <assert.h>
27821 /* Override any gcc2 internal prototype to avoid an error. */
27826 /* We use char because int might match the return type of a gcc2
27827 builtin and then its argument prototype would still apply. */
27829 /* The GNU C library defines this for functions which it implements
27830 to always fail with ENOSYS. Some functions are actually named
27831 something starting with __ and the normal name is an alias. */
27832 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27835 char (*f) () = $ac_func;
27844 return f != $ac_func;
27849 rm -f conftest.
$ac_objext conftest
$ac_exeext
27850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27851 (eval $ac_link) 2>&5
27853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27854 (exit $ac_status); } &&
27855 { ac_try
='test -s conftest$ac_exeext'
27856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27857 (eval $ac_try) 2>&5
27859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27860 (exit $ac_status); }; }; then
27861 eval "$as_ac_var=yes"
27863 echo "$as_me: failed program was:" >&5
27864 sed 's/^/| /' conftest.
$ac_ext >&5
27866 eval "$as_ac_var=no"
27868 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27870 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27871 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27872 if test `eval echo '${'$as_ac_var'}'` = yes; then
27873 cat >>confdefs.h
<<_ACEOF
27874 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27876 cat >>confdefs.h
<<\_ACEOF
27877 #define HAVE_USLEEP 1
27881 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
27882 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
27900 for ac_func
in uname gethostname
27902 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27903 echo "$as_me:$LINENO: checking for $ac_func" >&5
27904 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27905 if eval "test \"\${$as_ac_var+set}\" = set"; then
27906 echo $ECHO_N "(cached) $ECHO_C" >&6
27908 cat >conftest.
$ac_ext <<_ACEOF
27909 #line $LINENO "configure"
27912 cat confdefs.h
>>conftest.
$ac_ext
27913 cat >>conftest.
$ac_ext <<_ACEOF
27914 /* end confdefs.h. */
27915 /* System header to define __stub macros and hopefully few prototypes,
27916 which can conflict with char $ac_func (); below.
27917 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27918 <limits.h> exists even on freestanding compilers. */
27920 # include <limits.h>
27922 # include <assert.h>
27924 /* Override any gcc2 internal prototype to avoid an error. */
27929 /* We use char because int might match the return type of a gcc2
27930 builtin and then its argument prototype would still apply. */
27932 /* The GNU C library defines this for functions which it implements
27933 to always fail with ENOSYS. Some functions are actually named
27934 something starting with __ and the normal name is an alias. */
27935 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27938 char (*f) () = $ac_func;
27947 return f != $ac_func;
27952 rm -f conftest.
$ac_objext conftest
$ac_exeext
27953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27954 (eval $ac_link) 2>&5
27956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27957 (exit $ac_status); } &&
27958 { ac_try
='test -s conftest$ac_exeext'
27959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27960 (eval $ac_try) 2>&5
27962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27963 (exit $ac_status); }; }; then
27964 eval "$as_ac_var=yes"
27966 echo "$as_me: failed program was:" >&5
27967 sed 's/^/| /' conftest.
$ac_ext >&5
27969 eval "$as_ac_var=no"
27971 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27974 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27975 if test `eval echo '${'$as_ac_var'}'` = yes; then
27976 cat >>confdefs.h
<<_ACEOF
27977 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27987 ac_cpp
='$CXXCPP $CPPFLAGS'
27988 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27989 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27990 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27994 for ac_func
in strtok_r
27996 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27997 echo "$as_me:$LINENO: checking for $ac_func" >&5
27998 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27999 if eval "test \"\${$as_ac_var+set}\" = set"; then
28000 echo $ECHO_N "(cached) $ECHO_C" >&6
28002 cat >conftest.
$ac_ext <<_ACEOF
28003 #line $LINENO "configure"
28006 cat confdefs.h
>>conftest.
$ac_ext
28007 cat >>conftest.
$ac_ext <<_ACEOF
28008 /* end confdefs.h. */
28009 /* System header to define __stub macros and hopefully few prototypes,
28010 which can conflict with char $ac_func (); below.
28011 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28012 <limits.h> exists even on freestanding compilers. */
28014 # include <limits.h>
28016 # include <assert.h>
28018 /* Override any gcc2 internal prototype to avoid an error. */
28023 /* We use char because int might match the return type of a gcc2
28024 builtin and then its argument prototype would still apply. */
28026 /* The GNU C library defines this for functions which it implements
28027 to always fail with ENOSYS. Some functions are actually named
28028 something starting with __ and the normal name is an alias. */
28029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28032 char (*f) () = $ac_func;
28041 return f != $ac_func;
28046 rm -f conftest.
$ac_objext conftest
$ac_exeext
28047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28048 (eval $ac_link) 2>&5
28050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28051 (exit $ac_status); } &&
28052 { ac_try
='test -s conftest$ac_exeext'
28053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28054 (eval $ac_try) 2>&5
28056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28057 (exit $ac_status); }; }; then
28058 eval "$as_ac_var=yes"
28060 echo "$as_me: failed program was:" >&5
28061 sed 's/^/| /' conftest.
$ac_ext >&5
28063 eval "$as_ac_var=no"
28065 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28067 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28068 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28069 if test `eval echo '${'$as_ac_var'}'` = yes; then
28070 cat >>confdefs.h
<<_ACEOF
28071 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28079 ac_cpp
='$CPP $CPPFLAGS'
28080 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28081 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28082 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28087 for ac_func
in inet_addr
28089 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28090 echo "$as_me:$LINENO: checking for $ac_func" >&5
28091 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28092 if eval "test \"\${$as_ac_var+set}\" = set"; then
28093 echo $ECHO_N "(cached) $ECHO_C" >&6
28095 cat >conftest.
$ac_ext <<_ACEOF
28096 #line $LINENO "configure"
28099 cat confdefs.h
>>conftest.
$ac_ext
28100 cat >>conftest.
$ac_ext <<_ACEOF
28101 /* end confdefs.h. */
28102 /* System header to define __stub macros and hopefully few prototypes,
28103 which can conflict with char $ac_func (); below.
28104 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28105 <limits.h> exists even on freestanding compilers. */
28107 # include <limits.h>
28109 # include <assert.h>
28111 /* Override any gcc2 internal prototype to avoid an error. */
28116 /* We use char because int might match the return type of a gcc2
28117 builtin and then its argument prototype would still apply. */
28119 /* The GNU C library defines this for functions which it implements
28120 to always fail with ENOSYS. Some functions are actually named
28121 something starting with __ and the normal name is an alias. */
28122 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28125 char (*f) () = $ac_func;
28134 return f != $ac_func;
28139 rm -f conftest.
$ac_objext conftest
$ac_exeext
28140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28141 (eval $ac_link) 2>&5
28143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28144 (exit $ac_status); } &&
28145 { ac_try
='test -s conftest$ac_exeext'
28146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28147 (eval $ac_try) 2>&5
28149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28150 (exit $ac_status); }; }; then
28151 eval "$as_ac_var=yes"
28153 echo "$as_me: failed program was:" >&5
28154 sed 's/^/| /' conftest.
$ac_ext >&5
28156 eval "$as_ac_var=no"
28158 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28161 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28162 if test `eval echo '${'$as_ac_var'}'` = yes; then
28163 cat >>confdefs.h
<<_ACEOF
28164 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28166 cat >>confdefs.h
<<\_ACEOF
28167 #define HAVE_INET_ADDR 1
28172 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
28173 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
28174 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
28175 echo $ECHO_N "(cached) $ECHO_C" >&6
28177 ac_check_lib_save_LIBS
=$LIBS
28179 cat >conftest.
$ac_ext <<_ACEOF
28180 #line $LINENO "configure"
28183 cat confdefs.h
>>conftest.
$ac_ext
28184 cat >>conftest.
$ac_ext <<_ACEOF
28185 /* end confdefs.h. */
28187 /* Override any gcc2 internal prototype to avoid an error. */
28191 /* We use char because int might match the return type of a gcc2
28192 builtin and then its argument prototype would still apply. */
28202 rm -f conftest.
$ac_objext conftest
$ac_exeext
28203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28204 (eval $ac_link) 2>&5
28206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28207 (exit $ac_status); } &&
28208 { ac_try
='test -s conftest$ac_exeext'
28209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28210 (eval $ac_try) 2>&5
28212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28213 (exit $ac_status); }; }; then
28214 ac_cv_lib_nsl_inet_addr
=yes
28216 echo "$as_me: failed program was:" >&5
28217 sed 's/^/| /' conftest.
$ac_ext >&5
28219 ac_cv_lib_nsl_inet_addr
=no
28221 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28222 LIBS
=$ac_check_lib_save_LIBS
28224 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
28225 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
28226 if test $ac_cv_lib_nsl_inet_addr = yes; then
28230 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
28231 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
28232 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
28233 echo $ECHO_N "(cached) $ECHO_C" >&6
28235 ac_check_lib_save_LIBS
=$LIBS
28236 LIBS
="-lresolv $LIBS"
28237 cat >conftest.
$ac_ext <<_ACEOF
28238 #line $LINENO "configure"
28241 cat confdefs.h
>>conftest.
$ac_ext
28242 cat >>conftest.
$ac_ext <<_ACEOF
28243 /* end confdefs.h. */
28245 /* Override any gcc2 internal prototype to avoid an error. */
28249 /* We use char because int might match the return type of a gcc2
28250 builtin and then its argument prototype would still apply. */
28260 rm -f conftest.
$ac_objext conftest
$ac_exeext
28261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28262 (eval $ac_link) 2>&5
28264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28265 (exit $ac_status); } &&
28266 { ac_try
='test -s conftest$ac_exeext'
28267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28268 (eval $ac_try) 2>&5
28270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28271 (exit $ac_status); }; }; then
28272 ac_cv_lib_resolv_inet_addr
=yes
28274 echo "$as_me: failed program was:" >&5
28275 sed 's/^/| /' conftest.
$ac_ext >&5
28277 ac_cv_lib_resolv_inet_addr
=no
28279 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28280 LIBS
=$ac_check_lib_save_LIBS
28282 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
28283 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
28284 if test $ac_cv_lib_resolv_inet_addr = yes; then
28288 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
28289 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
28290 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
28291 echo $ECHO_N "(cached) $ECHO_C" >&6
28293 ac_check_lib_save_LIBS
=$LIBS
28294 LIBS
="-lsocket $LIBS"
28295 cat >conftest.
$ac_ext <<_ACEOF
28296 #line $LINENO "configure"
28299 cat confdefs.h
>>conftest.
$ac_ext
28300 cat >>conftest.
$ac_ext <<_ACEOF
28301 /* end confdefs.h. */
28303 /* Override any gcc2 internal prototype to avoid an error. */
28307 /* We use char because int might match the return type of a gcc2
28308 builtin and then its argument prototype would still apply. */
28318 rm -f conftest.
$ac_objext conftest
$ac_exeext
28319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28320 (eval $ac_link) 2>&5
28322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28323 (exit $ac_status); } &&
28324 { ac_try
='test -s conftest$ac_exeext'
28325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28326 (eval $ac_try) 2>&5
28328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28329 (exit $ac_status); }; }; then
28330 ac_cv_lib_socket_inet_addr
=yes
28332 echo "$as_me: failed program was:" >&5
28333 sed 's/^/| /' conftest.
$ac_ext >&5
28335 ac_cv_lib_socket_inet_addr
=no
28337 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28338 LIBS
=$ac_check_lib_save_LIBS
28340 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
28341 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
28342 if test $ac_cv_lib_socket_inet_addr = yes; then
28362 for ac_func
in inet_aton
28364 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28365 echo "$as_me:$LINENO: checking for $ac_func" >&5
28366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28367 if eval "test \"\${$as_ac_var+set}\" = set"; then
28368 echo $ECHO_N "(cached) $ECHO_C" >&6
28370 cat >conftest.
$ac_ext <<_ACEOF
28371 #line $LINENO "configure"
28374 cat confdefs.h
>>conftest.
$ac_ext
28375 cat >>conftest.
$ac_ext <<_ACEOF
28376 /* end confdefs.h. */
28377 /* System header to define __stub macros and hopefully few prototypes,
28378 which can conflict with char $ac_func (); below.
28379 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28380 <limits.h> exists even on freestanding compilers. */
28382 # include <limits.h>
28384 # include <assert.h>
28386 /* Override any gcc2 internal prototype to avoid an error. */
28391 /* We use char because int might match the return type of a gcc2
28392 builtin and then its argument prototype would still apply. */
28394 /* The GNU C library defines this for functions which it implements
28395 to always fail with ENOSYS. Some functions are actually named
28396 something starting with __ and the normal name is an alias. */
28397 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28400 char (*f) () = $ac_func;
28409 return f != $ac_func;
28414 rm -f conftest.
$ac_objext conftest
$ac_exeext
28415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28416 (eval $ac_link) 2>&5
28418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28419 (exit $ac_status); } &&
28420 { ac_try
='test -s conftest$ac_exeext'
28421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28422 (eval $ac_try) 2>&5
28424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28425 (exit $ac_status); }; }; then
28426 eval "$as_ac_var=yes"
28428 echo "$as_me: failed program was:" >&5
28429 sed 's/^/| /' conftest.
$ac_ext >&5
28431 eval "$as_ac_var=no"
28433 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28436 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28437 if test `eval echo '${'$as_ac_var'}'` = yes; then
28438 cat >>confdefs.h
<<_ACEOF
28439 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28441 cat >>confdefs.h
<<\_ACEOF
28442 #define HAVE_INET_ATON 1
28447 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
28448 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
28449 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
28450 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
28451 echo $ECHO_N "(cached) $ECHO_C" >&6
28453 ac_check_lib_save_LIBS
=$LIBS
28454 LIBS
="-l$INET_LINK $LIBS"
28455 cat >conftest.
$ac_ext <<_ACEOF
28456 #line $LINENO "configure"
28459 cat confdefs.h
>>conftest.
$ac_ext
28460 cat >>conftest.
$ac_ext <<_ACEOF
28461 /* end confdefs.h. */
28463 /* Override any gcc2 internal prototype to avoid an error. */
28467 /* We use char because int might match the return type of a gcc2
28468 builtin and then its argument prototype would still apply. */
28478 rm -f conftest.
$ac_objext conftest
$ac_exeext
28479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28480 (eval $ac_link) 2>&5
28482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28483 (exit $ac_status); } &&
28484 { ac_try
='test -s conftest$ac_exeext'
28485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28486 (eval $ac_try) 2>&5
28488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28489 (exit $ac_status); }; }; then
28490 eval "$as_ac_Lib=yes"
28492 echo "$as_me: failed program was:" >&5
28493 sed 's/^/| /' conftest.
$ac_ext >&5
28495 eval "$as_ac_Lib=no"
28497 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28498 LIBS
=$ac_check_lib_save_LIBS
28500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
28501 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
28502 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
28503 cat >>confdefs.h
<<\_ACEOF
28504 #define HAVE_INET_ATON 1
28514 if test "x$INET_LINK" != "x"; then
28515 cat >>confdefs.h
<<\_ACEOF
28516 #define HAVE_INET_ADDR 1
28519 INET_LINK
=" -l$INET_LINK"
28527 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
28528 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
28529 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
28530 echo $ECHO_N "(cached) $ECHO_C" >&6
28532 ac_check_lib_save_LIBS
=$LIBS
28534 cat >conftest.
$ac_ext <<_ACEOF
28535 #line $LINENO "configure"
28538 cat confdefs.h
>>conftest.
$ac_ext
28539 cat >>conftest.
$ac_ext <<_ACEOF
28540 /* end confdefs.h. */
28542 /* Override any gcc2 internal prototype to avoid an error. */
28546 /* We use char because int might match the return type of a gcc2
28547 builtin and then its argument prototype would still apply. */
28557 rm -f conftest.
$ac_objext conftest
$ac_exeext
28558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28559 (eval $ac_link) 2>&5
28561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28562 (exit $ac_status); } &&
28563 { ac_try
='test -s conftest$ac_exeext'
28564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28565 (eval $ac_try) 2>&5
28567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28568 (exit $ac_status); }; }; then
28569 ac_cv_lib_esd_esd_close
=yes
28571 echo "$as_me: failed program was:" >&5
28572 sed 's/^/| /' conftest.
$ac_ext >&5
28574 ac_cv_lib_esd_esd_close
=no
28576 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28577 LIBS
=$ac_check_lib_save_LIBS
28579 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
28580 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
28581 if test $ac_cv_lib_esd_esd_close = yes; then
28584 for ac_header
in esd.h
28586 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28587 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28588 echo "$as_me:$LINENO: checking for $ac_header" >&5
28589 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28590 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28591 echo $ECHO_N "(cached) $ECHO_C" >&6
28593 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28594 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28596 # Is the header compilable?
28597 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28598 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28599 cat >conftest.
$ac_ext <<_ACEOF
28600 #line $LINENO "configure"
28603 cat confdefs.h
>>conftest.
$ac_ext
28604 cat >>conftest.
$ac_ext <<_ACEOF
28605 /* end confdefs.h. */
28606 $ac_includes_default
28607 #include <$ac_header>
28609 rm -f conftest.
$ac_objext
28610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28611 (eval $ac_compile) 2>&5
28613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28614 (exit $ac_status); } &&
28615 { ac_try
='test -s conftest.$ac_objext'
28616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28617 (eval $ac_try) 2>&5
28619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28620 (exit $ac_status); }; }; then
28621 ac_header_compiler
=yes
28623 echo "$as_me: failed program was:" >&5
28624 sed 's/^/| /' conftest.
$ac_ext >&5
28626 ac_header_compiler
=no
28628 rm -f conftest.
$ac_objext conftest.
$ac_ext
28629 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28630 echo "${ECHO_T}$ac_header_compiler" >&6
28632 # Is the header present?
28633 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28634 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28635 cat >conftest.
$ac_ext <<_ACEOF
28636 #line $LINENO "configure"
28639 cat confdefs.h
>>conftest.
$ac_ext
28640 cat >>conftest.
$ac_ext <<_ACEOF
28641 /* end confdefs.h. */
28642 #include <$ac_header>
28644 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28645 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28647 grep -v '^ *+' conftest.er1
>conftest.err
28649 cat conftest.err
>&5
28650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28651 (exit $ac_status); } >/dev
/null
; then
28652 if test -s conftest.err
; then
28653 ac_cpp_err
=$ac_c_preproc_warn_flag
28660 if test -z "$ac_cpp_err"; then
28661 ac_header_preproc
=yes
28663 echo "$as_me: failed program was:" >&5
28664 sed 's/^/| /' conftest.
$ac_ext >&5
28666 ac_header_preproc
=no
28668 rm -f conftest.err conftest.
$ac_ext
28669 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28670 echo "${ECHO_T}$ac_header_preproc" >&6
28672 # So? What about this header?
28673 case $ac_header_compiler:$ac_header_preproc in
28675 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28676 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28677 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28678 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28681 ## ------------------------------------ ##
28682 ## Report this to bug-autoconf@gnu.org. ##
28683 ## ------------------------------------ ##
28686 sed "s/^/$as_me: WARNING: /" >&2
28689 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28690 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28691 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28692 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28693 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28694 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28697 ## ------------------------------------ ##
28698 ## Report this to bug-autoconf@gnu.org. ##
28699 ## ------------------------------------ ##
28702 sed "s/^/$as_me: WARNING: /" >&2
28705 echo "$as_me:$LINENO: checking for $ac_header" >&5
28706 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28707 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28708 echo $ECHO_N "(cached) $ECHO_C" >&6
28710 eval "$as_ac_Header=$ac_header_preproc"
28712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28713 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28716 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28717 cat >>confdefs.h
<<_ACEOF
28718 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28721 EXTRALIBS_ESD
="-lesd"
28734 cat >confcache
<<\_ACEOF
28735 # This file is a shell script that caches the results of configure
28736 # tests run on this system so they can be shared between configure
28737 # scripts and configure runs, see configure's option --config-cache.
28738 # It is not useful on other systems. If it contains results you don't
28739 # want to keep, you may remove or edit it.
28741 # config.status only pays attention to the cache file if you give it
28742 # the --recheck option to rerun configure.
28744 # `ac_cv_env_foo' variables (set or unset) will be overridden when
28745 # loading this file, other *unset* `ac_cv_foo' will be assigned the
28746 # following values.
28750 # The following way of writing the cache mishandles newlines in values,
28751 # but we know of no workaround that is simple, portable, and efficient.
28752 # So, don't put newlines in cache variables' values.
28753 # Ultrix sh set writes to stderr and can't be redirected directly,
28754 # and sets the high bit in the cache file unless we assign to the vars.
28757 case `(ac_space=' '; set | grep ac_space) 2>&1` in
28759 # `set' does not quote correctly, so add quotes (double-quote
28760 # substitution turns \\\\ into \\, and sed turns \\ into \).
28763 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28766 # `set' quotes correctly as required by POSIX, so do not add quotes.
28768 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
28775 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28777 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28779 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
28780 if test -w $cache_file; then
28781 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
28782 cat confcache
>$cache_file
28784 echo "not updating unwritable cache $cache_file"
28791 if test "$TOOLKIT" != "MSW"; then
28797 if test "$wxUSE_THREADS" = "yes" ; then
28798 if test "$USE_BEOS" = 1; then
28799 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
28800 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
28805 if test "$wxUSE_THREADS" = "yes" ; then
28808 THREAD_OPTS
="-pthread"
28810 *-*-solaris2* | *-*-sunos4* )
28811 if test "x$GCC" = "xyes"; then
28812 THREAD_OPTS
="-pthreads $THREAD_OPTS"
28814 THREAD_OPTS
="-mt $THREAD_OPTS"
28818 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
28820 *-*-darwin* | *-*-cygwin* )
28824 THREAD_OPTS
="pthreads"
28827 if test "x$GCC" != "xyes"; then
28833 if test "x$GCC" = "xyes"; then
28839 if test "x$GCC" != "xyes"; then
28840 THREAD_OPTS
="-Ethread"
28845 THREAD_OPTS
="$THREAD_OPTS pthread none"
28848 for flag
in $THREAD_OPTS; do
28851 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
28852 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
28856 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
28857 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
28858 THREADS_CFLAGS
="$flag"
28862 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
28863 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
28864 THREADS_LINK
="-l$flag"
28869 save_CFLAGS
="$CFLAGS"
28870 LIBS
="$THREADS_LINK $LIBS"
28871 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
28873 cat >conftest.
$ac_ext <<_ACEOF
28874 #line $LINENO "configure"
28877 cat confdefs.h
>>conftest.
$ac_ext
28878 cat >>conftest.
$ac_ext <<_ACEOF
28879 /* end confdefs.h. */
28880 #include <pthread.h>
28884 pthread_create(0,0,0,0);
28889 rm -f conftest.
$ac_objext conftest
$ac_exeext
28890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28891 (eval $ac_link) 2>&5
28893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28894 (exit $ac_status); } &&
28895 { ac_try
='test -s conftest$ac_exeext'
28896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28897 (eval $ac_try) 2>&5
28899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28900 (exit $ac_status); }; }; then
28903 echo "$as_me: failed program was:" >&5
28904 sed 's/^/| /' conftest.
$ac_ext >&5
28907 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28910 CFLAGS
="$save_CFLAGS"
28912 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
28913 echo "${ECHO_T}$THREADS_OK" >&6
28914 if test "x$THREADS_OK" = "xyes"; then
28922 if test "x$THREADS_OK" != "xyes"; then
28924 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
28925 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
28927 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
28928 LIBS
="$THREADS_LINK $LIBS"
28930 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
28931 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
28935 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
28936 flag
="-D_THREAD_SAFE"
28939 flag
="-D_THREAD_SAFE"
28942 flag
="-D_REENTRANT"
28943 if test "x$GCC" != "xyes"; then
28944 flag
="$flag -D_RWSTD_MULTI_THREAD"
28947 *solaris
* | alpha
*-osf*)
28948 flag
="-D_REENTRANT"
28951 echo "$as_me:$LINENO: result: ${flag}" >&5
28952 echo "${ECHO_T}${flag}" >&6
28953 if test "x$flag" != xno
; then
28954 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
28957 if test "x$THREADS_CFLAGS" != "x"; then
28958 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
28959 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
28964 if test "$wxUSE_THREADS" = "yes" ; then
28966 for ac_func
in thr_setconcurrency
28968 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28969 echo "$as_me:$LINENO: checking for $ac_func" >&5
28970 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28971 if eval "test \"\${$as_ac_var+set}\" = set"; then
28972 echo $ECHO_N "(cached) $ECHO_C" >&6
28974 cat >conftest.
$ac_ext <<_ACEOF
28975 #line $LINENO "configure"
28978 cat confdefs.h
>>conftest.
$ac_ext
28979 cat >>conftest.
$ac_ext <<_ACEOF
28980 /* end confdefs.h. */
28981 /* System header to define __stub macros and hopefully few prototypes,
28982 which can conflict with char $ac_func (); below.
28983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28984 <limits.h> exists even on freestanding compilers. */
28986 # include <limits.h>
28988 # include <assert.h>
28990 /* Override any gcc2 internal prototype to avoid an error. */
28995 /* We use char because int might match the return type of a gcc2
28996 builtin and then its argument prototype would still apply. */
28998 /* The GNU C library defines this for functions which it implements
28999 to always fail with ENOSYS. Some functions are actually named
29000 something starting with __ and the normal name is an alias. */
29001 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29004 char (*f) () = $ac_func;
29013 return f != $ac_func;
29018 rm -f conftest.
$ac_objext conftest
$ac_exeext
29019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29020 (eval $ac_link) 2>&5
29022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29023 (exit $ac_status); } &&
29024 { ac_try
='test -s conftest$ac_exeext'
29025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29026 (eval $ac_try) 2>&5
29028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29029 (exit $ac_status); }; }; then
29030 eval "$as_ac_var=yes"
29032 echo "$as_me: failed program was:" >&5
29033 sed 's/^/| /' conftest.
$ac_ext >&5
29035 eval "$as_ac_var=no"
29037 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29040 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29041 if test `eval echo '${'$as_ac_var'}'` = yes; then
29042 cat >>confdefs.h
<<_ACEOF
29043 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29051 for ac_header
in sched.h
29053 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29054 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29055 echo "$as_me:$LINENO: checking for $ac_header" >&5
29056 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29057 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29058 echo $ECHO_N "(cached) $ECHO_C" >&6
29060 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29061 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29063 # Is the header compilable?
29064 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29065 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29066 cat >conftest.
$ac_ext <<_ACEOF
29067 #line $LINENO "configure"
29070 cat confdefs.h
>>conftest.
$ac_ext
29071 cat >>conftest.
$ac_ext <<_ACEOF
29072 /* end confdefs.h. */
29073 $ac_includes_default
29074 #include <$ac_header>
29076 rm -f conftest.
$ac_objext
29077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29078 (eval $ac_compile) 2>&5
29080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29081 (exit $ac_status); } &&
29082 { ac_try
='test -s conftest.$ac_objext'
29083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29084 (eval $ac_try) 2>&5
29086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29087 (exit $ac_status); }; }; then
29088 ac_header_compiler
=yes
29090 echo "$as_me: failed program was:" >&5
29091 sed 's/^/| /' conftest.
$ac_ext >&5
29093 ac_header_compiler
=no
29095 rm -f conftest.
$ac_objext conftest.
$ac_ext
29096 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29097 echo "${ECHO_T}$ac_header_compiler" >&6
29099 # Is the header present?
29100 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29101 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29102 cat >conftest.
$ac_ext <<_ACEOF
29103 #line $LINENO "configure"
29106 cat confdefs.h
>>conftest.
$ac_ext
29107 cat >>conftest.
$ac_ext <<_ACEOF
29108 /* end confdefs.h. */
29109 #include <$ac_header>
29111 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29112 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29114 grep -v '^ *+' conftest.er1
>conftest.err
29116 cat conftest.err
>&5
29117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29118 (exit $ac_status); } >/dev
/null
; then
29119 if test -s conftest.err
; then
29120 ac_cpp_err
=$ac_c_preproc_warn_flag
29127 if test -z "$ac_cpp_err"; then
29128 ac_header_preproc
=yes
29130 echo "$as_me: failed program was:" >&5
29131 sed 's/^/| /' conftest.
$ac_ext >&5
29133 ac_header_preproc
=no
29135 rm -f conftest.err conftest.
$ac_ext
29136 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29137 echo "${ECHO_T}$ac_header_preproc" >&6
29139 # So? What about this header?
29140 case $ac_header_compiler:$ac_header_preproc in
29142 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29143 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29144 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29145 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29148 ## ------------------------------------ ##
29149 ## Report this to bug-autoconf@gnu.org. ##
29150 ## ------------------------------------ ##
29153 sed "s/^/$as_me: WARNING: /" >&2
29156 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29157 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29158 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29159 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29160 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29161 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29164 ## ------------------------------------ ##
29165 ## Report this to bug-autoconf@gnu.org. ##
29166 ## ------------------------------------ ##
29169 sed "s/^/$as_me: WARNING: /" >&2
29172 echo "$as_me:$LINENO: checking for $ac_header" >&5
29173 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29174 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29175 echo $ECHO_N "(cached) $ECHO_C" >&6
29177 eval "$as_ac_Header=$ac_header_preproc"
29179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29180 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29183 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29184 cat >>confdefs.h
<<_ACEOF
29185 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29192 if test "$ac_cv_header_sched_h" = "yes"; then
29193 echo "$as_me:$LINENO: checking for sched_yield" >&5
29194 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
29195 if test "${ac_cv_func_sched_yield+set}" = set; then
29196 echo $ECHO_N "(cached) $ECHO_C" >&6
29198 cat >conftest.
$ac_ext <<_ACEOF
29199 #line $LINENO "configure"
29202 cat confdefs.h
>>conftest.
$ac_ext
29203 cat >>conftest.
$ac_ext <<_ACEOF
29204 /* end confdefs.h. */
29205 /* System header to define __stub macros and hopefully few prototypes,
29206 which can conflict with char sched_yield (); below.
29207 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29208 <limits.h> exists even on freestanding compilers. */
29210 # include <limits.h>
29212 # include <assert.h>
29214 /* Override any gcc2 internal prototype to avoid an error. */
29219 /* We use char because int might match the return type of a gcc2
29220 builtin and then its argument prototype would still apply. */
29221 char sched_yield ();
29222 /* The GNU C library defines this for functions which it implements
29223 to always fail with ENOSYS. Some functions are actually named
29224 something starting with __ and the normal name is an alias. */
29225 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
29228 char (*f) () = sched_yield;
29237 return f != sched_yield;
29242 rm -f conftest.
$ac_objext conftest
$ac_exeext
29243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29244 (eval $ac_link) 2>&5
29246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29247 (exit $ac_status); } &&
29248 { ac_try
='test -s conftest$ac_exeext'
29249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29250 (eval $ac_try) 2>&5
29252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29253 (exit $ac_status); }; }; then
29254 ac_cv_func_sched_yield
=yes
29256 echo "$as_me: failed program was:" >&5
29257 sed 's/^/| /' conftest.
$ac_ext >&5
29259 ac_cv_func_sched_yield
=no
29261 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29263 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
29264 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
29265 if test $ac_cv_func_sched_yield = yes; then
29266 cat >>confdefs.h
<<\_ACEOF
29267 #define HAVE_SCHED_YIELD 1
29272 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
29273 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
29274 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
29275 echo $ECHO_N "(cached) $ECHO_C" >&6
29277 ac_check_lib_save_LIBS
=$LIBS
29278 LIBS
="-lposix4 $LIBS"
29279 cat >conftest.
$ac_ext <<_ACEOF
29280 #line $LINENO "configure"
29283 cat confdefs.h
>>conftest.
$ac_ext
29284 cat >>conftest.
$ac_ext <<_ACEOF
29285 /* end confdefs.h. */
29287 /* Override any gcc2 internal prototype to avoid an error. */
29291 /* We use char because int might match the return type of a gcc2
29292 builtin and then its argument prototype would still apply. */
29293 char sched_yield ();
29302 rm -f conftest.
$ac_objext conftest
$ac_exeext
29303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29304 (eval $ac_link) 2>&5
29306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29307 (exit $ac_status); } &&
29308 { ac_try
='test -s conftest$ac_exeext'
29309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29310 (eval $ac_try) 2>&5
29312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29313 (exit $ac_status); }; }; then
29314 ac_cv_lib_posix4_sched_yield
=yes
29316 echo "$as_me: failed program was:" >&5
29317 sed 's/^/| /' conftest.
$ac_ext >&5
29319 ac_cv_lib_posix4_sched_yield
=no
29321 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29322 LIBS
=$ac_check_lib_save_LIBS
29324 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
29325 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
29326 if test $ac_cv_lib_posix4_sched_yield = yes; then
29327 cat >>confdefs.h
<<\_ACEOF
29328 #define HAVE_SCHED_YIELD 1
29330 POSIX4_LINK
=" -lposix4"
29332 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
29333 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
29344 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
29345 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
29346 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
29347 echo $ECHO_N "(cached) $ECHO_C" >&6
29349 cat >conftest.
$ac_ext <<_ACEOF
29350 #line $LINENO "configure"
29353 cat confdefs.h
>>conftest.
$ac_ext
29354 cat >>conftest.
$ac_ext <<_ACEOF
29355 /* end confdefs.h. */
29356 /* System header to define __stub macros and hopefully few prototypes,
29357 which can conflict with char pthread_attr_getschedpolicy (); below.
29358 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29359 <limits.h> exists even on freestanding compilers. */
29361 # include <limits.h>
29363 # include <assert.h>
29365 /* Override any gcc2 internal prototype to avoid an error. */
29370 /* We use char because int might match the return type of a gcc2
29371 builtin and then its argument prototype would still apply. */
29372 char pthread_attr_getschedpolicy ();
29373 /* The GNU C library defines this for functions which it implements
29374 to always fail with ENOSYS. Some functions are actually named
29375 something starting with __ and the normal name is an alias. */
29376 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
29379 char (*f) () = pthread_attr_getschedpolicy;
29388 return f != pthread_attr_getschedpolicy;
29393 rm -f conftest.
$ac_objext conftest
$ac_exeext
29394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29395 (eval $ac_link) 2>&5
29397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29398 (exit $ac_status); } &&
29399 { ac_try
='test -s conftest$ac_exeext'
29400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29401 (eval $ac_try) 2>&5
29403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29404 (exit $ac_status); }; }; then
29405 ac_cv_func_pthread_attr_getschedpolicy
=yes
29407 echo "$as_me: failed program was:" >&5
29408 sed 's/^/| /' conftest.
$ac_ext >&5
29410 ac_cv_func_pthread_attr_getschedpolicy
=no
29412 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29414 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
29415 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
29416 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
29417 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
29418 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
29419 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
29420 echo $ECHO_N "(cached) $ECHO_C" >&6
29422 cat >conftest.
$ac_ext <<_ACEOF
29423 #line $LINENO "configure"
29426 cat confdefs.h
>>conftest.
$ac_ext
29427 cat >>conftest.
$ac_ext <<_ACEOF
29428 /* end confdefs.h. */
29429 /* System header to define __stub macros and hopefully few prototypes,
29430 which can conflict with char pthread_attr_setschedparam (); below.
29431 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29432 <limits.h> exists even on freestanding compilers. */
29434 # include <limits.h>
29436 # include <assert.h>
29438 /* Override any gcc2 internal prototype to avoid an error. */
29443 /* We use char because int might match the return type of a gcc2
29444 builtin and then its argument prototype would still apply. */
29445 char pthread_attr_setschedparam ();
29446 /* The GNU C library defines this for functions which it implements
29447 to always fail with ENOSYS. Some functions are actually named
29448 something starting with __ and the normal name is an alias. */
29449 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
29452 char (*f) () = pthread_attr_setschedparam;
29461 return f != pthread_attr_setschedparam;
29466 rm -f conftest.
$ac_objext conftest
$ac_exeext
29467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29468 (eval $ac_link) 2>&5
29470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29471 (exit $ac_status); } &&
29472 { ac_try
='test -s conftest$ac_exeext'
29473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29474 (eval $ac_try) 2>&5
29476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29477 (exit $ac_status); }; }; then
29478 ac_cv_func_pthread_attr_setschedparam
=yes
29480 echo "$as_me: failed program was:" >&5
29481 sed 's/^/| /' conftest.
$ac_ext >&5
29483 ac_cv_func_pthread_attr_setschedparam
=no
29485 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29487 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
29488 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
29489 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
29490 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
29491 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
29492 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
29493 echo $ECHO_N "(cached) $ECHO_C" >&6
29495 cat >conftest.
$ac_ext <<_ACEOF
29496 #line $LINENO "configure"
29499 cat confdefs.h
>>conftest.
$ac_ext
29500 cat >>conftest.
$ac_ext <<_ACEOF
29501 /* end confdefs.h. */
29502 /* System header to define __stub macros and hopefully few prototypes,
29503 which can conflict with char sched_get_priority_max (); below.
29504 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29505 <limits.h> exists even on freestanding compilers. */
29507 # include <limits.h>
29509 # include <assert.h>
29511 /* Override any gcc2 internal prototype to avoid an error. */
29516 /* We use char because int might match the return type of a gcc2
29517 builtin and then its argument prototype would still apply. */
29518 char sched_get_priority_max ();
29519 /* The GNU C library defines this for functions which it implements
29520 to always fail with ENOSYS. Some functions are actually named
29521 something starting with __ and the normal name is an alias. */
29522 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
29525 char (*f) () = sched_get_priority_max;
29534 return f != sched_get_priority_max;
29539 rm -f conftest.
$ac_objext conftest
$ac_exeext
29540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29541 (eval $ac_link) 2>&5
29543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29544 (exit $ac_status); } &&
29545 { ac_try
='test -s conftest$ac_exeext'
29546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29547 (eval $ac_try) 2>&5
29549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29550 (exit $ac_status); }; }; then
29551 ac_cv_func_sched_get_priority_max
=yes
29553 echo "$as_me: failed program was:" >&5
29554 sed 's/^/| /' conftest.
$ac_ext >&5
29556 ac_cv_func_sched_get_priority_max
=no
29558 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29560 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
29561 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
29562 if test $ac_cv_func_sched_get_priority_max = yes; then
29565 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
29566 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
29567 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
29568 echo $ECHO_N "(cached) $ECHO_C" >&6
29570 ac_check_lib_save_LIBS
=$LIBS
29571 LIBS
="-lposix4 $LIBS"
29572 cat >conftest.
$ac_ext <<_ACEOF
29573 #line $LINENO "configure"
29576 cat confdefs.h
>>conftest.
$ac_ext
29577 cat >>conftest.
$ac_ext <<_ACEOF
29578 /* end confdefs.h. */
29580 /* Override any gcc2 internal prototype to avoid an error. */
29584 /* We use char because int might match the return type of a gcc2
29585 builtin and then its argument prototype would still apply. */
29586 char sched_get_priority_max ();
29590 sched_get_priority_max ();
29595 rm -f conftest.
$ac_objext conftest
$ac_exeext
29596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29597 (eval $ac_link) 2>&5
29599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29600 (exit $ac_status); } &&
29601 { ac_try
='test -s conftest$ac_exeext'
29602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29603 (eval $ac_try) 2>&5
29605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29606 (exit $ac_status); }; }; then
29607 ac_cv_lib_posix4_sched_get_priority_max
=yes
29609 echo "$as_me: failed program was:" >&5
29610 sed 's/^/| /' conftest.
$ac_ext >&5
29612 ac_cv_lib_posix4_sched_get_priority_max
=no
29614 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29615 LIBS
=$ac_check_lib_save_LIBS
29617 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
29618 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
29619 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
29622 POSIX4_LINK
=" -lposix4"
29636 if test "$HAVE_PRIOR_FUNCS" = 1; then
29637 cat >>confdefs.h
<<\_ACEOF
29638 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
29642 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
29643 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
29646 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
29647 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
29648 if test "${ac_cv_func_pthread_cancel+set}" = set; then
29649 echo $ECHO_N "(cached) $ECHO_C" >&6
29651 cat >conftest.
$ac_ext <<_ACEOF
29652 #line $LINENO "configure"
29655 cat confdefs.h
>>conftest.
$ac_ext
29656 cat >>conftest.
$ac_ext <<_ACEOF
29657 /* end confdefs.h. */
29658 /* System header to define __stub macros and hopefully few prototypes,
29659 which can conflict with char pthread_cancel (); below.
29660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29661 <limits.h> exists even on freestanding compilers. */
29663 # include <limits.h>
29665 # include <assert.h>
29667 /* Override any gcc2 internal prototype to avoid an error. */
29672 /* We use char because int might match the return type of a gcc2
29673 builtin and then its argument prototype would still apply. */
29674 char pthread_cancel ();
29675 /* The GNU C library defines this for functions which it implements
29676 to always fail with ENOSYS. Some functions are actually named
29677 something starting with __ and the normal name is an alias. */
29678 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
29681 char (*f) () = pthread_cancel;
29690 return f != pthread_cancel;
29695 rm -f conftest.
$ac_objext conftest
$ac_exeext
29696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29697 (eval $ac_link) 2>&5
29699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29700 (exit $ac_status); } &&
29701 { ac_try
='test -s conftest$ac_exeext'
29702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29703 (eval $ac_try) 2>&5
29705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29706 (exit $ac_status); }; }; then
29707 ac_cv_func_pthread_cancel
=yes
29709 echo "$as_me: failed program was:" >&5
29710 sed 's/^/| /' conftest.
$ac_ext >&5
29712 ac_cv_func_pthread_cancel
=no
29714 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29716 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
29717 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
29718 if test $ac_cv_func_pthread_cancel = yes; then
29719 cat >>confdefs.h
<<\_ACEOF
29720 #define HAVE_PTHREAD_CANCEL 1
29724 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
29725 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
29729 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
29730 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
29731 if test "${wx_cv_func_pthread_cleanup_push+set}" = set; then
29732 echo $ECHO_N "(cached) $ECHO_C" >&6
29735 cat >conftest.
$ac_ext <<_ACEOF
29736 #line $LINENO "configure"
29739 cat confdefs.h
>>conftest.
$ac_ext
29740 cat >>conftest.
$ac_ext <<_ACEOF
29741 /* end confdefs.h. */
29742 #include <pthread.h>
29747 pthread_cleanup_push(NULL, NULL);
29748 pthread_cleanup_pop(0);
29754 rm -f conftest.
$ac_objext
29755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29756 (eval $ac_compile) 2>&5
29758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29759 (exit $ac_status); } &&
29760 { ac_try
='test -s conftest.$ac_objext'
29761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29762 (eval $ac_try) 2>&5
29764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29765 (exit $ac_status); }; }; then
29767 wx_cv_func_pthread_cleanup_push
=yes
29770 echo "$as_me: failed program was:" >&5
29771 sed 's/^/| /' conftest.
$ac_ext >&5
29774 wx_cv_func_pthread_cleanup_push
=no
29777 rm -f conftest.
$ac_objext conftest.
$ac_ext
29780 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup_push" >&5
29781 echo "${ECHO_T}$wx_cv_func_pthread_cleanup_push" >&6
29783 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
29784 cat >>confdefs.h
<<\_ACEOF
29785 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
29791 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
29792 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
29793 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
29794 echo $ECHO_N "(cached) $ECHO_C" >&6
29797 cat >conftest.
$ac_ext <<_ACEOF
29798 #line $LINENO "configure"
29801 cat confdefs.h
>>conftest.
$ac_ext
29802 cat >>conftest.
$ac_ext <<_ACEOF
29803 /* end confdefs.h. */
29804 #include <pthread.h>
29809 pthread_mutexattr_t attr;
29810 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
29816 rm -f conftest.
$ac_objext
29817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29818 (eval $ac_compile) 2>&5
29820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29821 (exit $ac_status); } &&
29822 { ac_try
='test -s conftest.$ac_objext'
29823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29824 (eval $ac_try) 2>&5
29826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29827 (exit $ac_status); }; }; then
29829 wx_cv_type_pthread_mutexattr_t
=yes
29832 echo "$as_me: failed program was:" >&5
29833 sed 's/^/| /' conftest.
$ac_ext >&5
29836 wx_cv_type_pthread_mutexattr_t
=no
29840 rm -f conftest.
$ac_objext conftest.
$ac_ext
29843 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
29844 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
29846 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
29847 cat >>confdefs.h
<<\_ACEOF
29848 #define HAVE_PTHREAD_MUTEXATTR_T 1
29852 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
29853 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
29854 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
29855 echo $ECHO_N "(cached) $ECHO_C" >&6
29858 cat >conftest.
$ac_ext <<_ACEOF
29859 #line $LINENO "configure"
29862 cat confdefs.h
>>conftest.
$ac_ext
29863 cat >>conftest.
$ac_ext <<_ACEOF
29864 /* end confdefs.h. */
29865 #include <pthread.h>
29870 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
29876 rm -f conftest.
$ac_objext
29877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29878 (eval $ac_compile) 2>&5
29880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29881 (exit $ac_status); } &&
29882 { ac_try
='test -s conftest.$ac_objext'
29883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29884 (eval $ac_try) 2>&5
29886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29887 (exit $ac_status); }; }; then
29889 wx_cv_type_pthread_rec_mutex_init
=yes
29892 echo "$as_me: failed program was:" >&5
29893 sed 's/^/| /' conftest.
$ac_ext >&5
29896 wx_cv_type_pthread_rec_mutex_init
=no
29900 rm -f conftest.
$ac_objext conftest.
$ac_ext
29903 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
29904 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
29905 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
29906 cat >>confdefs.h
<<\_ACEOF
29907 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
29911 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
29912 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
29918 if test "$wxUSE_THREADS" = "yes" ; then
29921 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
29922 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
29923 if test "${wx_cv_cflags_mthread+set}" = set; then
29924 echo $ECHO_N "(cached) $ECHO_C" >&6
29927 CFLAGS_OLD
="$CFLAGS"
29928 CFLAGS
="$CFLAGS -mthreads"
29929 cat >conftest.
$ac_ext <<_ACEOF
29930 #line $LINENO "configure"
29933 cat confdefs.h
>>conftest.
$ac_ext
29934 cat >>conftest.
$ac_ext <<_ACEOF
29935 /* end confdefs.h. */
29945 rm -f conftest.
$ac_objext
29946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29947 (eval $ac_compile) 2>&5
29949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29950 (exit $ac_status); } &&
29951 { ac_try
='test -s conftest.$ac_objext'
29952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29953 (eval $ac_try) 2>&5
29955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29956 (exit $ac_status); }; }; then
29957 wx_cv_cflags_mthread
=yes
29959 echo "$as_me: failed program was:" >&5
29960 sed 's/^/| /' conftest.
$ac_ext >&5
29962 wx_cv_cflags_mthread
=no
29965 rm -f conftest.
$ac_objext conftest.
$ac_ext
29969 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
29970 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
29972 if test "$wx_cv_cflags_mthread" = "yes"; then
29973 CXXFLAGS
="$CXXFLAGS -mthreads"
29974 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
29975 LDFLAGS
="$LDFLAGS -mthreads"
29977 CFLAGS
="$CFLAGS_OLD"
29984 if test "$wxUSE_THREADS" = "yes"; then
29985 cat >>confdefs.h
<<\_ACEOF
29986 #define wxUSE_THREADS 1
29990 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
29992 if test "$ac_cv_func_strtok_r" = "yes"; then
29993 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
29994 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
29995 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
29996 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
29997 echo "$as_me:$LINENO: result: yes" >&5
29998 echo "${ECHO_T}yes" >&6
30000 echo "$as_me:$LINENO: result: no" >&5
30001 echo "${ECHO_T}no" >&6
30006 if test "$WXGTK20" = 1 ; then
30007 cat >>confdefs.h
<<_ACEOF
30008 #define __WXGTK20__ $WXGTK20
30014 if test "$WXGTK12" = 1 ; then
30015 cat >>confdefs.h
<<_ACEOF
30016 #define __WXGTK12__ $WXGTK12
30021 if test "$WXGTK127" = 1 ; then
30022 cat >>confdefs.h
<<_ACEOF
30023 #define __WXGTK127__ $WXGTK127
30030 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
30035 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
30036 wxUSE_DEBUG_INFO
=yes
30040 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
30041 cat >>confdefs.h
<<\_ACEOF
30045 WXDEBUG_DEFINE
="-D__WXDEBUG__"
30047 if test "$wxUSE_GTK" = 1 ; then
30048 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
30052 if test "$wxUSE_MEM_TRACING" = "yes" ; then
30053 cat >>confdefs.h
<<\_ACEOF
30054 #define wxUSE_MEMORY_TRACING 1
30057 cat >>confdefs.h
<<\_ACEOF
30058 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
30061 cat >>confdefs.h
<<\_ACEOF
30062 #define wxUSE_DEBUG_NEW_ALWAYS 1
30065 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
30068 if test "$wxUSE_DMALLOC" = "yes" ; then
30069 DMALLOC_LIBS
="-ldmalloc"
30073 if test "$wxUSE_PROFILE" = "yes" ; then
30078 CODE_GEN_FLAGS_CXX
=
30079 if test "$GCC" = "yes" ; then
30080 if test "$wxUSE_NO_RTTI" = "yes" ; then
30081 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
30083 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
30084 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
30086 if test "$wxUSE_PERMISSIVE" = "yes" ; then
30087 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
30092 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
30095 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
30101 if test "$wxUSE_OPTIMISE" = "no" ; then
30102 if test "$GCC" = yes ; then
30106 if test "$GCC" = yes ; then
30110 i586
-*-*|i686
-*-* )
30111 OPTIMISE
="${OPTIMISE} "
30120 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
30121 cat >>confdefs.h
<<\_ACEOF
30122 #define WXWIN_COMPATIBILITY_2_2 1
30126 WXWIN_COMPATIBILITY_2_4
="yes"
30129 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
30130 cat >>confdefs.h
<<\_ACEOF
30131 #define WXWIN_COMPATIBILITY_2_4 1
30137 if test "$wxUSE_GUI" = "yes"; then
30138 cat >>confdefs.h
<<\_ACEOF
30139 #define wxUSE_GUI 1
30144 cat >>confdefs.h
<<\_ACEOF
30145 #define wxUSE_NOGUI 1
30151 if test "$wxUSE_UNIX" = "yes"; then
30152 cat >>confdefs.h
<<\_ACEOF
30153 #define wxUSE_UNIX 1
30159 if test "$wxUSE_STL" = "yes"; then
30160 cat >>confdefs.h
<<\_ACEOF
30161 #define wxUSE_STL 1
30166 if test "$wxUSE_APPLE_IEEE" = "yes"; then
30167 cat >>confdefs.h
<<\_ACEOF
30168 #define wxUSE_APPLE_IEEE 1
30173 if test "$wxUSE_TIMER" = "yes"; then
30174 cat >>confdefs.h
<<\_ACEOF
30175 #define wxUSE_TIMER 1
30180 if test "$wxUSE_WAVE" = "yes"; then
30181 cat >>confdefs.h
<<\_ACEOF
30182 #define wxUSE_WAVE 1
30187 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
30188 cat >>confdefs.h
<<\_ACEOF
30189 #define wxUSE_CMDLINE_PARSER 1
30194 if test "$wxUSE_STOPWATCH" = "yes"; then
30195 cat >>confdefs.h
<<\_ACEOF
30196 #define wxUSE_STOPWATCH 1
30201 if test "$wxUSE_DATETIME" = "yes"; then
30202 cat >>confdefs.h
<<\_ACEOF
30203 #define wxUSE_DATETIME 1
30208 if test "$wxUSE_FILE" = "yes"; then
30209 cat >>confdefs.h
<<\_ACEOF
30210 #define wxUSE_FILE 1
30215 if test "$wxUSE_FFILE" = "yes"; then
30216 cat >>confdefs.h
<<\_ACEOF
30217 #define wxUSE_FFILE 1
30222 if test "$wxUSE_FILESYSTEM" = "yes"; then
30223 cat >>confdefs.h
<<\_ACEOF
30224 #define wxUSE_FILESYSTEM 1
30229 if test "$wxUSE_FS_ZIP" = "yes"; then
30230 cat >>confdefs.h
<<\_ACEOF
30231 #define wxUSE_FS_ZIP 1
30236 if test "$wxUSE_ZIPSTREAM" = "yes"; then
30237 cat >>confdefs.h
<<\_ACEOF
30238 #define wxUSE_ZIPSTREAM 1
30243 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30244 cat >>confdefs.h
<<\_ACEOF
30245 #define wxUSE_ON_FATAL_EXCEPTION 1
30250 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30251 cat >>confdefs.h
<<\_ACEOF
30252 #define wxUSE_SNGLINST_CHECKER 1
30257 if test "$wxUSE_BUSYINFO" = "yes"; then
30258 cat >>confdefs.h
<<\_ACEOF
30259 #define wxUSE_BUSYINFO 1
30264 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
30265 cat >>confdefs.h
<<\_ACEOF
30266 #define wxUSE_STD_IOSTREAM 1
30271 if test "$wxUSE_TEXTBUFFER" = "yes"; then
30272 cat >>confdefs.h
<<\_ACEOF
30273 #define wxUSE_TEXTBUFFER 1
30278 if test "$wxUSE_TEXTFILE" = "yes"; then
30279 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
30280 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
30281 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
30283 cat >>confdefs.h
<<\_ACEOF
30284 #define wxUSE_TEXTFILE 1
30290 if test "$wxUSE_CONFIG" = "yes" ; then
30291 if test "$wxUSE_TEXTFILE" != "yes"; then
30292 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
30293 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
30295 cat >>confdefs.h
<<\_ACEOF
30296 #define wxUSE_CONFIG 1
30299 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
30303 if test "$wxUSE_INTL" = "yes" ; then
30304 if test "$wxUSE_FILE" != "yes"; then
30305 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
30306 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
30308 cat >>confdefs.h
<<\_ACEOF
30309 #define wxUSE_INTL 1
30312 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
30313 GUIDIST
="$GUIDIST INTL_DIST"
30317 if test "$wxUSE_LOG" = "yes"; then
30318 cat >>confdefs.h
<<\_ACEOF
30319 #define wxUSE_LOG 1
30323 if test "$wxUSE_LOGGUI" = "yes"; then
30324 cat >>confdefs.h
<<\_ACEOF
30325 #define wxUSE_LOGGUI 1
30330 if test "$wxUSE_LOGWINDOW" = "yes"; then
30331 cat >>confdefs.h
<<\_ACEOF
30332 #define wxUSE_LOGWINDOW 1
30337 if test "$wxUSE_LOGDIALOG" = "yes"; then
30338 cat >>confdefs.h
<<\_ACEOF
30339 #define wxUSE_LOG_DIALOG 1
30345 if test "$wxUSE_LONGLONG" = "yes"; then
30346 cat >>confdefs.h
<<\_ACEOF
30347 #define wxUSE_LONGLONG 1
30352 if test "$wxUSE_GEOMETRY" = "yes"; then
30353 cat >>confdefs.h
<<\_ACEOF
30354 #define wxUSE_GEOMETRY 1
30359 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
30360 cat >>confdefs.h
<<\_ACEOF
30361 #define wxUSE_DIALUP_MANAGER 1
30364 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
30367 if test "$wxUSE_STREAMS" = "yes" ; then
30368 cat >>confdefs.h
<<\_ACEOF
30369 #define wxUSE_STREAMS 1
30375 if test "$wxUSE_DATETIME" = "yes"; then
30377 for ac_func
in strptime
30379 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30380 echo "$as_me:$LINENO: checking for $ac_func" >&5
30381 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30382 if eval "test \"\${$as_ac_var+set}\" = set"; then
30383 echo $ECHO_N "(cached) $ECHO_C" >&6
30385 cat >conftest.
$ac_ext <<_ACEOF
30386 #line $LINENO "configure"
30389 cat confdefs.h
>>conftest.
$ac_ext
30390 cat >>conftest.
$ac_ext <<_ACEOF
30391 /* end confdefs.h. */
30392 /* System header to define __stub macros and hopefully few prototypes,
30393 which can conflict with char $ac_func (); below.
30394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30395 <limits.h> exists even on freestanding compilers. */
30397 # include <limits.h>
30399 # include <assert.h>
30401 /* Override any gcc2 internal prototype to avoid an error. */
30406 /* We use char because int might match the return type of a gcc2
30407 builtin and then its argument prototype would still apply. */
30409 /* The GNU C library defines this for functions which it implements
30410 to always fail with ENOSYS. Some functions are actually named
30411 something starting with __ and the normal name is an alias. */
30412 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30415 char (*f) () = $ac_func;
30424 return f != $ac_func;
30429 rm -f conftest.
$ac_objext conftest
$ac_exeext
30430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30431 (eval $ac_link) 2>&5
30433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30434 (exit $ac_status); } &&
30435 { ac_try
='test -s conftest$ac_exeext'
30436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30437 (eval $ac_try) 2>&5
30439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30440 (exit $ac_status); }; }; then
30441 eval "$as_ac_var=yes"
30443 echo "$as_me: failed program was:" >&5
30444 sed 's/^/| /' conftest.
$ac_ext >&5
30446 eval "$as_ac_var=no"
30448 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30451 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30452 if test `eval echo '${'$as_ac_var'}'` = yes; then
30453 cat >>confdefs.h
<<_ACEOF
30454 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30461 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
30462 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
30463 if test "${wx_cv_var_timezone+set}" = set; then
30464 echo $ECHO_N "(cached) $ECHO_C" >&6
30467 cat >conftest.
$ac_ext <<_ACEOF
30468 #line $LINENO "configure"
30471 cat confdefs.h
>>conftest.
$ac_ext
30472 cat >>conftest.
$ac_ext <<_ACEOF
30473 /* end confdefs.h. */
30488 rm -f conftest.
$ac_objext
30489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30490 (eval $ac_compile) 2>&5
30492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30493 (exit $ac_status); } &&
30494 { ac_try
='test -s conftest.$ac_objext'
30495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30496 (eval $ac_try) 2>&5
30498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30499 (exit $ac_status); }; }; then
30501 wx_cv_var_timezone
=timezone
30504 echo "$as_me: failed program was:" >&5
30505 sed 's/^/| /' conftest.
$ac_ext >&5
30508 cat >conftest.
$ac_ext <<_ACEOF
30509 #line $LINENO "configure"
30512 cat confdefs.h
>>conftest.
$ac_ext
30513 cat >>conftest.
$ac_ext <<_ACEOF
30514 /* end confdefs.h. */
30529 rm -f conftest.
$ac_objext
30530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30531 (eval $ac_compile) 2>&5
30533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30534 (exit $ac_status); } &&
30535 { ac_try
='test -s conftest.$ac_objext'
30536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30537 (eval $ac_try) 2>&5
30539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30540 (exit $ac_status); }; }; then
30542 wx_cv_var_timezone
=_timezone
30545 echo "$as_me: failed program was:" >&5
30546 sed 's/^/| /' conftest.
$ac_ext >&5
30549 cat >conftest.
$ac_ext <<_ACEOF
30550 #line $LINENO "configure"
30553 cat confdefs.h
>>conftest.
$ac_ext
30554 cat >>conftest.
$ac_ext <<_ACEOF
30555 /* end confdefs.h. */
30570 rm -f conftest.
$ac_objext
30571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30572 (eval $ac_compile) 2>&5
30574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30575 (exit $ac_status); } &&
30576 { ac_try
='test -s conftest.$ac_objext'
30577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30578 (eval $ac_try) 2>&5
30580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30581 (exit $ac_status); }; }; then
30583 wx_cv_var_timezone
=__timezone
30586 echo "$as_me: failed program was:" >&5
30587 sed 's/^/| /' conftest.
$ac_ext >&5
30590 if test "$USE_DOS" = 0 ; then
30591 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
30592 echo "$as_me: WARNING: no timezone variable" >&2;}
30597 rm -f conftest.
$ac_objext conftest.
$ac_ext
30601 rm -f conftest.
$ac_objext conftest.
$ac_ext
30605 rm -f conftest.
$ac_objext conftest.
$ac_ext
30609 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
30610 echo "${ECHO_T}$wx_cv_var_timezone" >&6
30612 if test "x$wx_cv_var_timezone" != x
; then
30613 cat >>confdefs.h
<<_ACEOF
30614 #define WX_TIMEZONE $wx_cv_var_timezone
30620 for ac_func
in localtime
30622 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30623 echo "$as_me:$LINENO: checking for $ac_func" >&5
30624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30625 if eval "test \"\${$as_ac_var+set}\" = set"; then
30626 echo $ECHO_N "(cached) $ECHO_C" >&6
30628 cat >conftest.
$ac_ext <<_ACEOF
30629 #line $LINENO "configure"
30632 cat confdefs.h
>>conftest.
$ac_ext
30633 cat >>conftest.
$ac_ext <<_ACEOF
30634 /* end confdefs.h. */
30635 /* System header to define __stub macros and hopefully few prototypes,
30636 which can conflict with char $ac_func (); below.
30637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30638 <limits.h> exists even on freestanding compilers. */
30640 # include <limits.h>
30642 # include <assert.h>
30644 /* Override any gcc2 internal prototype to avoid an error. */
30649 /* We use char because int might match the return type of a gcc2
30650 builtin and then its argument prototype would still apply. */
30652 /* The GNU C library defines this for functions which it implements
30653 to always fail with ENOSYS. Some functions are actually named
30654 something starting with __ and the normal name is an alias. */
30655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30658 char (*f) () = $ac_func;
30667 return f != $ac_func;
30672 rm -f conftest.
$ac_objext conftest
$ac_exeext
30673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30674 (eval $ac_link) 2>&5
30676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30677 (exit $ac_status); } &&
30678 { ac_try
='test -s conftest$ac_exeext'
30679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30680 (eval $ac_try) 2>&5
30682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30683 (exit $ac_status); }; }; then
30684 eval "$as_ac_var=yes"
30686 echo "$as_me: failed program was:" >&5
30687 sed 's/^/| /' conftest.
$ac_ext >&5
30689 eval "$as_ac_var=no"
30691 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30693 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30694 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30695 if test `eval echo '${'$as_ac_var'}'` = yes; then
30696 cat >>confdefs.h
<<_ACEOF
30697 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30704 if test "$ac_cv_func_localtime" = "yes"; then
30705 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
30706 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
30707 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
30708 echo $ECHO_N "(cached) $ECHO_C" >&6
30711 cat >conftest.
$ac_ext <<_ACEOF
30712 #line $LINENO "configure"
30715 cat confdefs.h
>>conftest.
$ac_ext
30716 cat >>conftest.
$ac_ext <<_ACEOF
30717 /* end confdefs.h. */
30732 rm -f conftest.
$ac_objext
30733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30734 (eval $ac_compile) 2>&5
30736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30737 (exit $ac_status); } &&
30738 { ac_try
='test -s conftest.$ac_objext'
30739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30740 (eval $ac_try) 2>&5
30742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30743 (exit $ac_status); }; }; then
30745 wx_cv_struct_tm_has_gmtoff
=yes
30748 echo "$as_me: failed program was:" >&5
30749 sed 's/^/| /' conftest.
$ac_ext >&5
30751 wx_cv_struct_tm_has_gmtoff
=no
30754 rm -f conftest.
$ac_objext conftest.
$ac_ext
30757 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
30758 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
30761 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
30762 cat >>confdefs.h
<<\_ACEOF
30763 #define WX_GMTOFF_IN_TM 1
30770 for ac_func
in gettimeofday ftime
30772 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30773 echo "$as_me:$LINENO: checking for $ac_func" >&5
30774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30775 if eval "test \"\${$as_ac_var+set}\" = set"; then
30776 echo $ECHO_N "(cached) $ECHO_C" >&6
30778 cat >conftest.
$ac_ext <<_ACEOF
30779 #line $LINENO "configure"
30782 cat confdefs.h
>>conftest.
$ac_ext
30783 cat >>conftest.
$ac_ext <<_ACEOF
30784 /* end confdefs.h. */
30785 /* System header to define __stub macros and hopefully few prototypes,
30786 which can conflict with char $ac_func (); below.
30787 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30788 <limits.h> exists even on freestanding compilers. */
30790 # include <limits.h>
30792 # include <assert.h>
30794 /* Override any gcc2 internal prototype to avoid an error. */
30799 /* We use char because int might match the return type of a gcc2
30800 builtin and then its argument prototype would still apply. */
30802 /* The GNU C library defines this for functions which it implements
30803 to always fail with ENOSYS. Some functions are actually named
30804 something starting with __ and the normal name is an alias. */
30805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30808 char (*f) () = $ac_func;
30817 return f != $ac_func;
30822 rm -f conftest.
$ac_objext conftest
$ac_exeext
30823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30824 (eval $ac_link) 2>&5
30826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30827 (exit $ac_status); } &&
30828 { ac_try
='test -s conftest$ac_exeext'
30829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30830 (eval $ac_try) 2>&5
30832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30833 (exit $ac_status); }; }; then
30834 eval "$as_ac_var=yes"
30836 echo "$as_me: failed program was:" >&5
30837 sed 's/^/| /' conftest.
$ac_ext >&5
30839 eval "$as_ac_var=no"
30841 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30844 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30845 if test `eval echo '${'$as_ac_var'}'` = yes; then
30846 cat >>confdefs.h
<<_ACEOF
30847 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30854 if test "$ac_cv_func_gettimeofday" = "yes"; then
30855 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
30856 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
30857 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
30858 echo $ECHO_N "(cached) $ECHO_C" >&6
30864 ac_cpp
='$CXXCPP $CPPFLAGS'
30865 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30866 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30867 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30870 cat >conftest.
$ac_ext <<_ACEOF
30871 #line $LINENO "configure"
30874 cat confdefs.h
>>conftest.
$ac_ext
30875 cat >>conftest.
$ac_ext <<_ACEOF
30876 /* end confdefs.h. */
30878 #include <sys/time.h>
30879 #include <unistd.h>
30886 gettimeofday(&tv, NULL);
30892 rm -f conftest.
$ac_objext
30893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30894 (eval $ac_compile) 2>&5
30896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30897 (exit $ac_status); } &&
30898 { ac_try
='test -s conftest.$ac_objext'
30899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30900 (eval $ac_try) 2>&5
30902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30903 (exit $ac_status); }; }; then
30904 wx_cv_func_gettimeofday_has_2_args
=yes
30906 echo "$as_me: failed program was:" >&5
30907 sed 's/^/| /' conftest.
$ac_ext >&5
30909 cat >conftest.
$ac_ext <<_ACEOF
30910 #line $LINENO "configure"
30913 cat confdefs.h
>>conftest.
$ac_ext
30914 cat >>conftest.
$ac_ext <<_ACEOF
30915 /* end confdefs.h. */
30917 #include <sys/time.h>
30918 #include <unistd.h>
30931 rm -f conftest.
$ac_objext
30932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30933 (eval $ac_compile) 2>&5
30935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30936 (exit $ac_status); } &&
30937 { ac_try
='test -s conftest.$ac_objext'
30938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30939 (eval $ac_try) 2>&5
30941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30942 (exit $ac_status); }; }; then
30943 wx_cv_func_gettimeofday_has_2_args
=no
30945 echo "$as_me: failed program was:" >&5
30946 sed 's/^/| /' conftest.
$ac_ext >&5
30949 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
30950 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
30951 wx_cv_func_gettimeofday_has_2_args
=unknown
30955 rm -f conftest.
$ac_objext conftest.
$ac_ext
30958 rm -f conftest.
$ac_objext conftest.
$ac_ext
30960 ac_cpp
='$CPP $CPPFLAGS'
30961 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30962 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30963 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30967 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
30968 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
30970 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
30971 cat >>confdefs.h
<<\_ACEOF
30972 #define WX_GETTIMEOFDAY_NO_TZ 1
30978 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
30982 if test "$wxUSE_SOCKETS" = "yes"; then
30983 if test "$wxUSE_MGL" = "1"; then
30984 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
30985 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
30988 if test "$wxUSE_COCOA" = "1"; then
30989 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under Cocoa... disabled" >&5
30990 echo "$as_me: WARNING: wxSocket not yet supported under Cocoa... disabled" >&2;}
30995 if test "$wxUSE_SOCKETS" = "yes"; then
30996 if test "$TOOLKIT" != "MSW"; then
30997 echo "$as_me:$LINENO: checking for socket" >&5
30998 echo $ECHO_N "checking for socket... $ECHO_C" >&6
30999 if test "${ac_cv_func_socket+set}" = set; then
31000 echo $ECHO_N "(cached) $ECHO_C" >&6
31002 cat >conftest.
$ac_ext <<_ACEOF
31003 #line $LINENO "configure"
31006 cat confdefs.h
>>conftest.
$ac_ext
31007 cat >>conftest.
$ac_ext <<_ACEOF
31008 /* end confdefs.h. */
31009 /* System header to define __stub macros and hopefully few prototypes,
31010 which can conflict with char socket (); below.
31011 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31012 <limits.h> exists even on freestanding compilers. */
31014 # include <limits.h>
31016 # include <assert.h>
31018 /* Override any gcc2 internal prototype to avoid an error. */
31023 /* We use char because int might match the return type of a gcc2
31024 builtin and then its argument prototype would still apply. */
31026 /* The GNU C library defines this for functions which it implements
31027 to always fail with ENOSYS. Some functions are actually named
31028 something starting with __ and the normal name is an alias. */
31029 #if defined (__stub_socket) || defined (__stub___socket)
31032 char (*f) () = socket;
31041 return f != socket;
31046 rm -f conftest.
$ac_objext conftest
$ac_exeext
31047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31048 (eval $ac_link) 2>&5
31050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31051 (exit $ac_status); } &&
31052 { ac_try
='test -s conftest$ac_exeext'
31053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31054 (eval $ac_try) 2>&5
31056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31057 (exit $ac_status); }; }; then
31058 ac_cv_func_socket
=yes
31060 echo "$as_me: failed program was:" >&5
31061 sed 's/^/| /' conftest.
$ac_ext >&5
31063 ac_cv_func_socket
=no
31065 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31067 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
31068 echo "${ECHO_T}$ac_cv_func_socket" >&6
31069 if test $ac_cv_func_socket = yes; then
31073 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
31074 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
31075 if test "${ac_cv_lib_socket_socket+set}" = set; then
31076 echo $ECHO_N "(cached) $ECHO_C" >&6
31078 ac_check_lib_save_LIBS
=$LIBS
31079 LIBS
="-lsocket $LIBS"
31080 cat >conftest.
$ac_ext <<_ACEOF
31081 #line $LINENO "configure"
31084 cat confdefs.h
>>conftest.
$ac_ext
31085 cat >>conftest.
$ac_ext <<_ACEOF
31086 /* end confdefs.h. */
31088 /* Override any gcc2 internal prototype to avoid an error. */
31092 /* We use char because int might match the return type of a gcc2
31093 builtin and then its argument prototype would still apply. */
31103 rm -f conftest.
$ac_objext conftest
$ac_exeext
31104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31105 (eval $ac_link) 2>&5
31107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31108 (exit $ac_status); } &&
31109 { ac_try
='test -s conftest$ac_exeext'
31110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31111 (eval $ac_try) 2>&5
31113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31114 (exit $ac_status); }; }; then
31115 ac_cv_lib_socket_socket
=yes
31117 echo "$as_me: failed program was:" >&5
31118 sed 's/^/| /' conftest.
$ac_ext >&5
31120 ac_cv_lib_socket_socket
=no
31122 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31123 LIBS
=$ac_check_lib_save_LIBS
31125 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
31126 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
31127 if test $ac_cv_lib_socket_socket = yes; then
31128 if test "$INET_LINK" != " -lsocket"; then
31129 INET_LINK
="$INET_LINK -lsocket"
31133 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
31134 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
31147 if test "$wxUSE_SOCKETS" = "yes" ; then
31148 if test "$TOOLKIT" != "MSW"; then
31149 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
31150 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
31151 if test "${wx_cv_type_getsockname3+set}" = set; then
31152 echo $ECHO_N "(cached) $ECHO_C" >&6
31155 cat >conftest.
$ac_ext <<_ACEOF
31156 #line $LINENO "configure"
31159 cat confdefs.h
>>conftest.
$ac_ext
31160 cat >>conftest.
$ac_ext <<_ACEOF
31161 /* end confdefs.h. */
31163 #include <sys/types.h>
31164 #include <sys/socket.h>
31171 getsockname(0, 0, &len);
31177 rm -f conftest.
$ac_objext
31178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31179 (eval $ac_compile) 2>&5
31181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31182 (exit $ac_status); } &&
31183 { ac_try
='test -s conftest.$ac_objext'
31184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31185 (eval $ac_try) 2>&5
31187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31188 (exit $ac_status); }; }; then
31189 wx_cv_type_getsockname3
=socklen_t
31191 echo "$as_me: failed program was:" >&5
31192 sed 's/^/| /' conftest.
$ac_ext >&5
31195 CFLAGS_OLD
="$CFLAGS"
31196 if test "$GCC" = yes ; then
31197 CFLAGS
="$CFLAGS -Werror"
31200 cat >conftest.
$ac_ext <<_ACEOF
31201 #line $LINENO "configure"
31204 cat confdefs.h
>>conftest.
$ac_ext
31205 cat >>conftest.
$ac_ext <<_ACEOF
31206 /* end confdefs.h. */
31208 #include <sys/types.h>
31209 #include <sys/socket.h>
31216 getsockname(0, 0, &len);
31222 rm -f conftest.
$ac_objext
31223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31224 (eval $ac_compile) 2>&5
31226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31227 (exit $ac_status); } &&
31228 { ac_try
='test -s conftest.$ac_objext'
31229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31230 (eval $ac_try) 2>&5
31232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31233 (exit $ac_status); }; }; then
31234 wx_cv_type_getsockname3
=size_t
31236 echo "$as_me: failed program was:" >&5
31237 sed 's/^/| /' conftest.
$ac_ext >&5
31239 cat >conftest.
$ac_ext <<_ACEOF
31240 #line $LINENO "configure"
31243 cat confdefs.h
>>conftest.
$ac_ext
31244 cat >>conftest.
$ac_ext <<_ACEOF
31245 /* end confdefs.h. */
31247 #include <sys/types.h>
31248 #include <sys/socket.h>
31255 getsockname(0, 0, &len);
31261 rm -f conftest.
$ac_objext
31262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31263 (eval $ac_compile) 2>&5
31265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31266 (exit $ac_status); } &&
31267 { ac_try
='test -s conftest.$ac_objext'
31268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31269 (eval $ac_try) 2>&5
31271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31272 (exit $ac_status); }; }; then
31273 wx_cv_type_getsockname3
=int
31275 echo "$as_me: failed program was:" >&5
31276 sed 's/^/| /' conftest.
$ac_ext >&5
31278 wx_cv_type_getsockname3
=unknown
31281 rm -f conftest.
$ac_objext conftest.
$ac_ext
31284 rm -f conftest.
$ac_objext conftest.
$ac_ext
31286 CFLAGS
="$CFLAGS_OLD"
31290 rm -f conftest.
$ac_objext conftest.
$ac_ext
31293 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
31294 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
31296 if test "$wx_cv_type_getsockname3" = "unknown"; then
31298 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
31299 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
31301 cat >>confdefs.h
<<_ACEOF
31302 #define SOCKLEN_T $wx_cv_type_getsockname3
31309 if test "$wxUSE_SOCKETS" = "yes" ; then
31310 cat >>confdefs.h
<<\_ACEOF
31311 #define wxUSE_SOCKETS 1
31314 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
31317 if test "$wxUSE_PROTOCOL" = "yes"; then
31318 if test "$wxUSE_SOCKETS" != "yes"; then
31319 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
31320 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
31325 if test "$wxUSE_PROTOCOL" = "yes"; then
31326 cat >>confdefs.h
<<\_ACEOF
31327 #define wxUSE_PROTOCOL 1
31331 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
31332 cat >>confdefs.h
<<\_ACEOF
31333 #define wxUSE_PROTOCOL_HTTP 1
31337 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
31338 cat >>confdefs.h
<<\_ACEOF
31339 #define wxUSE_PROTOCOL_FTP 1
31343 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
31344 cat >>confdefs.h
<<\_ACEOF
31345 #define wxUSE_PROTOCOL_FILE 1
31350 if test "$wxUSE_FS_INET" = "yes"; then
31351 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
31352 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
31357 if test "$wxUSE_URL" = "yes"; then
31358 if test "$wxUSE_PROTOCOL" != "yes"; then
31359 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
31360 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
31363 if test "$wxUSE_URL" = "yes"; then
31364 cat >>confdefs.h
<<\_ACEOF
31365 #define wxUSE_URL 1
31371 if test "$wxUSE_FS_INET" = "yes"; then
31372 cat >>confdefs.h
<<\_ACEOF
31373 #define wxUSE_FS_INET 1
31379 if test "$wxUSE_GUI" = "yes"; then
31381 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
31382 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
31383 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
31387 if test "$TOOLKIT" != "MSW"; then
31388 if test "$wxUSE_JOYSTICK" = "yes"; then
31390 for ac_header
in linux
/joystick.h
31392 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31393 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31394 echo "$as_me:$LINENO: checking for $ac_header" >&5
31395 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31396 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31397 echo $ECHO_N "(cached) $ECHO_C" >&6
31399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31400 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31402 # Is the header compilable?
31403 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31404 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31405 cat >conftest.
$ac_ext <<_ACEOF
31406 #line $LINENO "configure"
31409 cat confdefs.h
>>conftest.
$ac_ext
31410 cat >>conftest.
$ac_ext <<_ACEOF
31411 /* end confdefs.h. */
31412 $ac_includes_default
31413 #include <$ac_header>
31415 rm -f conftest.
$ac_objext
31416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31417 (eval $ac_compile) 2>&5
31419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31420 (exit $ac_status); } &&
31421 { ac_try
='test -s conftest.$ac_objext'
31422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31423 (eval $ac_try) 2>&5
31425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31426 (exit $ac_status); }; }; then
31427 ac_header_compiler
=yes
31429 echo "$as_me: failed program was:" >&5
31430 sed 's/^/| /' conftest.
$ac_ext >&5
31432 ac_header_compiler
=no
31434 rm -f conftest.
$ac_objext conftest.
$ac_ext
31435 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31436 echo "${ECHO_T}$ac_header_compiler" >&6
31438 # Is the header present?
31439 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31440 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31441 cat >conftest.
$ac_ext <<_ACEOF
31442 #line $LINENO "configure"
31445 cat confdefs.h
>>conftest.
$ac_ext
31446 cat >>conftest.
$ac_ext <<_ACEOF
31447 /* end confdefs.h. */
31448 #include <$ac_header>
31450 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31451 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31453 grep -v '^ *+' conftest.er1
>conftest.err
31455 cat conftest.err
>&5
31456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31457 (exit $ac_status); } >/dev
/null
; then
31458 if test -s conftest.err
; then
31459 ac_cpp_err
=$ac_c_preproc_warn_flag
31466 if test -z "$ac_cpp_err"; then
31467 ac_header_preproc
=yes
31469 echo "$as_me: failed program was:" >&5
31470 sed 's/^/| /' conftest.
$ac_ext >&5
31472 ac_header_preproc
=no
31474 rm -f conftest.err conftest.
$ac_ext
31475 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31476 echo "${ECHO_T}$ac_header_preproc" >&6
31478 # So? What about this header?
31479 case $ac_header_compiler:$ac_header_preproc in
31481 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31482 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31483 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31484 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31487 ## ------------------------------------ ##
31488 ## Report this to bug-autoconf@gnu.org. ##
31489 ## ------------------------------------ ##
31492 sed "s/^/$as_me: WARNING: /" >&2
31495 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31496 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31497 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31498 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31499 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31500 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31503 ## ------------------------------------ ##
31504 ## Report this to bug-autoconf@gnu.org. ##
31505 ## ------------------------------------ ##
31508 sed "s/^/$as_me: WARNING: /" >&2
31511 echo "$as_me:$LINENO: checking for $ac_header" >&5
31512 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31513 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31514 echo $ECHO_N "(cached) $ECHO_C" >&6
31516 eval "$as_ac_Header=$ac_header_preproc"
31518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31519 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31522 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31523 cat >>confdefs.h
<<_ACEOF
31524 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31531 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
31533 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
31534 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
31539 if test "$wxUSE_JOYSTICK" = "yes"; then
31540 cat >>confdefs.h
<<\_ACEOF
31541 #define wxUSE_JOYSTICK 1
31544 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
31549 if test "$TOOLKIT" != "MSW"; then
31553 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31554 if test "$USE_DARWIN" = 1; then
31558 for ac_func
in dlopen
31560 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31561 echo "$as_me:$LINENO: checking for $ac_func" >&5
31562 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31563 if eval "test \"\${$as_ac_var+set}\" = set"; then
31564 echo $ECHO_N "(cached) $ECHO_C" >&6
31566 cat >conftest.
$ac_ext <<_ACEOF
31567 #line $LINENO "configure"
31570 cat confdefs.h
>>conftest.
$ac_ext
31571 cat >>conftest.
$ac_ext <<_ACEOF
31572 /* end confdefs.h. */
31573 /* System header to define __stub macros and hopefully few prototypes,
31574 which can conflict with char $ac_func (); below.
31575 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31576 <limits.h> exists even on freestanding compilers. */
31578 # include <limits.h>
31580 # include <assert.h>
31582 /* Override any gcc2 internal prototype to avoid an error. */
31587 /* We use char because int might match the return type of a gcc2
31588 builtin and then its argument prototype would still apply. */
31590 /* The GNU C library defines this for functions which it implements
31591 to always fail with ENOSYS. Some functions are actually named
31592 something starting with __ and the normal name is an alias. */
31593 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31596 char (*f) () = $ac_func;
31605 return f != $ac_func;
31610 rm -f conftest.
$ac_objext conftest
$ac_exeext
31611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31612 (eval $ac_link) 2>&5
31614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31615 (exit $ac_status); } &&
31616 { ac_try
='test -s conftest$ac_exeext'
31617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31618 (eval $ac_try) 2>&5
31620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31621 (exit $ac_status); }; }; then
31622 eval "$as_ac_var=yes"
31624 echo "$as_me: failed program was:" >&5
31625 sed 's/^/| /' conftest.
$ac_ext >&5
31627 eval "$as_ac_var=no"
31629 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31632 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31633 if test `eval echo '${'$as_ac_var'}'` = yes; then
31634 cat >>confdefs.h
<<_ACEOF
31635 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31638 cat >>confdefs.h
<<\_ACEOF
31639 #define HAVE_DLOPEN 1
31646 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
31647 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
31648 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
31649 echo $ECHO_N "(cached) $ECHO_C" >&6
31651 ac_check_lib_save_LIBS
=$LIBS
31653 cat >conftest.
$ac_ext <<_ACEOF
31654 #line $LINENO "configure"
31657 cat confdefs.h
>>conftest.
$ac_ext
31658 cat >>conftest.
$ac_ext <<_ACEOF
31659 /* end confdefs.h. */
31661 /* Override any gcc2 internal prototype to avoid an error. */
31665 /* We use char because int might match the return type of a gcc2
31666 builtin and then its argument prototype would still apply. */
31676 rm -f conftest.
$ac_objext conftest
$ac_exeext
31677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31678 (eval $ac_link) 2>&5
31680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31681 (exit $ac_status); } &&
31682 { ac_try
='test -s conftest$ac_exeext'
31683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31684 (eval $ac_try) 2>&5
31686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31687 (exit $ac_status); }; }; then
31688 ac_cv_lib_dl_dlopen
=yes
31690 echo "$as_me: failed program was:" >&5
31691 sed 's/^/| /' conftest.
$ac_ext >&5
31693 ac_cv_lib_dl_dlopen
=no
31695 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31696 LIBS
=$ac_check_lib_save_LIBS
31698 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
31699 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
31700 if test $ac_cv_lib_dl_dlopen = yes; then
31702 cat >>confdefs.h
<<\_ACEOF
31703 #define HAVE_DLOPEN 1
31707 DL_LINK
=" -ldl$DL_LINK"
31712 for ac_func
in shl_load
31714 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31715 echo "$as_me:$LINENO: checking for $ac_func" >&5
31716 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31717 if eval "test \"\${$as_ac_var+set}\" = set"; then
31718 echo $ECHO_N "(cached) $ECHO_C" >&6
31720 cat >conftest.
$ac_ext <<_ACEOF
31721 #line $LINENO "configure"
31724 cat confdefs.h
>>conftest.
$ac_ext
31725 cat >>conftest.
$ac_ext <<_ACEOF
31726 /* end confdefs.h. */
31727 /* System header to define __stub macros and hopefully few prototypes,
31728 which can conflict with char $ac_func (); below.
31729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31730 <limits.h> exists even on freestanding compilers. */
31732 # include <limits.h>
31734 # include <assert.h>
31736 /* Override any gcc2 internal prototype to avoid an error. */
31741 /* We use char because int might match the return type of a gcc2
31742 builtin and then its argument prototype would still apply. */
31744 /* The GNU C library defines this for functions which it implements
31745 to always fail with ENOSYS. Some functions are actually named
31746 something starting with __ and the normal name is an alias. */
31747 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31750 char (*f) () = $ac_func;
31759 return f != $ac_func;
31764 rm -f conftest.
$ac_objext conftest
$ac_exeext
31765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31766 (eval $ac_link) 2>&5
31768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31769 (exit $ac_status); } &&
31770 { ac_try
='test -s conftest$ac_exeext'
31771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31772 (eval $ac_try) 2>&5
31774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31775 (exit $ac_status); }; }; then
31776 eval "$as_ac_var=yes"
31778 echo "$as_me: failed program was:" >&5
31779 sed 's/^/| /' conftest.
$ac_ext >&5
31781 eval "$as_ac_var=no"
31783 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31786 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31787 if test `eval echo '${'$as_ac_var'}'` = yes; then
31788 cat >>confdefs.h
<<_ACEOF
31789 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31792 cat >>confdefs.h
<<\_ACEOF
31793 #define HAVE_SHL_LOAD 1
31800 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
31801 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
31802 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
31803 echo $ECHO_N "(cached) $ECHO_C" >&6
31805 ac_check_lib_save_LIBS
=$LIBS
31806 LIBS
="-lshl_load $LIBS"
31807 cat >conftest.
$ac_ext <<_ACEOF
31808 #line $LINENO "configure"
31811 cat confdefs.h
>>conftest.
$ac_ext
31812 cat >>conftest.
$ac_ext <<_ACEOF
31813 /* end confdefs.h. */
31815 /* Override any gcc2 internal prototype to avoid an error. */
31819 /* We use char because int might match the return type of a gcc2
31820 builtin and then its argument prototype would still apply. */
31830 rm -f conftest.
$ac_objext conftest
$ac_exeext
31831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31832 (eval $ac_link) 2>&5
31834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31835 (exit $ac_status); } &&
31836 { ac_try
='test -s conftest$ac_exeext'
31837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31838 (eval $ac_try) 2>&5
31840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31841 (exit $ac_status); }; }; then
31842 ac_cv_lib_shl_load_dld
=yes
31844 echo "$as_me: failed program was:" >&5
31845 sed 's/^/| /' conftest.
$ac_ext >&5
31847 ac_cv_lib_shl_load_dld
=no
31849 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31850 LIBS
=$ac_check_lib_save_LIBS
31852 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
31853 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
31854 if test $ac_cv_lib_shl_load_dld = yes; then
31857 DL_LINK
=" -ldld$DL_LINK"
31873 if test "$HAVE_DL_FUNCS" = 1; then
31875 for ac_func
in dlerror
31877 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31878 echo "$as_me:$LINENO: checking for $ac_func" >&5
31879 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31880 if eval "test \"\${$as_ac_var+set}\" = set"; then
31881 echo $ECHO_N "(cached) $ECHO_C" >&6
31883 cat >conftest.
$ac_ext <<_ACEOF
31884 #line $LINENO "configure"
31887 cat confdefs.h
>>conftest.
$ac_ext
31888 cat >>conftest.
$ac_ext <<_ACEOF
31889 /* end confdefs.h. */
31890 /* System header to define __stub macros and hopefully few prototypes,
31891 which can conflict with char $ac_func (); below.
31892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31893 <limits.h> exists even on freestanding compilers. */
31895 # include <limits.h>
31897 # include <assert.h>
31899 /* Override any gcc2 internal prototype to avoid an error. */
31904 /* We use char because int might match the return type of a gcc2
31905 builtin and then its argument prototype would still apply. */
31907 /* The GNU C library defines this for functions which it implements
31908 to always fail with ENOSYS. Some functions are actually named
31909 something starting with __ and the normal name is an alias. */
31910 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31913 char (*f) () = $ac_func;
31922 return f != $ac_func;
31927 rm -f conftest.
$ac_objext conftest
$ac_exeext
31928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31929 (eval $ac_link) 2>&5
31931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31932 (exit $ac_status); } &&
31933 { ac_try
='test -s conftest$ac_exeext'
31934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31935 (eval $ac_try) 2>&5
31937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31938 (exit $ac_status); }; }; then
31939 eval "$as_ac_var=yes"
31941 echo "$as_me: failed program was:" >&5
31942 sed 's/^/| /' conftest.
$ac_ext >&5
31944 eval "$as_ac_var=no"
31946 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31950 if test `eval echo '${'$as_ac_var'}'` = yes; then
31951 cat >>confdefs.h
<<_ACEOF
31952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31954 cat >>confdefs.h
<<\_ACEOF
31955 #define HAVE_DLERROR 1
31960 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
31961 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
31962 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
31963 echo $ECHO_N "(cached) $ECHO_C" >&6
31965 ac_check_lib_save_LIBS
=$LIBS
31967 cat >conftest.
$ac_ext <<_ACEOF
31968 #line $LINENO "configure"
31971 cat confdefs.h
>>conftest.
$ac_ext
31972 cat >>conftest.
$ac_ext <<_ACEOF
31973 /* end confdefs.h. */
31975 /* Override any gcc2 internal prototype to avoid an error. */
31979 /* We use char because int might match the return type of a gcc2
31980 builtin and then its argument prototype would still apply. */
31990 rm -f conftest.
$ac_objext conftest
$ac_exeext
31991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31992 (eval $ac_link) 2>&5
31994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31995 (exit $ac_status); } &&
31996 { ac_try
='test -s conftest$ac_exeext'
31997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31998 (eval $ac_try) 2>&5
32000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32001 (exit $ac_status); }; }; then
32002 ac_cv_lib_dl_dlerror
=yes
32004 echo "$as_me: failed program was:" >&5
32005 sed 's/^/| /' conftest.
$ac_ext >&5
32007 ac_cv_lib_dl_dlerror
=no
32009 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32010 LIBS
=$ac_check_lib_save_LIBS
32012 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
32013 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
32014 if test $ac_cv_lib_dl_dlerror = yes; then
32015 cat >>confdefs.h
<<\_ACEOF
32016 #define HAVE_DLERROR 1
32029 if test "$HAVE_DL_FUNCS" = 0; then
32030 if test "$HAVE_SHL_FUNCS" = 0; then
32031 if test "$USE_UNIX" = 1; then
32032 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
32033 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
32034 wxUSE_DYNAMIC_LOADER
=no
32035 wxUSE_DYNLIB_CLASS
=no
32037 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
32038 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
32045 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
32046 cat >>confdefs.h
<<\_ACEOF
32047 #define wxUSE_DYNAMIC_LOADER 1
32051 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
32052 cat >>confdefs.h
<<\_ACEOF
32053 #define wxUSE_DYNLIB_CLASS 1
32059 if test "$wxUSE_FONTMAP" = "yes" ; then
32060 cat >>confdefs.h
<<\_ACEOF
32061 #define wxUSE_FONTMAP 1
32066 if test "$wxUSE_UNICODE" = "yes" ; then
32067 cat >>confdefs.h
<<\_ACEOF
32068 #define wxUSE_UNICODE 1
32072 if test "$USE_WIN32" != 1; then
32073 wxUSE_UNICODE_MSLU
=no
32076 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
32077 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
32078 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
32079 if test "${ac_cv_lib_unicows_main+set}" = set; then
32080 echo $ECHO_N "(cached) $ECHO_C" >&6
32082 ac_check_lib_save_LIBS
=$LIBS
32083 LIBS
="-lunicows $LIBS"
32084 cat >conftest.
$ac_ext <<_ACEOF
32085 #line $LINENO "configure"
32088 cat confdefs.h
>>conftest.
$ac_ext
32089 cat >>conftest.
$ac_ext <<_ACEOF
32090 /* end confdefs.h. */
32101 rm -f conftest.
$ac_objext conftest
$ac_exeext
32102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32103 (eval $ac_link) 2>&5
32105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32106 (exit $ac_status); } &&
32107 { ac_try
='test -s conftest$ac_exeext'
32108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32109 (eval $ac_try) 2>&5
32111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32112 (exit $ac_status); }; }; then
32113 ac_cv_lib_unicows_main
=yes
32115 echo "$as_me: failed program was:" >&5
32116 sed 's/^/| /' conftest.
$ac_ext >&5
32118 ac_cv_lib_unicows_main
=no
32120 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32121 LIBS
=$ac_check_lib_save_LIBS
32123 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
32124 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
32125 if test $ac_cv_lib_unicows_main = yes; then
32127 cat >>confdefs.h
<<\_ACEOF
32128 #define wxUSE_UNICODE_MSLU 1
32134 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32135 Applications will only run on Windows NT/2000/XP!" >&5
32136 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32137 Applications will only run on Windows NT/2000/XP!" >&2;}
32138 wxUSE_UNICODE_MSLU
=no
32145 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
32146 cat >>confdefs.h
<<\_ACEOF
32147 #define wxUSE_EXPERIMENTAL_PRINTF 1
32153 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
32154 cat >>confdefs.h
<<\_ACEOF
32155 #define wxUSE_POSTSCRIPT 1
32160 cat >>confdefs.h
<<\_ACEOF
32161 #define wxUSE_AFM_FOR_POSTSCRIPT 1
32165 cat >>confdefs.h
<<\_ACEOF
32166 #define wxUSE_NORMALIZED_PS_FONTS 1
32171 if test "$wxUSE_CONSTRAINTS" = "yes"; then
32172 cat >>confdefs.h
<<\_ACEOF
32173 #define wxUSE_CONSTRAINTS 1
32176 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
32179 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32180 cat >>confdefs.h
<<\_ACEOF
32181 #define wxUSE_MDI_ARCHITECTURE 1
32184 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
32187 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
32188 cat >>confdefs.h
<<\_ACEOF
32189 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
32192 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
32193 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32194 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
32198 if test "$wxUSE_HELP" = "yes"; then
32199 cat >>confdefs.h
<<\_ACEOF
32200 #define wxUSE_HELP 1
32203 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
32205 if test "$wxUSE_MSW" = 1; then
32206 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
32207 cat >>confdefs.h
<<\_ACEOF
32208 #define wxUSE_MS_HTML_HELP 1
32214 if test "$wxUSE_WXHTML_HELP" = "yes"; then
32215 if test "$wxUSE_HTML" = "yes"; then
32216 cat >>confdefs.h
<<\_ACEOF
32217 #define wxUSE_WXHTML_HELP 1
32221 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
32222 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
32223 wxUSE_WXHTML_HELP
=no
32228 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
32229 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32230 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
32231 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
32233 cat >>confdefs.h
<<\_ACEOF
32234 #define wxUSE_PRINTING_ARCHITECTURE 1
32238 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
32241 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
32242 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
32243 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
32244 { (exit 1); exit 1; }; }
32248 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
32249 -o "$wxUSE_CLIPBOARD" = "yes" \
32250 -o "$wxUSE_OLE" = "yes" \
32251 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
32253 for ac_header
in ole2.h
32255 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32256 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32257 echo "$as_me:$LINENO: checking for $ac_header" >&5
32258 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32259 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32260 echo $ECHO_N "(cached) $ECHO_C" >&6
32262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32263 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32265 # Is the header compilable?
32266 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32267 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32268 cat >conftest.
$ac_ext <<_ACEOF
32269 #line $LINENO "configure"
32272 cat confdefs.h
>>conftest.
$ac_ext
32273 cat >>conftest.
$ac_ext <<_ACEOF
32274 /* end confdefs.h. */
32275 $ac_includes_default
32276 #include <$ac_header>
32278 rm -f conftest.
$ac_objext
32279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32280 (eval $ac_compile) 2>&5
32282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32283 (exit $ac_status); } &&
32284 { ac_try
='test -s conftest.$ac_objext'
32285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32286 (eval $ac_try) 2>&5
32288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32289 (exit $ac_status); }; }; then
32290 ac_header_compiler
=yes
32292 echo "$as_me: failed program was:" >&5
32293 sed 's/^/| /' conftest.
$ac_ext >&5
32295 ac_header_compiler
=no
32297 rm -f conftest.
$ac_objext conftest.
$ac_ext
32298 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32299 echo "${ECHO_T}$ac_header_compiler" >&6
32301 # Is the header present?
32302 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32303 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32304 cat >conftest.
$ac_ext <<_ACEOF
32305 #line $LINENO "configure"
32308 cat confdefs.h
>>conftest.
$ac_ext
32309 cat >>conftest.
$ac_ext <<_ACEOF
32310 /* end confdefs.h. */
32311 #include <$ac_header>
32313 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32314 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32316 grep -v '^ *+' conftest.er1
>conftest.err
32318 cat conftest.err
>&5
32319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32320 (exit $ac_status); } >/dev
/null
; then
32321 if test -s conftest.err
; then
32322 ac_cpp_err
=$ac_c_preproc_warn_flag
32329 if test -z "$ac_cpp_err"; then
32330 ac_header_preproc
=yes
32332 echo "$as_me: failed program was:" >&5
32333 sed 's/^/| /' conftest.
$ac_ext >&5
32335 ac_header_preproc
=no
32337 rm -f conftest.err conftest.
$ac_ext
32338 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32339 echo "${ECHO_T}$ac_header_preproc" >&6
32341 # So? What about this header?
32342 case $ac_header_compiler:$ac_header_preproc in
32344 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32345 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32346 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32347 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32350 ## ------------------------------------ ##
32351 ## Report this to bug-autoconf@gnu.org. ##
32352 ## ------------------------------------ ##
32355 sed "s/^/$as_me: WARNING: /" >&2
32358 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32359 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32360 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32361 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32362 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32363 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32366 ## ------------------------------------ ##
32367 ## Report this to bug-autoconf@gnu.org. ##
32368 ## ------------------------------------ ##
32371 sed "s/^/$as_me: WARNING: /" >&2
32374 echo "$as_me:$LINENO: checking for $ac_header" >&5
32375 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32376 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32377 echo $ECHO_N "(cached) $ECHO_C" >&6
32379 eval "$as_ac_Header=$ac_header_preproc"
32381 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32382 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32385 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32386 cat >>confdefs.h
<<_ACEOF
32387 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32395 if test "$ac_cv_header_ole2_h" = "yes" ; then
32396 if test "$GCC" = yes ; then
32400 ac_cpp
='$CXXCPP $CPPFLAGS'
32401 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32402 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32403 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32406 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
32407 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
32408 cat >conftest.
$ac_ext <<_ACEOF
32409 #line $LINENO "configure"
32412 cat confdefs.h
>>conftest.
$ac_ext
32413 cat >>conftest.
$ac_ext <<_ACEOF
32414 /* end confdefs.h. */
32415 #include <windows.h>
32425 rm -f conftest.
$ac_objext
32426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32427 (eval $ac_compile) 2>&5
32429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32430 (exit $ac_status); } &&
32431 { ac_try
='test -s conftest.$ac_objext'
32432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32433 (eval $ac_try) 2>&5
32435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32436 (exit $ac_status); }; }; then
32437 echo "$as_me:$LINENO: result: no" >&5
32438 echo "${ECHO_T}no" >&6
32440 echo "$as_me: failed program was:" >&5
32441 sed 's/^/| /' conftest.
$ac_ext >&5
32443 echo "$as_me:$LINENO: result: yes" >&5
32444 echo "${ECHO_T}yes" >&6
32445 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
32447 rm -f conftest.
$ac_objext conftest.
$ac_ext
32449 ac_cpp
='$CPP $CPPFLAGS'
32450 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32451 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32452 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32454 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
32455 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
32456 cat >>confdefs.h
<<\_ACEOF
32457 #define wxUSE_OLE 1
32463 cat >>confdefs.h
<<\_ACEOF
32464 #define wxUSE_DATAOBJ 1
32468 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
32469 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
32472 wxUSE_DRAG_AND_DROP
=no
32477 if test "$wxUSE_METAFILE" = "yes"; then
32478 cat >>confdefs.h
<<\_ACEOF
32479 #define wxUSE_METAFILE 1
32483 cat >>confdefs.h
<<\_ACEOF
32484 #define wxUSE_ENH_METAFILE 1
32490 if test "$wxUSE_IPC" = "yes"; then
32491 if test "$wxUSE_SOCKETS" != "yes"; then
32492 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
32493 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
32496 cat >>confdefs.h
<<\_ACEOF
32497 #define wxUSE_IPC 1
32502 if test "$wxUSE_CLIPBOARD" = "yes"; then
32503 if test "$wxUSE_MGL" = 1; then
32504 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
32505 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
32509 if test "$wxUSE_CLIPBOARD" = "yes"; then
32510 cat >>confdefs.h
<<\_ACEOF
32511 #define wxUSE_CLIPBOARD 1
32515 cat >>confdefs.h
<<\_ACEOF
32516 #define wxUSE_DATAOBJ 1
32522 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
32523 if test "$wxUSE_GTK" = 1; then
32524 if test "$WXGTK12" != 1; then
32525 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
32526 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
32527 wxUSE_DRAG_AND_DROP
=no
32531 if test "$wxUSE_MOTIF" = 1; then
32532 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
32533 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
32534 wxUSE_DRAG_AND_DROP
=no
32537 if test "$wxUSE_X11" = 1; then
32538 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
32539 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
32540 wxUSE_DRAG_AND_DROP
=no
32543 if test "$wxUSE_MGL" = 1; then
32544 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
32545 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
32546 wxUSE_DRAG_AND_DROP
=no
32549 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
32550 cat >>confdefs.h
<<\_ACEOF
32551 #define wxUSE_DRAG_AND_DROP 1
32554 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
32559 if test "$wxUSE_SPLINES" = "yes" ; then
32560 cat >>confdefs.h
<<\_ACEOF
32561 #define wxUSE_SPLINES 1
32568 if test "$wxUSE_CONTROLS" = "yes"; then
32572 if test "$wxUSE_ACCEL" = "yes"; then
32573 cat >>confdefs.h
<<\_ACEOF
32574 #define wxUSE_ACCEL 1
32580 if test "$wxUSE_BUTTON" = "yes"; then
32581 cat >>confdefs.h
<<\_ACEOF
32582 #define wxUSE_BUTTON 1
32588 if test "$wxUSE_BMPBUTTON" = "yes"; then
32589 cat >>confdefs.h
<<\_ACEOF
32590 #define wxUSE_BMPBUTTON 1
32596 if test "$wxUSE_CALCTRL" = "yes"; then
32597 cat >>confdefs.h
<<\_ACEOF
32598 #define wxUSE_CALENDARCTRL 1
32602 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
32605 if test "$wxUSE_CARET" = "yes"; then
32606 cat >>confdefs.h
<<\_ACEOF
32607 #define wxUSE_CARET 1
32611 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
32614 if test "$wxUSE_COMBOBOX" = "yes"; then
32615 cat >>confdefs.h
<<\_ACEOF
32616 #define wxUSE_COMBOBOX 1
32622 if test "$wxUSE_CHOICE" = "yes"; then
32623 cat >>confdefs.h
<<\_ACEOF
32624 #define wxUSE_CHOICE 1
32630 if test "$wxUSE_CHECKBOX" = "yes"; then
32631 cat >>confdefs.h
<<\_ACEOF
32632 #define wxUSE_CHECKBOX 1
32638 if test "$wxUSE_CHECKLST" = "yes"; then
32639 cat >>confdefs.h
<<\_ACEOF
32640 #define wxUSE_CHECKLISTBOX 1
32644 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
32647 if test "$wxUSE_DISPLAY" = "yes"; then
32648 cat >>confdefs.h
<<\_ACEOF
32649 #define wxUSE_DISPLAY 1
32652 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
32655 if test "$wxUSE_GAUGE" = "yes"; then
32656 cat >>confdefs.h
<<\_ACEOF
32657 #define wxUSE_GAUGE 1
32663 if test "$wxUSE_GRID" = "yes"; then
32664 cat >>confdefs.h
<<\_ACEOF
32665 #define wxUSE_GRID 1
32669 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
32672 if test "$wxUSE_IMAGLIST" = "yes"; then
32673 cat >>confdefs.h
<<\_ACEOF
32674 #define wxUSE_IMAGLIST 1
32679 if test "$wxUSE_LISTBOOK" = "yes"; then
32680 cat >>confdefs.h
<<\_ACEOF
32681 #define wxUSE_LISTBOOK 1
32687 if test "$wxUSE_LISTBOX" = "yes"; then
32688 cat >>confdefs.h
<<\_ACEOF
32689 #define wxUSE_LISTBOX 1
32695 if test "$wxUSE_LISTCTRL" = "yes"; then
32696 if test "$wxUSE_IMAGLIST" = "yes"; then
32697 cat >>confdefs.h
<<\_ACEOF
32698 #define wxUSE_LISTCTRL 1
32702 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
32704 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
32705 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
32709 if test "$wxUSE_NOTEBOOK" = "yes"; then
32710 cat >>confdefs.h
<<\_ACEOF
32711 #define wxUSE_NOTEBOOK 1
32715 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
32719 if test "$wxUSE_RADIOBOX" = "yes"; then
32720 cat >>confdefs.h
<<\_ACEOF
32721 #define wxUSE_RADIOBOX 1
32727 if test "$wxUSE_RADIOBTN" = "yes"; then
32728 cat >>confdefs.h
<<\_ACEOF
32729 #define wxUSE_RADIOBTN 1
32735 if test "$wxUSE_SASH" = "yes"; then
32736 cat >>confdefs.h
<<\_ACEOF
32737 #define wxUSE_SASH 1
32740 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
32743 if test "$wxUSE_SCROLLBAR" = "yes"; then
32744 cat >>confdefs.h
<<\_ACEOF
32745 #define wxUSE_SCROLLBAR 1
32749 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
32752 if test "$wxUSE_SLIDER" = "yes"; then
32753 cat >>confdefs.h
<<\_ACEOF
32754 #define wxUSE_SLIDER 1
32760 if test "$wxUSE_SPINBTN" = "yes"; then
32761 cat >>confdefs.h
<<\_ACEOF
32762 #define wxUSE_SPINBTN 1
32768 if test "$wxUSE_SPINCTRL" = "yes"; then
32769 cat >>confdefs.h
<<\_ACEOF
32770 #define wxUSE_SPINCTRL 1
32776 if test "$wxUSE_SPLITTER" = "yes"; then
32777 cat >>confdefs.h
<<\_ACEOF
32778 #define wxUSE_SPLITTER 1
32781 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
32784 if test "$wxUSE_STATBMP" = "yes"; then
32785 cat >>confdefs.h
<<\_ACEOF
32786 #define wxUSE_STATBMP 1
32792 if test "$wxUSE_STATBOX" = "yes"; then
32793 cat >>confdefs.h
<<\_ACEOF
32794 #define wxUSE_STATBOX 1
32800 if test "$wxUSE_STATTEXT" = "yes"; then
32801 cat >>confdefs.h
<<\_ACEOF
32802 #define wxUSE_STATTEXT 1
32808 if test "$wxUSE_STATLINE" = "yes"; then
32809 cat >>confdefs.h
<<\_ACEOF
32810 #define wxUSE_STATLINE 1
32816 if test "$wxUSE_STATUSBAR" = "yes"; then
32817 cat >>confdefs.h
<<\_ACEOF
32818 #define wxUSE_STATUSBAR 1
32823 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
32826 if test "$wxUSE_TABDIALOG" = "yes"; then
32827 cat >>confdefs.h
<<\_ACEOF
32828 #define wxUSE_TAB_DIALOG 1
32831 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
32834 if test "$wxUSE_TEXTCTRL" = "yes"; then
32835 cat >>confdefs.h
<<\_ACEOF
32836 #define wxUSE_TEXTCTRL 1
32840 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
32843 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32844 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32845 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
32846 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
32849 if test "$wxUSE_UNIVERSAL" = "yes"; then
32850 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
32851 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
32855 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32856 cat >>confdefs.h
<<\_ACEOF
32857 #define wxUSE_TOGGLEBTN 1
32864 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
32865 cat >>confdefs.h
<<\_ACEOF
32866 #define wxUSE_TOOLBAR_SIMPLE 1
32869 wxUSE_TOOLBAR
="yes"
32873 if test "$wxUSE_TOOLBAR" = "yes"; then
32874 cat >>confdefs.h
<<\_ACEOF
32875 #define wxUSE_TOOLBAR 1
32880 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
32881 wxUSE_TOOLBAR_NATIVE
="yes"
32884 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
32885 cat >>confdefs.h
<<\_ACEOF
32886 #define wxUSE_TOOLBAR_NATIVE 1
32892 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
32895 if test "$wxUSE_TOOLTIPS" = "yes"; then
32896 if test "$wxUSE_MOTIF" = 1; then
32897 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
32898 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
32900 if test "$wxUSE_UNIVERSAL" = "yes"; then
32901 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
32902 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
32904 cat >>confdefs.h
<<\_ACEOF
32905 #define wxUSE_TOOLTIPS 1
32912 if test "$wxUSE_TREECTRL" = "yes"; then
32913 if test "$wxUSE_IMAGLIST" = "yes"; then
32914 cat >>confdefs.h
<<\_ACEOF
32915 #define wxUSE_TREECTRL 1
32919 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
32921 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
32922 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
32926 if test "$wxUSE_POPUPWIN" = "yes"; then
32927 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32928 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
32929 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
32931 if test "$wxUSE_MOTIF" = 1; then
32932 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&5
32933 echo "$as_me: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&2;}
32935 if test "$wxUSE_PM" = 1; then
32936 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
32937 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
32939 cat >>confdefs.h
<<\_ACEOF
32940 #define wxUSE_POPUPWIN 1
32950 if test "$wxUSE_TIPWINDOW" = "yes"; then
32951 if test "$wxUSE_PM" = 1; then
32952 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
32953 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
32955 cat >>confdefs.h
<<\_ACEOF
32956 #define wxUSE_TIPWINDOW 1
32962 if test "$USES_CONTROLS" = 1; then
32963 cat >>confdefs.h
<<\_ACEOF
32964 #define wxUSE_CONTROLS 1
32971 if test "$wxUSE_DRAGIMAGE" = "yes"; then
32972 cat >>confdefs.h
<<\_ACEOF
32973 #define wxUSE_DRAGIMAGE 1
32976 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
32979 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
32980 cat >>confdefs.h
<<\_ACEOF
32981 #define wxUSE_ACCESSIBILITY 1
32984 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
32987 if test "$wxUSE_MENUS" = "yes"; then
32988 cat >>confdefs.h
<<\_ACEOF
32989 #define wxUSE_MENUS 1
32992 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
32995 if test "$wxUSE_METAFILE" = "yes"; then
32996 cat >>confdefs.h
<<\_ACEOF
32997 #define wxUSE_METAFILE 1
33002 if test "$wxUSE_MIMETYPE" = "yes"; then
33003 cat >>confdefs.h
<<\_ACEOF
33004 #define wxUSE_MIMETYPE 1
33009 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
33010 cat >>confdefs.h
<<\_ACEOF
33011 #define wxUSE_SYSTEM_OPTIONS 1
33014 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
33015 "$TOOLKIT" = "MOTIF"; then
33016 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
33021 if test "$wxUSE_MINIFRAME" = "yes"; then
33022 cat >>confdefs.h
<<\_ACEOF
33023 #define wxUSE_MINIFRAME 1
33026 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
33030 if test "$wxUSE_HTML" = "yes"; then
33031 cat >>confdefs.h
<<\_ACEOF
33032 #define wxUSE_HTML 1
33036 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
33039 if test "$wxUSE_VALIDATORS" = "yes"; then
33040 cat >>confdefs.h
<<\_ACEOF
33041 #define wxUSE_VALIDATORS 1
33044 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
33047 if test "$wxUSE_PALETTE" = "yes" ; then
33048 cat >>confdefs.h
<<\_ACEOF
33049 #define wxUSE_PALETTE 1
33054 if test "$wxUSE_IMAGE" = "yes" ; then
33055 cat >>confdefs.h
<<\_ACEOF
33056 #define wxUSE_IMAGE 1
33061 if test "$wxUSE_GIF" = "yes" ; then
33062 cat >>confdefs.h
<<\_ACEOF
33063 #define wxUSE_GIF 1
33068 if test "$wxUSE_PCX" = "yes" ; then
33069 cat >>confdefs.h
<<\_ACEOF
33070 #define wxUSE_PCX 1
33075 if test "$wxUSE_IFF" = "yes" ; then
33076 cat >>confdefs.h
<<\_ACEOF
33077 #define wxUSE_IFF 1
33082 if test "$wxUSE_PNM" = "yes" ; then
33083 cat >>confdefs.h
<<\_ACEOF
33084 #define wxUSE_PNM 1
33089 if test "$wxUSE_XPM" = "yes" ; then
33090 cat >>confdefs.h
<<\_ACEOF
33091 #define wxUSE_XPM 1
33096 if test "$wxUSE_ICO_CUR" = "yes" ; then
33097 cat >>confdefs.h
<<\_ACEOF
33098 #define wxUSE_ICO_CUR 1
33103 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
33104 LIBS
=" -lunicows $LIBS"
33108 if test "$wxUSE_CHOICEDLG" = "yes"; then
33109 cat >>confdefs.h
<<\_ACEOF
33110 #define wxUSE_CHOICEDLG 1
33115 if test "$wxUSE_COLOURDLG" = "yes"; then
33116 cat >>confdefs.h
<<\_ACEOF
33117 #define wxUSE_COLOURDLG 1
33122 if test "$wxUSE_FILEDLG" = "yes"; then
33123 cat >>confdefs.h
<<\_ACEOF
33124 #define wxUSE_FILEDLG 1
33129 if test "$wxUSE_FINDREPLDLG" = "yes"; then
33130 cat >>confdefs.h
<<\_ACEOF
33131 #define wxUSE_FINDREPLDLG 1
33136 if test "$wxUSE_FONTDLG" = "yes"; then
33137 cat >>confdefs.h
<<\_ACEOF
33138 #define wxUSE_FONTDLG 1
33143 if test "$wxUSE_DIRDLG" = "yes"; then
33144 if test "$wxUSE_TREECTRL" != "yes"; then
33145 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
33146 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
33148 cat >>confdefs.h
<<\_ACEOF
33149 #define wxUSE_DIRDLG 1
33155 if test "$wxUSE_MSGDLG" = "yes"; then
33156 cat >>confdefs.h
<<\_ACEOF
33157 #define wxUSE_MSGDLG 1
33162 if test "$wxUSE_NUMBERDLG" = "yes"; then
33163 cat >>confdefs.h
<<\_ACEOF
33164 #define wxUSE_NUMBERDLG 1
33169 if test "$wxUSE_PROGRESSDLG" = "yes"; then
33170 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33171 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
33172 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
33174 cat >>confdefs.h
<<\_ACEOF
33175 #define wxUSE_PROGRESSDLG 1
33181 if test "$wxUSE_SPLASH" = "yes"; then
33182 cat >>confdefs.h
<<\_ACEOF
33183 #define wxUSE_SPLASH 1
33188 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
33189 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33190 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
33191 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
33193 cat >>confdefs.h
<<\_ACEOF
33194 #define wxUSE_STARTUP_TIPS 1
33200 if test "$wxUSE_TEXTDLG" = "yes"; then
33201 cat >>confdefs.h
<<\_ACEOF
33202 #define wxUSE_TEXTDLG 1
33207 if test "$wxUSE_WIZARDDLG" = "yes"; then
33208 cat >>confdefs.h
<<\_ACEOF
33209 #define wxUSE_WIZARDDLG 1
33212 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
33216 if test "$cross_compiling" = "yes"; then
33219 OSINFO
=`uname -s -r -m`
33220 OSINFO
="\"$OSINFO\""
33223 cat >>confdefs.h
<<_ACEOF
33224 #define WXWIN_OS_DESCRIPTION $OSINFO
33229 if test "x$prefix" != "xNONE"; then
33232 wxPREFIX
=$ac_default_prefix
33235 cat >>confdefs.h
<<_ACEOF
33236 #define wxINSTALL_PREFIX "$wxPREFIX"
33240 top_builddir_wxconfig
=`pwd`
33244 CORE_BASE_LIBS
="net base"
33245 CORE_GUI_LIBS
="adv core"
33247 if test "$wxUSE_XML" = "yes" ; then
33248 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
33250 if test "$wxUSE_ODBC" != "no" ; then
33251 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
33252 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
33254 if test "$wxUSE_HTML" = "yes" ; then
33255 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
33265 if test "$wxUSE_MAC" = 1 ; then
33266 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
33268 if test "$wxUSE_COCOA" = 1 ; then
33269 LDFLAGS
="$LDFLAGS -framework Cocoa -framework System"
33273 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
33280 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33281 echo "$as_me:$LINENO: checking for $ac_func" >&5
33282 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33283 if eval "test \"\${$as_ac_var+set}\" = set"; then
33284 echo $ECHO_N "(cached) $ECHO_C" >&6
33286 cat >conftest.
$ac_ext <<_ACEOF
33287 #line $LINENO "configure"
33290 cat confdefs.h
>>conftest.
$ac_ext
33291 cat >>conftest.
$ac_ext <<_ACEOF
33292 /* end confdefs.h. */
33293 /* System header to define __stub macros and hopefully few prototypes,
33294 which can conflict with char $ac_func (); below.
33295 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33296 <limits.h> exists even on freestanding compilers. */
33298 # include <limits.h>
33300 # include <assert.h>
33302 /* Override any gcc2 internal prototype to avoid an error. */
33307 /* We use char because int might match the return type of a gcc2
33308 builtin and then its argument prototype would still apply. */
33310 /* The GNU C library defines this for functions which it implements
33311 to always fail with ENOSYS. Some functions are actually named
33312 something starting with __ and the normal name is an alias. */
33313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33316 char (*f) () = $ac_func;
33325 return f != $ac_func;
33330 rm -f conftest.
$ac_objext conftest
$ac_exeext
33331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33332 (eval $ac_link) 2>&5
33334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33335 (exit $ac_status); } &&
33336 { ac_try
='test -s conftest$ac_exeext'
33337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33338 (eval $ac_try) 2>&5
33340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33341 (exit $ac_status); }; }; then
33342 eval "$as_ac_var=yes"
33344 echo "$as_me: failed program was:" >&5
33345 sed 's/^/| /' conftest.
$ac_ext >&5
33347 eval "$as_ac_var=no"
33349 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33352 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33353 if test `eval echo '${'$as_ac_var'}'` = yes; then
33354 cat >>confdefs.h
<<_ACEOF
33355 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33362 for ac_func
in floor
33364 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33365 echo "$as_me:$LINENO: checking for $ac_func" >&5
33366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33367 if eval "test \"\${$as_ac_var+set}\" = set"; then
33368 echo $ECHO_N "(cached) $ECHO_C" >&6
33370 cat >conftest.
$ac_ext <<_ACEOF
33371 #line $LINENO "configure"
33374 cat confdefs.h
>>conftest.
$ac_ext
33375 cat >>conftest.
$ac_ext <<_ACEOF
33376 /* end confdefs.h. */
33377 /* System header to define __stub macros and hopefully few prototypes,
33378 which can conflict with char $ac_func (); below.
33379 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33380 <limits.h> exists even on freestanding compilers. */
33382 # include <limits.h>
33384 # include <assert.h>
33386 /* Override any gcc2 internal prototype to avoid an error. */
33391 /* We use char because int might match the return type of a gcc2
33392 builtin and then its argument prototype would still apply. */
33394 /* The GNU C library defines this for functions which it implements
33395 to always fail with ENOSYS. Some functions are actually named
33396 something starting with __ and the normal name is an alias. */
33397 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33400 char (*f) () = $ac_func;
33409 return f != $ac_func;
33414 rm -f conftest.
$ac_objext conftest
$ac_exeext
33415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33416 (eval $ac_link) 2>&5
33418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33419 (exit $ac_status); } &&
33420 { ac_try
='test -s conftest$ac_exeext'
33421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33422 (eval $ac_try) 2>&5
33424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33425 (exit $ac_status); }; }; then
33426 eval "$as_ac_var=yes"
33428 echo "$as_me: failed program was:" >&5
33429 sed 's/^/| /' conftest.
$ac_ext >&5
33431 eval "$as_ac_var=no"
33433 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33436 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33437 if test `eval echo '${'$as_ac_var'}'` = yes; then
33438 cat >>confdefs.h
<<_ACEOF
33439 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33445 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
33446 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
33447 if test "$have_cos" = 1 -a "$have_floor" = 1; then
33448 echo "$as_me:$LINENO: result: yes" >&5
33449 echo "${ECHO_T}yes" >&6
33451 echo "$as_me:$LINENO: result: no" >&5
33452 echo "${ECHO_T}no" >&6
33454 # use different functions to avoid configure caching
33460 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33461 echo "$as_me:$LINENO: checking for $ac_func" >&5
33462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33463 if eval "test \"\${$as_ac_var+set}\" = set"; then
33464 echo $ECHO_N "(cached) $ECHO_C" >&6
33466 cat >conftest.
$ac_ext <<_ACEOF
33467 #line $LINENO "configure"
33470 cat confdefs.h
>>conftest.
$ac_ext
33471 cat >>conftest.
$ac_ext <<_ACEOF
33472 /* end confdefs.h. */
33473 /* System header to define __stub macros and hopefully few prototypes,
33474 which can conflict with char $ac_func (); below.
33475 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33476 <limits.h> exists even on freestanding compilers. */
33478 # include <limits.h>
33480 # include <assert.h>
33482 /* Override any gcc2 internal prototype to avoid an error. */
33487 /* We use char because int might match the return type of a gcc2
33488 builtin and then its argument prototype would still apply. */
33490 /* The GNU C library defines this for functions which it implements
33491 to always fail with ENOSYS. Some functions are actually named
33492 something starting with __ and the normal name is an alias. */
33493 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33496 char (*f) () = $ac_func;
33505 return f != $ac_func;
33510 rm -f conftest.
$ac_objext conftest
$ac_exeext
33511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33512 (eval $ac_link) 2>&5
33514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33515 (exit $ac_status); } &&
33516 { ac_try
='test -s conftest$ac_exeext'
33517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33518 (eval $ac_try) 2>&5
33520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33521 (exit $ac_status); }; }; then
33522 eval "$as_ac_var=yes"
33524 echo "$as_me: failed program was:" >&5
33525 sed 's/^/| /' conftest.
$ac_ext >&5
33527 eval "$as_ac_var=no"
33529 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33532 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33533 if test `eval echo '${'$as_ac_var'}'` = yes; then
33534 cat >>confdefs.h
<<_ACEOF
33535 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33542 for ac_func
in ceil
33544 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33545 echo "$as_me:$LINENO: checking for $ac_func" >&5
33546 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33547 if eval "test \"\${$as_ac_var+set}\" = set"; then
33548 echo $ECHO_N "(cached) $ECHO_C" >&6
33550 cat >conftest.
$ac_ext <<_ACEOF
33551 #line $LINENO "configure"
33554 cat confdefs.h
>>conftest.
$ac_ext
33555 cat >>conftest.
$ac_ext <<_ACEOF
33556 /* end confdefs.h. */
33557 /* System header to define __stub macros and hopefully few prototypes,
33558 which can conflict with char $ac_func (); below.
33559 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33560 <limits.h> exists even on freestanding compilers. */
33562 # include <limits.h>
33564 # include <assert.h>
33566 /* Override any gcc2 internal prototype to avoid an error. */
33571 /* We use char because int might match the return type of a gcc2
33572 builtin and then its argument prototype would still apply. */
33574 /* The GNU C library defines this for functions which it implements
33575 to always fail with ENOSYS. Some functions are actually named
33576 something starting with __ and the normal name is an alias. */
33577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33580 char (*f) () = $ac_func;
33589 return f != $ac_func;
33594 rm -f conftest.
$ac_objext conftest
$ac_exeext
33595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33596 (eval $ac_link) 2>&5
33598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33599 (exit $ac_status); } &&
33600 { ac_try
='test -s conftest$ac_exeext'
33601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33602 (eval $ac_try) 2>&5
33604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33605 (exit $ac_status); }; }; then
33606 eval "$as_ac_var=yes"
33608 echo "$as_me: failed program was:" >&5
33609 sed 's/^/| /' conftest.
$ac_ext >&5
33611 eval "$as_ac_var=no"
33613 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33616 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33617 if test `eval echo '${'$as_ac_var'}'` = yes; then
33618 cat >>confdefs.h
<<_ACEOF
33619 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33625 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
33626 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
33627 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
33628 echo "$as_me:$LINENO: result: yes" >&5
33629 echo "${ECHO_T}yes" >&6
33631 echo "$as_me:$LINENO: result: no" >&5
33632 echo "${ECHO_T}no" >&6
33633 # not sure we should warn the user, crash, etc.
33637 if test "$wxUSE_GUI" = "yes"; then
33640 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
33641 drawing dynamic erase event exec font image \
33642 minimal propsize rotate shaped widgets render"
33644 if test "$wxUSE_MONOLITHIC" != "yes"; then
33645 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
33648 SAMPLES_SUBDIRS
="console"
33652 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
33653 -I\${top_srcdir}/include \
33654 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
33657 if test "$GXX" = yes ; then
33658 CXXWARNINGS
="-Wall"
33661 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
33663 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
33664 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
33665 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
33668 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
33669 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
33670 EXTRALIBS_XML
="$EXPAT_LINK"
33671 EXTRALIBS_ODBC
="$ODBC_LINK"
33672 if test "$wxUSE_GUI" = "yes"; then
33673 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
33675 if test "$wxUSE_OPENGL" = "yes"; then
33676 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
33679 LDFLAGS
="$LDFLAGS $PROFILE"
33681 if test "$wxUSE_GTK" = 1; then
33684 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
33687 WXCONFIG_EXTRALIBS
="$LIBS"
33689 if test "$wxUSE_REGEX" = "builtin" ; then
33690 wxconfig_3rdparty
="$wxconfig_3rdparty regex"
33692 if test "$wxUSE_EXPAT" = "builtin" ; then
33693 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
33695 if test "$wxUSE_ODBC" = "builtin" ; then
33696 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
33698 if test "$wxUSE_LIBTIFF" = "builtin" ; then
33699 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
33701 if test "$wxUSE_LIBJPEG" = "builtin" ; then
33702 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
33704 if test "$wxUSE_LIBPNG" = "builtin" ; then
33705 wxconfig_3rdparty
="$wxconfig_3rdparty png"
33707 if test "$wxUSE_ZLIB" = "builtin" ; then
33708 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
33710 if test "$wxUSE_ODBC" = "builtin" ; then
33711 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
33714 for i
in $wxconfig_3rdparty ; do
33715 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
33719 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
33733 if test $wxUSE_MONOLITHIC = "yes" ; then
33739 if test $wxUSE_ODBC != "no" ; then
33745 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
33767 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr [A-Z] [a-z]`
33775 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
33777 if test -n "$ac_tool_prefix"; then
33778 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
33779 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
33780 echo "$as_me:$LINENO: checking for $ac_word" >&5
33781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33782 if test "${ac_cv_prog_RANLIB+set}" = set; then
33783 echo $ECHO_N "(cached) $ECHO_C" >&6
33785 if test -n "$RANLIB"; then
33786 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
33788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33789 for as_dir
in $PATH
33792 test -z "$as_dir" && as_dir
=.
33793 for ac_exec_ext
in '' $ac_executable_extensions; do
33794 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33795 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
33796 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33804 RANLIB
=$ac_cv_prog_RANLIB
33805 if test -n "$RANLIB"; then
33806 echo "$as_me:$LINENO: result: $RANLIB" >&5
33807 echo "${ECHO_T}$RANLIB" >&6
33809 echo "$as_me:$LINENO: result: no" >&5
33810 echo "${ECHO_T}no" >&6
33814 if test -z "$ac_cv_prog_RANLIB"; then
33815 ac_ct_RANLIB
=$RANLIB
33816 # Extract the first word of "ranlib", so it can be a program name with args.
33817 set dummy ranlib
; ac_word
=$2
33818 echo "$as_me:$LINENO: checking for $ac_word" >&5
33819 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33820 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
33821 echo $ECHO_N "(cached) $ECHO_C" >&6
33823 if test -n "$ac_ct_RANLIB"; then
33824 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
33826 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33827 for as_dir
in $PATH
33830 test -z "$as_dir" && as_dir
=.
33831 for ac_exec_ext
in '' $ac_executable_extensions; do
33832 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33833 ac_cv_prog_ac_ct_RANLIB
="ranlib"
33834 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33840 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
33843 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
33844 if test -n "$ac_ct_RANLIB"; then
33845 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
33846 echo "${ECHO_T}$ac_ct_RANLIB" >&6
33848 echo "$as_me:$LINENO: result: no" >&5
33849 echo "${ECHO_T}no" >&6
33852 RANLIB
=$ac_ct_RANLIB
33854 RANLIB
="$ac_cv_prog_RANLIB"
33857 # Find a good install program. We prefer a C program (faster),
33858 # so one script is as good as another. But avoid the broken or
33859 # incompatible versions:
33860 # SysV /etc/install, /usr/sbin/install
33861 # SunOS /usr/etc/install
33862 # IRIX /sbin/install
33864 # AmigaOS /C/install, which installs bootblocks on floppy discs
33865 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
33866 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
33867 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
33868 # ./install, which can be erroneously created by make from ./install.sh.
33869 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
33870 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
33871 if test -z "$INSTALL"; then
33872 if test "${ac_cv_path_install+set}" = set; then
33873 echo $ECHO_N "(cached) $ECHO_C" >&6
33875 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33876 for as_dir
in $PATH
33879 test -z "$as_dir" && as_dir
=.
33880 # Account for people who put trailing slashes in PATH elements.
33882 .
/ | .
// | /cC
/* | \
33883 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
33886 # OSF1 and SCO ODT 3.0 have their own names for install.
33887 # Don't use installbsd from OSF since it installs stuff as root
33889 for ac_prog
in ginstall scoinst
install; do
33890 for ac_exec_ext
in '' $ac_executable_extensions; do
33891 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
33892 if test $ac_prog = install &&
33893 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
33894 # AIX install. It has an incompatible calling convention.
33896 elif test $ac_prog = install &&
33897 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
33898 # program-specific install script used by HP pwplus--don't use.
33901 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
33913 if test "${ac_cv_path_install+set}" = set; then
33914 INSTALL
=$ac_cv_path_install
33916 # As a last resort, use the slow shell script. We don't cache a
33917 # path for INSTALL within a source directory, because that will
33918 # break other packages using the cache if that directory is
33919 # removed, or if the path is relative.
33920 INSTALL
=$ac_install_sh
33923 echo "$as_me:$LINENO: result: $INSTALL" >&5
33924 echo "${ECHO_T}$INSTALL" >&6
33926 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
33927 # It thinks the first close brace ends the variable substitution.
33928 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
33930 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
33932 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
33934 echo "$as_me:$LINENO: checking whether ln -s works" >&5
33935 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
33937 if test "$LN_S" = "ln -s"; then
33938 echo "$as_me:$LINENO: result: yes" >&5
33939 echo "${ECHO_T}yes" >&6
33941 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
33942 echo "${ECHO_T}no, using $LN_S" >&6
33946 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
33947 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
33948 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
33949 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
33950 echo $ECHO_N "(cached) $ECHO_C" >&6
33952 cat >conftest.
make <<\_ACEOF
33954 @
echo 'ac_maketemp="$(MAKE)"'
33956 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
33957 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
33958 if test -n "$ac_maketemp"; then
33959 eval ac_cv_prog_make_
${ac_make}_set
=yes
33961 eval ac_cv_prog_make_
${ac_make}_set
=no
33963 rm -f conftest.
make
33965 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
33966 echo "$as_me:$LINENO: result: yes" >&5
33967 echo "${ECHO_T}yes" >&6
33970 echo "$as_me:$LINENO: result: no" >&5
33971 echo "${ECHO_T}no" >&6
33972 SET_MAKE
="MAKE=${MAKE-make}"
33977 if test "$build" != "$host" ; then
33979 STRIP
=$host_alias-strip
33981 # Extract the first word of "ar", so it can be a program name with args.
33982 set dummy
ar; ac_word
=$2
33983 echo "$as_me:$LINENO: checking for $ac_word" >&5
33984 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33985 if test "${ac_cv_prog_AR+set}" = set; then
33986 echo $ECHO_N "(cached) $ECHO_C" >&6
33988 if test -n "$AR"; then
33989 ac_cv_prog_AR
="$AR" # Let the user override the test.
33991 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33992 for as_dir
in $PATH
33995 test -z "$as_dir" && as_dir
=.
33996 for ac_exec_ext
in '' $ac_executable_extensions; do
33997 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34005 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
34009 if test -n "$AR"; then
34010 echo "$as_me:$LINENO: result: $AR" >&5
34011 echo "${ECHO_T}$AR" >&6
34013 echo "$as_me:$LINENO: result: no" >&5
34014 echo "${ECHO_T}no" >&6
34017 # Extract the first word of "strip", so it can be a program name with args.
34018 set dummy strip
; ac_word
=$2
34019 echo "$as_me:$LINENO: checking for $ac_word" >&5
34020 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34021 if test "${ac_cv_prog_STRIP+set}" = set; then
34022 echo $ECHO_N "(cached) $ECHO_C" >&6
34024 if test -n "$STRIP"; then
34025 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
34027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34028 for as_dir
in $PATH
34031 test -z "$as_dir" && as_dir
=.
34032 for ac_exec_ext
in '' $ac_executable_extensions; do
34033 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34034 ac_cv_prog_STRIP
="strip"
34035 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34041 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
34044 STRIP
=$ac_cv_prog_STRIP
34045 if test -n "$STRIP"; then
34046 echo "$as_me:$LINENO: result: $STRIP" >&5
34047 echo "${ECHO_T}$STRIP" >&6
34049 echo "$as_me:$LINENO: result: no" >&5
34050 echo "${ECHO_T}no" >&6
34057 INSTALL_DIR
="mkdir"
34059 *) INSTALL_DIR
="$INSTALL -d"
34066 *-*-cygwin* | *-*-mingw32* )
34067 LDFLAGS_GUI
="-Wl,--subsystem,windows -mwindows"
34073 echo "$as_me:$LINENO: checking if make is GNU make" >&5
34074 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
34075 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
34076 echo $ECHO_N "(cached) $ECHO_C" >&6
34079 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
34080 egrep -s GNU
> /dev
/null
); then
34081 bakefile_cv_prog_makeisgnu
="yes"
34083 bakefile_cv_prog_makeisgnu
="no"
34087 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
34088 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
34090 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
34106 *-*-cygwin* | *-*-mingw32* )
34112 *-pc-os2_emx | *-pc-os2-emx )
34115 powerpc
-*-darwin* )
34133 SO_SUFFIX_MODULE
="so"
34142 SO_SUFFIX_MODULE
="sl"
34146 SO_SUFFIX_MODULE
="a"
34148 *-*-cygwin* | *-*-mingw32* )
34150 SO_SUFFIX_MODULE
="dll"
34158 *-pc-os2_emx | *-pc-os2-emx )
34163 powerpc
-*-darwin* )
34165 SO_SUFFIX_MODULE
="bundle"
34177 SHARED_LD_CC
="\$(CC) -shared -o"
34178 SHARED_LD_CXX
="\$(CXX) -shared -o"
34180 if test "x$GCC" = "xyes"; then
34186 if test "x$GCC" = "xyes"; then
34187 SHARED_LD_CC
="${CC} -shared ${PIC_FLAG} -o"
34188 SHARED_LD_CXX
="${CXX} -shared ${PIC_FLAG} -o"
34190 LDFLAGS
="$LDFLAGS -L/usr/lib"
34192 SHARED_LD_CC
="${CC} -b -o"
34193 SHARED_LD_CXX
="${CXX} -b -o"
34199 if test "x$GCC" != "xyes"; then
34200 echo "$as_me:$LINENO: checking for Intel compiler" >&5
34201 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
34202 if test "${bakefile_cv_prog_icc+set}" = set; then
34203 echo $ECHO_N "(cached) $ECHO_C" >&6
34206 cat >conftest.
$ac_ext <<_ACEOF
34207 #line $LINENO "configure"
34210 cat confdefs.h
>>conftest.
$ac_ext
34211 cat >>conftest.
$ac_ext <<_ACEOF
34212 /* end confdefs.h. */
34218 #ifndef __INTEL_COMPILER
34226 rm -f conftest.
$ac_objext
34227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34228 (eval $ac_compile) 2>&5
34230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34231 (exit $ac_status); } &&
34232 { ac_try
='test -s conftest.$ac_objext'
34233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34234 (eval $ac_try) 2>&5
34236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34237 (exit $ac_status); }; }; then
34238 bakefile_cv_prog_icc
=yes
34240 echo "$as_me: failed program was:" >&5
34241 sed 's/^/| /' conftest.
$ac_ext >&5
34243 bakefile_cv_prog_icc
=no
34246 rm -f conftest.
$ac_objext conftest.
$ac_ext
34249 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
34250 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
34251 if test "$bakefile_cv_prog_icc" = "yes"; then
34258 if test "x$GCC" != xyes
; then
34259 SHARED_LD_CC
="${CC} -G -o"
34260 SHARED_LD_CXX
="${CXX} -G -o"
34266 CFLAGS
="$CFLAGS -fno-common"
34267 CXXFLAGS
="$CXXFLAGS -fno-common"
34270 cat <<EOF >shared-ld-sh
34272 #-----------------------------------------------------------------------------
34273 #-- Name: distrib/mac/shared-ld-sh
34274 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
34275 #-- Author: Gilles Depeyrot
34276 #-- Copyright: (c) 2002 Gilles Depeyrot
34277 #-- Licence: any use permitted
34278 #-----------------------------------------------------------------------------
34283 linking_flag="-dynamiclib"
34285 while test \${#} -gt 0; do
34292 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
34293 # collect these options and values
34294 args="\${args} \${1} \${2}"
34298 -l*|-L*|-flat_namespace)
34299 # collect these options
34300 args="\${args} \${1}"
34303 -dynamiclib|-bundle)
34304 linking_flag="\${1}"
34308 echo "shared-ld: unhandled option '\${1}'"
34312 *.o | *.a | *.dylib)
34313 # collect object files
34314 objects="\${objects} \${1}"
34318 echo "shared-ld: unhandled argument '\${1}'"
34327 # Link one module containing all the others
34329 if test \${verbose} = 1; then
34330 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
34332 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
34334 if test \${status} != 0; then
34339 # Link the shared library from the single module created
34341 if test \${verbose} = 1; then
34342 echo "cc \${linking_flag} master.\$\$.o \${args}"
34344 c++ \${linking_flag} master.\$\$.o \${args}
34346 if test \${status} != 0; then
34351 # Remove intermediate module
34353 rm -f master.\$\$.o
34357 chmod +x shared
-ld-sh
34359 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -undefined suppress -flat_namespace -o"
34360 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -undefined suppress -flat_namespace -o"
34361 SHARED_LD_CXX
="$SHARED_LD_CC"
34362 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
34363 PIC_FLAG
="-dynamic -fPIC"
34367 if test "x$GCC" != "xyes"; then
34368 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
34369 set dummy makeC
++SharedLib
; ac_word
=$2
34370 echo "$as_me:$LINENO: checking for $ac_word" >&5
34371 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34372 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
34373 echo $ECHO_N "(cached) $ECHO_C" >&6
34375 if test -n "$AIX_CXX_LD"; then
34376 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
34378 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34379 for as_dir
in $PATH
34382 test -z "$as_dir" && as_dir
=.
34383 for ac_exec_ext
in '' $ac_executable_extensions; do
34384 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34385 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
34386 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34392 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
34395 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
34396 if test -n "$AIX_CXX_LD"; then
34397 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
34398 echo "${ECHO_T}$AIX_CXX_LD" >&6
34400 echo "$as_me:$LINENO: result: no" >&5
34401 echo "${ECHO_T}no" >&6
34404 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
34405 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
34410 SHARED_LD_CC
="${LD} -shared -o"
34411 SHARED_LD_CXX
="${LD} -shared -o"
34415 if test "x$GCC" != "xyes"; then
34420 *-*-cygwin* | *-*-mingw32* )
34424 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
34428 *-pc-os2_emx | *-pc-os2-emx | \
34433 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
34434 echo "$as_me: error: unknown system type $host." >&2;}
34435 { (exit 1); exit 1; }; }
34438 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
34439 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
34441 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
34442 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
34461 SONAME_FLAG
="-Wl,-soname,"
34489 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
34490 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
34493 if test "x$GCC" = "xyes"; then
34497 powerpc
-*-darwin* )
34498 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
34501 DEPSFLAG_GCC
="-MMD"
34504 echo "$as_me:$LINENO: result: gcc" >&5
34505 echo "${ECHO_T}gcc" >&6
34507 echo "$as_me:$LINENO: result: none" >&5
34508 echo "${ECHO_T}none" >&6
34511 if test $DEPS_TRACKING = 1 ; then
34515 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
34516 # script. It is used to track C/C++ files dependencies in portable way.
34518 # Permission is given to use this file in any way.
34522 DEPSFLAG_GCC="$DEPSFLAG_GCC"
34526 if test \$DEPSMODE = gcc ; then
34527 \${*} \${DEPSFLAG_GCC}
34529 if test \${status} != 0 ; then
34532 # move created file to the location we want it in:
34533 while test \${#} -gt 0; do
34547 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
34548 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
34549 if test -f \$depfile ; then
34550 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34553 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
34554 if test -f \$depfile ; then
34555 sed -e "/^\$objfile/! s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34575 *-*-cygwin* | *-*-mingw32* )
34576 if test "$build" != "$host" ; then
34577 RESCOMP
=$host_alias-windres
34579 # Extract the first word of "windres", so it can be a program name with args.
34580 set dummy windres
; ac_word
=$2
34581 echo "$as_me:$LINENO: checking for $ac_word" >&5
34582 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34583 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34584 echo $ECHO_N "(cached) $ECHO_C" >&6
34586 if test -n "$RESCOMP"; then
34587 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
34589 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34590 for as_dir
in $PATH
34593 test -z "$as_dir" && as_dir
=.
34594 for ac_exec_ext
in '' $ac_executable_extensions; do
34595 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34596 ac_cv_prog_RESCOMP
="windres"
34597 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34603 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
34606 RESCOMP
=$ac_cv_prog_RESCOMP
34607 if test -n "$RESCOMP"; then
34608 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34609 echo "${ECHO_T}$RESCOMP" >&6
34611 echo "$as_me:$LINENO: result: no" >&5
34612 echo "${ECHO_T}no" >&6
34619 # Extract the first word of "Rez", so it can be a program name with args.
34620 set dummy Rez
; ac_word
=$2
34621 echo "$as_me:$LINENO: checking for $ac_word" >&5
34622 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34623 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34624 echo $ECHO_N "(cached) $ECHO_C" >&6
34626 if test -n "$RESCOMP"; then
34627 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
34629 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34630 for as_dir
in $PATH
34633 test -z "$as_dir" && as_dir
=.
34634 for ac_exec_ext
in '' $ac_executable_extensions; do
34635 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34636 ac_cv_prog_RESCOMP
="Rez"
34637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34643 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
34646 RESCOMP
=$ac_cv_prog_RESCOMP
34647 if test -n "$RESCOMP"; then
34648 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34649 echo "${ECHO_T}$RESCOMP" >&6
34651 echo "$as_me:$LINENO: result: no" >&5
34652 echo "${ECHO_T}no" >&6
34655 # Extract the first word of "SetFile", so it can be a program name with args.
34656 set dummy SetFile
; ac_word
=$2
34657 echo "$as_me:$LINENO: checking for $ac_word" >&5
34658 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34659 if test "${ac_cv_prog_SETFILE+set}" = set; then
34660 echo $ECHO_N "(cached) $ECHO_C" >&6
34662 if test -n "$SETFILE"; then
34663 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
34665 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34666 for as_dir
in $PATH
34669 test -z "$as_dir" && as_dir
=.
34670 for ac_exec_ext
in '' $ac_executable_extensions; do
34671 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34672 ac_cv_prog_SETFILE
="SetFile"
34673 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34679 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
34682 SETFILE
=$ac_cv_prog_SETFILE
34683 if test -n "$SETFILE"; then
34684 echo "$as_me:$LINENO: result: $SETFILE" >&5
34685 echo "${ECHO_T}$SETFILE" >&6
34687 echo "$as_me:$LINENO: result: no" >&5
34688 echo "${ECHO_T}no" >&6
34703 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
34704 if test "${enable_precomp_headers+set}" = set; then
34705 enableval
="$enable_precomp_headers"
34706 bk_use_pch
="$enableval"
34711 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
34712 if test "x$GCC" = "xyes"; then
34713 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
34714 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
34715 cat >conftest.
$ac_ext <<_ACEOF
34716 #line $LINENO "configure"
34719 cat confdefs.h
>>conftest.
$ac_ext
34720 cat >>conftest.
$ac_ext <<_ACEOF
34721 /* end confdefs.h. */
34727 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
34728 #error "no pch support"
34731 #error "no pch support"
34733 #if (__GNUC__ == 3) && \
34734 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
34735 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
34736 #error "no pch support"
34743 rm -f conftest.
$ac_objext
34744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34745 (eval $ac_compile) 2>&5
34747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34748 (exit $ac_status); } &&
34749 { ac_try
='test -s conftest.$ac_objext'
34750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34751 (eval $ac_try) 2>&5
34753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34754 (exit $ac_status); }; }; then
34756 echo "$as_me:$LINENO: result: yes" >&5
34757 echo "${ECHO_T}yes" >&6
34758 CPPFLAGS
="-fpch-deps $CPPFLAGS"
34762 echo "$as_me: failed program was:" >&5
34763 sed 's/^/| /' conftest.
$ac_ext >&5
34766 echo "$as_me:$LINENO: result: no" >&5
34767 echo "${ECHO_T}no" >&6
34770 rm -f conftest.
$ac_objext conftest.
$ac_ext
34771 if test $GCC_PCH = 1 ; then
34772 cat <<EOF >bk-make-pch
34775 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
34776 # script. It is used to generated precompiled headers.
34778 # Permission is given to use this file in any way.
34787 while test \${#} -gt 0; do
34790 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
34791 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
34792 headerfile="\${incdir}/\${header}"
34796 compiler="\${compiler} \${1}"
34800 if test "x\${headerfile}" = "x" ; then
34801 echo "error: can't find header \${header} in include paths" >2
34803 if test -f \${outfile} ; then
34806 mkdir -p \`dirname \${outfile}\`
34808 depsfile=".deps/\`basename \${outfile}\`.d"
34810 # can do this because gcc is >= 3.4:
34811 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
34815 chmod +x bk
-make-pch
34824 COND_BUILD_DEBUG
="#"
34825 if test "x$BUILD" = "xdebug" ; then
34826 COND_BUILD_DEBUG
=""
34829 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
34830 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
34831 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
34834 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
34835 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
34836 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
34839 COND_BUILD_RELEASE
="#"
34840 if test "x$BUILD" = "xrelease" ; then
34841 COND_BUILD_RELEASE
=""
34844 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
34845 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
34846 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
34849 COND_DEBUG_FLAG_1
="#"
34850 if test "x$DEBUG_FLAG" = "x1" ; then
34851 COND_DEBUG_FLAG_1
=""
34854 COND_DEBUG_INFO_0
="#"
34855 if test "x$DEBUG_INFO" = "x0" ; then
34856 COND_DEBUG_INFO_0
=""
34859 COND_DEBUG_INFO_1
="#"
34860 if test "x$DEBUG_INFO" = "x1" ; then
34861 COND_DEBUG_INFO_1
=""
34864 COND_DEPS_TRACKING_0
="#"
34865 if test "x$DEPS_TRACKING" = "x0" ; then
34866 COND_DEPS_TRACKING_0
=""
34869 COND_DEPS_TRACKING_1
="#"
34870 if test "x$DEPS_TRACKING" = "x1" ; then
34871 COND_DEPS_TRACKING_1
=""
34875 if test "x$GCC_PCH" = "x1" ; then
34879 COND_MONOLITHIC_0
="#"
34880 if test "x$MONOLITHIC" = "x0" ; then
34881 COND_MONOLITHIC_0
=""
34884 COND_MONOLITHIC_0_SHARED_0
="#"
34885 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
34886 COND_MONOLITHIC_0_SHARED_0
=""
34889 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
34890 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
34891 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
34894 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
34895 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
34896 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
34899 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
34900 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
34901 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
34904 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
34905 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
34906 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
34909 COND_MONOLITHIC_0_SHARED_1
="#"
34910 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
34911 COND_MONOLITHIC_0_SHARED_1
=""
34914 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
34915 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
34916 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
34919 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
34920 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
34921 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
34924 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
34925 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
34926 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
34929 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
34930 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
34931 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
34934 COND_MONOLITHIC_1
="#"
34935 if test "x$MONOLITHIC" = "x1" ; then
34936 COND_MONOLITHIC_1
=""
34939 COND_MONOLITHIC_1_SHARED_0
="#"
34940 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
34941 COND_MONOLITHIC_1_SHARED_0
=""
34944 COND_MONOLITHIC_1_SHARED_1
="#"
34945 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
34946 COND_MONOLITHIC_1_SHARED_1
=""
34949 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
34950 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
34951 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
34954 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
34955 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
34956 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
34959 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
34960 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
34961 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
34964 COND_PLATFORM_MACOSX_1
="#"
34965 if test "x$PLATFORM_MACOSX" = "x1" ; then
34966 COND_PLATFORM_MACOSX_1
=""
34969 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
34970 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
34971 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
34974 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
34975 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
34976 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
34979 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
34980 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
34981 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
34984 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
34985 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
34986 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
34989 COND_PLATFORM_MAC_1
="#"
34990 if test "x$PLATFORM_MAC" = "x1" ; then
34991 COND_PLATFORM_MAC_1
=""
34994 COND_PLATFORM_OS2_1
="#"
34995 if test "x$PLATFORM_OS2" = "x1" ; then
34996 COND_PLATFORM_OS2_1
=""
34999 COND_PLATFORM_UNIX_0
="#"
35000 if test "x$PLATFORM_UNIX" = "x0" ; then
35001 COND_PLATFORM_UNIX_0
=""
35004 COND_PLATFORM_UNIX_1
="#"
35005 if test "x$PLATFORM_UNIX" = "x1" ; then
35006 COND_PLATFORM_UNIX_1
=""
35009 COND_PLATFORM_WIN32_0
="#"
35010 if test "x$PLATFORM_WIN32" = "x0" ; then
35011 COND_PLATFORM_WIN32_0
=""
35014 COND_PLATFORM_WIN32_1
="#"
35015 if test "x$PLATFORM_WIN32" = "x1" ; then
35016 COND_PLATFORM_WIN32_1
=""
35020 if test "x$SHARED" = "x0" ; then
35024 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
35025 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
35026 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
35029 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
35030 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35031 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
35034 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
35035 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35036 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
35039 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
35040 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35041 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
35044 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
35045 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
35046 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
35049 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
35050 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
35051 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
35054 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
35055 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
35056 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
35059 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
35060 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
35061 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
35065 if test "x$SHARED" = "x1" ; then
35069 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
35070 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
35071 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
35074 COND_TOOLKIT_COCOA
="#"
35075 if test "x$TOOLKIT" = "xCOCOA" ; then
35076 COND_TOOLKIT_COCOA
=""
35079 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
35080 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35081 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
35084 COND_TOOLKIT_GTK
="#"
35085 if test "x$TOOLKIT" = "xGTK" ; then
35086 COND_TOOLKIT_GTK
=""
35089 COND_TOOLKIT_GTK_USE_GUI_1
="#"
35090 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
35091 COND_TOOLKIT_GTK_USE_GUI_1
=""
35094 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
35095 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35096 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
35099 COND_TOOLKIT_MAC
="#"
35100 if test "x$TOOLKIT" = "xMAC" ; then
35101 COND_TOOLKIT_MAC
=""
35104 COND_TOOLKIT_MAC_USE_GUI_1
="#"
35105 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
35106 COND_TOOLKIT_MAC_USE_GUI_1
=""
35109 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
35110 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35111 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
35114 COND_TOOLKIT_MGL
="#"
35115 if test "x$TOOLKIT" = "xMGL" ; then
35116 COND_TOOLKIT_MGL
=""
35119 COND_TOOLKIT_MGL_USE_GUI_1
="#"
35120 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
35121 COND_TOOLKIT_MGL_USE_GUI_1
=""
35124 COND_TOOLKIT_MOTIF
="#"
35125 if test "x$TOOLKIT" = "xMOTIF" ; then
35126 COND_TOOLKIT_MOTIF
=""
35129 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
35130 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
35131 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
35134 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
35135 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35136 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
35139 COND_TOOLKIT_MSW
="#"
35140 if test "x$TOOLKIT" = "xMSW" ; then
35141 COND_TOOLKIT_MSW
=""
35144 COND_TOOLKIT_MSW_USE_GUI_1
="#"
35145 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
35146 COND_TOOLKIT_MSW_USE_GUI_1
=""
35149 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
35150 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35151 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
35154 COND_TOOLKIT_OS2
="#"
35155 if test "x$TOOLKIT" = "xOS2" ; then
35156 COND_TOOLKIT_OS2
=""
35159 COND_TOOLKIT_OS2_USE_GUI_1
="#"
35160 if test "x$TOOLKIT" = "xOS2" -a "x$USE_GUI" = "x1" ; then
35161 COND_TOOLKIT_OS2_USE_GUI_1
=""
35164 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0
="#"
35165 if test "x$TOOLKIT" = "xOS2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35166 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0
=""
35169 COND_TOOLKIT_PM
="#"
35170 if test "x$TOOLKIT" = "xPM" ; then
35174 COND_TOOLKIT_PM_USE_GUI_1
="#"
35175 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
35176 COND_TOOLKIT_PM_USE_GUI_1
=""
35179 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
35180 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35181 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
35184 COND_TOOLKIT_X11
="#"
35185 if test "x$TOOLKIT" = "xX11" ; then
35186 COND_TOOLKIT_X11
=""
35189 COND_TOOLKIT_X11_USE_GUI_1
="#"
35190 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
35191 COND_TOOLKIT_X11_USE_GUI_1
=""
35195 if test "x$UNICODE" = "x1" ; then
35200 if test "x$USE_GUI" = "x0" ; then
35205 if test "x$USE_GUI" = "x1" ; then
35209 COND_USE_GUI_1_WXUNIV_0
="#"
35210 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35211 COND_USE_GUI_1_WXUNIV_0
=""
35214 COND_USE_GUI_1_WXUNIV_1
="#"
35215 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
35216 COND_USE_GUI_1_WXUNIV_1
=""
35219 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
35220 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35221 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
35224 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
35225 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35226 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
35229 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
35230 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35231 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
35234 COND_USE_SOSYMLINKS_1
="#"
35235 if test "x$USE_SOSYMLINKS" = "x1" ; then
35236 COND_USE_SOSYMLINKS_1
=""
35239 COND_USE_SOVERLINUX_1
="#"
35240 if test "x$USE_SOVERLINUX" = "x1" ; then
35241 COND_USE_SOVERLINUX_1
=""
35244 COND_USE_SOVERSION_0
="#"
35245 if test "x$USE_SOVERSION" = "x0" ; then
35246 COND_USE_SOVERSION_0
=""
35249 COND_USE_SOVERSOLARIS_1
="#"
35250 if test "x$USE_SOVERSOLARIS" = "x1" ; then
35251 COND_USE_SOVERSOLARIS_1
=""
35255 if test "x$WXUNIV" = "x1" ; then
35259 COND_WXUSE_EXPAT_BUILTIN
="#"
35260 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
35261 COND_WXUSE_EXPAT_BUILTIN
=""
35264 COND_WXUSE_LIBJPEG_BUILTIN
="#"
35265 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35266 COND_WXUSE_LIBJPEG_BUILTIN
=""
35269 COND_WXUSE_LIBPNG_BUILTIN
="#"
35270 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35271 COND_WXUSE_LIBPNG_BUILTIN
=""
35274 COND_WXUSE_LIBTIFF_BUILTIN
="#"
35275 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35276 COND_WXUSE_LIBTIFF_BUILTIN
=""
35279 COND_WXUSE_ODBC_BUILTIN
="#"
35280 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
35281 COND_WXUSE_ODBC_BUILTIN
=""
35284 COND_WXUSE_REGEX_BUILTIN
="#"
35285 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
35286 COND_WXUSE_REGEX_BUILTIN
=""
35289 COND_WXUSE_ZLIB_BUILTIN
="#"
35290 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
35291 COND_WXUSE_ZLIB_BUILTIN
=""
35298 if test $GCC_PCH = 1 ; then
35299 CPPFLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
35302 powerpc
-*-darwin* )
35303 CPPFLAGS
="-DNO_GCC_PRAGMA $CPPFLAGS"
35308 powerpc
-*-darwin* )
35309 CODE_GEN_FLAGS_CXX
="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS_CXX"
35314 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
35415 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
35416 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
35417 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
35418 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
35419 echo $ECHO_N "(cached) $ECHO_C" >&6
35421 cat >conftest.
make <<\_ACEOF
35423 @
echo 'ac_maketemp="$(MAKE)"'
35425 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
35426 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
35427 if test -n "$ac_maketemp"; then
35428 eval ac_cv_prog_make_
${ac_make}_set
=yes
35430 eval ac_cv_prog_make_
${ac_make}_set
=no
35432 rm -f conftest.
make
35434 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
35435 echo "$as_me:$LINENO: result: yes" >&5
35436 echo "${ECHO_T}yes" >&6
35439 echo "$as_me:$LINENO: result: no" >&5
35440 echo "${ECHO_T}no" >&6
35441 SET_MAKE
="MAKE=${MAKE-make}"
35445 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
35446 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
35449 ac_config_headers
="$ac_config_headers setup.h"
35452 ac_config_files
="$ac_config_files wx-config version-script Makefile"
35455 ac_config_commands
="$ac_config_commands default"
35459 if test "$wxUSE_GUI" = "yes"; then
35460 SUBDIRS
="samples demos utils contrib"
35461 else SUBDIRS
="samples utils"
35464 for subdir
in `echo $SUBDIRS`; do
35465 if test -d ${srcdir}/${subdir} ; then
35466 if test "$wxUSE_GUI" = "yes"; then
35467 if test ${subdir} = "samples"; then
35468 makefiles
="samples/Makefile.in $makefiles"
35469 for sample
in `echo $SAMPLES_SUBDIRS`; do
35470 if test -d $srcdir/samples
/$sample; then
35471 makefiles
="samples/$sample/Makefile.in $makefiles"
35474 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
35476 else if test ${subdir} = "samples"; then
35477 makefiles
="samples/Makefile.in samples/console/Makefile.in"
35478 else makefiles
="utils/HelpGen/Makefile.in \
35479 utils/HelpGen/src/Makefile.in \
35480 utils/makegen/Makefile.in"
35484 for mkin
in $makefiles ; do
35485 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
35486 ac_config_files
="$ac_config_files $mk"
35493 cat >confcache
<<\_ACEOF
35494 # This file is a shell script that caches the results of configure
35495 # tests run on this system so they can be shared between configure
35496 # scripts and configure runs, see configure's option --config-cache.
35497 # It is not useful on other systems. If it contains results you don't
35498 # want to keep, you may remove or edit it.
35500 # config.status only pays attention to the cache file if you give it
35501 # the --recheck option to rerun configure.
35503 # `ac_cv_env_foo' variables (set or unset) will be overridden when
35504 # loading this file, other *unset* `ac_cv_foo' will be assigned the
35505 # following values.
35509 # The following way of writing the cache mishandles newlines in values,
35510 # but we know of no workaround that is simple, portable, and efficient.
35511 # So, don't put newlines in cache variables' values.
35512 # Ultrix sh set writes to stderr and can't be redirected directly,
35513 # and sets the high bit in the cache file unless we assign to the vars.
35516 case `(ac_space=' '; set | grep ac_space) 2>&1` in
35518 # `set' does not quote correctly, so add quotes (double-quote
35519 # substitution turns \\\\ into \\, and sed turns \\ into \).
35522 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
35525 # `set' quotes correctly as required by POSIX, so do not add quotes.
35527 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
35534 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
35536 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
35538 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
35539 if test -w $cache_file; then
35540 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
35541 cat confcache
>$cache_file
35543 echo "not updating unwritable cache $cache_file"
35548 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
35549 # Let make expand exec_prefix.
35550 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
35552 # VPATH may cause trouble with some makes, so we remove $(srcdir),
35553 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
35554 # trailing colons and then remove the whole line if VPATH becomes empty
35555 # (actually we leave an empty line to preserve line numbers).
35556 if test "x$srcdir" = x.
; then
35557 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
35558 s/:*\$(srcdir):*/:/;
35559 s/:*\${srcdir}:*/:/;
35561 s/^\([^=]*=[ ]*\):*/\1/;
35567 DEFS
=-DHAVE_CONFIG_H
35571 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
35572 # 1. Remove the extension, and $U if already installed.
35573 ac_i
=`echo "$ac_i" |
35574 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
35576 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
35577 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
35579 LIBOBJS
=$ac_libobjs
35581 LTLIBOBJS
=$ac_ltlibobjs
35585 : ${CONFIG_STATUS=./config.status}
35586 ac_clean_files_save
=$ac_clean_files
35587 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
35588 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
35589 echo "$as_me: creating $CONFIG_STATUS" >&6;}
35590 cat >$CONFIG_STATUS <<_ACEOF
35592 # Generated by $as_me.
35593 # Run this file to recreate the current configuration.
35594 # Compiler output produced by configure, useful for debugging
35595 # configure, is in config.log if it exists.
35598 ac_cs_recheck=false
35600 SHELL=\${CONFIG_SHELL-$SHELL}
35603 cat >>$CONFIG_STATUS <<\_ACEOF
35604 ## --------------------- ##
35605 ## M4sh Initialization. ##
35606 ## --------------------- ##
35608 # Be Bourne compatible
35609 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
35612 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
35613 # is contrary to our usage. Disable this feature.
35614 alias -g '${1+"$@"}'='"$@"'
35615 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
35619 # Support unset when possible.
35620 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
35627 # Work around bugs in pre-3.0 UWIN ksh.
35628 $as_unset ENV MAIL MAILPATH
35635 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
35636 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
35637 LC_TELEPHONE LC_TIME
35639 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
35640 eval $as_var=C
; export $as_var
35646 # Required to use basename.
35647 if expr a
: '\(a\)' >/dev
/null
2>&1; then
35653 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
35654 as_basename
=basename
35660 # Name of the executable.
35661 as_me
=`$as_basename "$0" ||
35662 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
35663 X"$0" : 'X\(//\)$' \| \
35664 X"$0" : 'X\(/\)$' \| \
35665 . : '\(.\)' 2>/dev/null ||
35667 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
35668 /^X\/\(\/\/\)$/{ s//\1/; q; }
35669 /^X\/\(\/\).*/{ s//\1/; q; }
35673 # PATH needs CR, and LINENO needs CR and PATH.
35674 # Avoid depending upon Character Ranges.
35675 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
35676 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
35677 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
35678 as_cr_digits
='0123456789'
35679 as_cr_alnum
=$as_cr_Letters$as_cr_digits
35681 # The user is always right.
35682 if test "${PATH_SEPARATOR+set}" != set; then
35683 echo "#! /bin/sh" >conf$$.sh
35684 echo "exit 0" >>conf$$.sh
35686 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
35695 as_lineno_1
=$LINENO
35696 as_lineno_2
=$LINENO
35697 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
35698 test "x$as_lineno_1" != "x$as_lineno_2" &&
35699 test "x$as_lineno_3" = "x$as_lineno_2" || {
35700 # Find who we are. Look in the path if we contain no path at all
35703 *[\\/]* ) as_myself
=$0 ;;
35704 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35705 for as_dir
in $PATH
35708 test -z "$as_dir" && as_dir
=.
35709 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
35714 # We did not find ourselves, most probably we were run as `sh COMMAND'
35715 # in which case we are not to be found in the path.
35716 if test "x$as_myself" = x
; then
35719 if test ! -f "$as_myself"; then
35720 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
35721 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
35722 { (exit 1); exit 1; }; }
35724 case $CONFIG_SHELL in
35726 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35727 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
35730 test -z "$as_dir" && as_dir
=.
35731 for as_base
in sh bash ksh sh5
; do
35734 if ("$as_dir/$as_base" -c '
35735 as_lineno_1=$LINENO
35736 as_lineno_2=$LINENO
35737 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
35738 test "x$as_lineno_1" != "x$as_lineno_2" &&
35739 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
35740 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
35741 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
35742 CONFIG_SHELL
=$as_dir/$as_base
35743 export CONFIG_SHELL
35744 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
35752 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
35753 # uniformly replaced by the line number. The first 'sed' inserts a
35754 # line-number line before each line; the second 'sed' does the real
35755 # work. The second script uses 'N' to pair each line-number line
35756 # with the numbered line, and appends trailing '-' during
35757 # substitution so that $LINENO is not a special case at line end.
35758 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
35759 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
35760 sed '=' <$as_myself |
35765 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
35768 s,^['$as_cr_digits']*\n,,
35769 ' >$as_me.lineno
&&
35770 chmod +x
$as_me.lineno
||
35771 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
35772 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
35773 { (exit 1); exit 1; }; }
35775 # Don't try to exec as it changes $[0], causing all sort of problems
35776 # (the dirname of $[0] is not the place where we might find the
35777 # original and so on. Autoconf is especially sensible to this).
35779 # Exit status is that of the last command.
35784 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
35785 *c
*,-n*) ECHO_N
= ECHO_C
='
35787 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
35788 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
35791 if expr a
: '\(a\)' >/dev
/null
2>&1; then
35797 rm -f conf$$ conf$$.exe conf$$.
file
35799 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
35800 # We could just check for DJGPP; but this test a) works b) is more generic
35801 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
35802 if test -f conf$$.exe
; then
35803 # Don't use ln at all; we don't have any links
35808 elif ln conf$$.
file conf$$
2>/dev
/null
; then
35813 rm -f conf$$ conf$$.exe conf$$.
file
35815 if mkdir -p .
2>/dev
/null
; then
35821 as_executable_p
="test -f"
35823 # Sed expression to map a string onto a valid CPP name.
35824 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
35826 # Sed expression to map a string onto a valid variable name.
35827 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
35831 # We need space, tab and new line, in precisely that order.
35841 # Open the log real soon, to keep \$[0] and so on meaningful, and to
35842 # report actual input values of CONFIG_FILES etc. instead of their
35843 # values after options handling. Logging --version etc. is OK.
35847 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
35848 ## Running $as_me. ##
35853 This file was extended by wxWindows $as_me 2.5.0, which was
35854 generated by GNU Autoconf 2.57. Invocation command line was
35856 CONFIG_FILES = $CONFIG_FILES
35857 CONFIG_HEADERS = $CONFIG_HEADERS
35858 CONFIG_LINKS = $CONFIG_LINKS
35859 CONFIG_COMMANDS = $CONFIG_COMMANDS
35863 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
35867 # Files that config.status was made for.
35868 if test -n "$ac_config_files"; then
35869 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
35872 if test -n "$ac_config_headers"; then
35873 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
35876 if test -n "$ac_config_links"; then
35877 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
35880 if test -n "$ac_config_commands"; then
35881 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
35884 cat >>$CONFIG_STATUS <<\_ACEOF
35887 \`$as_me' instantiates files from templates according to the
35888 current configuration.
35890 Usage: $0 [OPTIONS] [FILE]...
35892 -h, --help print this help, then exit
35893 -V, --version print version number, then exit
35894 -q, --quiet do not print progress messages
35895 -d, --debug don't remove temporary files
35896 --recheck update $as_me by reconfiguring in the same conditions
35897 --file=FILE[:TEMPLATE]
35898 instantiate the configuration file FILE
35899 --header=FILE[:TEMPLATE]
35900 instantiate the configuration header FILE
35902 Configuration files:
35905 Configuration headers:
35908 Configuration commands:
35911 Report bugs to <bug-autoconf@gnu.org>."
35914 cat >>$CONFIG_STATUS <<_ACEOF
35916 wxWindows config.status 2.5.0
35917 configured by $0, generated by GNU Autoconf 2.57,
35918 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
35920 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
35921 Free Software Foundation, Inc.
35922 This config.status script is free software; the Free Software Foundation
35923 gives unlimited permission to copy, distribute and modify it."
35928 cat >>$CONFIG_STATUS <<\_ACEOF
35929 # If no file are specified by the user, then we need to provide default
35930 # value. By we need to know if files were specified by the user.
35936 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
35937 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
35945 *) # This is not an option, so the user has probably given explicit
35948 ac_need_defaults
=false
;;
35952 # Handling of the options.
35954 cat >>$CONFIG_STATUS <<\_ACEOF
35955 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
35957 --version | --vers* | -V )
35958 echo "$ac_cs_version"; exit 0 ;;
35960 # Conflict between --help and --header
35961 { { echo "$as_me:$LINENO: error: ambiguous option: $1
35962 Try \`$0 --help' for more information." >&5
35963 echo "$as_me: error: ambiguous option: $1
35964 Try \`$0 --help' for more information." >&2;}
35965 { (exit 1); exit 1; }; };;
35966 --help | --hel | -h )
35967 echo "$ac_cs_usage"; exit 0 ;;
35968 --debug | --d* | -d )
35970 --file | --fil | --fi | --f )
35972 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
35973 ac_need_defaults
=false
;;
35974 --header | --heade | --head | --hea )
35976 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
35977 ac_need_defaults
=false
;;
35978 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
35979 | -silent | --silent | --silen | --sile | --sil | --si | --s)
35982 # This is an error.
35983 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
35984 Try \`$0 --help' for more information." >&5
35985 echo "$as_me: error: unrecognized option: $1
35986 Try \`$0 --help' for more information." >&2;}
35987 { (exit 1); exit 1; }; } ;;
35989 *) ac_config_targets
="$ac_config_targets $1" ;;
35995 ac_configure_extra_args
=
35997 if $ac_cs_silent; then
35999 ac_configure_extra_args
="$ac_configure_extra_args --silent"
36003 cat >>$CONFIG_STATUS <<_ACEOF
36004 if \$ac_cs_recheck; then
36005 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
36006 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
36011 cat >>$CONFIG_STATUS <<_ACEOF
36013 # INIT-COMMANDS section.
36017 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
36026 cat >>$CONFIG_STATUS <<\_ACEOF
36027 for ac_config_target
in $ac_config_targets
36029 case "$ac_config_target" in
36030 # Handling of arguments.
36031 "wx-config" ) CONFIG_FILES
="$CONFIG_FILES wx-config" ;;
36032 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
36033 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
36034 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
36035 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
36036 "setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS setup.h" ;;
36037 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
36038 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
36039 { (exit 1); exit 1; }; };;
36043 # If the user did not use the arguments to specify the items to instantiate,
36044 # then the envvar interface is used. Set only those that are not.
36045 # We use the long form for the default assignment because of an extremely
36046 # bizarre bug on SunOS 4.1.3.
36047 if $ac_need_defaults; then
36048 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
36049 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
36050 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
36053 # Have a temporary directory for convenience. Make it in the build tree
36054 # simply because there is no reason to put it here, and in addition,
36055 # creating and moving files from /tmp can sometimes cause problems.
36056 # Create a temporary directory, and hook for its removal unless debugging.
36059 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
36060 trap '{ (exit 1); exit 1; }' 1 2 13 15
36063 # Create a (secure) tmp directory for tmp files.
36066 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
36067 test -n "$tmp" && test -d "$tmp"
36070 tmp
=.
/confstat$$
-$RANDOM
36071 (umask 077 && mkdir $tmp)
36074 echo "$me: cannot create a temporary directory in ." >&2
36075 { (exit 1); exit 1; }
36080 cat >>$CONFIG_STATUS <<_ACEOF
36083 # CONFIG_FILES section.
36086 # No need to generate the scripts if there are no CONFIG_FILES.
36087 # This happens for instance when ./config.status config.h
36088 if test -n "\$CONFIG_FILES"; then
36089 # Protect against being on the right side of a sed subst in config.status.
36090 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
36091 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
36092 s,@SHELL@,$SHELL,;t t
36093 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
36094 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
36095 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
36096 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
36097 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
36098 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
36099 s,@exec_prefix@,$exec_prefix,;t t
36100 s,@prefix@,$prefix,;t t
36101 s,@program_transform_name@,$program_transform_name,;t t
36102 s,@bindir@,$bindir,;t t
36103 s,@sbindir@,$sbindir,;t t
36104 s,@libexecdir@,$libexecdir,;t t
36105 s,@datadir@,$datadir,;t t
36106 s,@sysconfdir@,$sysconfdir,;t t
36107 s,@sharedstatedir@,$sharedstatedir,;t t
36108 s,@localstatedir@,$localstatedir,;t t
36109 s,@libdir@,$libdir,;t t
36110 s,@includedir@,$includedir,;t t
36111 s,@oldincludedir@,$oldincludedir,;t t
36112 s,@infodir@,$infodir,;t t
36113 s,@mandir@,$mandir,;t t
36114 s,@build_alias@,$build_alias,;t t
36115 s,@host_alias@,$host_alias,;t t
36116 s,@target_alias@,$target_alias,;t t
36117 s,@DEFS@,$DEFS,;t t
36118 s,@ECHO_C@,$ECHO_C,;t t
36119 s,@ECHO_N@,$ECHO_N,;t t
36120 s,@ECHO_T@,$ECHO_T,;t t
36121 s,@LIBS@,$LIBS,;t t
36122 s,@build@,$build,;t t
36123 s,@build_cpu@,$build_cpu,;t t
36124 s,@build_vendor@,$build_vendor,;t t
36125 s,@build_os@,$build_os,;t t
36126 s,@host@,$host,;t t
36127 s,@host_cpu@,$host_cpu,;t t
36128 s,@host_vendor@,$host_vendor,;t t
36129 s,@host_os@,$host_os,;t t
36130 s,@target@,$target,;t t
36131 s,@target_cpu@,$target_cpu,;t t
36132 s,@target_vendor@,$target_vendor,;t t
36133 s,@target_os@,$target_os,;t t
36135 s,@CFLAGS@,$CFLAGS,;t t
36136 s,@LDFLAGS@,$LDFLAGS,;t t
36137 s,@CPPFLAGS@,$CPPFLAGS,;t t
36138 s,@ac_ct_CC@,$ac_ct_CC,;t t
36139 s,@EXEEXT@,$EXEEXT,;t t
36140 s,@OBJEXT@,$OBJEXT,;t t
36142 s,@EGREP@,$EGREP,;t t
36144 s,@CXXFLAGS@,$CXXFLAGS,;t t
36145 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
36146 s,@RANLIB@,$RANLIB,;t t
36147 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
36149 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
36150 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
36151 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
36152 s,@STRIP@,$STRIP,;t t
36153 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
36154 s,@LN_S@,$LN_S,;t t
36155 s,@CXXCPP@,$CXXCPP,;t t
36156 s,@subdirs@,$subdirs,;t t
36157 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
36158 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
36159 s,@GTK_LIBS@,$GTK_LIBS,;t t
36160 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
36161 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
36162 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
36163 s,@X_CFLAGS@,$X_CFLAGS,;t t
36164 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
36165 s,@X_LIBS@,$X_LIBS,;t t
36166 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
36167 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
36168 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
36169 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
36170 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
36171 s,@RESCOMP@,$RESCOMP,;t t
36172 s,@DEREZ@,$DEREZ,;t t
36173 s,@SETFILE@,$SETFILE,;t t
36174 s,@LIBICONV@,$LIBICONV,;t t
36175 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
36176 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
36177 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
36178 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
36179 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
36180 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
36181 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
36182 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
36183 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
36184 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
36185 s,@VENDOR@,$VENDOR,;t t
36186 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
36187 s,@WXUNIV@,$WXUNIV,;t t
36188 s,@MONOLITHIC@,$MONOLITHIC,;t t
36189 s,@EXTRALIBS@,$EXTRALIBS,;t t
36190 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
36191 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
36192 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
36193 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
36194 s,@UNICODE@,$UNICODE,;t t
36195 s,@BUILD@,$BUILD,;t t
36196 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
36197 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
36198 s,@SHARED@,$SHARED,;t t
36199 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
36200 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
36201 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
36202 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
36203 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
36204 s,@SET_MAKE@,$SET_MAKE,;t t
36205 s,@MAKE_SET@,$MAKE_SET,;t t
36206 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
36207 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
36208 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
36209 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
36210 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
36211 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
36212 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
36213 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
36214 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
36215 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
36216 s,@LIBPREFIX@,$LIBPREFIX,;t t
36217 s,@DLLPREFIX@,$DLLPREFIX,;t t
36218 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
36219 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
36220 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
36221 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
36222 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
36223 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
36224 s,@PIC_FLAG@,$PIC_FLAG,;t t
36225 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
36226 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
36227 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
36228 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
36229 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
36230 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
36231 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
36232 s,@GCC_PCH@,$GCC_PCH,;t t
36233 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
36234 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
36235 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
36236 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
36237 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
36238 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
36239 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
36240 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
36241 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
36242 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
36243 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
36244 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
36245 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
36246 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
36247 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
36248 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
36249 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
36250 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
36251 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
36252 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
36253 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
36254 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
36255 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
36256 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
36257 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
36258 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
36259 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
36260 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
36261 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
36262 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
36263 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
36264 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
36265 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
36266 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
36267 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
36268 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
36269 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
36270 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
36271 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
36272 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
36273 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
36274 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36275 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36276 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36277 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
36278 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
36279 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
36280 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
36281 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
36282 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
36283 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
36284 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
36285 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
36286 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
36287 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
36288 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
36289 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
36290 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
36291 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
36292 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
36293 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
36294 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
36295 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
36296 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
36297 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
36298 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
36299 s,@COND_TOOLKIT_OS2@,$COND_TOOLKIT_OS2,;t t
36300 s,@COND_TOOLKIT_OS2_USE_GUI_1@,$COND_TOOLKIT_OS2_USE_GUI_1,;t t
36301 s,@COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0,;t t
36302 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
36303 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
36304 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
36305 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
36306 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
36307 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
36308 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
36309 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
36310 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
36311 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
36312 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36313 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36314 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36315 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
36316 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
36317 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
36318 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
36319 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
36320 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
36321 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
36322 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
36323 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
36324 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
36325 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
36326 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
36327 s,@PATH_IFS@,$PATH_IFS,;t t
36328 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
36329 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
36330 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
36331 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
36332 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
36333 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
36334 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
36335 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
36336 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
36337 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
36338 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
36339 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
36340 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
36341 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
36342 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
36343 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
36344 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
36345 s,@WX_ALL@,$WX_ALL,;t t
36346 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
36347 s,@SHARED_LD@,$SHARED_LD,;t t
36348 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
36349 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
36350 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
36351 s,@USE_GUI@,$USE_GUI,;t t
36352 s,@AFMINSTALL@,$AFMINSTALL,;t t
36353 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
36354 s,@TOOLKIT@,$TOOLKIT,;t t
36355 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
36356 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
36357 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
36358 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
36359 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
36360 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
36361 s,@cross_compiling@,$cross_compiling,;t t
36362 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
36363 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
36364 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
36365 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
36366 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
36367 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
36368 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
36369 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
36370 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
36371 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
36372 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
36373 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
36374 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
36375 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
36376 s,@GUIDIST@,$GUIDIST,;t t
36377 s,@PORT_FILES@,$PORT_FILES,;t t
36378 s,@DISTDIR@,$DISTDIR,;t t
36379 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
36380 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
36381 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
36382 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
36383 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
36384 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
36385 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
36386 s,@RESFLAGS@,$RESFLAGS,;t t
36387 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
36388 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
36389 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
36390 s,@MACOSX_BUNDLE@,$MACOSX_BUNDLE,;t t
36391 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
36392 s,@MACRESCOMP@,$MACRESCOMP,;t t
36393 s,@MACSETFILE@,$MACSETFILE,;t t
36394 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
36396 s,@DLLTOOL@,$DLLTOOL,;t t
36400 s,@MAKEINFO@,$MAKEINFO,;t t
36401 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
36402 s,@LIBOBJS@,$LIBOBJS,;t t
36403 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
36408 cat >>$CONFIG_STATUS <<\_ACEOF
36409 # Split the substitutions into bite-sized pieces for seds with
36410 # small command number limits, like on Digital OSF/1 and HP-UX.
36411 ac_max_sed_lines
=48
36412 ac_sed_frag
=1 # Number of current file.
36413 ac_beg
=1 # First line for current file.
36414 ac_end
=$ac_max_sed_lines # Line after last line for current file.
36417 while $ac_more_lines; do
36418 if test $ac_beg -gt 1; then
36419 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
36421 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
36423 if test ! -s $tmp/subs.frag
; then
36424 ac_more_lines
=false
36426 # The purpose of the label and of the branching condition is to
36427 # speed up the sed processing (if there are no `@' at all, there
36428 # is no need to browse any of the substitutions).
36429 # These are the two extra sed commands mentioned above.
36431 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
36432 if test -z "$ac_sed_cmds"; then
36433 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
36435 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
36437 ac_sed_frag
=`expr $ac_sed_frag + 1`
36439 ac_end
=`expr $ac_end + $ac_max_sed_lines`
36442 if test -z "$ac_sed_cmds"; then
36445 fi # test -n "$CONFIG_FILES"
36448 cat >>$CONFIG_STATUS <<\_ACEOF
36449 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
36450 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
36452 - | *:- | *:-:* ) # input from stdin
36454 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
36455 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
36456 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
36457 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
36458 * ) ac_file_in
=$ac_file.
in ;;
36461 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
36462 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
36463 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36464 X"$ac_file" : 'X\(//\)[^/]' \| \
36465 X"$ac_file" : 'X\(//\)$' \| \
36466 X"$ac_file" : 'X\(/\)' \| \
36467 . : '\(.\)' 2>/dev/null ||
36469 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36470 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36471 /^X\(\/\/\)$/{ s//\1/; q; }
36472 /^X\(\/\).*/{ s//\1/; q; }
36474 { if $as_mkdir_p; then
36479 while test ! -d "$as_dir"; do
36480 as_dirs
="$as_dir $as_dirs"
36481 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
36482 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36483 X"$as_dir" : 'X\(//\)[^/]' \| \
36484 X"$as_dir" : 'X\(//\)$' \| \
36485 X"$as_dir" : 'X\(/\)' \| \
36486 . : '\(.\)' 2>/dev/null ||
36488 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36489 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36490 /^X\(\/\/\)$/{ s//\1/; q; }
36491 /^X\(\/\).*/{ s//\1/; q; }
36494 test ! -n "$as_dirs" || mkdir $as_dirs
36495 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36496 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36497 { (exit 1); exit 1; }; }; }
36501 if test "$ac_dir" != .
; then
36502 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36503 # A "../" for each directory in $ac_dir_suffix.
36504 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36506 ac_dir_suffix
= ac_top_builddir
=
36510 .
) # No --srcdir option. We are building in place.
36512 if test -z "$ac_top_builddir"; then
36515 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
36517 [\\/]* | ?
:[\\/]* ) # Absolute path.
36518 ac_srcdir
=$srcdir$ac_dir_suffix;
36519 ac_top_srcdir
=$srcdir ;;
36520 *) # Relative path.
36521 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
36522 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
36524 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36526 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
36527 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36528 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36529 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36533 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
36534 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
36537 if test x
"$ac_file" != x
-; then
36538 { echo "$as_me:$LINENO: creating $ac_file" >&5
36539 echo "$as_me: creating $ac_file" >&6;}
36542 # Let's still pretend it is `configure' which instantiates (i.e., don't
36543 # use $as_me), people would be surprised to read:
36544 # /* config.h. Generated by config.status. */
36545 if test x
"$ac_file" = x
-; then
36548 configure_input
="$ac_file. "
36550 configure_input
=$configure_input"Generated from `echo $ac_file_in |
36551 sed 's,.*/,,'` by configure."
36553 # First look for the input files in the build tree, otherwise in the
36555 ac_file_inputs
=`IFS=:
36556 for f in $ac_file_in; do
36558 -) echo $tmp/stdin ;;
36560 # Absolute (can't be DOS-style, as IFS=:)
36561 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36562 echo "$as_me: error: cannot find input file: $f" >&2;}
36563 { (exit 1); exit 1; }; }
36566 if test -f "$f"; then
36569 elif test -f "$srcdir/$f"; then
36574 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36575 echo "$as_me: error: cannot find input file: $f" >&2;}
36576 { (exit 1); exit 1; }; }
36579 done` || { (exit 1); exit 1; }
36581 cat >>$CONFIG_STATUS <<_ACEOF
36585 cat >>$CONFIG_STATUS <<\_ACEOF
36587 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
36588 s
,@configure_input@
,$configure_input,;t t
36589 s
,@srcdir@
,$ac_srcdir,;t t
36590 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
36591 s
,@top_srcdir@
,$ac_top_srcdir,;t t
36592 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
36593 s
,@builddir@
,$ac_builddir,;t t
36594 s
,@abs_builddir@
,$ac_abs_builddir,;t t
36595 s
,@top_builddir@
,$ac_top_builddir,;t t
36596 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
36597 s
,@INSTALL@
,$ac_INSTALL,;t t
36598 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
36600 if test x"$ac_file" != x-; then
36601 mv $tmp/out $ac_file
36609 cat >>$CONFIG_STATUS <<\_ACEOF
36612 # CONFIG_HEADER section.
36615 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
36616 # NAME is the cpp macro being defined and VALUE is the value it is being given.
36618 # ac_d sets the value in "#define NAME VALUE" lines.
36619 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
36620 ac_dB
='[ ].*$,\1#\2'
36623 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
36624 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
36625 ac_uB
='$,\1#\2define\3'
36629 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
36630 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
36632 - | *:- | *:-:* ) # input from stdin
36634 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
36635 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
36636 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
36637 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
36638 * ) ac_file_in
=$ac_file.
in ;;
36641 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
36642 echo "$as_me: creating $ac_file" >&6;}
36644 # First look for the input files in the build tree, otherwise in the
36646 ac_file_inputs
=`IFS=:
36647 for f in $ac_file_in; do
36649 -) echo $tmp/stdin ;;
36651 # Absolute (can't be DOS-style, as IFS=:)
36652 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36653 echo "$as_me: error: cannot find input file: $f" >&2;}
36654 { (exit 1); exit 1; }; }
36657 if test -f "$f"; then
36660 elif test -f "$srcdir/$f"; then
36665 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36666 echo "$as_me: error: cannot find input file: $f" >&2;}
36667 { (exit 1); exit 1; }; }
36670 done` || { (exit 1); exit 1; }
36671 # Remove the trailing spaces.
36672 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
36676 # Transform confdefs.h into two sed scripts, `conftest.defines' and
36677 # `conftest.undefs', that substitutes the proper values into
36678 # config.h.in to produce config.h. The first handles `#define'
36679 # templates, and the second `#undef' templates.
36680 # And first: Protect against being on the right side of a sed subst in
36681 # config.status. Protect against being in an unquoted here document
36682 # in config.status.
36683 rm -f conftest.defines conftest.undefs
36684 # Using a here document instead of a string reduces the quoting nightmare.
36685 # Putting comments in sed scripts is not portable.
36687 # `end' is used to avoid that the second main sed command (meant for
36688 # 0-ary CPP macros) applies to n-ary macro definitions.
36689 # See the Autoconf documentation for `clear'.
36690 cat >confdef2sed.
sed <<\_ACEOF
36695 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
36697 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
36700 # If some macros were called several times there might be several times
36701 # the same #defines, which is useless. Nevertheless, we may not want to
36702 # sort them, since we want the *last* AC-DEFINE to be honored.
36703 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
36704 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
36705 rm -f confdef2sed.sed
36707 # This sed command replaces #undef with comments. This is necessary, for
36708 # example, in the case of _POSIX_SOURCE, which is predefined and required
36709 # on some systems where configure will not decide to define it.
36710 cat >>conftest.undefs <<\_ACEOF
36711 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
36714 # Break up conftest.defines because some shells have a limit on the size
36715 # of here documents, and old seds have small limits too (100 cmds).
36716 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
36717 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
36718 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
36719 echo ' :' >>$CONFIG_STATUS
36720 rm -f conftest.tail
36721 while grep . conftest.defines >/dev/null
36723 # Write a limited-size here document to $tmp/defines.sed.
36724 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
36725 # Speed up: don't consider the non `#define' lines.
36726 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
36727 # Work around the forget-to-reset-the-flag bug.
36728 echo 't clr' >>$CONFIG_STATUS
36729 echo ': clr' >>$CONFIG_STATUS
36730 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
36732 sed -f $tmp/defines.sed $tmp/in >$tmp/out
36734 mv $tmp/out $tmp/in
36736 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
36737 rm -f conftest.defines
36738 mv conftest.
tail conftest.defines
36740 rm -f conftest.defines
36741 echo ' fi # grep' >>$CONFIG_STATUS
36742 echo >>$CONFIG_STATUS
36744 # Break up conftest.undefs because some shells have a limit on the size
36745 # of here documents, and old seds have small limits too (100 cmds).
36746 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
36747 rm -f conftest.
tail
36748 while grep . conftest.undefs
>/dev
/null
36750 # Write a limited-size here document to $tmp/undefs.sed.
36751 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
36752 # Speed up: don't consider the non
`#undef'
36753 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
36754 # Work around the forget-to-reset-the-flag bug.
36755 echo 't clr' >>$CONFIG_STATUS
36756 echo ': clr' >>$CONFIG_STATUS
36757 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
36759 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
36761 mv $tmp/out $tmp/in
36763 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
36764 rm -f conftest.undefs
36765 mv conftest.tail conftest.undefs
36767 rm -f conftest.undefs
36769 cat >>$CONFIG_STATUS <<\_ACEOF
36770 # Let's still pretend it is `configure
' which instantiates (i.e., don't
36771 # use $as_me), people would be surprised to read:
36772 # /* config.h. Generated by config.status. */
36773 if test x
"$ac_file" = x
-; then
36774 echo "/* Generated by configure. */" >$tmp/config.h
36776 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
36778 cat $tmp/in >>$tmp/config.h
36780 if test x
"$ac_file" != x
-; then
36781 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
36782 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
36783 echo "$as_me: $ac_file is unchanged" >&6;}
36785 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
36786 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36787 X"$ac_file" : 'X\(//\)[^/]' \| \
36788 X"$ac_file" : 'X\(//\)$' \| \
36789 X"$ac_file" : 'X\(/\)' \| \
36790 . : '\(.\)' 2>/dev/null ||
36792 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36793 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36794 /^X\(\/\/\)$/{ s//\1/; q; }
36795 /^X\(\/\).*/{ s//\1/; q; }
36797 { if $as_mkdir_p; then
36802 while test ! -d "$as_dir"; do
36803 as_dirs
="$as_dir $as_dirs"
36804 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
36805 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36806 X"$as_dir" : 'X\(//\)[^/]' \| \
36807 X"$as_dir" : 'X\(//\)$' \| \
36808 X"$as_dir" : 'X\(/\)' \| \
36809 . : '\(.\)' 2>/dev/null ||
36811 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36812 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36813 /^X\(\/\/\)$/{ s//\1/; q; }
36814 /^X\(\/\).*/{ s//\1/; q; }
36817 test ! -n "$as_dirs" || mkdir $as_dirs
36818 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36819 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36820 { (exit 1); exit 1; }; }; }
36823 mv $tmp/config.h
$ac_file
36827 rm -f $tmp/config.h
36831 cat >>$CONFIG_STATUS <<\_ACEOF
36834 # CONFIG_COMMANDS section.
36836 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
36837 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
36838 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
36839 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
36840 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36841 X"$ac_dest" : 'X\(//\)[^/]' \| \
36842 X"$ac_dest" : 'X\(//\)$' \| \
36843 X"$ac_dest" : 'X\(/\)' \| \
36844 . : '\(.\)' 2>/dev/null ||
36846 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36847 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36848 /^X\(\/\/\)$/{ s//\1/; q; }
36849 /^X\(\/\).*/{ s//\1/; q; }
36853 if test "$ac_dir" != .
; then
36854 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36855 # A "../" for each directory in $ac_dir_suffix.
36856 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36858 ac_dir_suffix
= ac_top_builddir
=
36862 .
) # No --srcdir option. We are building in place.
36864 if test -z "$ac_top_builddir"; then
36867 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
36869 [\\/]* | ?
:[\\/]* ) # Absolute path.
36870 ac_srcdir
=$srcdir$ac_dir_suffix;
36871 ac_top_srcdir
=$srcdir ;;
36872 *) # Relative path.
36873 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
36874 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
36876 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36878 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
36879 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36880 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36881 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36884 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
36885 echo "$as_me: executing $ac_dest commands" >&6;}
36888 if test ! -h wx
-config; then
36890 mv wx
-config wx
${TOOLCHAIN_NAME}-config
36891 ${LN_S} wx
${TOOLCHAIN_NAME}-config wx
-config
36894 if test ! -d lib
; then
36897 if test ! -d lib
/wx
; then
36900 if test ! -d lib
/wx
/include
; then
36901 mkdir lib
/wx
/include
36903 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}; then
36904 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}
36906 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
; then
36907 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
36909 if test -f setup.h
; then
36910 mv -f setup.h lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
36917 cat >>$CONFIG_STATUS <<\_ACEOF
36919 { (exit 0); exit 0; }
36921 chmod +x
$CONFIG_STATUS
36922 ac_clean_files
=$ac_clean_files_save
36925 # configure is writing to config.log, and then calls config.status.
36926 # config.status does its own redirection, appending to config.log.
36927 # Unfortunately, on DOS this fails, as config.log is still kept open
36928 # by configure, so config.status won't be able to write to it; its
36929 # output is simply discarded. So we exec the FD to /dev/null,
36930 # effectively closing config.log, so it can be properly (re)opened and
36931 # appended to by config.status. When coming back to configure, we
36932 # need to make the FD available again.
36933 if test "$no_create" != yes; then
36935 ac_config_status_args
=
36936 test "$silent" = yes &&
36937 ac_config_status_args
="$ac_config_status_args --quiet"
36939 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
36941 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
36942 # would make configure fail if this is the last instruction.
36943 $ac_cs_success || { (exit 1); exit 1; }
36947 # CONFIG_SUBDIRS section.
36949 if test "$no_recursion" != yes; then
36951 # Remove --cache-file and --srcdir arguments so they do not pile up.
36952 ac_sub_configure_args
=
36954 for ac_arg
in $ac_configure_args; do
36955 if test -n "$ac_prev"; then
36960 -cache-file | --cache-file | --cache-fil | --cache-fi \
36961 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
36962 ac_prev
=cache_file
;;
36963 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
36964 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
36967 --config-cache | -C)
36969 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
36971 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
36973 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
36975 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
36977 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
36981 # Always prepend --prefix to ensure using the same prefix
36982 # in subdir configurations.
36983 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
36986 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
36988 # Do not complain, so a configure script can configure whichever
36989 # parts of a large source tree are present.
36990 test -d $srcdir/$ac_dir || continue
36992 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
36993 echo "$as_me: configuring in $ac_dir" >&6;}
36994 { if $as_mkdir_p; then
36999 while test ! -d "$as_dir"; do
37000 as_dirs
="$as_dir $as_dirs"
37001 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
37002 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37003 X"$as_dir" : 'X\(//\)[^/]' \| \
37004 X"$as_dir" : 'X\(//\)$' \| \
37005 X"$as_dir" : 'X\(/\)' \| \
37006 . : '\(.\)' 2>/dev/null ||
37008 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37009 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37010 /^X\(\/\/\)$/{ s//\1/; q; }
37011 /^X\(\/\).*/{ s//\1/; q; }
37014 test ! -n "$as_dirs" || mkdir $as_dirs
37015 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
37016 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
37017 { (exit 1); exit 1; }; }; }
37021 if test "$ac_dir" != .
; then
37022 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
37023 # A "../" for each directory in $ac_dir_suffix.
37024 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
37026 ac_dir_suffix
= ac_top_builddir
=
37030 .
) # No --srcdir option. We are building in place.
37032 if test -z "$ac_top_builddir"; then
37035 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
37037 [\\/]* | ?
:[\\/]* ) # Absolute path.
37038 ac_srcdir
=$srcdir$ac_dir_suffix;
37039 ac_top_srcdir
=$srcdir ;;
37040 *) # Relative path.
37041 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
37042 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
37044 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
37046 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
37047 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
37048 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
37049 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
37054 # Check for guested configure; otherwise get Cygnus style configure.
37055 if test -f $ac_srcdir/configure.gnu
; then
37056 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
37057 elif test -f $ac_srcdir/configure
; then
37058 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
37059 elif test -f $ac_srcdir/configure.
in; then
37060 ac_sub_configure
=$ac_configure
37062 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
37063 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
37067 # The recursion is here.
37068 if test -n "$ac_sub_configure"; then
37069 # Make the cache file name correct relative to the subdirectory.
37070 case $cache_file in
37071 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
37072 *) # Relative path.
37073 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
37076 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
37077 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
37078 # The eval makes quoting arguments work.
37079 eval $ac_sub_configure $ac_sub_configure_args \
37080 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
37081 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
37082 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
37083 { (exit 1); exit 1; }; }
37092 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
37094 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
37095 echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
37097 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
37098 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
37099 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
37101 echo " What level of wxWindows compatibility should be enabled?"
37102 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
37103 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
37105 echo " Which libraries should wxWindows use?"
37106 echo " jpeg ${wxUSE_LIBJPEG-none}"
37107 echo " png ${wxUSE_LIBPNG-none}"
37108 echo " regex ${wxUSE_REGEX}"
37109 echo " tiff ${wxUSE_LIBTIFF-none}"
37110 echo " zlib ${wxUSE_ZLIB}"
37111 echo " odbc ${wxUSE_ODBC}"
37112 echo " expat ${wxUSE_EXPAT}"