2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for wxWindows 2.5.1.
6 # Report bugs to <wx-dev@lists.wxwindows.org>.
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
25 DUALCASE
=1; export DUALCASE
# for MKS sh
27 # Support unset when possible.
28 if ( (MAIL
=60; unset MAIL
) || exit) >/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 -z "`(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
224 test -d .
/-p && rmdir .
/-p
228 as_executable_p
="test -f"
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
238 # We need space, tab and new line, in precisely that order.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
257 ac_default_prefix
=/usr
/local
258 ac_config_libobj_dir
=.
263 SHELL
=${CONFIG_SHELL-/bin/sh}
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
270 # Identity of this package.
271 PACKAGE_NAME
='wxWindows'
272 PACKAGE_TARNAME
='wxwindows'
273 PACKAGE_VERSION
='2.5.1'
274 PACKAGE_STRING
='wxWindows 2.5.1'
275 PACKAGE_BUGREPORT
='wx-dev@lists.wxwindows.org'
277 ac_unique_file
="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default
="\
282 # include <sys/types.h>
285 # include <sys/stat.h>
296 # if !STDC_HEADERS && HAVE_MEMORY_H
302 # include <strings.h>
305 # include <inttypes.h>
315 ac_subdirs_all
="$ac_subdirs_all src/expat"
316 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 SDL_CONFIG SDL_CFLAGS SDL_LIBS 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 USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL UNICODE BUILD DEBUG_INFO DEBUG_FLAG SHARED TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET ac_ct_AR ac_ct_STRIP NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOSX PLATFORM_OS2 SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT 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_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 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_0_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_GUI_1 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_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_PLUGINS_0 COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_WITH_PLUGIN_SDL_1 COND_WITH_SDL_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 LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC GCC_SEARCHES_USR_LOCAL_INCLUDE DLLTOOL AS LD MAKEINFO INSTALL_LIBRARY CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
319 # Initialize some variables set by options.
321 ac_init_version
=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
331 program_transform_name
=s
,x
,x
,
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir
='${exec_prefix}/bin'
345 sbindir
='${exec_prefix}/sbin'
346 libexecdir
='${exec_prefix}/libexec'
347 datadir
='${prefix}/share'
348 sysconfdir
='${prefix}/etc'
349 sharedstatedir
='${prefix}/com'
350 localstatedir
='${prefix}/var'
351 libdir
='${exec_prefix}/lib'
352 includedir
='${prefix}/include'
353 oldincludedir
='/usr/include'
354 infodir
='${prefix}/info'
355 mandir
='${prefix}/man'
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
367 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
369 # Accept the important Cygnus configure options, so we can diagnose typos.
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
378 -build | --build | --buil | --bui | --bu)
379 ac_prev
=build_alias
;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias
=$ac_optarg ;;
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev
=cache_file
;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file
=$ac_optarg ;;
391 cache_file
=config.cache
;;
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
397 datadir
=$ac_optarg ;;
399 -disable-* | --disable-*)
400 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
408 -enable-* | --enable-*)
409 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
416 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
419 eval "enable_$ac_feature='$ac_optarg'" ;;
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev
=exec_prefix
;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix
=$ac_optarg ;;
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
434 -help | --help | --hel | --he | -h)
436 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
437 ac_init_help
=recursive
;;
438 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
439 ac_init_help
=short
;;
441 -host | --host | --hos | --ho)
442 ac_prev
=host_alias
;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias
=$ac_optarg ;;
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev
=includedir
;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir
=$ac_optarg ;;
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir
=$ac_optarg ;;
458 -libdir | --libdir | --libdi | --libd)
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev
=libexecdir
;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir
=$ac_optarg ;;
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev
=localstatedir
;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir
=$ac_optarg ;;
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
485 # Obsolete; use --without-fp.
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev
=oldincludedir
;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir
=$ac_optarg ;;
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev
=program_prefix
;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix
=$ac_optarg ;;
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev
=program_suffix
;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix
=$ac_optarg ;;
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev
=program_transform_name
;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name
=$ac_optarg ;;
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
549 sbindir
=$ac_optarg ;;
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
555 ac_prev
=sharedstatedir
;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
560 sharedstatedir
=$ac_optarg ;;
562 -site | --site | --sit)
564 -site=* | --site=* | --sit=*)
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev
=sysconfdir
;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir
=$ac_optarg ;;
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev
=target_alias
;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias
=$ac_optarg ;;
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
587 -version | --version | --versio | --versi | --vers | -V)
591 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package
=`echo $ac_package| sed 's/-/_/g'`
598 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
601 eval "with_$ac_package='$ac_optarg'" ;;
603 -without-* | --without-*)
604 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package
=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
613 # Obsolete; use --with-x.
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev
=x_includes
;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes
=$ac_optarg ;;
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev
=x_libraries
;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries
=$ac_optarg ;;
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
636 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
656 if test -n "$ac_prev"; then
657 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
662 # Be sure to have absolute paths.
663 for ac_var
in exec_prefix prefix
665 eval ac_val
=$
`echo $ac_var`
667 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
673 # Be sure to have absolute paths.
674 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
677 eval ac_val
=$
`echo $ac_var`
679 [\\/$
]* | ?
:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x
; then
694 if test "x$build_alias" = x
; then
695 cross_compiling
=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
704 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
706 test "$silent" = yes && exec 6>/dev
/null
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted
=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir
=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
726 if test ! -r $srcdir/$ac_unique_file; then
730 ac_srcdir_defaulted
=no
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
741 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null
||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set
=${build_alias+set}
746 ac_env_build_alias_value
=$build_alias
747 ac_cv_env_build_alias_set
=${build_alias+set}
748 ac_cv_env_build_alias_value
=$build_alias
749 ac_env_host_alias_set
=${host_alias+set}
750 ac_env_host_alias_value
=$host_alias
751 ac_cv_env_host_alias_set
=${host_alias+set}
752 ac_cv_env_host_alias_value
=$host_alias
753 ac_env_target_alias_set
=${target_alias+set}
754 ac_env_target_alias_value
=$target_alias
755 ac_cv_env_target_alias_set
=${target_alias+set}
756 ac_cv_env_target_alias_value
=$target_alias
757 ac_env_CC_set
=${CC+set}
759 ac_cv_env_CC_set
=${CC+set}
760 ac_cv_env_CC_value
=$CC
761 ac_env_CFLAGS_set
=${CFLAGS+set}
762 ac_env_CFLAGS_value
=$CFLAGS
763 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value
=$CFLAGS
765 ac_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_env_LDFLAGS_value
=$LDFLAGS
767 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value
=$LDFLAGS
769 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
773 ac_env_CPP_set
=${CPP+set}
774 ac_env_CPP_value
=$CPP
775 ac_cv_env_CPP_set
=${CPP+set}
776 ac_cv_env_CPP_value
=$CPP
777 ac_env_CXX_set
=${CXX+set}
778 ac_env_CXX_value
=$CXX
779 ac_cv_env_CXX_set
=${CXX+set}
780 ac_cv_env_CXX_value
=$CXX
781 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value
=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
785 ac_env_CXXCPP_set
=${CXXCPP+set}
786 ac_env_CXXCPP_value
=$CXXCPP
787 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value
=$CXXCPP
791 # Report the --help message.
793 if test "$ac_init_help" = "long"; then
794 # Omit some internal or obsolete options to make the list less imposing.
795 # This message is too long to be a string in the A/UX 3.1 sh.
797 \`configure' configures wxWindows 2.5.1 to adapt to many kinds of systems.
799 Usage: $0 [OPTION]... [VAR=VALUE]...
801 To assign environment variables (e.g., CC, CFLAGS...), specify them as
802 VAR=VALUE. See below for descriptions of some of the useful variables.
804 Defaults for the options are specified in brackets.
807 -h, --help display this help and exit
808 --help=short display options specific to this package
809 --help=recursive display the short help of all the included packages
810 -V, --version display version information and exit
811 -q, --quiet, --silent do not print \`checking...' messages
812 --cache-file=FILE cache test results in FILE [disabled]
813 -C, --config-cache alias for \`--cache-file=config.cache'
814 -n, --no-create do not create output files
815 --srcdir=DIR find the sources in DIR [configure dir or \`..']
820 Installation directories:
821 --prefix=PREFIX install architecture-independent files in PREFIX
823 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
826 By default, \`make install' will install all the files in
827 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
828 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
829 for instance \`--prefix=\$HOME'.
831 For better control, use the options below.
833 Fine tuning of the installation directories:
834 --bindir=DIR user executables [EPREFIX/bin]
835 --sbindir=DIR system admin executables [EPREFIX/sbin]
836 --libexecdir=DIR program executables [EPREFIX/libexec]
837 --datadir=DIR read-only architecture-independent data [PREFIX/share]
838 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
839 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
840 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
841 --libdir=DIR object code libraries [EPREFIX/lib]
842 --includedir=DIR C header files [PREFIX/include]
843 --oldincludedir=DIR C header files for non-gcc [/usr/include]
844 --infodir=DIR info documentation [PREFIX/info]
845 --mandir=DIR man documentation [PREFIX/man]
851 --x-includes=DIR X include files are
in DIR
852 --x-libraries=DIR X library files are
in DIR
855 --build=BUILD configure
for building on BUILD
[guessed
]
856 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
857 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
861 if test -n "$ac_init_help"; then
862 case $ac_init_help in
863 short
| recursive
) echo "Configuration of wxWindows 2.5.1:";;
868 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
869 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
870 --enable-gui use GUI classes
871 --enable-monolithic build wxWindows as single library
872 --enable-plugins build parts of wxWindows as loadable components
873 --enable-universal use wxWindows GUI controls instead of native ones
874 --enable-nanox use NanoX
875 --enable-gtk2 use GTK
+ 2.0 if available
(EXPERIMENTAL
)
876 --enable-gpe use GNOME PDA Environment features
if possible
877 --enable-shared create shared library code
878 --enable-optimise create optimised code
879 --enable-debug same as debug_flag and debug_info
880 --enable-stl use STL
for containers
881 --enable-omf use OMF object format
882 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
883 --enable-debug_info create code with debugging information
884 --enable-debug_gdb create code with extra GDB debugging information
885 --enable-debug_cntxt use wxDebugContext
886 --enable-mem_tracing create code with memory tracing
887 --enable-profile create code with profiling information
888 --enable-no_rtti create code without RTTI information
889 --enable-no_exceptions create code without C
++ exceptions handling
890 --enable-permissive compile code disregarding strict ANSI
891 --enable-no_deps create code without dependency information
892 --enable-compat22 enable wxWindows
2.2 compatibility
893 --disable-compat24 disable wxWindows
2.4 compatibility
894 --enable-rpath=DIR output the rpath flag from wx
-config
895 --enable-intl use internationalization system
896 --enable-config use wxConfig
(and derived
) classes
897 --enable-protocols use wxProtocol and derived classes
898 --enable-ftp use wxFTP
(requires wxProtocol
899 --enable-http use wxHTTP
(requires wxProtocol
900 --enable-fileproto use wxFileProto class
(requires wxProtocol
901 --enable-sockets use socket
/network classes
902 --enable-ole use OLE classes
(Win32 only
)
903 --enable-dataobj use data object classes
904 --enable-ipc use interprocess communication
(wxSocket etc.
)
905 --enable-apple_ieee use the Apple IEEE codec
906 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
907 --enable-cmdline use wxCmdLineParser class
908 --enable-datetime use wxDateTime class
909 --enable-dialupman use dialup network classes
910 --enable-dynlib use wxLibrary class
for DLL loading
911 --enable-dynamicloader use
(new
) wxDynamicLibrary class
912 --enable-exceptions build exception
-safe library
913 --enable-ffile use wxFFile class
914 --enable-file use wxFile class
915 --enable-filesystem use virtual
file systems classes
916 --enable-fontmap use font encodings conversion classes
917 --enable-fs_inet use virtual HTTP
/FTP filesystems
918 --enable-fs_zip use virtual ZIP filesystems
919 --enable-geometry use geometry class
920 --enable-log use logging system
921 --enable-longlong use wxLongLong class
922 --enable-mimetype use wxMimeTypesManager
923 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
924 --enable-snglinst use wxSingleInstanceChecker class
925 --enable-streams use wxStream etc classes
926 --enable-std_iostreams use standard C
++ stream classes
927 --enable-stopwatch use wxStopWatch class
928 --enable-sysoptions use wxSystemOptions
929 --enable-textbuf use wxTextBuffer class
930 --enable-textfile use wxTextFile class
931 --enable-timer use wxTimer class
932 --enable-unicode compile wxString with Unicode support
933 --enable-sound use wxSound class
934 --enable-wxprintfv use wxWindows implementation of vprintf
()
935 --enable-zipstream use wxZipInputStream
936 --enable-gzstream use wxGzipInputStream
937 --enable-url use wxURL class
938 --enable-protocol use wxProtocol class
939 --enable-protocol-http HTTP support
in wxProtocol
940 --enable-protocol-ftp FTP support
in wxProtocol
941 --enable-protocol-file FILE support
in wxProtocol
942 --enable-threads use threads
943 --enable-docview use document view architecture
944 --enable-help use
help subsystem
945 --enable-mshtmlhelp use MS HTML Help
(win32
)
946 --enable-html use wxHTML sub
-library
947 --enable-htmlhelp use wxHTML
-based help
948 --enable-constraints use layout
-constraints system
949 --enable-printarch use printing architecture
950 --enable-mdi use multiple document interface architecture
951 --enable-loggui use standard GUI logger
952 --enable-logwin use wxLogWindow
953 --enable-logdialog use wxLogDialog
954 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
955 --enable-prologio not available
; see contrib
956 --enable-resources not available
; see contrib
957 --enable-clipboard use wxClipboard class
958 --enable-dnd use Drag
'n'Drop classes
959 --enable-metafile use win32 metafiles
960 --enable-controls use all usual controls
961 --enable-accel use accelerators
962 --enable-button use wxButton class
963 --enable-bmpbutton use wxBitmapButton class
964 --enable-calendar use wxCalendarCtrl class
965 --enable-caret use wxCaret class
966 --enable-checkbox use wxCheckBox class
967 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
968 --enable-choice use wxChoice class
969 --enable-combobox use wxComboBox class
970 --enable-display use wxDisplay class
971 --enable-gauge use wxGauge class
972 --enable-grid use wxGrid class
973 --enable-imaglist use wxImageList class
974 --enable-listbook use wxListbook class
975 --enable-listbox use wxListBox class
976 --enable-listctrl use wxListCtrl class
977 --enable-notebook use wxNotebook class
978 --enable-radiobox use wxRadioBox class
979 --enable-radiobtn use wxRadioButton class
980 --enable-sash use wxSashWindow class
981 --enable-scrollbar use wxScrollBar class and scrollable windows
982 --enable-slider use wxSlider class
983 --enable-spinbtn use wxSpinButton class
984 --enable-spinctrl use wxSpinCtrl class
985 --enable-splitter use wxSplitterWindow class
986 --enable-statbmp use wxStaticBitmap class
987 --enable-statbox use wxStaticBox class
988 --enable-statline use wxStaticLine class
989 --enable-stattext use wxStaticText class
990 --enable-statusbar use wxStatusBar class
991 --enable-tabdialog use wxTabControl class
992 --enable-textctrl use wxTextCtrl class
993 --enable-togglebtn use wxToggleButton class
994 --enable-toolbar use wxToolBar class
995 --enable-tbarnative use native wxToolBar class
996 --enable-tbarsmpl use wxToolBarSimple class
997 --enable-treectrl use wxTreeCtrl class
998 --enable-tipwindow use wxTipWindow class
999 --enable-popupwin use wxPopUpWindow class
1000 --enable-commondlg use all common dialogs
1001 --enable-choicedlg use wxChoiceDialog
1002 --enable-coldlg use wxColourDialog
1003 --enable-filedlg use wxFileDialog
1004 --enable-finddlg use wxFindReplaceDialog
1005 --enable-fontdlg use wxFontDialog
1006 --enable-dirdlg use wxDirDialog
1007 --enable-msgdlg use wxMessageDialog
1008 --enable-numberdlg use wxNumberEntryDialog
1009 --enable-splash use wxSplashScreen
1010 --enable-textdlg use wxTextDialog
1011 --enable-tipdlg use startup tips
1012 --enable-progressdlg use wxProgressDialog
1013 --enable-wizarddlg use wxWizard
1014 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1015 --enable-miniframe use wxMiniFrame class
1016 --enable-tooltips use wxToolTip class
1017 --enable-splines use spline drawing code
1018 --enable-validators use wxValidator and derived classes
1019 --enable-busyinfo use wxBusyInfo
1020 --enable-joystick use wxJoystick
(Linux only
)
1021 --enable-metafiles use wxMetaFile
(Windows only
)
1022 --enable-dragimage use wxDragImage
1023 --enable-accessibility enable accessibility support
1024 --enable-palette use wxPalette class
1025 --enable-image use wxImage class
1026 --enable-gif use gif images
(GIF
file format
)
1027 --enable-pcx use pcx images
(PCX
file format
)
1028 --enable-iff use iff images
(IFF
file format
)
1029 --enable-pnm use pnm images
(PNM
file format
)
1030 --enable-xpm use xpm images
(XPM
file format
)
1031 --enable-icocur use Windows ICO and CUR formats
1032 --enable-official_build official build of wxWindows
(win32 DLL only
)
1033 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1034 --disable-largefile omit support
for large files
1035 --disable-gtktest do not try to compile and run a
test GTK
+ program
1036 --disable-gtktest Do not try to compile and run a
test GTK program
1037 --disable-sdltest Do not try to compile and run a
test SDL program
1038 --enable-omf use OMF object format
(OS
/2)
1039 --disable-precomp-headers don
't use precompiled headers even if compiler can
1042 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1043 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1045 --with-motif use Motif/Lesstif
1046 --with-mac use Mac OS X
1047 --with-cocoa use Cocoa
1048 --with-wine use Wine
1049 --with-msw use MS-Windows
1050 --with-pm use OS/2 Presentation Manager
1051 --with-mgl use SciTech MGL
1052 --with-microwin use MicroWindows
1054 --with-libpng use libpng (PNG image format)
1055 --with-libjpeg use libjpeg (JPEG file format)
1056 --with-libtiff use libtiff (TIFF file format)
1057 --with-libxpm use libxpm (XPM file format)
1058 --with-libmspack use libmspack (CHM help files loading)
1059 --with-sdl use SDL for audio on Unix
1060 --with-opengl use OpenGL (or Mesa)
1061 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1062 --with-regex enable support for wxRegEx class
1063 --with-zlib use zlib for LZW compression
1064 --with-odbc use the IODBC and wxODBC classes
1065 --with-expat enable XML support using expat parser
1066 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1067 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1068 --with-x use the X Window System
1069 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1070 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1071 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1072 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1073 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1075 Some influential environment variables:
1076 CC C compiler command
1077 CFLAGS C compiler flags
1078 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1079 nonstandard directory <lib dir>
1080 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1081 headers in a nonstandard directory <include dir>
1083 CXX C++ compiler command
1084 CXXFLAGS C++ compiler flags
1085 CXXCPP C++ preprocessor
1087 Use these variables to override the choices made by `configure' or to
help
1088 it to
find libraries and programs with nonstandard names
/locations.
1090 Report bugs to
<wx
-dev@lists.wxwindows.org
>.
1094 if test "$ac_init_help" = "recursive"; then
1095 # If there are subdirs, report their specific --help.
1097 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1098 test -d $ac_dir || continue
1101 if test "$ac_dir" != .
; then
1102 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1103 # A "../" for each directory in $ac_dir_suffix.
1104 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1106 ac_dir_suffix
= ac_top_builddir
=
1110 .
) # No --srcdir option. We are building in place.
1112 if test -z "$ac_top_builddir"; then
1115 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1117 [\\/]* | ?
:[\\/]* ) # Absolute path.
1118 ac_srcdir
=$srcdir$ac_dir_suffix;
1119 ac_top_srcdir
=$srcdir ;;
1121 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1122 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1125 # Do not use `cd foo && pwd` to compute absolute paths, because
1126 # the directories may not exist.
1128 .
) ac_abs_builddir
="$ac_dir";;
1131 .
) ac_abs_builddir
=`pwd`;;
1132 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1133 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1136 case $ac_abs_builddir in
1137 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1139 case ${ac_top_builddir}.
in
1140 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1141 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1142 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1145 case $ac_abs_builddir in
1146 .
) ac_abs_srcdir
=$ac_srcdir;;
1149 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1150 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1151 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1154 case $ac_abs_builddir in
1155 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1157 case $ac_top_srcdir in
1158 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1159 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1160 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1165 # Check for guested configure; otherwise get Cygnus style configure.
1166 if test -f $ac_srcdir/configure.gnu
; then
1168 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1169 elif test -f $ac_srcdir/configure
; then
1171 $SHELL $ac_srcdir/configure
--help=recursive
1172 elif test -f $ac_srcdir/configure.ac
||
1173 test -f $ac_srcdir/configure.
in; then
1175 $ac_configure --help
1177 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1183 test -n "$ac_init_help" && exit 0
1184 if $ac_init_version; then
1186 wxWindows configure
2.5.1
1187 generated by GNU Autoconf
2.59
1189 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1190 This configure
script is free software
; the Free Software Foundation
1191 gives unlimited permission to copy
, distribute and modify it.
1197 This file contains any messages produced by compilers while
1198 running configure, to aid debugging if configure makes a mistake.
1200 It was created by wxWindows $as_me 2.5.1, which was
1201 generated by GNU Autoconf 2.59. Invocation command line was
1212 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1213 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1214 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1215 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1216 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1218 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1219 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1221 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1222 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1223 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1224 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1225 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1226 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1227 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1235 test -z "$as_dir" && as_dir
=.
1236 echo "PATH: $as_dir"
1251 # Keep a trace of the command line.
1252 # Strip out --no-create and --no-recursion so they do not pile up.
1253 # Strip out --silent because we don't want to record it for future runs.
1254 # Also quote any args containing shell meta-characters.
1255 # Make two passes to allow for proper duplicate-argument suppression.
1260 ac_must_keep_next
=false
1266 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1267 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1268 | -silent | --silent | --silen | --sile | --sil)
1270 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1271 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1274 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1276 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1277 if test $ac_must_keep_next = true
; then
1278 ac_must_keep_next
=false
# Got value, back to normal.
1281 *=* | --config-cache | -C | -disable-* | --disable-* \
1282 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1283 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1284 | -with-* | --with-* | -without-* | --without-* | --x)
1285 case "$ac_configure_args0 " in
1286 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1289 -* ) ac_must_keep_next
=true
;;
1292 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1293 # Get rid of the leading space.
1299 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1300 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1302 # When interrupted or exit'd, cleanup temporary files, and complete
1303 # config.log. We remove comments because anyway the quotes in there
1304 # would cause problems or look ugly.
1305 # WARNING: Be sure not to use single quotes in there, as some shells,
1306 # such as our DU 5.0 friend, will then `close' the trap.
1307 trap 'exit_status=$?
1308 # Save into config.log some information that might help in debugging.
1313 ## ---------------- ##
1314 ## Cache variables. ##
1315 ## ---------------- ##
1318 # The following way of writing the cache mishandles newlines in values,
1321 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1324 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1325 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1329 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1336 ## ----------------- ##
1337 ## Output variables. ##
1338 ## ----------------- ##
1341 for ac_var in $ac_subst_vars
1343 eval ac_val=$`echo $ac_var`
1344 echo "$ac_var='"'"'$ac_val'"'"'"
1348 if test -n "$ac_subst_files"; then
1355 for ac_var in $ac_subst_files
1357 eval ac_val=$`echo $ac_var`
1358 echo "$ac_var='"'"'$ac_val'"'"'"
1363 if test -s confdefs.h; then
1370 sed "/^$/d" confdefs.h | sort
1373 test "$ac_signal" != 0 &&
1374 echo "$as_me: caught signal $ac_signal"
1375 echo "$as_me: exit $exit_status"
1377 rm -f core *.core &&
1378 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1381 for ac_signal
in 1 2 13 15; do
1382 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1386 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1387 rm -rf conftest
* confdefs.h
1388 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1391 # Predefined preprocessor variables.
1393 cat >>confdefs.h
<<_ACEOF
1394 #define PACKAGE_NAME "$PACKAGE_NAME"
1398 cat >>confdefs.h
<<_ACEOF
1399 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1403 cat >>confdefs.h
<<_ACEOF
1404 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1408 cat >>confdefs.h
<<_ACEOF
1409 #define PACKAGE_STRING "$PACKAGE_STRING"
1413 cat >>confdefs.h
<<_ACEOF
1414 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1418 # Let the site file select an alternate cache file if it wants to.
1419 # Prefer explicitly selected file to automatically selected ones.
1420 if test -z "$CONFIG_SITE"; then
1421 if test "x$prefix" != xNONE
; then
1422 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1424 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1427 for ac_site_file
in $CONFIG_SITE; do
1428 if test -r "$ac_site_file"; then
1429 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1430 echo "$as_me: loading site script $ac_site_file" >&6;}
1431 sed 's/^/| /' "$ac_site_file" >&5
1436 if test -r "$cache_file"; then
1437 # Some versions of bash will fail to source /dev/null (special
1438 # files actually), so we avoid doing that.
1439 if test -f "$cache_file"; then
1440 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1441 echo "$as_me: loading cache $cache_file" >&6;}
1443 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1444 *) . .
/$cache_file;;
1448 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1449 echo "$as_me: creating cache $cache_file" >&6;}
1453 # Check that the precious variables saved in the cache have kept the same
1455 ac_cache_corrupted
=false
1456 for ac_var
in `(set) 2>&1 |
1457 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1458 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1459 eval ac_new_set
=\
$ac_env_${ac_var}_set
1460 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1461 eval ac_new_val
="\$ac_env_${ac_var}_value"
1462 case $ac_old_set,$ac_new_set in
1464 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1465 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1466 ac_cache_corrupted
=: ;;
1468 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1469 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1470 ac_cache_corrupted
=: ;;
1473 if test "x$ac_old_val" != "x$ac_new_val"; then
1474 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1475 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1476 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1477 echo "$as_me: former value: $ac_old_val" >&2;}
1478 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1479 echo "$as_me: current value: $ac_new_val" >&2;}
1480 ac_cache_corrupted
=:
1483 # Pass precious variables to config.status.
1484 if test "$ac_new_set" = set; then
1486 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1487 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1488 *) ac_arg
=$ac_var=$ac_new_val ;;
1490 case " $ac_configure_args " in
1491 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1492 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1496 if $ac_cache_corrupted; then
1497 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1498 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1499 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1500 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1501 { (exit 1); exit 1; }; }
1505 ac_cpp
='$CPP $CPPFLAGS'
1506 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1507 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1508 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1540 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1541 if test -f $ac_dir/install-sh; then
1543 ac_install_sh
="$ac_aux_dir/install-sh -c"
1545 elif test -f $ac_dir/install.sh
; then
1547 ac_install_sh
="$ac_aux_dir/install.sh -c"
1549 elif test -f $ac_dir/shtool
; then
1551 ac_install_sh
="$ac_aux_dir/shtool install -c"
1555 if test -z "$ac_aux_dir"; then
1556 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1557 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1558 { (exit 1); exit 1; }; }
1560 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1561 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1562 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1564 # Make sure we can run config.sub.
1565 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1566 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1567 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1568 { (exit 1); exit 1; }; }
1570 echo "$as_me:$LINENO: checking build system type" >&5
1571 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1572 if test "${ac_cv_build+set}" = set; then
1573 echo $ECHO_N "(cached) $ECHO_C" >&6
1575 ac_cv_build_alias
=$build_alias
1576 test -z "$ac_cv_build_alias" &&
1577 ac_cv_build_alias
=`$ac_config_guess`
1578 test -z "$ac_cv_build_alias" &&
1579 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1580 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1581 { (exit 1); exit 1; }; }
1582 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1583 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1584 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1585 { (exit 1); exit 1; }; }
1588 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1589 echo "${ECHO_T}$ac_cv_build" >&6
1591 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1592 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1593 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1596 echo "$as_me:$LINENO: checking host system type" >&5
1597 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1598 if test "${ac_cv_host+set}" = set; then
1599 echo $ECHO_N "(cached) $ECHO_C" >&6
1601 ac_cv_host_alias
=$host_alias
1602 test -z "$ac_cv_host_alias" &&
1603 ac_cv_host_alias
=$ac_cv_build_alias
1604 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1605 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1606 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1607 { (exit 1); exit 1; }; }
1610 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1611 echo "${ECHO_T}$ac_cv_host" >&6
1613 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1614 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1615 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1618 echo "$as_me:$LINENO: checking target system type" >&5
1619 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1620 if test "${ac_cv_target+set}" = set; then
1621 echo $ECHO_N "(cached) $ECHO_C" >&6
1623 ac_cv_target_alias
=$target_alias
1624 test "x$ac_cv_target_alias" = "x" &&
1625 ac_cv_target_alias
=$ac_cv_host_alias
1626 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1627 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1628 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1629 { (exit 1); exit 1; }; }
1632 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1633 echo "${ECHO_T}$ac_cv_target" >&6
1634 target
=$ac_cv_target
1635 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1636 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1637 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1640 # The aliases save the names the user supplied, while $host etc.
1641 # will get canonicalized.
1642 test -n "$target_alias" &&
1643 test "$program_prefix$program_suffix$program_transform_name" = \
1645 program_prefix
=${target_alias}-
1649 WX_MAJOR_VERSION_NUMBER
=2
1650 WX_MINOR_VERSION_NUMBER
=5
1653 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1654 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1656 WX_MSW_VERSION
=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1672 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1678 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1684 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1686 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1688 DEFAULT_wxUSE_COCOA
=0
1692 DEFAULT_wxUSE_MICROWIN
=0
1693 DEFAULT_wxUSE_MOTIF
=0
1698 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1699 DEFAULT_DEFAULT_wxUSE_GTK
=0
1700 DEFAULT_DEFAULT_wxUSE_MAC
=0
1701 DEFAULT_DEFAULT_wxUSE_MGL
=0
1702 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1703 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1704 DEFAULT_DEFAULT_wxUSE_MSW
=0
1705 DEFAULT_DEFAULT_wxUSE_PM
=0
1706 DEFAULT_DEFAULT_wxUSE_X11
=0
1711 SAMPLES_RPATH_POSTLINK
=
1716 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1717 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1719 cat >>confdefs.h
<<\_ACEOF
1726 cat >>confdefs.h
<<\_ACEOF
1731 if test "x$TMP" = "xalpha"; then
1733 cat >>confdefs.h
<<\_ACEOF
1738 DEFAULT_DEFAULT_wxUSE_GTK
=1
1740 *-*-gnu* | *-*-k*bsd
*-gnu )
1743 if test "x$TMP" = "xalpha"; then
1745 cat >>confdefs.h
<<\_ACEOF
1750 DEFAULT_DEFAULT_wxUSE_GTK
=1
1752 *-*-irix5* | *-*-irix6* )
1755 cat >>confdefs.h
<<\_ACEOF
1759 cat >>confdefs.h
<<\_ACEOF
1763 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1769 cat >>confdefs.h
<<\_ACEOF
1773 cat >>confdefs.h
<<\_ACEOF
1774 #define __SOLARIS__ 1
1777 cat >>confdefs.h
<<\_ACEOF
1781 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1782 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1788 cat >>confdefs.h
<<\_ACEOF
1792 cat >>confdefs.h
<<\_ACEOF
1796 cat >>confdefs.h
<<\_ACEOF
1800 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1805 cat >>confdefs.h
<<\_ACEOF
1806 #define __FREEBSD__ 1
1809 cat >>confdefs.h
<<\_ACEOF
1813 DEFAULT_DEFAULT_wxUSE_GTK
=1
1818 cat >>confdefs.h
<<\_ACEOF
1819 #define __OPENBSD__ 1
1822 cat >>confdefs.h
<<\_ACEOF
1826 DEFAULT_DEFAULT_wxUSE_GTK
=1
1831 cat >>confdefs.h
<<\_ACEOF
1832 #define __NETBSD__ 1
1835 cat >>confdefs.h
<<\_ACEOF
1839 DEFAULT_DEFAULT_wxUSE_GTK
=1
1844 cat >>confdefs.h
<<\_ACEOF
1848 cat >>confdefs.h
<<\_ACEOF
1852 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1853 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1858 cat >>confdefs.h
<<\_ACEOF
1862 cat >>confdefs.h
<<\_ACEOF
1866 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1871 cat >>confdefs.h
<<\_ACEOF
1875 cat >>confdefs.h
<<\_ACEOF
1879 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1886 cat >>confdefs.h
<<\_ACEOF
1890 cat >>confdefs.h
<<\_ACEOF
1894 cat >>confdefs.h
<<\_ACEOF
1898 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1905 cat >>confdefs.h
<<\_ACEOF
1906 #define __UNIXWARE__ 1
1911 *-*-cygwin* | *-*-mingw32* )
1915 DEFAULT_DEFAULT_wxUSE_MSW
=1
1921 cat >>confdefs.h
<<\_ACEOF
1926 DEFAULT_DEFAULT_wxUSE_MGL
=1
1927 LIBS
="$LIBS -lstdc++"
1930 *-pc-os2_emx | *-pc-os2-emx )
1931 cat >>confdefs.h
<<\_ACEOF
1936 cat >>confdefs.h
<<\_ACEOF
1941 DEFAULT_DEFAULT_wxUSE_PM
=1
1943 LDFLAGS
="$LDFLAGS -Zcrtdll"
1944 ac_executable_extensions
=".exe"
1945 export ac_executable_extensions
1949 for ac_dir
in $PATH; do
1951 if test -z "$ac_TEMP_PATH"; then
1952 ac_TEMP_PATH
="$ac_dir"
1954 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
1957 export PATH
="$ac_TEMP_PATH"
1965 cat >>confdefs.h
<<\_ACEOF
1969 cat >>confdefs.h
<<\_ACEOF
1970 #define __DARWIN__ 1
1973 cat >>confdefs.h
<<\_ACEOF
1974 #define __POWERPC__ 1
1977 cat >>confdefs.h
<<\_ACEOF
1978 #define TARGET_CARBON 1
1981 DEFAULT_DEFAULT_wxUSE_MAC
=1
1986 cat >>confdefs.h
<<\_ACEOF
1993 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1994 echo "$as_me: error: unknown system type ${host}." >&2;}
1995 { (exit 1); exit 1; }; }
2001 wx_arg_cache_file
="configarg.cache"
2002 echo "loading argument cache $wx_arg_cache_file"
2003 rm -f ${wx_arg_cache_file}.tmp
2004 touch ${wx_arg_cache_file}.tmp
2005 touch ${wx_arg_cache_file}
2009 if test $DEBUG_CONFIGURE = 1; then
2010 DEFAULT_wxUSE_UNIVERSAL
=no
2011 DEFAULT_wxUSE_STL
=no
2013 DEFAULT_wxUSE_NANOX
=no
2015 DEFAULT_wxUSE_THREADS
=yes
2017 DEFAULT_wxUSE_SHARED
=yes
2018 DEFAULT_wxUSE_OPTIMISE
=no
2019 DEFAULT_wxUSE_PROFILE
=no
2020 DEFAULT_wxUSE_NO_DEPS
=no
2021 DEFAULT_wxUSE_NO_RTTI
=no
2022 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2023 DEFAULT_wxUSE_PERMISSIVE
=no
2024 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2025 DEFAULT_wxUSE_DEBUG_INFO
=yes
2026 DEFAULT_wxUSE_DEBUG_GDB
=yes
2027 DEFAULT_wxUSE_MEM_TRACING
=no
2028 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2029 DEFAULT_wxUSE_DMALLOC
=no
2030 DEFAULT_wxUSE_APPLE_IEEE
=no
2032 DEFAULT_wxUSE_EXCEPTIONS
=no
2033 DEFAULT_wxUSE_LOG
=yes
2034 DEFAULT_wxUSE_LOGWINDOW
=no
2035 DEFAULT_wxUSE_LOGGUI
=no
2036 DEFAULT_wxUSE_LOGDIALOG
=no
2038 DEFAULT_wxUSE_GUI
=yes
2039 DEFAULT_wxUSE_CONTROLS
=no
2041 DEFAULT_wxUSE_REGEX
=no
2042 DEFAULT_wxUSE_XML
=no
2043 DEFAULT_wxUSE_EXPAT
=no
2044 DEFAULT_wxUSE_ZLIB
=no
2045 DEFAULT_wxUSE_LIBPNG
=no
2046 DEFAULT_wxUSE_LIBJPEG
=no
2047 DEFAULT_wxUSE_LIBTIFF
=no
2048 DEFAULT_wxUSE_LIBXPM
=no
2049 DEFAULT_wxUSE_LIBMSPACK
=no
2050 DEFAULT_wxUSE_LIBSDL
=no
2051 DEFAULT_wxUSE_ODBC
=no
2052 DEFAULT_wxUSE_OPENGL
=no
2054 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2055 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2056 DEFAULT_wxUSE_STD_IOSTREAM
=no
2057 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2058 DEFAULT_wxUSE_DATETIME
=no
2059 DEFAULT_wxUSE_TIMER
=no
2060 DEFAULT_wxUSE_STOPWATCH
=no
2061 DEFAULT_wxUSE_FILE
=no
2062 DEFAULT_wxUSE_FFILE
=no
2063 DEFAULT_wxUSE_TEXTBUFFER
=no
2064 DEFAULT_wxUSE_TEXTFILE
=no
2065 DEFAULT_wxUSE_SOUND
=no
2066 DEFAULT_wxUSE_INTL
=no
2067 DEFAULT_wxUSE_CONFIG
=no
2068 DEFAULT_wxUSE_FONTMAP
=no
2069 DEFAULT_wxUSE_STREAMS
=no
2070 DEFAULT_wxUSE_SOCKETS
=no
2071 DEFAULT_wxUSE_OLE
=no
2072 DEFAULT_wxUSE_DATAOBJ
=no
2073 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2074 DEFAULT_wxUSE_JOYSTICK
=no
2075 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2076 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2077 DEFAULT_wxUSE_LONGLONG
=no
2078 DEFAULT_wxUSE_GEOMETRY
=no
2080 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2081 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2082 DEFAULT_wxUSE_POSTSCRIPT
=no
2084 DEFAULT_wxUSE_CLIPBOARD
=no
2085 DEFAULT_wxUSE_TOOLTIPS
=no
2086 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2087 DEFAULT_wxUSE_DRAGIMAGE
=no
2088 DEFAULT_wxUSE_SPLINES
=no
2090 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2091 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2092 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2094 DEFAULT_wxUSE_RESOURCES
=no
2095 DEFAULT_wxUSE_CONSTRAINTS
=no
2096 DEFAULT_wxUSE_IPC
=no
2097 DEFAULT_wxUSE_HELP
=no
2098 DEFAULT_wxUSE_MS_HTML_HELP
=no
2099 DEFAULT_wxUSE_WXHTML_HELP
=no
2100 DEFAULT_wxUSE_TREELAYOUT
=no
2101 DEFAULT_wxUSE_METAFILE
=no
2102 DEFAULT_wxUSE_MIMETYPE
=no
2103 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2104 DEFAULT_wxUSE_PROTOCOL
=no
2105 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2106 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2107 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2108 DEFAULT_wxUSE_URL
=no
2110 DEFAULT_wxUSE_COMMONDLGS
=no
2111 DEFAULT_wxUSE_CHOICEDLG
=no
2112 DEFAULT_wxUSE_COLOURDLG
=no
2113 DEFAULT_wxUSE_DIRDLG
=no
2114 DEFAULT_wxUSE_FILEDLG
=no
2115 DEFAULT_wxUSE_FINDREPLDLG
=no
2116 DEFAULT_wxUSE_FONTDLG
=no
2117 DEFAULT_wxUSE_MSGDLG
=no
2118 DEFAULT_wxUSE_NUMBERDLG
=no
2119 DEFAULT_wxUSE_TEXTDLG
=no
2120 DEFAULT_wxUSE_SPLASH
=no
2121 DEFAULT_wxUSE_STARTUP_TIPS
=no
2122 DEFAULT_wxUSE_PROGRESSDLG
=no
2123 DEFAULT_wxUSE_WIZARDDLG
=no
2125 DEFAULT_wxUSE_MENUS
=no
2126 DEFAULT_wxUSE_MINIFRAME
=no
2127 DEFAULT_wxUSE_HTML
=no
2128 DEFAULT_wxUSE_FILESYSTEM
=no
2129 DEFAULT_wxUSE_FS_INET
=no
2130 DEFAULT_wxUSE_FS_ZIP
=no
2131 DEFAULT_wxUSE_BUSYINFO
=no
2132 DEFAULT_wxUSE_ZIPSTREAM
=no
2133 DEFAULT_wxUSE_GZSTREAM
=no
2134 DEFAULT_wxUSE_VALIDATORS
=no
2136 DEFAULT_wxUSE_ACCEL
=no
2137 DEFAULT_wxUSE_BUTTON
=no
2138 DEFAULT_wxUSE_BMPBUTTON
=no
2139 DEFAULT_wxUSE_CALCTRL
=no
2140 DEFAULT_wxUSE_CARET
=no
2141 DEFAULT_wxUSE_CHECKBOX
=no
2142 DEFAULT_wxUSE_CHECKLST
=no
2143 DEFAULT_wxUSE_CHOICE
=no
2144 DEFAULT_wxUSE_COMBOBOX
=no
2145 DEFAULT_wxUSE_DISPLAY
=no
2146 DEFAULT_wxUSE_GAUGE
=no
2147 DEFAULT_wxUSE_GRID
=no
2148 DEFAULT_wxUSE_IMAGLIST
=no
2149 DEFAULT_wxUSE_LISTBOOK
=no
2150 DEFAULT_wxUSE_LISTBOX
=no
2151 DEFAULT_wxUSE_LISTCTRL
=no
2152 DEFAULT_wxUSE_NOTEBOOK
=no
2153 DEFAULT_wxUSE_RADIOBOX
=no
2154 DEFAULT_wxUSE_RADIOBTN
=no
2155 DEFAULT_wxUSE_SASH
=no
2156 DEFAULT_wxUSE_SCROLLBAR
=no
2157 DEFAULT_wxUSE_SLIDER
=no
2158 DEFAULT_wxUSE_SPINBTN
=no
2159 DEFAULT_wxUSE_SPINCTRL
=no
2160 DEFAULT_wxUSE_SPLITTER
=no
2161 DEFAULT_wxUSE_STATBMP
=no
2162 DEFAULT_wxUSE_STATBOX
=no
2163 DEFAULT_wxUSE_STATLINE
=no
2164 DEFAULT_wxUSE_STATTEXT
=no
2165 DEFAULT_wxUSE_STATUSBAR
=yes
2166 DEFAULT_wxUSE_TABDIALOG
=no
2167 DEFAULT_wxUSE_TEXTCTRL
=no
2168 DEFAULT_wxUSE_TOGGLEBTN
=no
2169 DEFAULT_wxUSE_TOOLBAR
=no
2170 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2171 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2172 DEFAULT_wxUSE_TREECTRL
=no
2173 DEFAULT_wxUSE_POPUPWIN
=no
2174 DEFAULT_wxUSE_TIPWINDOW
=no
2176 DEFAULT_wxUSE_UNICODE
=no
2177 DEFAULT_wxUSE_UNICODE_MSLU
=no
2178 DEFAULT_wxUSE_WCSRTOMBS
=no
2180 DEFAULT_wxUSE_PALETTE
=no
2181 DEFAULT_wxUSE_IMAGE
=no
2182 DEFAULT_wxUSE_GIF
=no
2183 DEFAULT_wxUSE_PCX
=no
2184 DEFAULT_wxUSE_PNM
=no
2185 DEFAULT_wxUSE_IFF
=no
2186 DEFAULT_wxUSE_XPM
=no
2187 DEFAULT_wxUSE_ICO_CUR
=no
2188 DEFAULT_wxUSE_ACCESSIBILITY
=no
2190 DEFAULT_wxUSE_MONOLITHIC
=no
2191 DEFAULT_wxUSE_PLUGINS
=no
2192 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2194 DEFAULT_wxUSE_UNIVERSAL
=no
2195 DEFAULT_wxUSE_STL
=no
2197 DEFAULT_wxUSE_NANOX
=no
2199 DEFAULT_wxUSE_THREADS
=yes
2201 DEFAULT_wxUSE_SHARED
=yes
2202 DEFAULT_wxUSE_OPTIMISE
=yes
2203 DEFAULT_wxUSE_PROFILE
=no
2204 DEFAULT_wxUSE_NO_DEPS
=no
2205 DEFAULT_wxUSE_NO_RTTI
=no
2206 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2207 DEFAULT_wxUSE_PERMISSIVE
=no
2208 DEFAULT_wxUSE_DEBUG_FLAG
=no
2209 DEFAULT_wxUSE_DEBUG_INFO
=no
2210 DEFAULT_wxUSE_DEBUG_GDB
=no
2211 DEFAULT_wxUSE_MEM_TRACING
=no
2212 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2213 DEFAULT_wxUSE_DMALLOC
=no
2214 DEFAULT_wxUSE_APPLE_IEEE
=yes
2216 DEFAULT_wxUSE_EXCEPTIONS
=yes
2217 DEFAULT_wxUSE_LOG
=yes
2218 DEFAULT_wxUSE_LOGWINDOW
=yes
2219 DEFAULT_wxUSE_LOGGUI
=yes
2220 DEFAULT_wxUSE_LOGDIALOG
=yes
2222 DEFAULT_wxUSE_GUI
=yes
2224 DEFAULT_wxUSE_REGEX
=yes
2225 DEFAULT_wxUSE_XML
=yes
2226 DEFAULT_wxUSE_EXPAT
=yes
2227 DEFAULT_wxUSE_ZLIB
=yes
2228 DEFAULT_wxUSE_LIBPNG
=yes
2229 DEFAULT_wxUSE_LIBJPEG
=yes
2230 DEFAULT_wxUSE_LIBTIFF
=yes
2231 DEFAULT_wxUSE_LIBXPM
=yes
2232 DEFAULT_wxUSE_LIBMSPACK
=yes
2233 DEFAULT_wxUSE_LIBSDL
=no
2234 DEFAULT_wxUSE_ODBC
=no
2235 DEFAULT_wxUSE_OPENGL
=no
2237 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2238 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2239 DEFAULT_wxUSE_STD_IOSTREAM
=no
2240 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2241 DEFAULT_wxUSE_DATETIME
=yes
2242 DEFAULT_wxUSE_TIMER
=yes
2243 DEFAULT_wxUSE_STOPWATCH
=yes
2244 DEFAULT_wxUSE_FILE
=yes
2245 DEFAULT_wxUSE_FFILE
=yes
2246 DEFAULT_wxUSE_TEXTBUFFER
=yes
2247 DEFAULT_wxUSE_TEXTFILE
=yes
2248 DEFAULT_wxUSE_SOUND
=yes
2249 DEFAULT_wxUSE_INTL
=yes
2250 DEFAULT_wxUSE_CONFIG
=yes
2251 DEFAULT_wxUSE_FONTMAP
=yes
2252 DEFAULT_wxUSE_STREAMS
=yes
2253 DEFAULT_wxUSE_SOCKETS
=yes
2254 DEFAULT_wxUSE_OLE
=yes
2255 DEFAULT_wxUSE_DATAOBJ
=yes
2256 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2257 DEFAULT_wxUSE_JOYSTICK
=yes
2258 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2259 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2260 DEFAULT_wxUSE_LONGLONG
=yes
2261 DEFAULT_wxUSE_GEOMETRY
=yes
2263 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2264 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2265 DEFAULT_wxUSE_POSTSCRIPT
=yes
2267 DEFAULT_wxUSE_CLIPBOARD
=yes
2268 DEFAULT_wxUSE_TOOLTIPS
=yes
2269 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2270 DEFAULT_wxUSE_DRAGIMAGE
=yes
2271 DEFAULT_wxUSE_SPLINES
=yes
2273 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2274 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2275 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2277 DEFAULT_wxUSE_RESOURCES
=no
2278 DEFAULT_wxUSE_CONSTRAINTS
=yes
2279 DEFAULT_wxUSE_IPC
=yes
2280 DEFAULT_wxUSE_HELP
=yes
2281 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2282 DEFAULT_wxUSE_WXHTML_HELP
=yes
2283 DEFAULT_wxUSE_TREELAYOUT
=yes
2284 DEFAULT_wxUSE_METAFILE
=yes
2285 DEFAULT_wxUSE_MIMETYPE
=yes
2286 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2287 DEFAULT_wxUSE_PROTOCOL
=yes
2288 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2289 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2290 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2291 DEFAULT_wxUSE_URL
=yes
2293 DEFAULT_wxUSE_COMMONDLGS
=yes
2294 DEFAULT_wxUSE_CHOICEDLG
=yes
2295 DEFAULT_wxUSE_COLOURDLG
=yes
2296 DEFAULT_wxUSE_DIRDLG
=yes
2297 DEFAULT_wxUSE_FILEDLG
=yes
2298 DEFAULT_wxUSE_FINDREPLDLG
=yes
2299 DEFAULT_wxUSE_FONTDLG
=yes
2300 DEFAULT_wxUSE_MSGDLG
=yes
2301 DEFAULT_wxUSE_NUMBERDLG
=yes
2302 DEFAULT_wxUSE_TEXTDLG
=yes
2303 DEFAULT_wxUSE_SPLASH
=yes
2304 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2305 DEFAULT_wxUSE_PROGRESSDLG
=yes
2306 DEFAULT_wxUSE_WIZARDDLG
=yes
2308 DEFAULT_wxUSE_MENUS
=yes
2309 DEFAULT_wxUSE_MINIFRAME
=yes
2310 DEFAULT_wxUSE_HTML
=yes
2311 DEFAULT_wxUSE_FILESYSTEM
=yes
2312 DEFAULT_wxUSE_FS_INET
=yes
2313 DEFAULT_wxUSE_FS_ZIP
=yes
2314 DEFAULT_wxUSE_BUSYINFO
=yes
2315 DEFAULT_wxUSE_ZIPSTREAM
=yes
2316 DEFAULT_wxUSE_GZSTREAM
=yes
2317 DEFAULT_wxUSE_VALIDATORS
=yes
2319 DEFAULT_wxUSE_ACCEL
=yes
2320 DEFAULT_wxUSE_BUTTON
=yes
2321 DEFAULT_wxUSE_BMPBUTTON
=yes
2322 DEFAULT_wxUSE_CALCTRL
=yes
2323 DEFAULT_wxUSE_CARET
=yes
2324 DEFAULT_wxUSE_CHECKBOX
=yes
2325 DEFAULT_wxUSE_CHECKLST
=yes
2326 DEFAULT_wxUSE_CHOICE
=yes
2327 DEFAULT_wxUSE_COMBOBOX
=yes
2328 DEFAULT_wxUSE_DISPLAY
=yes
2329 DEFAULT_wxUSE_GAUGE
=yes
2330 DEFAULT_wxUSE_GRID
=yes
2331 DEFAULT_wxUSE_IMAGLIST
=yes
2332 DEFAULT_wxUSE_LISTBOOK
=yes
2333 DEFAULT_wxUSE_LISTBOX
=yes
2334 DEFAULT_wxUSE_LISTCTRL
=yes
2335 DEFAULT_wxUSE_NOTEBOOK
=yes
2336 DEFAULT_wxUSE_RADIOBOX
=yes
2337 DEFAULT_wxUSE_RADIOBTN
=yes
2338 DEFAULT_wxUSE_SASH
=yes
2339 DEFAULT_wxUSE_SCROLLBAR
=yes
2340 DEFAULT_wxUSE_SLIDER
=yes
2341 DEFAULT_wxUSE_SPINBTN
=yes
2342 DEFAULT_wxUSE_SPINCTRL
=yes
2343 DEFAULT_wxUSE_SPLITTER
=yes
2344 DEFAULT_wxUSE_STATBMP
=yes
2345 DEFAULT_wxUSE_STATBOX
=yes
2346 DEFAULT_wxUSE_STATLINE
=yes
2347 DEFAULT_wxUSE_STATTEXT
=yes
2348 DEFAULT_wxUSE_STATUSBAR
=yes
2349 DEFAULT_wxUSE_TABDIALOG
=no
2350 DEFAULT_wxUSE_TEXTCTRL
=yes
2351 DEFAULT_wxUSE_TOGGLEBTN
=yes
2352 DEFAULT_wxUSE_TOOLBAR
=yes
2353 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2354 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2355 DEFAULT_wxUSE_TREECTRL
=yes
2356 DEFAULT_wxUSE_POPUPWIN
=yes
2357 DEFAULT_wxUSE_TIPWINDOW
=yes
2359 DEFAULT_wxUSE_UNICODE
=no
2360 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2361 DEFAULT_wxUSE_WCSRTOMBS
=no
2363 DEFAULT_wxUSE_PALETTE
=yes
2364 DEFAULT_wxUSE_IMAGE
=yes
2365 DEFAULT_wxUSE_GIF
=yes
2366 DEFAULT_wxUSE_PCX
=yes
2367 DEFAULT_wxUSE_IFF
=no
2368 DEFAULT_wxUSE_PNM
=yes
2369 DEFAULT_wxUSE_XPM
=yes
2370 DEFAULT_wxUSE_ICO_CUR
=yes
2371 DEFAULT_wxUSE_ACCESSIBILITY
=no
2373 DEFAULT_wxUSE_MONOLITHIC
=no
2374 DEFAULT_wxUSE_PLUGINS
=no
2375 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2380 for toolkit
in `echo $ALL_TOOLKITS`; do
2381 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2382 if test "x$LINE" != "x" ; then
2383 has_toolkit_in_cache
=1
2384 eval "DEFAULT_$LINE"
2385 eval "CACHE_$toolkit=1"
2392 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2393 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2395 # Check whether --enable-gui or --disable-gui was given.
2396 if test "${enable_gui+set}" = set; then
2397 enableval
="$enable_gui"
2399 if test "$enableval" = yes; then
2400 ac_cv_use_gui
='wxUSE_GUI=yes'
2402 ac_cv_use_gui
='wxUSE_GUI=no'
2407 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2408 if test "x$LINE" != x
; then
2409 eval "DEFAULT_$LINE"
2414 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2418 eval "$ac_cv_use_gui"
2419 if test "$no_cache" != 1; then
2420 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2423 if test "$wxUSE_GUI" = yes; then
2424 echo "$as_me:$LINENO: result: yes" >&5
2425 echo "${ECHO_T}yes" >&6
2427 echo "$as_me:$LINENO: result: no" >&5
2428 echo "${ECHO_T}no" >&6
2433 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2434 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2436 # Check whether --enable-monolithic or --disable-monolithic was given.
2437 if test "${enable_monolithic+set}" = set; then
2438 enableval
="$enable_monolithic"
2440 if test "$enableval" = yes; then
2441 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2443 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2448 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2449 if test "x$LINE" != x
; then
2450 eval "DEFAULT_$LINE"
2455 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2459 eval "$ac_cv_use_monolithic"
2460 if test "$no_cache" != 1; then
2461 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2464 if test "$wxUSE_MONOLITHIC" = yes; then
2465 echo "$as_me:$LINENO: result: yes" >&5
2466 echo "${ECHO_T}yes" >&6
2468 echo "$as_me:$LINENO: result: no" >&5
2469 echo "${ECHO_T}no" >&6
2474 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2475 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2477 # Check whether --enable-plugins or --disable-plugins was given.
2478 if test "${enable_plugins+set}" = set; then
2479 enableval
="$enable_plugins"
2481 if test "$enableval" = yes; then
2482 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2484 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2489 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2490 if test "x$LINE" != x
; then
2491 eval "DEFAULT_$LINE"
2496 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2500 eval "$ac_cv_use_plugins"
2501 if test "$no_cache" != 1; then
2502 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2505 if test "$wxUSE_PLUGINS" = yes; then
2506 echo "$as_me:$LINENO: result: yes" >&5
2507 echo "${ECHO_T}yes" >&6
2509 echo "$as_me:$LINENO: result: no" >&5
2510 echo "${ECHO_T}no" >&6
2514 if test "$wxUSE_GUI" = "yes"; then
2518 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2519 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2521 # Check whether --enable-universal or --disable-universal was given.
2522 if test "${enable_universal+set}" = set; then
2523 enableval
="$enable_universal"
2525 if test "$enableval" = yes; then
2526 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2528 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2533 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2534 if test "x$LINE" != x
; then
2535 eval "DEFAULT_$LINE"
2540 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2544 eval "$ac_cv_use_universal"
2545 if test "$no_cache" != 1; then
2546 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2549 if test "$wxUSE_UNIVERSAL" = 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
2558 # Check whether --with-gtk or --without-gtk was given.
2559 if test "${with_gtk+set}" = set; then
2561 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2564 # Check whether --with-motif or --without-motif was given.
2565 if test "${with_motif+set}" = set; then
2566 withval
="$with_motif"
2567 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2570 # Check whether --with-mac or --without-mac was given.
2571 if test "${with_mac+set}" = set; then
2573 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
2576 # Check whether --with-cocoa or --without-cocoa was given.
2577 if test "${with_cocoa+set}" = set; then
2578 withval
="$with_cocoa"
2579 wxUSE_COCOA
="$withval" TOOLKIT_GIVEN
=1
2582 # Check whether --with-wine or --without-wine was given.
2583 if test "${with_wine+set}" = set; then
2584 withval
="$with_wine"
2585 wxUSE_WINE
="$withval" CACHE_WINE
=1
2588 # Check whether --with-msw or --without-msw was given.
2589 if test "${with_msw+set}" = set; then
2591 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2594 # Check whether --with-pm or --without-pm was given.
2595 if test "${with_pm+set}" = set; then
2597 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2600 # Check whether --with-mgl or --without-mgl was given.
2601 if test "${with_mgl+set}" = set; then
2603 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2606 # Check whether --with-microwin or --without-microwin was given.
2607 if test "${with_microwin+set}" = set; then
2608 withval
="$with_microwin"
2609 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2612 # Check whether --with-x11 or --without-x11 was given.
2613 if test "${with_x11+set}" = set; then
2615 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2619 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2620 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2622 # Check whether --enable-nanox or --disable-nanox was given.
2623 if test "${enable_nanox+set}" = set; then
2624 enableval
="$enable_nanox"
2626 if test "$enableval" = yes; then
2627 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2629 ac_cv_use_nanox
='wxUSE_NANOX=no'
2634 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2635 if test "x$LINE" != x
; then
2636 eval "DEFAULT_$LINE"
2641 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2645 eval "$ac_cv_use_nanox"
2646 if test "$no_cache" != 1; then
2647 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2650 if test "$wxUSE_NANOX" = yes; then
2651 echo "$as_me:$LINENO: result: yes" >&5
2652 echo "${ECHO_T}yes" >&6
2654 echo "$as_me:$LINENO: result: no" >&5
2655 echo "${ECHO_T}no" >&6
2661 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2662 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2664 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2665 if test "${enable_gtk2+set}" = set; then
2666 enableval
="$enable_gtk2"
2668 if test "$enableval" = yes; then
2669 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
2671 ac_cv_use_gtk2
='wxUSE_GTK2=no'
2676 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2677 if test "x$LINE" != x
; then
2678 eval "DEFAULT_$LINE"
2683 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2687 eval "$ac_cv_use_gtk2"
2688 if test "$no_cache" != 1; then
2689 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2692 if test "$wxUSE_GTK2" = yes; then
2693 echo "$as_me:$LINENO: result: yes" >&5
2694 echo "${ECHO_T}yes" >&6
2696 echo "$as_me:$LINENO: result: no" >&5
2697 echo "${ECHO_T}no" >&6
2702 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2703 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2705 # Check whether --enable-gpe or --disable-gpe was given.
2706 if test "${enable_gpe+set}" = set; then
2707 enableval
="$enable_gpe"
2709 if test "$enableval" = yes; then
2710 ac_cv_use_gpe
='wxUSE_GPE=yes'
2712 ac_cv_use_gpe
='wxUSE_GPE=no'
2717 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2718 if test "x$LINE" != x
; then
2719 eval "DEFAULT_$LINE"
2724 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2728 eval "$ac_cv_use_gpe"
2729 if test "$no_cache" != 1; then
2730 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2733 if test "$wxUSE_GPE" = yes; then
2734 echo "$as_me:$LINENO: result: yes" >&5
2735 echo "${ECHO_T}yes" >&6
2737 echo "$as_me:$LINENO: result: no" >&5
2738 echo "${ECHO_T}no" >&6
2743 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2744 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2747 # Check whether --with-libpng or --without-libpng was given.
2748 if test "${with_libpng+set}" = set; then
2749 withval
="$with_libpng"
2751 if test "$withval" = yes; then
2752 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2753 elif test "$withval" = no
; then
2754 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2755 elif test "$withval" = sys
; then
2756 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2757 elif test "$withval" = builtin; then
2758 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2760 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2761 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2762 { (exit 1); exit 1; }; }
2767 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2768 if test "x$LINE" != x
; then
2769 eval "DEFAULT_$LINE"
2774 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2778 eval "$ac_cv_use_libpng"
2779 if test "$no_cache" != 1; then
2780 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2783 if test "$wxUSE_LIBPNG" = yes; then
2784 echo "$as_me:$LINENO: result: yes" >&5
2785 echo "${ECHO_T}yes" >&6
2786 elif test "$wxUSE_LIBPNG" = no
; then
2787 echo "$as_me:$LINENO: result: no" >&5
2788 echo "${ECHO_T}no" >&6
2789 elif test "$wxUSE_LIBPNG" = sys
; then
2790 echo "$as_me:$LINENO: result: system version" >&5
2791 echo "${ECHO_T}system version" >&6
2792 elif test "$wxUSE_LIBPNG" = builtin; then
2793 echo "$as_me:$LINENO: result: builtin version" >&5
2794 echo "${ECHO_T}builtin version" >&6
2796 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2797 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2798 { (exit 1); exit 1; }; }
2802 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2803 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2806 # Check whether --with-libjpeg or --without-libjpeg was given.
2807 if test "${with_libjpeg+set}" = set; then
2808 withval
="$with_libjpeg"
2810 if test "$withval" = yes; then
2811 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2812 elif test "$withval" = no
; then
2813 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2814 elif test "$withval" = sys
; then
2815 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2816 elif test "$withval" = builtin; then
2817 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2819 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2820 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2821 { (exit 1); exit 1; }; }
2826 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2827 if test "x$LINE" != x
; then
2828 eval "DEFAULT_$LINE"
2833 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2837 eval "$ac_cv_use_libjpeg"
2838 if test "$no_cache" != 1; then
2839 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2842 if test "$wxUSE_LIBJPEG" = yes; then
2843 echo "$as_me:$LINENO: result: yes" >&5
2844 echo "${ECHO_T}yes" >&6
2845 elif test "$wxUSE_LIBJPEG" = no
; then
2846 echo "$as_me:$LINENO: result: no" >&5
2847 echo "${ECHO_T}no" >&6
2848 elif test "$wxUSE_LIBJPEG" = sys
; then
2849 echo "$as_me:$LINENO: result: system version" >&5
2850 echo "${ECHO_T}system version" >&6
2851 elif test "$wxUSE_LIBJPEG" = builtin; then
2852 echo "$as_me:$LINENO: result: builtin version" >&5
2853 echo "${ECHO_T}builtin version" >&6
2855 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2856 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2857 { (exit 1); exit 1; }; }
2861 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2862 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2865 # Check whether --with-libtiff or --without-libtiff was given.
2866 if test "${with_libtiff+set}" = set; then
2867 withval
="$with_libtiff"
2869 if test "$withval" = yes; then
2870 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2871 elif test "$withval" = no
; then
2872 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2873 elif test "$withval" = sys
; then
2874 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2875 elif test "$withval" = builtin; then
2876 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2878 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2879 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2880 { (exit 1); exit 1; }; }
2885 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2886 if test "x$LINE" != x
; then
2887 eval "DEFAULT_$LINE"
2892 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2896 eval "$ac_cv_use_libtiff"
2897 if test "$no_cache" != 1; then
2898 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2901 if test "$wxUSE_LIBTIFF" = yes; then
2902 echo "$as_me:$LINENO: result: yes" >&5
2903 echo "${ECHO_T}yes" >&6
2904 elif test "$wxUSE_LIBTIFF" = no
; then
2905 echo "$as_me:$LINENO: result: no" >&5
2906 echo "${ECHO_T}no" >&6
2907 elif test "$wxUSE_LIBTIFF" = sys
; then
2908 echo "$as_me:$LINENO: result: system version" >&5
2909 echo "${ECHO_T}system version" >&6
2910 elif test "$wxUSE_LIBTIFF" = builtin; then
2911 echo "$as_me:$LINENO: result: builtin version" >&5
2912 echo "${ECHO_T}builtin version" >&6
2914 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2915 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2916 { (exit 1); exit 1; }; }
2920 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2921 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2924 # Check whether --with-libxpm or --without-libxpm was given.
2925 if test "${with_libxpm+set}" = set; then
2926 withval
="$with_libxpm"
2928 if test "$withval" = yes; then
2929 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
2930 elif test "$withval" = no
; then
2931 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
2932 elif test "$withval" = sys
; then
2933 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
2934 elif test "$withval" = builtin; then
2935 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
2937 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2938 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2939 { (exit 1); exit 1; }; }
2944 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2945 if test "x$LINE" != x
; then
2946 eval "DEFAULT_$LINE"
2951 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2955 eval "$ac_cv_use_libxpm"
2956 if test "$no_cache" != 1; then
2957 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2960 if test "$wxUSE_LIBXPM" = yes; then
2961 echo "$as_me:$LINENO: result: yes" >&5
2962 echo "${ECHO_T}yes" >&6
2963 elif test "$wxUSE_LIBXPM" = no
; then
2964 echo "$as_me:$LINENO: result: no" >&5
2965 echo "${ECHO_T}no" >&6
2966 elif test "$wxUSE_LIBXPM" = sys
; then
2967 echo "$as_me:$LINENO: result: system version" >&5
2968 echo "${ECHO_T}system version" >&6
2969 elif test "$wxUSE_LIBXPM" = builtin; then
2970 echo "$as_me:$LINENO: result: builtin version" >&5
2971 echo "${ECHO_T}builtin version" >&6
2973 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2974 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2975 { (exit 1); exit 1; }; }
2979 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
2980 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
2983 # Check whether --with-libmspack or --without-libmspack was given.
2984 if test "${with_libmspack+set}" = set; then
2985 withval
="$with_libmspack"
2987 if test "$withval" = yes; then
2988 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
2990 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
2995 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
2996 if test "x$LINE" != x
; then
2997 eval "DEFAULT_$LINE"
3002 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3006 eval "$ac_cv_use_libmspack"
3007 if test "$no_cache" != 1; then
3008 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3011 if test "$wxUSE_LIBMSPACK" = yes; then
3012 echo "$as_me:$LINENO: result: yes" >&5
3013 echo "${ECHO_T}yes" >&6
3015 echo "$as_me:$LINENO: result: no" >&5
3016 echo "${ECHO_T}no" >&6
3020 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3021 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3024 # Check whether --with-sdl or --without-sdl was given.
3025 if test "${with_sdl+set}" = set; then
3028 if test "$withval" = yes; then
3029 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3031 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3036 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3037 if test "x$LINE" != x
; then
3038 eval "DEFAULT_$LINE"
3043 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3047 eval "$ac_cv_use_sdl"
3048 if test "$no_cache" != 1; then
3049 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3052 if test "$wxUSE_LIBSDL" = yes; then
3053 echo "$as_me:$LINENO: result: yes" >&5
3054 echo "${ECHO_T}yes" >&6
3056 echo "$as_me:$LINENO: result: no" >&5
3057 echo "${ECHO_T}no" >&6
3061 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3062 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3065 # Check whether --with-opengl or --without-opengl was given.
3066 if test "${with_opengl+set}" = set; then
3067 withval
="$with_opengl"
3069 if test "$withval" = yes; then
3070 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3072 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3077 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3078 if test "x$LINE" != x
; then
3079 eval "DEFAULT_$LINE"
3084 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3088 eval "$ac_cv_use_opengl"
3089 if test "$no_cache" != 1; then
3090 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3093 if test "$wxUSE_OPENGL" = yes; then
3094 echo "$as_me:$LINENO: result: yes" >&5
3095 echo "${ECHO_T}yes" >&6
3097 echo "$as_me:$LINENO: result: no" >&5
3098 echo "${ECHO_T}no" >&6
3105 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3106 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3109 # Check whether --with-dmalloc or --without-dmalloc was given.
3110 if test "${with_dmalloc+set}" = set; then
3111 withval
="$with_dmalloc"
3113 if test "$withval" = yes; then
3114 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3116 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3121 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3122 if test "x$LINE" != x
; then
3123 eval "DEFAULT_$LINE"
3128 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3132 eval "$ac_cv_use_dmalloc"
3133 if test "$no_cache" != 1; then
3134 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3137 if test "$wxUSE_DMALLOC" = yes; then
3138 echo "$as_me:$LINENO: result: yes" >&5
3139 echo "${ECHO_T}yes" >&6
3141 echo "$as_me:$LINENO: result: no" >&5
3142 echo "${ECHO_T}no" >&6
3146 echo "$as_me:$LINENO: checking for --with-regex" >&5
3147 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3150 # Check whether --with-regex or --without-regex was given.
3151 if test "${with_regex+set}" = set; then
3152 withval
="$with_regex"
3154 if test "$withval" = yes; then
3155 ac_cv_use_regex
='wxUSE_REGEX=yes'
3156 elif test "$withval" = no
; then
3157 ac_cv_use_regex
='wxUSE_REGEX=no'
3158 elif test "$withval" = sys
; then
3159 ac_cv_use_regex
='wxUSE_REGEX=sys'
3160 elif test "$withval" = builtin; then
3161 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3163 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3164 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3165 { (exit 1); exit 1; }; }
3170 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3171 if test "x$LINE" != x
; then
3172 eval "DEFAULT_$LINE"
3177 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3181 eval "$ac_cv_use_regex"
3182 if test "$no_cache" != 1; then
3183 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3186 if test "$wxUSE_REGEX" = yes; then
3187 echo "$as_me:$LINENO: result: yes" >&5
3188 echo "${ECHO_T}yes" >&6
3189 elif test "$wxUSE_REGEX" = no
; then
3190 echo "$as_me:$LINENO: result: no" >&5
3191 echo "${ECHO_T}no" >&6
3192 elif test "$wxUSE_REGEX" = sys
; then
3193 echo "$as_me:$LINENO: result: system version" >&5
3194 echo "${ECHO_T}system version" >&6
3195 elif test "$wxUSE_REGEX" = builtin; then
3196 echo "$as_me:$LINENO: result: builtin version" >&5
3197 echo "${ECHO_T}builtin version" >&6
3199 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3200 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3201 { (exit 1); exit 1; }; }
3205 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3206 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3209 # Check whether --with-zlib or --without-zlib was given.
3210 if test "${with_zlib+set}" = set; then
3211 withval
="$with_zlib"
3213 if test "$withval" = yes; then
3214 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3215 elif test "$withval" = no
; then
3216 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3217 elif test "$withval" = sys
; then
3218 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3219 elif test "$withval" = builtin; then
3220 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3222 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3223 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3224 { (exit 1); exit 1; }; }
3229 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3230 if test "x$LINE" != x
; then
3231 eval "DEFAULT_$LINE"
3236 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3240 eval "$ac_cv_use_zlib"
3241 if test "$no_cache" != 1; then
3242 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3245 if test "$wxUSE_ZLIB" = yes; then
3246 echo "$as_me:$LINENO: result: yes" >&5
3247 echo "${ECHO_T}yes" >&6
3248 elif test "$wxUSE_ZLIB" = no
; then
3249 echo "$as_me:$LINENO: result: no" >&5
3250 echo "${ECHO_T}no" >&6
3251 elif test "$wxUSE_ZLIB" = sys
; then
3252 echo "$as_me:$LINENO: result: system version" >&5
3253 echo "${ECHO_T}system version" >&6
3254 elif test "$wxUSE_ZLIB" = builtin; then
3255 echo "$as_me:$LINENO: result: builtin version" >&5
3256 echo "${ECHO_T}builtin version" >&6
3258 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3259 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3260 { (exit 1); exit 1; }; }
3264 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3265 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3268 # Check whether --with-odbc or --without-odbc was given.
3269 if test "${with_odbc+set}" = set; then
3270 withval
="$with_odbc"
3272 if test "$withval" = yes; then
3273 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3274 elif test "$withval" = no
; then
3275 ac_cv_use_odbc
='wxUSE_ODBC=no'
3276 elif test "$withval" = sys
; then
3277 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3278 elif test "$withval" = builtin; then
3279 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3281 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3282 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3283 { (exit 1); exit 1; }; }
3288 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3289 if test "x$LINE" != x
; then
3290 eval "DEFAULT_$LINE"
3295 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3299 eval "$ac_cv_use_odbc"
3300 if test "$no_cache" != 1; then
3301 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3304 if test "$wxUSE_ODBC" = yes; then
3305 echo "$as_me:$LINENO: result: yes" >&5
3306 echo "${ECHO_T}yes" >&6
3307 elif test "$wxUSE_ODBC" = no
; then
3308 echo "$as_me:$LINENO: result: no" >&5
3309 echo "${ECHO_T}no" >&6
3310 elif test "$wxUSE_ODBC" = sys
; then
3311 echo "$as_me:$LINENO: result: system version" >&5
3312 echo "${ECHO_T}system version" >&6
3313 elif test "$wxUSE_ODBC" = builtin; then
3314 echo "$as_me:$LINENO: result: builtin version" >&5
3315 echo "${ECHO_T}builtin version" >&6
3317 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3318 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3319 { (exit 1); exit 1; }; }
3323 echo "$as_me:$LINENO: checking for --with-expat" >&5
3324 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3327 # Check whether --with-expat or --without-expat was given.
3328 if test "${with_expat+set}" = set; then
3329 withval
="$with_expat"
3331 if test "$withval" = yes; then
3332 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3333 elif test "$withval" = no
; then
3334 ac_cv_use_expat
='wxUSE_EXPAT=no'
3335 elif test "$withval" = sys
; then
3336 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3337 elif test "$withval" = builtin; then
3338 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3340 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3341 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3342 { (exit 1); exit 1; }; }
3347 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3348 if test "x$LINE" != x
; then
3349 eval "DEFAULT_$LINE"
3354 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3358 eval "$ac_cv_use_expat"
3359 if test "$no_cache" != 1; then
3360 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3363 if test "$wxUSE_EXPAT" = yes; then
3364 echo "$as_me:$LINENO: result: yes" >&5
3365 echo "${ECHO_T}yes" >&6
3366 elif test "$wxUSE_EXPAT" = no
; then
3367 echo "$as_me:$LINENO: result: no" >&5
3368 echo "${ECHO_T}no" >&6
3369 elif test "$wxUSE_EXPAT" = sys
; then
3370 echo "$as_me:$LINENO: result: system version" >&5
3371 echo "${ECHO_T}system version" >&6
3372 elif test "$wxUSE_EXPAT" = builtin; then
3373 echo "$as_me:$LINENO: result: builtin version" >&5
3374 echo "${ECHO_T}builtin version" >&6
3376 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3377 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3378 { (exit 1); exit 1; }; }
3385 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3386 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3388 # Check whether --enable-shared or --disable-shared was given.
3389 if test "${enable_shared+set}" = set; then
3390 enableval
="$enable_shared"
3392 if test "$enableval" = yes; then
3393 ac_cv_use_shared
='wxUSE_SHARED=yes'
3395 ac_cv_use_shared
='wxUSE_SHARED=no'
3400 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3401 if test "x$LINE" != x
; then
3402 eval "DEFAULT_$LINE"
3407 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3411 eval "$ac_cv_use_shared"
3412 if test "$no_cache" != 1; then
3413 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3416 if test "$wxUSE_SHARED" = yes; then
3417 echo "$as_me:$LINENO: result: yes" >&5
3418 echo "${ECHO_T}yes" >&6
3420 echo "$as_me:$LINENO: result: no" >&5
3421 echo "${ECHO_T}no" >&6
3426 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3427 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3429 # Check whether --enable-optimise or --disable-optimise was given.
3430 if test "${enable_optimise+set}" = set; then
3431 enableval
="$enable_optimise"
3433 if test "$enableval" = yes; then
3434 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3436 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3441 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3442 if test "x$LINE" != x
; then
3443 eval "DEFAULT_$LINE"
3448 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3452 eval "$ac_cv_use_optimise"
3453 if test "$no_cache" != 1; then
3454 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3457 if test "$wxUSE_OPTIMISE" = yes; then
3458 echo "$as_me:$LINENO: result: yes" >&5
3459 echo "${ECHO_T}yes" >&6
3461 echo "$as_me:$LINENO: result: no" >&5
3462 echo "${ECHO_T}no" >&6
3467 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3468 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3470 # Check whether --enable-debug or --disable-debug was given.
3471 if test "${enable_debug+set}" = set; then
3472 enableval
="$enable_debug"
3474 if test "$enableval" = yes; then
3475 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3477 ac_cv_use_debug
='wxUSE_DEBUG=no'
3482 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3483 if test "x$LINE" != x
; then
3484 eval "DEFAULT_$LINE"
3489 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3493 eval "$ac_cv_use_debug"
3494 if test "$no_cache" != 1; then
3495 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3498 if test "$wxUSE_DEBUG" = yes; then
3499 echo "$as_me:$LINENO: result: yes" >&5
3500 echo "${ECHO_T}yes" >&6
3502 echo "$as_me:$LINENO: result: no" >&5
3503 echo "${ECHO_T}no" >&6
3508 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3509 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3511 # Check whether --enable-stl or --disable-stl was given.
3512 if test "${enable_stl+set}" = set; then
3513 enableval
="$enable_stl"
3515 if test "$enableval" = yes; then
3516 ac_cv_use_stl
='wxUSE_STL=yes'
3518 ac_cv_use_stl
='wxUSE_STL=no'
3523 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3524 if test "x$LINE" != x
; then
3525 eval "DEFAULT_$LINE"
3530 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3534 eval "$ac_cv_use_stl"
3535 if test "$no_cache" != 1; then
3536 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3539 if test "$wxUSE_STL" = yes; then
3540 echo "$as_me:$LINENO: result: yes" >&5
3541 echo "${ECHO_T}yes" >&6
3543 echo "$as_me:$LINENO: result: no" >&5
3544 echo "${ECHO_T}no" >&6
3547 if test "$USE_OS2" = "1"; then
3550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3551 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3553 # Check whether --enable-omf or --disable-omf was given.
3554 if test "${enable_omf+set}" = set; then
3555 enableval
="$enable_omf"
3557 if test "$enableval" = yes; then
3558 ac_cv_use_omf
='wxUSE_OMF=yes'
3560 ac_cv_use_omf
='wxUSE_OMF=no'
3565 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3566 if test "x$LINE" != x
; then
3567 eval "DEFAULT_$LINE"
3572 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3576 eval "$ac_cv_use_omf"
3577 if test "$no_cache" != 1; then
3578 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3581 if test "$wxUSE_OMF" = yes; then
3582 echo "$as_me:$LINENO: result: yes" >&5
3583 echo "${ECHO_T}yes" >&6
3585 echo "$as_me:$LINENO: result: no" >&5
3586 echo "${ECHO_T}no" >&6
3591 if test "$wxUSE_DEBUG" = "yes"; then
3592 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3593 DEFAULT_wxUSE_DEBUG_INFO
=yes
3595 elif test "$wxUSE_DEBUG" = "no"; then
3596 DEFAULT_wxUSE_DEBUG_FLAG
=no
3597 DEFAULT_wxUSE_DEBUG_INFO
=no
3603 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3604 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3606 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3607 if test "${enable_debug_flag+set}" = set; then
3608 enableval
="$enable_debug_flag"
3610 if test "$enableval" = yes; then
3611 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3613 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3618 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3619 if test "x$LINE" != x
; then
3620 eval "DEFAULT_$LINE"
3625 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3629 eval "$ac_cv_use_debug_flag"
3630 if test "$no_cache" != 1; then
3631 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3634 if test "$wxUSE_DEBUG_FLAG" = yes; then
3635 echo "$as_me:$LINENO: result: yes" >&5
3636 echo "${ECHO_T}yes" >&6
3638 echo "$as_me:$LINENO: result: no" >&5
3639 echo "${ECHO_T}no" >&6
3644 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3645 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3647 # Check whether --enable-debug_info or --disable-debug_info was given.
3648 if test "${enable_debug_info+set}" = set; then
3649 enableval
="$enable_debug_info"
3651 if test "$enableval" = yes; then
3652 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3654 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3659 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3660 if test "x$LINE" != x
; then
3661 eval "DEFAULT_$LINE"
3666 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3670 eval "$ac_cv_use_debug_info"
3671 if test "$no_cache" != 1; then
3672 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3675 if test "$wxUSE_DEBUG_INFO" = yes; then
3676 echo "$as_me:$LINENO: result: yes" >&5
3677 echo "${ECHO_T}yes" >&6
3679 echo "$as_me:$LINENO: result: no" >&5
3680 echo "${ECHO_T}no" >&6
3685 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3686 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3688 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3689 if test "${enable_debug_gdb+set}" = set; then
3690 enableval
="$enable_debug_gdb"
3692 if test "$enableval" = yes; then
3693 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3695 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3700 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3701 if test "x$LINE" != x
; then
3702 eval "DEFAULT_$LINE"
3707 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3711 eval "$ac_cv_use_debug_gdb"
3712 if test "$no_cache" != 1; then
3713 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3716 if test "$wxUSE_DEBUG_GDB" = yes; then
3717 echo "$as_me:$LINENO: result: yes" >&5
3718 echo "${ECHO_T}yes" >&6
3720 echo "$as_me:$LINENO: result: no" >&5
3721 echo "${ECHO_T}no" >&6
3726 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3727 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3729 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3730 if test "${enable_debug_cntxt+set}" = set; then
3731 enableval
="$enable_debug_cntxt"
3733 if test "$enableval" = yes; then
3734 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3736 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3741 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3742 if test "x$LINE" != x
; then
3743 eval "DEFAULT_$LINE"
3748 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3752 eval "$ac_cv_use_debug_cntxt"
3753 if test "$no_cache" != 1; then
3754 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3757 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3758 echo "$as_me:$LINENO: result: yes" >&5
3759 echo "${ECHO_T}yes" >&6
3761 echo "$as_me:$LINENO: result: no" >&5
3762 echo "${ECHO_T}no" >&6
3767 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3768 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3770 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3771 if test "${enable_mem_tracing+set}" = set; then
3772 enableval
="$enable_mem_tracing"
3774 if test "$enableval" = yes; then
3775 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
3777 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
3782 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3783 if test "x$LINE" != x
; then
3784 eval "DEFAULT_$LINE"
3789 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3793 eval "$ac_cv_use_mem_tracing"
3794 if test "$no_cache" != 1; then
3795 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3798 if test "$wxUSE_MEM_TRACING" = yes; then
3799 echo "$as_me:$LINENO: result: yes" >&5
3800 echo "${ECHO_T}yes" >&6
3802 echo "$as_me:$LINENO: result: no" >&5
3803 echo "${ECHO_T}no" >&6
3808 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3809 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3811 # Check whether --enable-profile or --disable-profile was given.
3812 if test "${enable_profile+set}" = set; then
3813 enableval
="$enable_profile"
3815 if test "$enableval" = yes; then
3816 ac_cv_use_profile
='wxUSE_PROFILE=yes'
3818 ac_cv_use_profile
='wxUSE_PROFILE=no'
3823 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3824 if test "x$LINE" != x
; then
3825 eval "DEFAULT_$LINE"
3830 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3834 eval "$ac_cv_use_profile"
3835 if test "$no_cache" != 1; then
3836 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3839 if test "$wxUSE_PROFILE" = yes; then
3840 echo "$as_me:$LINENO: result: yes" >&5
3841 echo "${ECHO_T}yes" >&6
3843 echo "$as_me:$LINENO: result: no" >&5
3844 echo "${ECHO_T}no" >&6
3849 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3850 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3852 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3853 if test "${enable_no_rtti+set}" = set; then
3854 enableval
="$enable_no_rtti"
3856 if test "$enableval" = yes; then
3857 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
3859 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
3864 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3865 if test "x$LINE" != x
; then
3866 eval "DEFAULT_$LINE"
3871 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3875 eval "$ac_cv_use_no_rtti"
3876 if test "$no_cache" != 1; then
3877 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3880 if test "$wxUSE_NO_RTTI" = yes; then
3881 echo "$as_me:$LINENO: result: yes" >&5
3882 echo "${ECHO_T}yes" >&6
3884 echo "$as_me:$LINENO: result: no" >&5
3885 echo "${ECHO_T}no" >&6
3890 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3891 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3893 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3894 if test "${enable_no_exceptions+set}" = set; then
3895 enableval
="$enable_no_exceptions"
3897 if test "$enableval" = yes; then
3898 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
3900 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
3905 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3906 if test "x$LINE" != x
; then
3907 eval "DEFAULT_$LINE"
3912 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3916 eval "$ac_cv_use_no_exceptions"
3917 if test "$no_cache" != 1; then
3918 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3921 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3922 echo "$as_me:$LINENO: result: yes" >&5
3923 echo "${ECHO_T}yes" >&6
3925 echo "$as_me:$LINENO: result: no" >&5
3926 echo "${ECHO_T}no" >&6
3931 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3932 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3934 # Check whether --enable-permissive or --disable-permissive was given.
3935 if test "${enable_permissive+set}" = set; then
3936 enableval
="$enable_permissive"
3938 if test "$enableval" = yes; then
3939 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
3941 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
3946 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3947 if test "x$LINE" != x
; then
3948 eval "DEFAULT_$LINE"
3953 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3957 eval "$ac_cv_use_permissive"
3958 if test "$no_cache" != 1; then
3959 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3962 if test "$wxUSE_PERMISSIVE" = yes; then
3963 echo "$as_me:$LINENO: result: yes" >&5
3964 echo "${ECHO_T}yes" >&6
3966 echo "$as_me:$LINENO: result: no" >&5
3967 echo "${ECHO_T}no" >&6
3972 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3973 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3975 # Check whether --enable-no_deps or --disable-no_deps was given.
3976 if test "${enable_no_deps+set}" = set; then
3977 enableval
="$enable_no_deps"
3979 if test "$enableval" = yes; then
3980 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
3982 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
3987 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3988 if test "x$LINE" != x
; then
3989 eval "DEFAULT_$LINE"
3994 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
3998 eval "$ac_cv_use_no_deps"
3999 if test "$no_cache" != 1; then
4000 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4003 if test "$wxUSE_NO_DEPS" = yes; then
4004 echo "$as_me:$LINENO: result: yes" >&5
4005 echo "${ECHO_T}yes" >&6
4007 echo "$as_me:$LINENO: result: no" >&5
4008 echo "${ECHO_T}no" >&6
4014 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4015 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4017 # Check whether --enable-compat22 or --disable-compat22 was given.
4018 if test "${enable_compat22+set}" = set; then
4019 enableval
="$enable_compat22"
4021 if test "$enableval" = yes; then
4022 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
4024 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
4029 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4030 if test "x$LINE" != x
; then
4031 eval "DEFAULT_$LINE"
4036 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4040 eval "$ac_cv_use_compat22"
4041 if test "$no_cache" != 1; then
4042 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4045 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4046 echo "$as_me:$LINENO: result: yes" >&5
4047 echo "${ECHO_T}yes" >&6
4049 echo "$as_me:$LINENO: result: no" >&5
4050 echo "${ECHO_T}no" >&6
4054 enablestring
=disable
4055 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4056 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4058 # Check whether --enable-compat24 or --disable-compat24 was given.
4059 if test "${enable_compat24+set}" = set; then
4060 enableval
="$enable_compat24"
4062 if test "$enableval" = yes; then
4063 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4065 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4070 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4071 if test "x$LINE" != x
; then
4072 eval "DEFAULT_$LINE"
4077 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4081 eval "$ac_cv_use_compat24"
4082 if test "$no_cache" != 1; then
4083 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4086 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4087 echo "$as_me:$LINENO: result: yes" >&5
4088 echo "${ECHO_T}yes" >&6
4090 echo "$as_me:$LINENO: result: no" >&5
4091 echo "${ECHO_T}no" >&6
4095 # Check whether --enable-rpath or --disable-rpath was given.
4096 if test "${enable_rpath+set}" = set; then
4097 enableval
="$enable_rpath"
4098 wxRPATH_DIR
="$enableval"
4101 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
4102 WXCONFIG_RPATH
="-Wl,-rpath -Wl,$wxRPATH_DIR"
4109 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4110 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4112 # Check whether --enable-intl or --disable-intl was given.
4113 if test "${enable_intl+set}" = set; then
4114 enableval
="$enable_intl"
4116 if test "$enableval" = yes; then
4117 ac_cv_use_intl
='wxUSE_INTL=yes'
4119 ac_cv_use_intl
='wxUSE_INTL=no'
4124 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4125 if test "x$LINE" != x
; then
4126 eval "DEFAULT_$LINE"
4131 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4135 eval "$ac_cv_use_intl"
4136 if test "$no_cache" != 1; then
4137 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4140 if test "$wxUSE_INTL" = yes; then
4141 echo "$as_me:$LINENO: result: yes" >&5
4142 echo "${ECHO_T}yes" >&6
4144 echo "$as_me:$LINENO: result: no" >&5
4145 echo "${ECHO_T}no" >&6
4150 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4151 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4153 # Check whether --enable-config or --disable-config was given.
4154 if test "${enable_config+set}" = set; then
4155 enableval
="$enable_config"
4157 if test "$enableval" = yes; then
4158 ac_cv_use_config
='wxUSE_CONFIG=yes'
4160 ac_cv_use_config
='wxUSE_CONFIG=no'
4165 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4166 if test "x$LINE" != x
; then
4167 eval "DEFAULT_$LINE"
4172 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4176 eval "$ac_cv_use_config"
4177 if test "$no_cache" != 1; then
4178 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4181 if test "$wxUSE_CONFIG" = yes; then
4182 echo "$as_me:$LINENO: result: yes" >&5
4183 echo "${ECHO_T}yes" >&6
4185 echo "$as_me:$LINENO: result: no" >&5
4186 echo "${ECHO_T}no" >&6
4192 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4193 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4195 # Check whether --enable-protocols or --disable-protocols was given.
4196 if test "${enable_protocols+set}" = set; then
4197 enableval
="$enable_protocols"
4199 if test "$enableval" = yes; then
4200 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4202 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4207 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4208 if test "x$LINE" != x
; then
4209 eval "DEFAULT_$LINE"
4214 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4218 eval "$ac_cv_use_protocols"
4219 if test "$no_cache" != 1; then
4220 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4223 if test "$wxUSE_PROTOCOL" = yes; then
4224 echo "$as_me:$LINENO: result: yes" >&5
4225 echo "${ECHO_T}yes" >&6
4227 echo "$as_me:$LINENO: result: no" >&5
4228 echo "${ECHO_T}no" >&6
4233 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4234 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4236 # Check whether --enable-ftp or --disable-ftp was given.
4237 if test "${enable_ftp+set}" = set; then
4238 enableval
="$enable_ftp"
4240 if test "$enableval" = yes; then
4241 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4243 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4248 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4249 if test "x$LINE" != x
; then
4250 eval "DEFAULT_$LINE"
4255 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4259 eval "$ac_cv_use_ftp"
4260 if test "$no_cache" != 1; then
4261 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4264 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4265 echo "$as_me:$LINENO: result: yes" >&5
4266 echo "${ECHO_T}yes" >&6
4268 echo "$as_me:$LINENO: result: no" >&5
4269 echo "${ECHO_T}no" >&6
4274 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4275 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4277 # Check whether --enable-http or --disable-http was given.
4278 if test "${enable_http+set}" = set; then
4279 enableval
="$enable_http"
4281 if test "$enableval" = yes; then
4282 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4284 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4289 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4290 if test "x$LINE" != x
; then
4291 eval "DEFAULT_$LINE"
4296 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4300 eval "$ac_cv_use_http"
4301 if test "$no_cache" != 1; then
4302 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4305 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4306 echo "$as_me:$LINENO: result: yes" >&5
4307 echo "${ECHO_T}yes" >&6
4309 echo "$as_me:$LINENO: result: no" >&5
4310 echo "${ECHO_T}no" >&6
4315 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4316 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4318 # Check whether --enable-fileproto or --disable-fileproto was given.
4319 if test "${enable_fileproto+set}" = set; then
4320 enableval
="$enable_fileproto"
4322 if test "$enableval" = yes; then
4323 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4325 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4330 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4331 if test "x$LINE" != x
; then
4332 eval "DEFAULT_$LINE"
4337 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4341 eval "$ac_cv_use_fileproto"
4342 if test "$no_cache" != 1; then
4343 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4346 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4347 echo "$as_me:$LINENO: result: yes" >&5
4348 echo "${ECHO_T}yes" >&6
4350 echo "$as_me:$LINENO: result: no" >&5
4351 echo "${ECHO_T}no" >&6
4356 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4357 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4359 # Check whether --enable-sockets or --disable-sockets was given.
4360 if test "${enable_sockets+set}" = set; then
4361 enableval
="$enable_sockets"
4363 if test "$enableval" = yes; then
4364 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4366 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4371 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4372 if test "x$LINE" != x
; then
4373 eval "DEFAULT_$LINE"
4378 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4382 eval "$ac_cv_use_sockets"
4383 if test "$no_cache" != 1; then
4384 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4387 if test "$wxUSE_SOCKETS" = yes; then
4388 echo "$as_me:$LINENO: result: yes" >&5
4389 echo "${ECHO_T}yes" >&6
4391 echo "$as_me:$LINENO: result: no" >&5
4392 echo "${ECHO_T}no" >&6
4397 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4398 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4400 # Check whether --enable-ole or --disable-ole was given.
4401 if test "${enable_ole+set}" = set; then
4402 enableval
="$enable_ole"
4404 if test "$enableval" = yes; then
4405 ac_cv_use_ole
='wxUSE_OLE=yes'
4407 ac_cv_use_ole
='wxUSE_OLE=no'
4412 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4413 if test "x$LINE" != x
; then
4414 eval "DEFAULT_$LINE"
4419 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4423 eval "$ac_cv_use_ole"
4424 if test "$no_cache" != 1; then
4425 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4428 if test "$wxUSE_OLE" = yes; then
4429 echo "$as_me:$LINENO: result: yes" >&5
4430 echo "${ECHO_T}yes" >&6
4432 echo "$as_me:$LINENO: result: no" >&5
4433 echo "${ECHO_T}no" >&6
4438 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4439 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4441 # Check whether --enable-dataobj or --disable-dataobj was given.
4442 if test "${enable_dataobj+set}" = set; then
4443 enableval
="$enable_dataobj"
4445 if test "$enableval" = yes; then
4446 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4448 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4453 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4454 if test "x$LINE" != x
; then
4455 eval "DEFAULT_$LINE"
4460 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4464 eval "$ac_cv_use_dataobj"
4465 if test "$no_cache" != 1; then
4466 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4469 if test "$wxUSE_DATAOBJ" = yes; then
4470 echo "$as_me:$LINENO: result: yes" >&5
4471 echo "${ECHO_T}yes" >&6
4473 echo "$as_me:$LINENO: result: no" >&5
4474 echo "${ECHO_T}no" >&6
4480 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4481 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4483 # Check whether --enable-ipc or --disable-ipc was given.
4484 if test "${enable_ipc+set}" = set; then
4485 enableval
="$enable_ipc"
4487 if test "$enableval" = yes; then
4488 ac_cv_use_ipc
='wxUSE_IPC=yes'
4490 ac_cv_use_ipc
='wxUSE_IPC=no'
4495 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4496 if test "x$LINE" != x
; then
4497 eval "DEFAULT_$LINE"
4502 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4506 eval "$ac_cv_use_ipc"
4507 if test "$no_cache" != 1; then
4508 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4511 if test "$wxUSE_IPC" = yes; then
4512 echo "$as_me:$LINENO: result: yes" >&5
4513 echo "${ECHO_T}yes" >&6
4515 echo "$as_me:$LINENO: result: no" >&5
4516 echo "${ECHO_T}no" >&6
4522 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4523 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4525 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4526 if test "${enable_apple_ieee+set}" = set; then
4527 enableval
="$enable_apple_ieee"
4529 if test "$enableval" = yes; then
4530 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4532 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4537 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4538 if test "x$LINE" != x
; then
4539 eval "DEFAULT_$LINE"
4544 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4548 eval "$ac_cv_use_apple_ieee"
4549 if test "$no_cache" != 1; then
4550 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4553 if test "$wxUSE_APPLE_IEEE" = yes; then
4554 echo "$as_me:$LINENO: result: yes" >&5
4555 echo "${ECHO_T}yes" >&6
4557 echo "$as_me:$LINENO: result: no" >&5
4558 echo "${ECHO_T}no" >&6
4563 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4564 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4566 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4567 if test "${enable_catch_segvs+set}" = set; then
4568 enableval
="$enable_catch_segvs"
4570 if test "$enableval" = yes; then
4571 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4573 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4578 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4579 if test "x$LINE" != x
; then
4580 eval "DEFAULT_$LINE"
4585 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4589 eval "$ac_cv_use_catch_segvs"
4590 if test "$no_cache" != 1; then
4591 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4594 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4595 echo "$as_me:$LINENO: result: yes" >&5
4596 echo "${ECHO_T}yes" >&6
4598 echo "$as_me:$LINENO: result: no" >&5
4599 echo "${ECHO_T}no" >&6
4604 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4605 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4607 # Check whether --enable-cmdline or --disable-cmdline was given.
4608 if test "${enable_cmdline+set}" = set; then
4609 enableval
="$enable_cmdline"
4611 if test "$enableval" = yes; then
4612 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4614 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
4619 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4620 if test "x$LINE" != x
; then
4621 eval "DEFAULT_$LINE"
4626 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4630 eval "$ac_cv_use_cmdline"
4631 if test "$no_cache" != 1; then
4632 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4635 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4636 echo "$as_me:$LINENO: result: yes" >&5
4637 echo "${ECHO_T}yes" >&6
4639 echo "$as_me:$LINENO: result: no" >&5
4640 echo "${ECHO_T}no" >&6
4645 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4646 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4648 # Check whether --enable-datetime or --disable-datetime was given.
4649 if test "${enable_datetime+set}" = set; then
4650 enableval
="$enable_datetime"
4652 if test "$enableval" = yes; then
4653 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
4655 ac_cv_use_datetime
='wxUSE_DATETIME=no'
4660 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4661 if test "x$LINE" != x
; then
4662 eval "DEFAULT_$LINE"
4667 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4671 eval "$ac_cv_use_datetime"
4672 if test "$no_cache" != 1; then
4673 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4676 if test "$wxUSE_DATETIME" = yes; then
4677 echo "$as_me:$LINENO: result: yes" >&5
4678 echo "${ECHO_T}yes" >&6
4680 echo "$as_me:$LINENO: result: no" >&5
4681 echo "${ECHO_T}no" >&6
4686 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4687 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4689 # Check whether --enable-dialupman or --disable-dialupman was given.
4690 if test "${enable_dialupman+set}" = set; then
4691 enableval
="$enable_dialupman"
4693 if test "$enableval" = yes; then
4694 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
4696 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
4701 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4702 if test "x$LINE" != x
; then
4703 eval "DEFAULT_$LINE"
4708 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4712 eval "$ac_cv_use_dialupman"
4713 if test "$no_cache" != 1; then
4714 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4717 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4718 echo "$as_me:$LINENO: result: yes" >&5
4719 echo "${ECHO_T}yes" >&6
4721 echo "$as_me:$LINENO: result: no" >&5
4722 echo "${ECHO_T}no" >&6
4727 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4728 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4730 # Check whether --enable-dynlib or --disable-dynlib was given.
4731 if test "${enable_dynlib+set}" = set; then
4732 enableval
="$enable_dynlib"
4734 if test "$enableval" = yes; then
4735 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
4737 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
4742 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4743 if test "x$LINE" != x
; then
4744 eval "DEFAULT_$LINE"
4749 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4753 eval "$ac_cv_use_dynlib"
4754 if test "$no_cache" != 1; then
4755 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4758 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4759 echo "$as_me:$LINENO: result: yes" >&5
4760 echo "${ECHO_T}yes" >&6
4762 echo "$as_me:$LINENO: result: no" >&5
4763 echo "${ECHO_T}no" >&6
4768 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4769 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4771 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4772 if test "${enable_dynamicloader+set}" = set; then
4773 enableval
="$enable_dynamicloader"
4775 if test "$enableval" = yes; then
4776 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
4778 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
4783 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4784 if test "x$LINE" != x
; then
4785 eval "DEFAULT_$LINE"
4790 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4794 eval "$ac_cv_use_dynamicloader"
4795 if test "$no_cache" != 1; then
4796 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4799 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4800 echo "$as_me:$LINENO: result: yes" >&5
4801 echo "${ECHO_T}yes" >&6
4803 echo "$as_me:$LINENO: result: no" >&5
4804 echo "${ECHO_T}no" >&6
4809 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4810 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4812 # Check whether --enable-exceptions or --disable-exceptions was given.
4813 if test "${enable_exceptions+set}" = set; then
4814 enableval
="$enable_exceptions"
4816 if test "$enableval" = yes; then
4817 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
4819 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
4824 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4825 if test "x$LINE" != x
; then
4826 eval "DEFAULT_$LINE"
4831 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4835 eval "$ac_cv_use_exceptions"
4836 if test "$no_cache" != 1; then
4837 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4840 if test "$wxUSE_EXCEPTIONS" = yes; then
4841 echo "$as_me:$LINENO: result: yes" >&5
4842 echo "${ECHO_T}yes" >&6
4844 echo "$as_me:$LINENO: result: no" >&5
4845 echo "${ECHO_T}no" >&6
4850 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4851 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4853 # Check whether --enable-ffile or --disable-ffile was given.
4854 if test "${enable_ffile+set}" = set; then
4855 enableval
="$enable_ffile"
4857 if test "$enableval" = yes; then
4858 ac_cv_use_ffile
='wxUSE_FFILE=yes'
4860 ac_cv_use_ffile
='wxUSE_FFILE=no'
4865 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4866 if test "x$LINE" != x
; then
4867 eval "DEFAULT_$LINE"
4872 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4876 eval "$ac_cv_use_ffile"
4877 if test "$no_cache" != 1; then
4878 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4881 if test "$wxUSE_FFILE" = yes; then
4882 echo "$as_me:$LINENO: result: yes" >&5
4883 echo "${ECHO_T}yes" >&6
4885 echo "$as_me:$LINENO: result: no" >&5
4886 echo "${ECHO_T}no" >&6
4891 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4892 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4894 # Check whether --enable-file or --disable-file was given.
4895 if test "${enable_file+set}" = set; then
4896 enableval
="$enable_file"
4898 if test "$enableval" = yes; then
4899 ac_cv_use_file
='wxUSE_FILE=yes'
4901 ac_cv_use_file
='wxUSE_FILE=no'
4906 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4907 if test "x$LINE" != x
; then
4908 eval "DEFAULT_$LINE"
4913 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4917 eval "$ac_cv_use_file"
4918 if test "$no_cache" != 1; then
4919 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4922 if test "$wxUSE_FILE" = yes; then
4923 echo "$as_me:$LINENO: result: yes" >&5
4924 echo "${ECHO_T}yes" >&6
4926 echo "$as_me:$LINENO: result: no" >&5
4927 echo "${ECHO_T}no" >&6
4932 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
4933 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
4935 # Check whether --enable-filesystem or --disable-filesystem was given.
4936 if test "${enable_filesystem+set}" = set; then
4937 enableval
="$enable_filesystem"
4939 if test "$enableval" = yes; then
4940 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4942 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4947 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4948 if test "x$LINE" != x
; then
4949 eval "DEFAULT_$LINE"
4954 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4958 eval "$ac_cv_use_filesystem"
4959 if test "$no_cache" != 1; then
4960 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4963 if test "$wxUSE_FILESYSTEM" = yes; then
4964 echo "$as_me:$LINENO: result: yes" >&5
4965 echo "${ECHO_T}yes" >&6
4967 echo "$as_me:$LINENO: result: no" >&5
4968 echo "${ECHO_T}no" >&6
4973 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4974 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4976 # Check whether --enable-fontmap or --disable-fontmap was given.
4977 if test "${enable_fontmap+set}" = set; then
4978 enableval
="$enable_fontmap"
4980 if test "$enableval" = yes; then
4981 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
4983 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
4988 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4989 if test "x$LINE" != x
; then
4990 eval "DEFAULT_$LINE"
4995 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4999 eval "$ac_cv_use_fontmap"
5000 if test "$no_cache" != 1; then
5001 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5004 if test "$wxUSE_FONTMAP" = yes; then
5005 echo "$as_me:$LINENO: result: yes" >&5
5006 echo "${ECHO_T}yes" >&6
5008 echo "$as_me:$LINENO: result: no" >&5
5009 echo "${ECHO_T}no" >&6
5014 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5015 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5017 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5018 if test "${enable_fs_inet+set}" = set; then
5019 enableval
="$enable_fs_inet"
5021 if test "$enableval" = yes; then
5022 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5024 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5029 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5030 if test "x$LINE" != x
; then
5031 eval "DEFAULT_$LINE"
5036 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5040 eval "$ac_cv_use_fs_inet"
5041 if test "$no_cache" != 1; then
5042 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5045 if test "$wxUSE_FS_INET" = yes; then
5046 echo "$as_me:$LINENO: result: yes" >&5
5047 echo "${ECHO_T}yes" >&6
5049 echo "$as_me:$LINENO: result: no" >&5
5050 echo "${ECHO_T}no" >&6
5055 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5056 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5058 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5059 if test "${enable_fs_zip+set}" = set; then
5060 enableval
="$enable_fs_zip"
5062 if test "$enableval" = yes; then
5063 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5065 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5070 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5071 if test "x$LINE" != x
; then
5072 eval "DEFAULT_$LINE"
5077 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5081 eval "$ac_cv_use_fs_zip"
5082 if test "$no_cache" != 1; then
5083 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5086 if test "$wxUSE_FS_ZIP" = yes; then
5087 echo "$as_me:$LINENO: result: yes" >&5
5088 echo "${ECHO_T}yes" >&6
5090 echo "$as_me:$LINENO: result: no" >&5
5091 echo "${ECHO_T}no" >&6
5096 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5097 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5099 # Check whether --enable-geometry or --disable-geometry was given.
5100 if test "${enable_geometry+set}" = set; then
5101 enableval
="$enable_geometry"
5103 if test "$enableval" = yes; then
5104 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5106 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5111 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5112 if test "x$LINE" != x
; then
5113 eval "DEFAULT_$LINE"
5118 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5122 eval "$ac_cv_use_geometry"
5123 if test "$no_cache" != 1; then
5124 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5127 if test "$wxUSE_GEOMETRY" = yes; then
5128 echo "$as_me:$LINENO: result: yes" >&5
5129 echo "${ECHO_T}yes" >&6
5131 echo "$as_me:$LINENO: result: no" >&5
5132 echo "${ECHO_T}no" >&6
5137 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5138 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5140 # Check whether --enable-log or --disable-log was given.
5141 if test "${enable_log+set}" = set; then
5142 enableval
="$enable_log"
5144 if test "$enableval" = yes; then
5145 ac_cv_use_log
='wxUSE_LOG=yes'
5147 ac_cv_use_log
='wxUSE_LOG=no'
5152 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5153 if test "x$LINE" != x
; then
5154 eval "DEFAULT_$LINE"
5159 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5163 eval "$ac_cv_use_log"
5164 if test "$no_cache" != 1; then
5165 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5168 if test "$wxUSE_LOG" = yes; then
5169 echo "$as_me:$LINENO: result: yes" >&5
5170 echo "${ECHO_T}yes" >&6
5172 echo "$as_me:$LINENO: result: no" >&5
5173 echo "${ECHO_T}no" >&6
5178 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5179 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5181 # Check whether --enable-longlong or --disable-longlong was given.
5182 if test "${enable_longlong+set}" = set; then
5183 enableval
="$enable_longlong"
5185 if test "$enableval" = yes; then
5186 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5188 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5193 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5194 if test "x$LINE" != x
; then
5195 eval "DEFAULT_$LINE"
5200 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5204 eval "$ac_cv_use_longlong"
5205 if test "$no_cache" != 1; then
5206 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5209 if test "$wxUSE_LONGLONG" = yes; then
5210 echo "$as_me:$LINENO: result: yes" >&5
5211 echo "${ECHO_T}yes" >&6
5213 echo "$as_me:$LINENO: result: no" >&5
5214 echo "${ECHO_T}no" >&6
5219 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5220 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5222 # Check whether --enable-mimetype or --disable-mimetype was given.
5223 if test "${enable_mimetype+set}" = set; then
5224 enableval
="$enable_mimetype"
5226 if test "$enableval" = yes; then
5227 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5229 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5234 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5235 if test "x$LINE" != x
; then
5236 eval "DEFAULT_$LINE"
5241 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5245 eval "$ac_cv_use_mimetype"
5246 if test "$no_cache" != 1; then
5247 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5250 if test "$wxUSE_MIMETYPE" = yes; then
5251 echo "$as_me:$LINENO: result: yes" >&5
5252 echo "${ECHO_T}yes" >&6
5254 echo "$as_me:$LINENO: result: no" >&5
5255 echo "${ECHO_T}no" >&6
5260 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5261 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5263 # Check whether --enable-mslu or --disable-mslu was given.
5264 if test "${enable_mslu+set}" = set; then
5265 enableval
="$enable_mslu"
5267 if test "$enableval" = yes; then
5268 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5270 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5275 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5276 if test "x$LINE" != x
; then
5277 eval "DEFAULT_$LINE"
5282 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5286 eval "$ac_cv_use_mslu"
5287 if test "$no_cache" != 1; then
5288 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5291 if test "$wxUSE_UNICODE_MSLU" = yes; then
5292 echo "$as_me:$LINENO: result: yes" >&5
5293 echo "${ECHO_T}yes" >&6
5295 echo "$as_me:$LINENO: result: no" >&5
5296 echo "${ECHO_T}no" >&6
5301 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5302 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5304 # Check whether --enable-snglinst or --disable-snglinst was given.
5305 if test "${enable_snglinst+set}" = set; then
5306 enableval
="$enable_snglinst"
5308 if test "$enableval" = yes; then
5309 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5311 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5316 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5317 if test "x$LINE" != x
; then
5318 eval "DEFAULT_$LINE"
5323 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5327 eval "$ac_cv_use_snglinst"
5328 if test "$no_cache" != 1; then
5329 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5332 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5333 echo "$as_me:$LINENO: result: yes" >&5
5334 echo "${ECHO_T}yes" >&6
5336 echo "$as_me:$LINENO: result: no" >&5
5337 echo "${ECHO_T}no" >&6
5342 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5343 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5345 # Check whether --enable-streams or --disable-streams was given.
5346 if test "${enable_streams+set}" = set; then
5347 enableval
="$enable_streams"
5349 if test "$enableval" = yes; then
5350 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5352 ac_cv_use_streams
='wxUSE_STREAMS=no'
5357 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5358 if test "x$LINE" != x
; then
5359 eval "DEFAULT_$LINE"
5364 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5368 eval "$ac_cv_use_streams"
5369 if test "$no_cache" != 1; then
5370 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5373 if test "$wxUSE_STREAMS" = yes; then
5374 echo "$as_me:$LINENO: result: yes" >&5
5375 echo "${ECHO_T}yes" >&6
5377 echo "$as_me:$LINENO: result: no" >&5
5378 echo "${ECHO_T}no" >&6
5383 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5384 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5386 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5387 if test "${enable_std_iostreams+set}" = set; then
5388 enableval
="$enable_std_iostreams"
5390 if test "$enableval" = yes; then
5391 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5393 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5398 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5399 if test "x$LINE" != x
; then
5400 eval "DEFAULT_$LINE"
5405 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5409 eval "$ac_cv_use_std_iostreams"
5410 if test "$no_cache" != 1; then
5411 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5414 if test "$wxUSE_STD_IOSTREAM" = yes; then
5415 echo "$as_me:$LINENO: result: yes" >&5
5416 echo "${ECHO_T}yes" >&6
5418 echo "$as_me:$LINENO: result: no" >&5
5419 echo "${ECHO_T}no" >&6
5424 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5425 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5427 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5428 if test "${enable_stopwatch+set}" = set; then
5429 enableval
="$enable_stopwatch"
5431 if test "$enableval" = yes; then
5432 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5434 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5439 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5440 if test "x$LINE" != x
; then
5441 eval "DEFAULT_$LINE"
5446 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5450 eval "$ac_cv_use_stopwatch"
5451 if test "$no_cache" != 1; then
5452 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5455 if test "$wxUSE_STOPWATCH" = yes; then
5456 echo "$as_me:$LINENO: result: yes" >&5
5457 echo "${ECHO_T}yes" >&6
5459 echo "$as_me:$LINENO: result: no" >&5
5460 echo "${ECHO_T}no" >&6
5465 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5466 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5468 # Check whether --enable-system_options or --disable-system_options was given.
5469 if test "${enable_system_options+set}" = set; then
5470 enableval
="$enable_system_options"
5472 if test "$enableval" = yes; then
5473 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5475 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5480 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5481 if test "x$LINE" != x
; then
5482 eval "DEFAULT_$LINE"
5487 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5491 eval "$ac_cv_use_system_options"
5492 if test "$no_cache" != 1; then
5493 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5496 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5497 echo "$as_me:$LINENO: result: yes" >&5
5498 echo "${ECHO_T}yes" >&6
5500 echo "$as_me:$LINENO: result: no" >&5
5501 echo "${ECHO_T}no" >&6
5506 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5507 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5509 # Check whether --enable-textbuf or --disable-textbuf was given.
5510 if test "${enable_textbuf+set}" = set; then
5511 enableval
="$enable_textbuf"
5513 if test "$enableval" = yes; then
5514 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
5516 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
5521 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5522 if test "x$LINE" != x
; then
5523 eval "DEFAULT_$LINE"
5528 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5532 eval "$ac_cv_use_textbuf"
5533 if test "$no_cache" != 1; then
5534 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5537 if test "$wxUSE_TEXTBUFFER" = yes; then
5538 echo "$as_me:$LINENO: result: yes" >&5
5539 echo "${ECHO_T}yes" >&6
5541 echo "$as_me:$LINENO: result: no" >&5
5542 echo "${ECHO_T}no" >&6
5547 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5548 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5550 # Check whether --enable-textfile or --disable-textfile was given.
5551 if test "${enable_textfile+set}" = set; then
5552 enableval
="$enable_textfile"
5554 if test "$enableval" = yes; then
5555 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
5557 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
5562 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5563 if test "x$LINE" != x
; then
5564 eval "DEFAULT_$LINE"
5569 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5573 eval "$ac_cv_use_textfile"
5574 if test "$no_cache" != 1; then
5575 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5578 if test "$wxUSE_TEXTFILE" = yes; then
5579 echo "$as_me:$LINENO: result: yes" >&5
5580 echo "${ECHO_T}yes" >&6
5582 echo "$as_me:$LINENO: result: no" >&5
5583 echo "${ECHO_T}no" >&6
5588 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5589 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5591 # Check whether --enable-timer or --disable-timer was given.
5592 if test "${enable_timer+set}" = set; then
5593 enableval
="$enable_timer"
5595 if test "$enableval" = yes; then
5596 ac_cv_use_timer
='wxUSE_TIMER=yes'
5598 ac_cv_use_timer
='wxUSE_TIMER=no'
5603 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5604 if test "x$LINE" != x
; then
5605 eval "DEFAULT_$LINE"
5610 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5614 eval "$ac_cv_use_timer"
5615 if test "$no_cache" != 1; then
5616 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5619 if test "$wxUSE_TIMER" = yes; then
5620 echo "$as_me:$LINENO: result: yes" >&5
5621 echo "${ECHO_T}yes" >&6
5623 echo "$as_me:$LINENO: result: no" >&5
5624 echo "${ECHO_T}no" >&6
5629 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5630 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5632 # Check whether --enable-unicode or --disable-unicode was given.
5633 if test "${enable_unicode+set}" = set; then
5634 enableval
="$enable_unicode"
5636 if test "$enableval" = yes; then
5637 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
5639 ac_cv_use_unicode
='wxUSE_UNICODE=no'
5644 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5645 if test "x$LINE" != x
; then
5646 eval "DEFAULT_$LINE"
5651 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5655 eval "$ac_cv_use_unicode"
5656 if test "$no_cache" != 1; then
5657 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5660 if test "$wxUSE_UNICODE" = yes; then
5661 echo "$as_me:$LINENO: result: yes" >&5
5662 echo "${ECHO_T}yes" >&6
5664 echo "$as_me:$LINENO: result: no" >&5
5665 echo "${ECHO_T}no" >&6
5670 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5671 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5673 # Check whether --enable-sound or --disable-sound was given.
5674 if test "${enable_sound+set}" = set; then
5675 enableval
="$enable_sound"
5677 if test "$enableval" = yes; then
5678 ac_cv_use_sound
='wxUSE_SOUND=yes'
5680 ac_cv_use_sound
='wxUSE_SOUND=no'
5685 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5686 if test "x$LINE" != x
; then
5687 eval "DEFAULT_$LINE"
5692 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5696 eval "$ac_cv_use_sound"
5697 if test "$no_cache" != 1; then
5698 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5701 if test "$wxUSE_SOUND" = yes; then
5702 echo "$as_me:$LINENO: result: yes" >&5
5703 echo "${ECHO_T}yes" >&6
5705 echo "$as_me:$LINENO: result: no" >&5
5706 echo "${ECHO_T}no" >&6
5711 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5712 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5714 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5715 if test "${enable_wxprintfv+set}" = set; then
5716 enableval
="$enable_wxprintfv"
5718 if test "$enableval" = yes; then
5719 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
5721 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
5726 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5727 if test "x$LINE" != x
; then
5728 eval "DEFAULT_$LINE"
5733 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5737 eval "$ac_cv_use_wxprintfv"
5738 if test "$no_cache" != 1; then
5739 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5742 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5743 echo "$as_me:$LINENO: result: yes" >&5
5744 echo "${ECHO_T}yes" >&6
5746 echo "$as_me:$LINENO: result: no" >&5
5747 echo "${ECHO_T}no" >&6
5752 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5753 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5755 # Check whether --enable-zipstream or --disable-zipstream was given.
5756 if test "${enable_zipstream+set}" = set; then
5757 enableval
="$enable_zipstream"
5759 if test "$enableval" = yes; then
5760 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
5762 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
5767 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5768 if test "x$LINE" != x
; then
5769 eval "DEFAULT_$LINE"
5774 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5778 eval "$ac_cv_use_zipstream"
5779 if test "$no_cache" != 1; then
5780 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5783 if test "$wxUSE_ZIPSTREAM" = yes; then
5784 echo "$as_me:$LINENO: result: yes" >&5
5785 echo "${ECHO_T}yes" >&6
5787 echo "$as_me:$LINENO: result: no" >&5
5788 echo "${ECHO_T}no" >&6
5793 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gzstream" >&5
5794 echo $ECHO_N "checking for --${enablestring:-enable}-gzstream... $ECHO_C" >&6
5796 # Check whether --enable-gzstream or --disable-gzstream was given.
5797 if test "${enable_gzstream+set}" = set; then
5798 enableval
="$enable_gzstream"
5800 if test "$enableval" = yes; then
5801 ac_cv_use_gzstream
='wxUSE_GZSTREAM=yes'
5803 ac_cv_use_gzstream
='wxUSE_GZSTREAM=no'
5808 LINE
=`grep "wxUSE_GZSTREAM" ${wx_arg_cache_file}`
5809 if test "x$LINE" != x
; then
5810 eval "DEFAULT_$LINE"
5815 ac_cv_use_gzstream
='wxUSE_GZSTREAM='$DEFAULT_wxUSE_GZSTREAM
5819 eval "$ac_cv_use_gzstream"
5820 if test "$no_cache" != 1; then
5821 echo $ac_cv_use_gzstream >> ${wx_arg_cache_file}.tmp
5824 if test "$wxUSE_GZSTREAM" = yes; then
5825 echo "$as_me:$LINENO: result: yes" >&5
5826 echo "${ECHO_T}yes" >&6
5828 echo "$as_me:$LINENO: result: no" >&5
5829 echo "${ECHO_T}no" >&6
5835 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5836 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5838 # Check whether --enable-url or --disable-url was given.
5839 if test "${enable_url+set}" = set; then
5840 enableval
="$enable_url"
5842 if test "$enableval" = yes; then
5843 ac_cv_use_url
='wxUSE_URL=yes'
5845 ac_cv_use_url
='wxUSE_URL=no'
5850 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5851 if test "x$LINE" != x
; then
5852 eval "DEFAULT_$LINE"
5857 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
5861 eval "$ac_cv_use_url"
5862 if test "$no_cache" != 1; then
5863 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5866 if test "$wxUSE_URL" = yes; then
5867 echo "$as_me:$LINENO: result: yes" >&5
5868 echo "${ECHO_T}yes" >&6
5870 echo "$as_me:$LINENO: result: no" >&5
5871 echo "${ECHO_T}no" >&6
5876 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5877 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5879 # Check whether --enable-protocol or --disable-protocol was given.
5880 if test "${enable_protocol+set}" = set; then
5881 enableval
="$enable_protocol"
5883 if test "$enableval" = yes; then
5884 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
5886 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
5891 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5892 if test "x$LINE" != x
; then
5893 eval "DEFAULT_$LINE"
5898 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5902 eval "$ac_cv_use_protocol"
5903 if test "$no_cache" != 1; then
5904 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5907 if test "$wxUSE_PROTOCOL" = yes; then
5908 echo "$as_me:$LINENO: result: yes" >&5
5909 echo "${ECHO_T}yes" >&6
5911 echo "$as_me:$LINENO: result: no" >&5
5912 echo "${ECHO_T}no" >&6
5917 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5918 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5920 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5921 if test "${enable_protocol_http+set}" = set; then
5922 enableval
="$enable_protocol_http"
5924 if test "$enableval" = yes; then
5925 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
5927 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
5932 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5933 if test "x$LINE" != x
; then
5934 eval "DEFAULT_$LINE"
5939 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5943 eval "$ac_cv_use_protocol_http"
5944 if test "$no_cache" != 1; then
5945 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5948 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5949 echo "$as_me:$LINENO: result: yes" >&5
5950 echo "${ECHO_T}yes" >&6
5952 echo "$as_me:$LINENO: result: no" >&5
5953 echo "${ECHO_T}no" >&6
5958 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5959 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5961 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5962 if test "${enable_protocol_ftp+set}" = set; then
5963 enableval
="$enable_protocol_ftp"
5965 if test "$enableval" = yes; then
5966 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
5968 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
5973 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5974 if test "x$LINE" != x
; then
5975 eval "DEFAULT_$LINE"
5980 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5984 eval "$ac_cv_use_protocol_ftp"
5985 if test "$no_cache" != 1; then
5986 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5989 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5990 echo "$as_me:$LINENO: result: yes" >&5
5991 echo "${ECHO_T}yes" >&6
5993 echo "$as_me:$LINENO: result: no" >&5
5994 echo "${ECHO_T}no" >&6
5999 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6000 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6002 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6003 if test "${enable_protocol_file+set}" = set; then
6004 enableval
="$enable_protocol_file"
6006 if test "$enableval" = yes; then
6007 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6009 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6014 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6015 if test "x$LINE" != x
; then
6016 eval "DEFAULT_$LINE"
6021 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6025 eval "$ac_cv_use_protocol_file"
6026 if test "$no_cache" != 1; then
6027 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6030 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6031 echo "$as_me:$LINENO: result: yes" >&5
6032 echo "${ECHO_T}yes" >&6
6034 echo "$as_me:$LINENO: result: no" >&5
6035 echo "${ECHO_T}no" >&6
6043 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6044 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6046 # Check whether --enable-threads or --disable-threads was given.
6047 if test "${enable_threads+set}" = set; then
6048 enableval
="$enable_threads"
6050 if test "$enableval" = yes; then
6051 ac_cv_use_threads
='wxUSE_THREADS=yes'
6053 ac_cv_use_threads
='wxUSE_THREADS=no'
6058 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6059 if test "x$LINE" != x
; then
6060 eval "DEFAULT_$LINE"
6065 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6069 eval "$ac_cv_use_threads"
6070 if test "$no_cache" != 1; then
6071 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6074 if test "$wxUSE_THREADS" = yes; then
6075 echo "$as_me:$LINENO: result: yes" >&5
6076 echo "${ECHO_T}yes" >&6
6078 echo "$as_me:$LINENO: result: no" >&5
6079 echo "${ECHO_T}no" >&6
6083 if test "$wxUSE_GUI" = "yes"; then
6088 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6089 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6091 # Check whether --enable-docview or --disable-docview was given.
6092 if test "${enable_docview+set}" = set; then
6093 enableval
="$enable_docview"
6095 if test "$enableval" = yes; then
6096 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6098 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6103 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6104 if test "x$LINE" != x
; then
6105 eval "DEFAULT_$LINE"
6110 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6114 eval "$ac_cv_use_docview"
6115 if test "$no_cache" != 1; then
6116 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6119 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6120 echo "$as_me:$LINENO: result: yes" >&5
6121 echo "${ECHO_T}yes" >&6
6123 echo "$as_me:$LINENO: result: no" >&5
6124 echo "${ECHO_T}no" >&6
6129 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6130 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6132 # Check whether --enable-help or --disable-help was given.
6133 if test "${enable_help+set}" = set; then
6134 enableval
="$enable_help"
6136 if test "$enableval" = yes; then
6137 ac_cv_use_help
='wxUSE_HELP=yes'
6139 ac_cv_use_help
='wxUSE_HELP=no'
6144 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6145 if test "x$LINE" != x
; then
6146 eval "DEFAULT_$LINE"
6151 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6155 eval "$ac_cv_use_help"
6156 if test "$no_cache" != 1; then
6157 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6160 if test "$wxUSE_HELP" = yes; then
6161 echo "$as_me:$LINENO: result: yes" >&5
6162 echo "${ECHO_T}yes" >&6
6164 echo "$as_me:$LINENO: result: no" >&5
6165 echo "${ECHO_T}no" >&6
6170 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6171 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6173 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6174 if test "${enable_mshtmlhelp+set}" = set; then
6175 enableval
="$enable_mshtmlhelp"
6177 if test "$enableval" = yes; then
6178 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6180 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6185 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6186 if test "x$LINE" != x
; then
6187 eval "DEFAULT_$LINE"
6192 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6196 eval "$ac_cv_use_mshtmlhelp"
6197 if test "$no_cache" != 1; then
6198 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6201 if test "$wxUSE_MS_HTML_HELP" = yes; then
6202 echo "$as_me:$LINENO: result: yes" >&5
6203 echo "${ECHO_T}yes" >&6
6205 echo "$as_me:$LINENO: result: no" >&5
6206 echo "${ECHO_T}no" >&6
6211 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6212 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6214 # Check whether --enable-html or --disable-html was given.
6215 if test "${enable_html+set}" = set; then
6216 enableval
="$enable_html"
6218 if test "$enableval" = yes; then
6219 ac_cv_use_html
='wxUSE_HTML=yes'
6221 ac_cv_use_html
='wxUSE_HTML=no'
6226 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6227 if test "x$LINE" != x
; then
6228 eval "DEFAULT_$LINE"
6233 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6237 eval "$ac_cv_use_html"
6238 if test "$no_cache" != 1; then
6239 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6242 if test "$wxUSE_HTML" = yes; then
6243 echo "$as_me:$LINENO: result: yes" >&5
6244 echo "${ECHO_T}yes" >&6
6246 echo "$as_me:$LINENO: result: no" >&5
6247 echo "${ECHO_T}no" >&6
6252 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6253 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6255 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6256 if test "${enable_htmlhelp+set}" = set; then
6257 enableval
="$enable_htmlhelp"
6259 if test "$enableval" = yes; then
6260 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6262 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6267 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6268 if test "x$LINE" != x
; then
6269 eval "DEFAULT_$LINE"
6274 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6278 eval "$ac_cv_use_htmlhelp"
6279 if test "$no_cache" != 1; then
6280 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6283 if test "$wxUSE_WXHTML_HELP" = yes; then
6284 echo "$as_me:$LINENO: result: yes" >&5
6285 echo "${ECHO_T}yes" >&6
6287 echo "$as_me:$LINENO: result: no" >&5
6288 echo "${ECHO_T}no" >&6
6293 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6294 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6296 # Check whether --enable-constraints or --disable-constraints was given.
6297 if test "${enable_constraints+set}" = set; then
6298 enableval
="$enable_constraints"
6300 if test "$enableval" = yes; then
6301 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6303 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6308 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6309 if test "x$LINE" != x
; then
6310 eval "DEFAULT_$LINE"
6315 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6319 eval "$ac_cv_use_constraints"
6320 if test "$no_cache" != 1; then
6321 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6324 if test "$wxUSE_CONSTRAINTS" = yes; then
6325 echo "$as_me:$LINENO: result: yes" >&5
6326 echo "${ECHO_T}yes" >&6
6328 echo "$as_me:$LINENO: result: no" >&5
6329 echo "${ECHO_T}no" >&6
6334 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6335 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6337 # Check whether --enable-printarch or --disable-printarch was given.
6338 if test "${enable_printarch+set}" = set; then
6339 enableval
="$enable_printarch"
6341 if test "$enableval" = yes; then
6342 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6344 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6349 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6350 if test "x$LINE" != x
; then
6351 eval "DEFAULT_$LINE"
6356 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6360 eval "$ac_cv_use_printarch"
6361 if test "$no_cache" != 1; then
6362 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6365 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6366 echo "$as_me:$LINENO: result: yes" >&5
6367 echo "${ECHO_T}yes" >&6
6369 echo "$as_me:$LINENO: result: no" >&5
6370 echo "${ECHO_T}no" >&6
6375 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6376 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6378 # Check whether --enable-mdi or --disable-mdi was given.
6379 if test "${enable_mdi+set}" = set; then
6380 enableval
="$enable_mdi"
6382 if test "$enableval" = yes; then
6383 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
6385 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
6390 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6391 if test "x$LINE" != x
; then
6392 eval "DEFAULT_$LINE"
6397 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6401 eval "$ac_cv_use_mdi"
6402 if test "$no_cache" != 1; then
6403 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6406 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6407 echo "$as_me:$LINENO: result: yes" >&5
6408 echo "${ECHO_T}yes" >&6
6410 echo "$as_me:$LINENO: result: no" >&5
6411 echo "${ECHO_T}no" >&6
6416 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6417 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6419 # Check whether --enable-loggui or --disable-loggui was given.
6420 if test "${enable_loggui+set}" = set; then
6421 enableval
="$enable_loggui"
6423 if test "$enableval" = yes; then
6424 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
6426 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
6431 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6432 if test "x$LINE" != x
; then
6433 eval "DEFAULT_$LINE"
6438 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6442 eval "$ac_cv_use_loggui"
6443 if test "$no_cache" != 1; then
6444 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6447 if test "$wxUSE_LOGGUI" = yes; then
6448 echo "$as_me:$LINENO: result: yes" >&5
6449 echo "${ECHO_T}yes" >&6
6451 echo "$as_me:$LINENO: result: no" >&5
6452 echo "${ECHO_T}no" >&6
6457 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6458 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6460 # Check whether --enable-logwin or --disable-logwin was given.
6461 if test "${enable_logwin+set}" = set; then
6462 enableval
="$enable_logwin"
6464 if test "$enableval" = yes; then
6465 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
6467 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
6472 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6473 if test "x$LINE" != x
; then
6474 eval "DEFAULT_$LINE"
6479 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6483 eval "$ac_cv_use_logwin"
6484 if test "$no_cache" != 1; then
6485 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6488 if test "$wxUSE_LOGWINDOW" = yes; then
6489 echo "$as_me:$LINENO: result: yes" >&5
6490 echo "${ECHO_T}yes" >&6
6492 echo "$as_me:$LINENO: result: no" >&5
6493 echo "${ECHO_T}no" >&6
6498 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6499 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6501 # Check whether --enable-logdialog or --disable-logdialog was given.
6502 if test "${enable_logdialog+set}" = set; then
6503 enableval
="$enable_logdialog"
6505 if test "$enableval" = yes; then
6506 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
6508 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
6513 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6514 if test "x$LINE" != x
; then
6515 eval "DEFAULT_$LINE"
6520 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6524 eval "$ac_cv_use_logdialog"
6525 if test "$no_cache" != 1; then
6526 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6529 if test "$wxUSE_LOGDIALOG" = yes; then
6530 echo "$as_me:$LINENO: result: yes" >&5
6531 echo "${ECHO_T}yes" >&6
6533 echo "$as_me:$LINENO: result: no" >&5
6534 echo "${ECHO_T}no" >&6
6540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6541 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6543 # Check whether --enable-postscript or --disable-postscript was given.
6544 if test "${enable_postscript+set}" = set; then
6545 enableval
="$enable_postscript"
6547 if test "$enableval" = yes; then
6548 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
6550 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
6555 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6556 if test "x$LINE" != x
; then
6557 eval "DEFAULT_$LINE"
6562 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6566 eval "$ac_cv_use_postscript"
6567 if test "$no_cache" != 1; then
6568 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6571 if test "$wxUSE_POSTSCRIPT" = yes; then
6572 echo "$as_me:$LINENO: result: yes" >&5
6573 echo "${ECHO_T}yes" >&6
6575 echo "$as_me:$LINENO: result: no" >&5
6576 echo "${ECHO_T}no" >&6
6584 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6585 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6587 # Check whether --enable-prologio or --disable-prologio was given.
6588 if test "${enable_prologio+set}" = set; then
6589 enableval
="$enable_prologio"
6591 if test "$enableval" = yes; then
6592 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
6594 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
6599 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6600 if test "x$LINE" != x
; then
6601 eval "DEFAULT_$LINE"
6606 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6610 eval "$ac_cv_use_prologio"
6611 if test "$no_cache" != 1; then
6612 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6615 if test "$wxUSE_PROLOGIO" = yes; then
6616 echo "$as_me:$LINENO: result: yes" >&5
6617 echo "${ECHO_T}yes" >&6
6619 echo "$as_me:$LINENO: result: no" >&5
6620 echo "${ECHO_T}no" >&6
6625 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6626 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6628 # Check whether --enable-resources or --disable-resources was given.
6629 if test "${enable_resources+set}" = set; then
6630 enableval
="$enable_resources"
6632 if test "$enableval" = yes; then
6633 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
6635 ac_cv_use_resources
='wxUSE_RESOURCES=no'
6640 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6641 if test "x$LINE" != x
; then
6642 eval "DEFAULT_$LINE"
6647 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6651 eval "$ac_cv_use_resources"
6652 if test "$no_cache" != 1; then
6653 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6656 if test "$wxUSE_RESOURCES" = yes; then
6657 echo "$as_me:$LINENO: result: yes" >&5
6658 echo "${ECHO_T}yes" >&6
6660 echo "$as_me:$LINENO: result: no" >&5
6661 echo "${ECHO_T}no" >&6
6668 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6669 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6671 # Check whether --enable-clipboard or --disable-clipboard was given.
6672 if test "${enable_clipboard+set}" = set; then
6673 enableval
="$enable_clipboard"
6675 if test "$enableval" = yes; then
6676 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
6678 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
6683 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6684 if test "x$LINE" != x
; then
6685 eval "DEFAULT_$LINE"
6690 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6694 eval "$ac_cv_use_clipboard"
6695 if test "$no_cache" != 1; then
6696 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6699 if test "$wxUSE_CLIPBOARD" = yes; then
6700 echo "$as_me:$LINENO: result: yes" >&5
6701 echo "${ECHO_T}yes" >&6
6703 echo "$as_me:$LINENO: result: no" >&5
6704 echo "${ECHO_T}no" >&6
6709 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6710 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6712 # Check whether --enable-dnd or --disable-dnd was given.
6713 if test "${enable_dnd+set}" = set; then
6714 enableval
="$enable_dnd"
6716 if test "$enableval" = yes; then
6717 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
6719 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
6724 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6725 if test "x$LINE" != x
; then
6726 eval "DEFAULT_$LINE"
6731 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6735 eval "$ac_cv_use_dnd"
6736 if test "$no_cache" != 1; then
6737 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6740 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6741 echo "$as_me:$LINENO: result: yes" >&5
6742 echo "${ECHO_T}yes" >&6
6744 echo "$as_me:$LINENO: result: no" >&5
6745 echo "${ECHO_T}no" >&6
6750 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6751 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6753 # Check whether --enable-metafile or --disable-metafile was given.
6754 if test "${enable_metafile+set}" = set; then
6755 enableval
="$enable_metafile"
6757 if test "$enableval" = yes; then
6758 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
6760 ac_cv_use_metafile
='wxUSE_METAFILE=no'
6765 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6766 if test "x$LINE" != x
; then
6767 eval "DEFAULT_$LINE"
6772 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6776 eval "$ac_cv_use_metafile"
6777 if test "$no_cache" != 1; then
6778 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6781 if test "$wxUSE_METAFILE" = yes; then
6782 echo "$as_me:$LINENO: result: yes" >&5
6783 echo "${ECHO_T}yes" >&6
6785 echo "$as_me:$LINENO: result: no" >&5
6786 echo "${ECHO_T}no" >&6
6794 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6795 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6797 # Check whether --enable-controls or --disable-controls was given.
6798 if test "${enable_controls+set}" = set; then
6799 enableval
="$enable_controls"
6801 if test "$enableval" = yes; then
6802 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
6804 ac_cv_use_controls
='wxUSE_CONTROLS=no'
6809 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6810 if test "x$LINE" != x
; then
6811 eval "DEFAULT_$LINE"
6816 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6820 eval "$ac_cv_use_controls"
6821 if test "$no_cache" != 1; then
6822 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6825 if test "$wxUSE_CONTROLS" = yes; then
6826 echo "$as_me:$LINENO: result: yes" >&5
6827 echo "${ECHO_T}yes" >&6
6829 echo "$as_me:$LINENO: result: no" >&5
6830 echo "${ECHO_T}no" >&6
6834 if test "$wxUSE_CONTROLS" = "yes"; then
6835 DEFAULT_wxUSE_ACCEL
=yes
6836 DEFAULT_wxUSE_BMPBUTTON
=yes
6837 DEFAULT_wxUSE_BUTTON
=yes
6838 DEFAULT_wxUSE_CALCTRL
=no
6839 DEFAULT_wxUSE_CARET
=yes
6840 DEFAULT_wxUSE_COMBOBOX
=yes
6841 DEFAULT_wxUSE_CHECKBOX
=yes
6842 DEFAULT_wxUSE_CHECKLISTBOX
=yes
6843 DEFAULT_wxUSE_CHOICE
=yes
6844 DEFAULT_wxUSE_GAUGE
=yes
6845 DEFAULT_wxUSE_GRID
=yes
6846 DEFAULT_wxUSE_IMAGLIST
=yes
6847 DEFAULT_wxUSE_LISTBOOK
=yes
6848 DEFAULT_wxUSE_LISTBOX
=yes
6849 DEFAULT_wxUSE_LISTCTRL
=yes
6850 DEFAULT_wxUSE_NOTEBOOK
=yes
6851 DEFAULT_wxUSE_RADIOBOX
=yes
6852 DEFAULT_wxUSE_RADIOBTN
=yes
6853 DEFAULT_wxUSE_SASH
=yes
6854 DEFAULT_wxUSE_SCROLLBAR
=yes
6855 DEFAULT_wxUSE_SLIDER
=yes
6856 DEFAULT_wxUSE_SPINBTN
=yes
6857 DEFAULT_wxUSE_SPINCTRL
=yes
6858 DEFAULT_wxUSE_SPLITTER
=yes
6859 DEFAULT_wxUSE_STATBMP
=yes
6860 DEFAULT_wxUSE_STATBOX
=yes
6861 DEFAULT_wxUSE_STATLINE
=yes
6862 DEFAULT_wxUSE_STATUSBAR
=yes
6863 DEFAULT_wxUSE_TAB_DIALOG
=yes
6864 DEFAULT_wxUSE_TOGGLEBTN
=yes
6865 DEFAULT_wxUSE_TOOLBAR
=yes
6866 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
6867 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
6868 DEFAULT_wxUSE_TOOLTIPS
=yes
6869 DEFAULT_wxUSE_TREECTRL
=yes
6870 DEFAULT_wxUSE_POPUPWIN
=yes
6871 DEFAULT_wxUSE_TIPWINDOW
=yes
6872 elif test "$wxUSE_CONTROLS" = "no"; then
6873 DEFAULT_wxUSE_ACCEL
=no
6874 DEFAULT_wxUSE_BMPBUTTON
=no
6875 DEFAULT_wxUSE_BUTTON
=no
6876 DEFAULT_wxUSE_CALCTRL
=no
6877 DEFAULT_wxUSE_CARET
=no
6878 DEFAULT_wxUSE_COMBOBOX
=no
6879 DEFAULT_wxUSE_CHECKBOX
=no
6880 DEFAULT_wxUSE_CHECKLISTBOX
=no
6881 DEFAULT_wxUSE_CHOICE
=no
6882 DEFAULT_wxUSE_GAUGE
=no
6883 DEFAULT_wxUSE_GRID
=no
6884 DEFAULT_wxUSE_IMAGLIST
=no
6885 DEFAULT_wxUSE_LISTBOOK
=no
6886 DEFAULT_wxUSE_LISTBOX
=no
6887 DEFAULT_wxUSE_LISTCTRL
=no
6888 DEFAULT_wxUSE_NOTEBOOK
=no
6889 DEFAULT_wxUSE_RADIOBOX
=no
6890 DEFAULT_wxUSE_RADIOBTN
=no
6891 DEFAULT_wxUSE_SASH
=no
6892 DEFAULT_wxUSE_SCROLLBAR
=no
6893 DEFAULT_wxUSE_SLIDER
=no
6894 DEFAULT_wxUSE_SPINBTN
=no
6895 DEFAULT_wxUSE_SPINCTRL
=no
6896 DEFAULT_wxUSE_SPLITTER
=no
6897 DEFAULT_wxUSE_STATBMP
=no
6898 DEFAULT_wxUSE_STATBOX
=no
6899 DEFAULT_wxUSE_STATLINE
=no
6900 DEFAULT_wxUSE_STATUSBAR
=no
6901 DEFAULT_wxUSE_TAB_DIALOG
=no
6902 DEFAULT_wxUSE_TOGGLEBTN
=no
6903 DEFAULT_wxUSE_TOOLBAR
=no
6904 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
6905 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
6906 DEFAULT_wxUSE_TOOLTIPS
=no
6907 DEFAULT_wxUSE_TREECTRL
=no
6908 DEFAULT_wxUSE_POPUPWIN
=no
6909 DEFAULT_wxUSE_TIPWINDOW
=no
6912 ## FIXME: This is a blatant hack
6913 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6914 wxUSE_PRINTING_ARCHITECTURE
=no
6915 wxUSE_DRAG_AND_DROP
=no
6916 # Generic notebook requires tab dialog
6917 DEFAULT_wxUSE_TABDIALOG
=yes
6918 DEFAULT_wxUSE_SCROLLBAR
=no
6919 DEFAULT_wxUSE_TOOLTIPS
=no
6920 DEFAULT_wxUSE_DRAGIMAGE
=no
6925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6926 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6928 # Check whether --enable-accel or --disable-accel was given.
6929 if test "${enable_accel+set}" = set; then
6930 enableval
="$enable_accel"
6932 if test "$enableval" = yes; then
6933 ac_cv_use_accel
='wxUSE_ACCEL=yes'
6935 ac_cv_use_accel
='wxUSE_ACCEL=no'
6940 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6941 if test "x$LINE" != x
; then
6942 eval "DEFAULT_$LINE"
6947 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6951 eval "$ac_cv_use_accel"
6952 if test "$no_cache" != 1; then
6953 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6956 if test "$wxUSE_ACCEL" = yes; then
6957 echo "$as_me:$LINENO: result: yes" >&5
6958 echo "${ECHO_T}yes" >&6
6960 echo "$as_me:$LINENO: result: no" >&5
6961 echo "${ECHO_T}no" >&6
6966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6967 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6969 # Check whether --enable-button or --disable-button was given.
6970 if test "${enable_button+set}" = set; then
6971 enableval
="$enable_button"
6973 if test "$enableval" = yes; then
6974 ac_cv_use_button
='wxUSE_BUTTON=yes'
6976 ac_cv_use_button
='wxUSE_BUTTON=no'
6981 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6982 if test "x$LINE" != x
; then
6983 eval "DEFAULT_$LINE"
6988 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6992 eval "$ac_cv_use_button"
6993 if test "$no_cache" != 1; then
6994 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6997 if test "$wxUSE_BUTTON" = yes; then
6998 echo "$as_me:$LINENO: result: yes" >&5
6999 echo "${ECHO_T}yes" >&6
7001 echo "$as_me:$LINENO: result: no" >&5
7002 echo "${ECHO_T}no" >&6
7007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7008 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7010 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7011 if test "${enable_bmpbutton+set}" = set; then
7012 enableval
="$enable_bmpbutton"
7014 if test "$enableval" = yes; then
7015 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7017 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7022 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7023 if test "x$LINE" != x
; then
7024 eval "DEFAULT_$LINE"
7029 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7033 eval "$ac_cv_use_bmpbutton"
7034 if test "$no_cache" != 1; then
7035 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7038 if test "$wxUSE_BMPBUTTON" = yes; then
7039 echo "$as_me:$LINENO: result: yes" >&5
7040 echo "${ECHO_T}yes" >&6
7042 echo "$as_me:$LINENO: result: no" >&5
7043 echo "${ECHO_T}no" >&6
7048 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7049 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7051 # Check whether --enable-calendar or --disable-calendar was given.
7052 if test "${enable_calendar+set}" = set; then
7053 enableval
="$enable_calendar"
7055 if test "$enableval" = yes; then
7056 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7058 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7063 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7064 if test "x$LINE" != x
; then
7065 eval "DEFAULT_$LINE"
7070 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7074 eval "$ac_cv_use_calendar"
7075 if test "$no_cache" != 1; then
7076 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7079 if test "$wxUSE_CALCTRL" = yes; then
7080 echo "$as_me:$LINENO: result: yes" >&5
7081 echo "${ECHO_T}yes" >&6
7083 echo "$as_me:$LINENO: result: no" >&5
7084 echo "${ECHO_T}no" >&6
7089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7090 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7092 # Check whether --enable-caret or --disable-caret was given.
7093 if test "${enable_caret+set}" = set; then
7094 enableval
="$enable_caret"
7096 if test "$enableval" = yes; then
7097 ac_cv_use_caret
='wxUSE_CARET=yes'
7099 ac_cv_use_caret
='wxUSE_CARET=no'
7104 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7105 if test "x$LINE" != x
; then
7106 eval "DEFAULT_$LINE"
7111 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7115 eval "$ac_cv_use_caret"
7116 if test "$no_cache" != 1; then
7117 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7120 if test "$wxUSE_CARET" = yes; then
7121 echo "$as_me:$LINENO: result: yes" >&5
7122 echo "${ECHO_T}yes" >&6
7124 echo "$as_me:$LINENO: result: no" >&5
7125 echo "${ECHO_T}no" >&6
7130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7131 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7133 # Check whether --enable-checkbox or --disable-checkbox was given.
7134 if test "${enable_checkbox+set}" = set; then
7135 enableval
="$enable_checkbox"
7137 if test "$enableval" = yes; then
7138 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7140 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7145 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7146 if test "x$LINE" != x
; then
7147 eval "DEFAULT_$LINE"
7152 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7156 eval "$ac_cv_use_checkbox"
7157 if test "$no_cache" != 1; then
7158 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7161 if test "$wxUSE_CHECKBOX" = yes; then
7162 echo "$as_me:$LINENO: result: yes" >&5
7163 echo "${ECHO_T}yes" >&6
7165 echo "$as_me:$LINENO: result: no" >&5
7166 echo "${ECHO_T}no" >&6
7171 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7172 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7174 # Check whether --enable-checklst or --disable-checklst was given.
7175 if test "${enable_checklst+set}" = set; then
7176 enableval
="$enable_checklst"
7178 if test "$enableval" = yes; then
7179 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7181 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7186 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7187 if test "x$LINE" != x
; then
7188 eval "DEFAULT_$LINE"
7193 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7197 eval "$ac_cv_use_checklst"
7198 if test "$no_cache" != 1; then
7199 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7202 if test "$wxUSE_CHECKLST" = yes; then
7203 echo "$as_me:$LINENO: result: yes" >&5
7204 echo "${ECHO_T}yes" >&6
7206 echo "$as_me:$LINENO: result: no" >&5
7207 echo "${ECHO_T}no" >&6
7212 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7213 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7215 # Check whether --enable-choice or --disable-choice was given.
7216 if test "${enable_choice+set}" = set; then
7217 enableval
="$enable_choice"
7219 if test "$enableval" = yes; then
7220 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7222 ac_cv_use_choice
='wxUSE_CHOICE=no'
7227 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7228 if test "x$LINE" != x
; then
7229 eval "DEFAULT_$LINE"
7234 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7238 eval "$ac_cv_use_choice"
7239 if test "$no_cache" != 1; then
7240 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7243 if test "$wxUSE_CHOICE" = yes; then
7244 echo "$as_me:$LINENO: result: yes" >&5
7245 echo "${ECHO_T}yes" >&6
7247 echo "$as_me:$LINENO: result: no" >&5
7248 echo "${ECHO_T}no" >&6
7253 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7254 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7256 # Check whether --enable-combobox or --disable-combobox was given.
7257 if test "${enable_combobox+set}" = set; then
7258 enableval
="$enable_combobox"
7260 if test "$enableval" = yes; then
7261 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
7263 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
7268 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7269 if test "x$LINE" != x
; then
7270 eval "DEFAULT_$LINE"
7275 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7279 eval "$ac_cv_use_combobox"
7280 if test "$no_cache" != 1; then
7281 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7284 if test "$wxUSE_COMBOBOX" = yes; then
7285 echo "$as_me:$LINENO: result: yes" >&5
7286 echo "${ECHO_T}yes" >&6
7288 echo "$as_me:$LINENO: result: no" >&5
7289 echo "${ECHO_T}no" >&6
7294 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7295 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7297 # Check whether --enable-display or --disable-display was given.
7298 if test "${enable_display+set}" = set; then
7299 enableval
="$enable_display"
7301 if test "$enableval" = yes; then
7302 ac_cv_use_display
='wxUSE_DISPLAY=yes'
7304 ac_cv_use_display
='wxUSE_DISPLAY=no'
7309 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7310 if test "x$LINE" != x
; then
7311 eval "DEFAULT_$LINE"
7316 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7320 eval "$ac_cv_use_display"
7321 if test "$no_cache" != 1; then
7322 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7325 if test "$wxUSE_DISPLAY" = yes; then
7326 echo "$as_me:$LINENO: result: yes" >&5
7327 echo "${ECHO_T}yes" >&6
7329 echo "$as_me:$LINENO: result: no" >&5
7330 echo "${ECHO_T}no" >&6
7335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7336 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7338 # Check whether --enable-gauge or --disable-gauge was given.
7339 if test "${enable_gauge+set}" = set; then
7340 enableval
="$enable_gauge"
7342 if test "$enableval" = yes; then
7343 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
7345 ac_cv_use_gauge
='wxUSE_GAUGE=no'
7350 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7351 if test "x$LINE" != x
; then
7352 eval "DEFAULT_$LINE"
7357 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7361 eval "$ac_cv_use_gauge"
7362 if test "$no_cache" != 1; then
7363 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7366 if test "$wxUSE_GAUGE" = yes; then
7367 echo "$as_me:$LINENO: result: yes" >&5
7368 echo "${ECHO_T}yes" >&6
7370 echo "$as_me:$LINENO: result: no" >&5
7371 echo "${ECHO_T}no" >&6
7376 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7377 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7379 # Check whether --enable-grid or --disable-grid was given.
7380 if test "${enable_grid+set}" = set; then
7381 enableval
="$enable_grid"
7383 if test "$enableval" = yes; then
7384 ac_cv_use_grid
='wxUSE_GRID=yes'
7386 ac_cv_use_grid
='wxUSE_GRID=no'
7391 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7392 if test "x$LINE" != x
; then
7393 eval "DEFAULT_$LINE"
7398 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7402 eval "$ac_cv_use_grid"
7403 if test "$no_cache" != 1; then
7404 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7407 if test "$wxUSE_GRID" = yes; then
7408 echo "$as_me:$LINENO: result: yes" >&5
7409 echo "${ECHO_T}yes" >&6
7411 echo "$as_me:$LINENO: result: no" >&5
7412 echo "${ECHO_T}no" >&6
7417 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7418 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7420 # Check whether --enable-imaglist or --disable-imaglist was given.
7421 if test "${enable_imaglist+set}" = set; then
7422 enableval
="$enable_imaglist"
7424 if test "$enableval" = yes; then
7425 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
7427 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
7432 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7433 if test "x$LINE" != x
; then
7434 eval "DEFAULT_$LINE"
7439 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7443 eval "$ac_cv_use_imaglist"
7444 if test "$no_cache" != 1; then
7445 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7448 if test "$wxUSE_IMAGLIST" = yes; then
7449 echo "$as_me:$LINENO: result: yes" >&5
7450 echo "${ECHO_T}yes" >&6
7452 echo "$as_me:$LINENO: result: no" >&5
7453 echo "${ECHO_T}no" >&6
7458 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7459 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7461 # Check whether --enable-listbook or --disable-listbook was given.
7462 if test "${enable_listbook+set}" = set; then
7463 enableval
="$enable_listbook"
7465 if test "$enableval" = yes; then
7466 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
7468 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
7473 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7474 if test "x$LINE" != x
; then
7475 eval "DEFAULT_$LINE"
7480 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7484 eval "$ac_cv_use_listbook"
7485 if test "$no_cache" != 1; then
7486 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7489 if test "$wxUSE_LISTBOOK" = yes; then
7490 echo "$as_me:$LINENO: result: yes" >&5
7491 echo "${ECHO_T}yes" >&6
7493 echo "$as_me:$LINENO: result: no" >&5
7494 echo "${ECHO_T}no" >&6
7499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7500 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7502 # Check whether --enable-listbox or --disable-listbox was given.
7503 if test "${enable_listbox+set}" = set; then
7504 enableval
="$enable_listbox"
7506 if test "$enableval" = yes; then
7507 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
7509 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
7514 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7515 if test "x$LINE" != x
; then
7516 eval "DEFAULT_$LINE"
7521 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7525 eval "$ac_cv_use_listbox"
7526 if test "$no_cache" != 1; then
7527 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7530 if test "$wxUSE_LISTBOX" = yes; then
7531 echo "$as_me:$LINENO: result: yes" >&5
7532 echo "${ECHO_T}yes" >&6
7534 echo "$as_me:$LINENO: result: no" >&5
7535 echo "${ECHO_T}no" >&6
7540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7541 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7543 # Check whether --enable-listctrl or --disable-listctrl was given.
7544 if test "${enable_listctrl+set}" = set; then
7545 enableval
="$enable_listctrl"
7547 if test "$enableval" = yes; then
7548 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
7550 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
7555 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7556 if test "x$LINE" != x
; then
7557 eval "DEFAULT_$LINE"
7562 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7566 eval "$ac_cv_use_listctrl"
7567 if test "$no_cache" != 1; then
7568 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7571 if test "$wxUSE_LISTCTRL" = yes; then
7572 echo "$as_me:$LINENO: result: yes" >&5
7573 echo "${ECHO_T}yes" >&6
7575 echo "$as_me:$LINENO: result: no" >&5
7576 echo "${ECHO_T}no" >&6
7581 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7582 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7584 # Check whether --enable-notebook or --disable-notebook was given.
7585 if test "${enable_notebook+set}" = set; then
7586 enableval
="$enable_notebook"
7588 if test "$enableval" = yes; then
7589 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
7591 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
7596 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7597 if test "x$LINE" != x
; then
7598 eval "DEFAULT_$LINE"
7603 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7607 eval "$ac_cv_use_notebook"
7608 if test "$no_cache" != 1; then
7609 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7612 if test "$wxUSE_NOTEBOOK" = yes; then
7613 echo "$as_me:$LINENO: result: yes" >&5
7614 echo "${ECHO_T}yes" >&6
7616 echo "$as_me:$LINENO: result: no" >&5
7617 echo "${ECHO_T}no" >&6
7622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7623 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7625 # Check whether --enable-radiobox or --disable-radiobox was given.
7626 if test "${enable_radiobox+set}" = set; then
7627 enableval
="$enable_radiobox"
7629 if test "$enableval" = yes; then
7630 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
7632 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
7637 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7638 if test "x$LINE" != x
; then
7639 eval "DEFAULT_$LINE"
7644 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7648 eval "$ac_cv_use_radiobox"
7649 if test "$no_cache" != 1; then
7650 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7653 if test "$wxUSE_RADIOBOX" = yes; then
7654 echo "$as_me:$LINENO: result: yes" >&5
7655 echo "${ECHO_T}yes" >&6
7657 echo "$as_me:$LINENO: result: no" >&5
7658 echo "${ECHO_T}no" >&6
7663 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7664 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7666 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7667 if test "${enable_radiobtn+set}" = set; then
7668 enableval
="$enable_radiobtn"
7670 if test "$enableval" = yes; then
7671 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
7673 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
7678 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7679 if test "x$LINE" != x
; then
7680 eval "DEFAULT_$LINE"
7685 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7689 eval "$ac_cv_use_radiobtn"
7690 if test "$no_cache" != 1; then
7691 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7694 if test "$wxUSE_RADIOBTN" = yes; then
7695 echo "$as_me:$LINENO: result: yes" >&5
7696 echo "${ECHO_T}yes" >&6
7698 echo "$as_me:$LINENO: result: no" >&5
7699 echo "${ECHO_T}no" >&6
7704 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7705 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7707 # Check whether --enable-sash or --disable-sash was given.
7708 if test "${enable_sash+set}" = set; then
7709 enableval
="$enable_sash"
7711 if test "$enableval" = yes; then
7712 ac_cv_use_sash
='wxUSE_SASH=yes'
7714 ac_cv_use_sash
='wxUSE_SASH=no'
7719 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7720 if test "x$LINE" != x
; then
7721 eval "DEFAULT_$LINE"
7726 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7730 eval "$ac_cv_use_sash"
7731 if test "$no_cache" != 1; then
7732 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7735 if test "$wxUSE_SASH" = yes; then
7736 echo "$as_me:$LINENO: result: yes" >&5
7737 echo "${ECHO_T}yes" >&6
7739 echo "$as_me:$LINENO: result: no" >&5
7740 echo "${ECHO_T}no" >&6
7745 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7746 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7748 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7749 if test "${enable_scrollbar+set}" = set; then
7750 enableval
="$enable_scrollbar"
7752 if test "$enableval" = yes; then
7753 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
7755 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
7760 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7761 if test "x$LINE" != x
; then
7762 eval "DEFAULT_$LINE"
7767 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7771 eval "$ac_cv_use_scrollbar"
7772 if test "$no_cache" != 1; then
7773 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7776 if test "$wxUSE_SCROLLBAR" = yes; then
7777 echo "$as_me:$LINENO: result: yes" >&5
7778 echo "${ECHO_T}yes" >&6
7780 echo "$as_me:$LINENO: result: no" >&5
7781 echo "${ECHO_T}no" >&6
7786 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7787 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7789 # Check whether --enable-slider or --disable-slider was given.
7790 if test "${enable_slider+set}" = set; then
7791 enableval
="$enable_slider"
7793 if test "$enableval" = yes; then
7794 ac_cv_use_slider
='wxUSE_SLIDER=yes'
7796 ac_cv_use_slider
='wxUSE_SLIDER=no'
7801 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7802 if test "x$LINE" != x
; then
7803 eval "DEFAULT_$LINE"
7808 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7812 eval "$ac_cv_use_slider"
7813 if test "$no_cache" != 1; then
7814 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7817 if test "$wxUSE_SLIDER" = yes; then
7818 echo "$as_me:$LINENO: result: yes" >&5
7819 echo "${ECHO_T}yes" >&6
7821 echo "$as_me:$LINENO: result: no" >&5
7822 echo "${ECHO_T}no" >&6
7827 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7828 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7830 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7831 if test "${enable_spinbtn+set}" = set; then
7832 enableval
="$enable_spinbtn"
7834 if test "$enableval" = yes; then
7835 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
7837 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
7842 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7843 if test "x$LINE" != x
; then
7844 eval "DEFAULT_$LINE"
7849 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7853 eval "$ac_cv_use_spinbtn"
7854 if test "$no_cache" != 1; then
7855 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7858 if test "$wxUSE_SPINBTN" = yes; then
7859 echo "$as_me:$LINENO: result: yes" >&5
7860 echo "${ECHO_T}yes" >&6
7862 echo "$as_me:$LINENO: result: no" >&5
7863 echo "${ECHO_T}no" >&6
7868 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7869 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7871 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7872 if test "${enable_spinctrl+set}" = set; then
7873 enableval
="$enable_spinctrl"
7875 if test "$enableval" = yes; then
7876 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
7878 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
7883 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7884 if test "x$LINE" != x
; then
7885 eval "DEFAULT_$LINE"
7890 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7894 eval "$ac_cv_use_spinctrl"
7895 if test "$no_cache" != 1; then
7896 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7899 if test "$wxUSE_SPINCTRL" = yes; then
7900 echo "$as_me:$LINENO: result: yes" >&5
7901 echo "${ECHO_T}yes" >&6
7903 echo "$as_me:$LINENO: result: no" >&5
7904 echo "${ECHO_T}no" >&6
7909 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7910 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7912 # Check whether --enable-splitter or --disable-splitter was given.
7913 if test "${enable_splitter+set}" = set; then
7914 enableval
="$enable_splitter"
7916 if test "$enableval" = yes; then
7917 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
7919 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
7924 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7925 if test "x$LINE" != x
; then
7926 eval "DEFAULT_$LINE"
7931 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7935 eval "$ac_cv_use_splitter"
7936 if test "$no_cache" != 1; then
7937 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7940 if test "$wxUSE_SPLITTER" = yes; then
7941 echo "$as_me:$LINENO: result: yes" >&5
7942 echo "${ECHO_T}yes" >&6
7944 echo "$as_me:$LINENO: result: no" >&5
7945 echo "${ECHO_T}no" >&6
7950 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7951 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7953 # Check whether --enable-statbmp or --disable-statbmp was given.
7954 if test "${enable_statbmp+set}" = set; then
7955 enableval
="$enable_statbmp"
7957 if test "$enableval" = yes; then
7958 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
7960 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
7965 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7966 if test "x$LINE" != x
; then
7967 eval "DEFAULT_$LINE"
7972 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7976 eval "$ac_cv_use_statbmp"
7977 if test "$no_cache" != 1; then
7978 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7981 if test "$wxUSE_STATBMP" = yes; then
7982 echo "$as_me:$LINENO: result: yes" >&5
7983 echo "${ECHO_T}yes" >&6
7985 echo "$as_me:$LINENO: result: no" >&5
7986 echo "${ECHO_T}no" >&6
7991 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7992 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7994 # Check whether --enable-statbox or --disable-statbox was given.
7995 if test "${enable_statbox+set}" = set; then
7996 enableval
="$enable_statbox"
7998 if test "$enableval" = yes; then
7999 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
8001 ac_cv_use_statbox
='wxUSE_STATBOX=no'
8006 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8007 if test "x$LINE" != x
; then
8008 eval "DEFAULT_$LINE"
8013 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8017 eval "$ac_cv_use_statbox"
8018 if test "$no_cache" != 1; then
8019 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8022 if test "$wxUSE_STATBOX" = yes; then
8023 echo "$as_me:$LINENO: result: yes" >&5
8024 echo "${ECHO_T}yes" >&6
8026 echo "$as_me:$LINENO: result: no" >&5
8027 echo "${ECHO_T}no" >&6
8032 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8033 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8035 # Check whether --enable-statline or --disable-statline was given.
8036 if test "${enable_statline+set}" = set; then
8037 enableval
="$enable_statline"
8039 if test "$enableval" = yes; then
8040 ac_cv_use_statline
='wxUSE_STATLINE=yes'
8042 ac_cv_use_statline
='wxUSE_STATLINE=no'
8047 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8048 if test "x$LINE" != x
; then
8049 eval "DEFAULT_$LINE"
8054 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8058 eval "$ac_cv_use_statline"
8059 if test "$no_cache" != 1; then
8060 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8063 if test "$wxUSE_STATLINE" = yes; then
8064 echo "$as_me:$LINENO: result: yes" >&5
8065 echo "${ECHO_T}yes" >&6
8067 echo "$as_me:$LINENO: result: no" >&5
8068 echo "${ECHO_T}no" >&6
8073 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8074 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8076 # Check whether --enable-stattext or --disable-stattext was given.
8077 if test "${enable_stattext+set}" = set; then
8078 enableval
="$enable_stattext"
8080 if test "$enableval" = yes; then
8081 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
8083 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
8088 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8089 if test "x$LINE" != x
; then
8090 eval "DEFAULT_$LINE"
8095 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8099 eval "$ac_cv_use_stattext"
8100 if test "$no_cache" != 1; then
8101 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8104 if test "$wxUSE_STATTEXT" = yes; then
8105 echo "$as_me:$LINENO: result: yes" >&5
8106 echo "${ECHO_T}yes" >&6
8108 echo "$as_me:$LINENO: result: no" >&5
8109 echo "${ECHO_T}no" >&6
8114 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8115 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8117 # Check whether --enable-statusbar or --disable-statusbar was given.
8118 if test "${enable_statusbar+set}" = set; then
8119 enableval
="$enable_statusbar"
8121 if test "$enableval" = yes; then
8122 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
8124 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
8129 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8130 if test "x$LINE" != x
; then
8131 eval "DEFAULT_$LINE"
8136 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8140 eval "$ac_cv_use_statusbar"
8141 if test "$no_cache" != 1; then
8142 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8145 if test "$wxUSE_STATUSBAR" = yes; then
8146 echo "$as_me:$LINENO: result: yes" >&5
8147 echo "${ECHO_T}yes" >&6
8149 echo "$as_me:$LINENO: result: no" >&5
8150 echo "${ECHO_T}no" >&6
8155 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8156 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8158 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8159 if test "${enable_tabdialog+set}" = set; then
8160 enableval
="$enable_tabdialog"
8162 if test "$enableval" = yes; then
8163 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
8165 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
8170 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8171 if test "x$LINE" != x
; then
8172 eval "DEFAULT_$LINE"
8177 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8181 eval "$ac_cv_use_tabdialog"
8182 if test "$no_cache" != 1; then
8183 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8186 if test "$wxUSE_TABDIALOG" = yes; then
8187 echo "$as_me:$LINENO: result: yes" >&5
8188 echo "${ECHO_T}yes" >&6
8190 echo "$as_me:$LINENO: result: no" >&5
8191 echo "${ECHO_T}no" >&6
8196 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8197 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8199 # Check whether --enable-textctrl or --disable-textctrl was given.
8200 if test "${enable_textctrl+set}" = set; then
8201 enableval
="$enable_textctrl"
8203 if test "$enableval" = yes; then
8204 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
8206 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
8211 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8212 if test "x$LINE" != x
; then
8213 eval "DEFAULT_$LINE"
8218 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8222 eval "$ac_cv_use_textctrl"
8223 if test "$no_cache" != 1; then
8224 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8227 if test "$wxUSE_TEXTCTRL" = yes; then
8228 echo "$as_me:$LINENO: result: yes" >&5
8229 echo "${ECHO_T}yes" >&6
8231 echo "$as_me:$LINENO: result: no" >&5
8232 echo "${ECHO_T}no" >&6
8237 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8238 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8240 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8241 if test "${enable_togglebtn+set}" = set; then
8242 enableval
="$enable_togglebtn"
8244 if test "$enableval" = yes; then
8245 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
8247 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
8252 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8253 if test "x$LINE" != x
; then
8254 eval "DEFAULT_$LINE"
8259 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8263 eval "$ac_cv_use_togglebtn"
8264 if test "$no_cache" != 1; then
8265 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8268 if test "$wxUSE_TOGGLEBTN" = yes; then
8269 echo "$as_me:$LINENO: result: yes" >&5
8270 echo "${ECHO_T}yes" >&6
8272 echo "$as_me:$LINENO: result: no" >&5
8273 echo "${ECHO_T}no" >&6
8278 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8279 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8281 # Check whether --enable-toolbar or --disable-toolbar was given.
8282 if test "${enable_toolbar+set}" = set; then
8283 enableval
="$enable_toolbar"
8285 if test "$enableval" = yes; then
8286 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
8288 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
8293 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8294 if test "x$LINE" != x
; then
8295 eval "DEFAULT_$LINE"
8300 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8304 eval "$ac_cv_use_toolbar"
8305 if test "$no_cache" != 1; then
8306 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8309 if test "$wxUSE_TOOLBAR" = yes; then
8310 echo "$as_me:$LINENO: result: yes" >&5
8311 echo "${ECHO_T}yes" >&6
8313 echo "$as_me:$LINENO: result: no" >&5
8314 echo "${ECHO_T}no" >&6
8319 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8320 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8322 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8323 if test "${enable_tbarnative+set}" = set; then
8324 enableval
="$enable_tbarnative"
8326 if test "$enableval" = yes; then
8327 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
8329 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
8334 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8335 if test "x$LINE" != x
; then
8336 eval "DEFAULT_$LINE"
8341 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8345 eval "$ac_cv_use_tbarnative"
8346 if test "$no_cache" != 1; then
8347 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8350 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8351 echo "$as_me:$LINENO: result: yes" >&5
8352 echo "${ECHO_T}yes" >&6
8354 echo "$as_me:$LINENO: result: no" >&5
8355 echo "${ECHO_T}no" >&6
8360 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8361 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8363 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8364 if test "${enable_tbarsmpl+set}" = set; then
8365 enableval
="$enable_tbarsmpl"
8367 if test "$enableval" = yes; then
8368 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
8370 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
8375 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8376 if test "x$LINE" != x
; then
8377 eval "DEFAULT_$LINE"
8382 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8386 eval "$ac_cv_use_tbarsmpl"
8387 if test "$no_cache" != 1; then
8388 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8391 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8392 echo "$as_me:$LINENO: result: yes" >&5
8393 echo "${ECHO_T}yes" >&6
8395 echo "$as_me:$LINENO: result: no" >&5
8396 echo "${ECHO_T}no" >&6
8401 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8402 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8404 # Check whether --enable-treectrl or --disable-treectrl was given.
8405 if test "${enable_treectrl+set}" = set; then
8406 enableval
="$enable_treectrl"
8408 if test "$enableval" = yes; then
8409 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
8411 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
8416 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8417 if test "x$LINE" != x
; then
8418 eval "DEFAULT_$LINE"
8423 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8427 eval "$ac_cv_use_treectrl"
8428 if test "$no_cache" != 1; then
8429 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8432 if test "$wxUSE_TREECTRL" = yes; then
8433 echo "$as_me:$LINENO: result: yes" >&5
8434 echo "${ECHO_T}yes" >&6
8436 echo "$as_me:$LINENO: result: no" >&5
8437 echo "${ECHO_T}no" >&6
8442 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8443 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8445 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8446 if test "${enable_tipwindow+set}" = set; then
8447 enableval
="$enable_tipwindow"
8449 if test "$enableval" = yes; then
8450 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
8452 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
8457 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8458 if test "x$LINE" != x
; then
8459 eval "DEFAULT_$LINE"
8464 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8468 eval "$ac_cv_use_tipwindow"
8469 if test "$no_cache" != 1; then
8470 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8473 if test "$wxUSE_TIPWINDOW" = yes; then
8474 echo "$as_me:$LINENO: result: yes" >&5
8475 echo "${ECHO_T}yes" >&6
8477 echo "$as_me:$LINENO: result: no" >&5
8478 echo "${ECHO_T}no" >&6
8483 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8484 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8486 # Check whether --enable-popupwin or --disable-popupwin was given.
8487 if test "${enable_popupwin+set}" = set; then
8488 enableval
="$enable_popupwin"
8490 if test "$enableval" = yes; then
8491 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
8493 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
8498 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8499 if test "x$LINE" != x
; then
8500 eval "DEFAULT_$LINE"
8505 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8509 eval "$ac_cv_use_popupwin"
8510 if test "$no_cache" != 1; then
8511 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8514 if test "$wxUSE_POPUPWIN" = yes; then
8515 echo "$as_me:$LINENO: result: yes" >&5
8516 echo "${ECHO_T}yes" >&6
8518 echo "$as_me:$LINENO: result: no" >&5
8519 echo "${ECHO_T}no" >&6
8526 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8527 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8529 # Check whether --enable-commondlg or --disable-commondlg was given.
8530 if test "${enable_commondlg+set}" = set; then
8531 enableval
="$enable_commondlg"
8533 if test "$enableval" = yes; then
8534 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
8536 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
8541 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8542 if test "x$LINE" != x
; then
8543 eval "DEFAULT_$LINE"
8548 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8552 eval "$ac_cv_use_commondlg"
8553 if test "$no_cache" != 1; then
8554 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8557 if test "$wxUSE_COMMONDLGS" = yes; then
8558 echo "$as_me:$LINENO: result: yes" >&5
8559 echo "${ECHO_T}yes" >&6
8561 echo "$as_me:$LINENO: result: no" >&5
8562 echo "${ECHO_T}no" >&6
8567 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8568 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8570 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8571 if test "${enable_choicedlg+set}" = set; then
8572 enableval
="$enable_choicedlg"
8574 if test "$enableval" = yes; then
8575 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
8577 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
8582 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8583 if test "x$LINE" != x
; then
8584 eval "DEFAULT_$LINE"
8589 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8593 eval "$ac_cv_use_choicedlg"
8594 if test "$no_cache" != 1; then
8595 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8598 if test "$wxUSE_CHOICEDLG" = yes; then
8599 echo "$as_me:$LINENO: result: yes" >&5
8600 echo "${ECHO_T}yes" >&6
8602 echo "$as_me:$LINENO: result: no" >&5
8603 echo "${ECHO_T}no" >&6
8608 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8609 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8611 # Check whether --enable-coldlg or --disable-coldlg was given.
8612 if test "${enable_coldlg+set}" = set; then
8613 enableval
="$enable_coldlg"
8615 if test "$enableval" = yes; then
8616 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
8618 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
8623 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8624 if test "x$LINE" != x
; then
8625 eval "DEFAULT_$LINE"
8630 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8634 eval "$ac_cv_use_coldlg"
8635 if test "$no_cache" != 1; then
8636 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8639 if test "$wxUSE_COLOURDLG" = yes; then
8640 echo "$as_me:$LINENO: result: yes" >&5
8641 echo "${ECHO_T}yes" >&6
8643 echo "$as_me:$LINENO: result: no" >&5
8644 echo "${ECHO_T}no" >&6
8649 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8650 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8652 # Check whether --enable-filedlg or --disable-filedlg was given.
8653 if test "${enable_filedlg+set}" = set; then
8654 enableval
="$enable_filedlg"
8656 if test "$enableval" = yes; then
8657 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
8659 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
8664 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8665 if test "x$LINE" != x
; then
8666 eval "DEFAULT_$LINE"
8671 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8675 eval "$ac_cv_use_filedlg"
8676 if test "$no_cache" != 1; then
8677 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8680 if test "$wxUSE_FILEDLG" = yes; then
8681 echo "$as_me:$LINENO: result: yes" >&5
8682 echo "${ECHO_T}yes" >&6
8684 echo "$as_me:$LINENO: result: no" >&5
8685 echo "${ECHO_T}no" >&6
8690 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8691 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8693 # Check whether --enable-finddlg or --disable-finddlg was given.
8694 if test "${enable_finddlg+set}" = set; then
8695 enableval
="$enable_finddlg"
8697 if test "$enableval" = yes; then
8698 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
8700 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
8705 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8706 if test "x$LINE" != x
; then
8707 eval "DEFAULT_$LINE"
8712 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8716 eval "$ac_cv_use_finddlg"
8717 if test "$no_cache" != 1; then
8718 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8721 if test "$wxUSE_FINDREPLDLG" = yes; then
8722 echo "$as_me:$LINENO: result: yes" >&5
8723 echo "${ECHO_T}yes" >&6
8725 echo "$as_me:$LINENO: result: no" >&5
8726 echo "${ECHO_T}no" >&6
8731 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8732 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8734 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8735 if test "${enable_fontdlg+set}" = set; then
8736 enableval
="$enable_fontdlg"
8738 if test "$enableval" = yes; then
8739 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
8741 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
8746 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8747 if test "x$LINE" != x
; then
8748 eval "DEFAULT_$LINE"
8753 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8757 eval "$ac_cv_use_fontdlg"
8758 if test "$no_cache" != 1; then
8759 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8762 if test "$wxUSE_FONTDLG" = yes; then
8763 echo "$as_me:$LINENO: result: yes" >&5
8764 echo "${ECHO_T}yes" >&6
8766 echo "$as_me:$LINENO: result: no" >&5
8767 echo "${ECHO_T}no" >&6
8772 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8773 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8775 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8776 if test "${enable_dirdlg+set}" = set; then
8777 enableval
="$enable_dirdlg"
8779 if test "$enableval" = yes; then
8780 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
8782 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
8787 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8788 if test "x$LINE" != x
; then
8789 eval "DEFAULT_$LINE"
8794 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8798 eval "$ac_cv_use_dirdlg"
8799 if test "$no_cache" != 1; then
8800 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8803 if test "$wxUSE_DIRDLG" = yes; then
8804 echo "$as_me:$LINENO: result: yes" >&5
8805 echo "${ECHO_T}yes" >&6
8807 echo "$as_me:$LINENO: result: no" >&5
8808 echo "${ECHO_T}no" >&6
8813 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8814 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8816 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8817 if test "${enable_msgdlg+set}" = set; then
8818 enableval
="$enable_msgdlg"
8820 if test "$enableval" = yes; then
8821 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
8823 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
8828 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8829 if test "x$LINE" != x
; then
8830 eval "DEFAULT_$LINE"
8835 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8839 eval "$ac_cv_use_msgdlg"
8840 if test "$no_cache" != 1; then
8841 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8844 if test "$wxUSE_MSGDLG" = yes; then
8845 echo "$as_me:$LINENO: result: yes" >&5
8846 echo "${ECHO_T}yes" >&6
8848 echo "$as_me:$LINENO: result: no" >&5
8849 echo "${ECHO_T}no" >&6
8854 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8855 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8857 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8858 if test "${enable_numberdlg+set}" = set; then
8859 enableval
="$enable_numberdlg"
8861 if test "$enableval" = yes; then
8862 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
8864 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
8869 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8870 if test "x$LINE" != x
; then
8871 eval "DEFAULT_$LINE"
8876 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8880 eval "$ac_cv_use_numberdlg"
8881 if test "$no_cache" != 1; then
8882 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8885 if test "$wxUSE_NUMBERDLG" = yes; then
8886 echo "$as_me:$LINENO: result: yes" >&5
8887 echo "${ECHO_T}yes" >&6
8889 echo "$as_me:$LINENO: result: no" >&5
8890 echo "${ECHO_T}no" >&6
8895 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8896 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8898 # Check whether --enable-splash or --disable-splash was given.
8899 if test "${enable_splash+set}" = set; then
8900 enableval
="$enable_splash"
8902 if test "$enableval" = yes; then
8903 ac_cv_use_splash
='wxUSE_SPLASH=yes'
8905 ac_cv_use_splash
='wxUSE_SPLASH=no'
8910 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8911 if test "x$LINE" != x
; then
8912 eval "DEFAULT_$LINE"
8917 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8921 eval "$ac_cv_use_splash"
8922 if test "$no_cache" != 1; then
8923 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8926 if test "$wxUSE_SPLASH" = yes; then
8927 echo "$as_me:$LINENO: result: yes" >&5
8928 echo "${ECHO_T}yes" >&6
8930 echo "$as_me:$LINENO: result: no" >&5
8931 echo "${ECHO_T}no" >&6
8936 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8937 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8939 # Check whether --enable-textdlg or --disable-textdlg was given.
8940 if test "${enable_textdlg+set}" = set; then
8941 enableval
="$enable_textdlg"
8943 if test "$enableval" = yes; then
8944 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
8946 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
8951 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8952 if test "x$LINE" != x
; then
8953 eval "DEFAULT_$LINE"
8958 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8962 eval "$ac_cv_use_textdlg"
8963 if test "$no_cache" != 1; then
8964 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8967 if test "$wxUSE_TEXTDLG" = yes; then
8968 echo "$as_me:$LINENO: result: yes" >&5
8969 echo "${ECHO_T}yes" >&6
8971 echo "$as_me:$LINENO: result: no" >&5
8972 echo "${ECHO_T}no" >&6
8977 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8978 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8980 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8981 if test "${enable_tipdlg+set}" = set; then
8982 enableval
="$enable_tipdlg"
8984 if test "$enableval" = yes; then
8985 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
8987 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
8992 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8993 if test "x$LINE" != x
; then
8994 eval "DEFAULT_$LINE"
8999 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9003 eval "$ac_cv_use_tipdlg"
9004 if test "$no_cache" != 1; then
9005 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9008 if test "$wxUSE_STARTUP_TIPS" = yes; then
9009 echo "$as_me:$LINENO: result: yes" >&5
9010 echo "${ECHO_T}yes" >&6
9012 echo "$as_me:$LINENO: result: no" >&5
9013 echo "${ECHO_T}no" >&6
9018 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9019 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9021 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9022 if test "${enable_progressdlg+set}" = set; then
9023 enableval
="$enable_progressdlg"
9025 if test "$enableval" = yes; then
9026 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
9028 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
9033 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9034 if test "x$LINE" != x
; then
9035 eval "DEFAULT_$LINE"
9040 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9044 eval "$ac_cv_use_progressdlg"
9045 if test "$no_cache" != 1; then
9046 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9049 if test "$wxUSE_PROGRESSDLG" = yes; then
9050 echo "$as_me:$LINENO: result: yes" >&5
9051 echo "${ECHO_T}yes" >&6
9053 echo "$as_me:$LINENO: result: no" >&5
9054 echo "${ECHO_T}no" >&6
9059 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9060 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9062 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9063 if test "${enable_wizarddlg+set}" = set; then
9064 enableval
="$enable_wizarddlg"
9066 if test "$enableval" = yes; then
9067 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
9069 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
9074 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9075 if test "x$LINE" != x
; then
9076 eval "DEFAULT_$LINE"
9081 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9085 eval "$ac_cv_use_wizarddlg"
9086 if test "$no_cache" != 1; then
9087 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9090 if test "$wxUSE_WIZARDDLG" = yes; then
9091 echo "$as_me:$LINENO: result: yes" >&5
9092 echo "${ECHO_T}yes" >&6
9094 echo "$as_me:$LINENO: result: no" >&5
9095 echo "${ECHO_T}no" >&6
9102 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9103 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9105 # Check whether --enable-menus or --disable-menus was given.
9106 if test "${enable_menus+set}" = set; then
9107 enableval
="$enable_menus"
9109 if test "$enableval" = yes; then
9110 ac_cv_use_menus
='wxUSE_MENUS=yes'
9112 ac_cv_use_menus
='wxUSE_MENUS=no'
9117 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9118 if test "x$LINE" != x
; then
9119 eval "DEFAULT_$LINE"
9124 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9128 eval "$ac_cv_use_menus"
9129 if test "$no_cache" != 1; then
9130 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9133 if test "$wxUSE_MENUS" = yes; then
9134 echo "$as_me:$LINENO: result: yes" >&5
9135 echo "${ECHO_T}yes" >&6
9137 echo "$as_me:$LINENO: result: no" >&5
9138 echo "${ECHO_T}no" >&6
9143 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9144 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9146 # Check whether --enable-miniframe or --disable-miniframe was given.
9147 if test "${enable_miniframe+set}" = set; then
9148 enableval
="$enable_miniframe"
9150 if test "$enableval" = yes; then
9151 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
9153 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
9158 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9159 if test "x$LINE" != x
; then
9160 eval "DEFAULT_$LINE"
9165 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9169 eval "$ac_cv_use_miniframe"
9170 if test "$no_cache" != 1; then
9171 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9174 if test "$wxUSE_MINIFRAME" = yes; then
9175 echo "$as_me:$LINENO: result: yes" >&5
9176 echo "${ECHO_T}yes" >&6
9178 echo "$as_me:$LINENO: result: no" >&5
9179 echo "${ECHO_T}no" >&6
9184 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9185 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9187 # Check whether --enable-tooltips or --disable-tooltips was given.
9188 if test "${enable_tooltips+set}" = set; then
9189 enableval
="$enable_tooltips"
9191 if test "$enableval" = yes; then
9192 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
9194 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
9199 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9200 if test "x$LINE" != x
; then
9201 eval "DEFAULT_$LINE"
9206 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9210 eval "$ac_cv_use_tooltips"
9211 if test "$no_cache" != 1; then
9212 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9215 if test "$wxUSE_TOOLTIPS" = yes; then
9216 echo "$as_me:$LINENO: result: yes" >&5
9217 echo "${ECHO_T}yes" >&6
9219 echo "$as_me:$LINENO: result: no" >&5
9220 echo "${ECHO_T}no" >&6
9225 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9226 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9228 # Check whether --enable-splines or --disable-splines was given.
9229 if test "${enable_splines+set}" = set; then
9230 enableval
="$enable_splines"
9232 if test "$enableval" = yes; then
9233 ac_cv_use_splines
='wxUSE_SPLINES=yes'
9235 ac_cv_use_splines
='wxUSE_SPLINES=no'
9240 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9241 if test "x$LINE" != x
; then
9242 eval "DEFAULT_$LINE"
9247 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9251 eval "$ac_cv_use_splines"
9252 if test "$no_cache" != 1; then
9253 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9256 if test "$wxUSE_SPLINES" = yes; then
9257 echo "$as_me:$LINENO: result: yes" >&5
9258 echo "${ECHO_T}yes" >&6
9260 echo "$as_me:$LINENO: result: no" >&5
9261 echo "${ECHO_T}no" >&6
9266 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9267 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9269 # Check whether --enable-validators or --disable-validators was given.
9270 if test "${enable_validators+set}" = set; then
9271 enableval
="$enable_validators"
9273 if test "$enableval" = yes; then
9274 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
9276 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
9281 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9282 if test "x$LINE" != x
; then
9283 eval "DEFAULT_$LINE"
9288 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9292 eval "$ac_cv_use_validators"
9293 if test "$no_cache" != 1; then
9294 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9297 if test "$wxUSE_VALIDATORS" = yes; then
9298 echo "$as_me:$LINENO: result: yes" >&5
9299 echo "${ECHO_T}yes" >&6
9301 echo "$as_me:$LINENO: result: no" >&5
9302 echo "${ECHO_T}no" >&6
9307 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9308 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9310 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9311 if test "${enable_busyinfo+set}" = set; then
9312 enableval
="$enable_busyinfo"
9314 if test "$enableval" = yes; then
9315 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
9317 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
9322 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9323 if test "x$LINE" != x
; then
9324 eval "DEFAULT_$LINE"
9329 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9333 eval "$ac_cv_use_busyinfo"
9334 if test "$no_cache" != 1; then
9335 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9338 if test "$wxUSE_BUSYINFO" = yes; then
9339 echo "$as_me:$LINENO: result: yes" >&5
9340 echo "${ECHO_T}yes" >&6
9342 echo "$as_me:$LINENO: result: no" >&5
9343 echo "${ECHO_T}no" >&6
9348 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9349 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9351 # Check whether --enable-joystick or --disable-joystick was given.
9352 if test "${enable_joystick+set}" = set; then
9353 enableval
="$enable_joystick"
9355 if test "$enableval" = yes; then
9356 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
9358 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
9363 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9364 if test "x$LINE" != x
; then
9365 eval "DEFAULT_$LINE"
9370 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9374 eval "$ac_cv_use_joystick"
9375 if test "$no_cache" != 1; then
9376 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9379 if test "$wxUSE_JOYSTICK" = yes; then
9380 echo "$as_me:$LINENO: result: yes" >&5
9381 echo "${ECHO_T}yes" >&6
9383 echo "$as_me:$LINENO: result: no" >&5
9384 echo "${ECHO_T}no" >&6
9389 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9390 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9392 # Check whether --enable-metafile or --disable-metafile was given.
9393 if test "${enable_metafile+set}" = set; then
9394 enableval
="$enable_metafile"
9396 if test "$enableval" = yes; then
9397 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
9399 ac_cv_use_metafile
='wxUSE_METAFILE=no'
9404 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9405 if test "x$LINE" != x
; then
9406 eval "DEFAULT_$LINE"
9411 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9415 eval "$ac_cv_use_metafile"
9416 if test "$no_cache" != 1; then
9417 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9420 if test "$wxUSE_METAFILE" = yes; then
9421 echo "$as_me:$LINENO: result: yes" >&5
9422 echo "${ECHO_T}yes" >&6
9424 echo "$as_me:$LINENO: result: no" >&5
9425 echo "${ECHO_T}no" >&6
9430 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9431 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9433 # Check whether --enable-dragimage or --disable-dragimage was given.
9434 if test "${enable_dragimage+set}" = set; then
9435 enableval
="$enable_dragimage"
9437 if test "$enableval" = yes; then
9438 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
9440 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
9445 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9446 if test "x$LINE" != x
; then
9447 eval "DEFAULT_$LINE"
9452 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9456 eval "$ac_cv_use_dragimage"
9457 if test "$no_cache" != 1; then
9458 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9461 if test "$wxUSE_DRAGIMAGE" = yes; then
9462 echo "$as_me:$LINENO: result: yes" >&5
9463 echo "${ECHO_T}yes" >&6
9465 echo "$as_me:$LINENO: result: no" >&5
9466 echo "${ECHO_T}no" >&6
9471 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9472 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9474 # Check whether --enable-accessibility or --disable-accessibility was given.
9475 if test "${enable_accessibility+set}" = set; then
9476 enableval
="$enable_accessibility"
9478 if test "$enableval" = yes; then
9479 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
9481 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
9486 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9487 if test "x$LINE" != x
; then
9488 eval "DEFAULT_$LINE"
9493 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9497 eval "$ac_cv_use_accessibility"
9498 if test "$no_cache" != 1; then
9499 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9502 if test "$wxUSE_ACCESSIBILITY" = yes; then
9503 echo "$as_me:$LINENO: result: yes" >&5
9504 echo "${ECHO_T}yes" >&6
9506 echo "$as_me:$LINENO: result: no" >&5
9507 echo "${ECHO_T}no" >&6
9514 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9515 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9517 # Check whether --enable-palette or --disable-palette was given.
9518 if test "${enable_palette+set}" = set; then
9519 enableval
="$enable_palette"
9521 if test "$enableval" = yes; then
9522 ac_cv_use_palette
='wxUSE_PALETTE=yes'
9524 ac_cv_use_palette
='wxUSE_PALETTE=no'
9529 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9530 if test "x$LINE" != x
; then
9531 eval "DEFAULT_$LINE"
9536 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9540 eval "$ac_cv_use_palette"
9541 if test "$no_cache" != 1; then
9542 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9545 if test "$wxUSE_PALETTE" = yes; then
9546 echo "$as_me:$LINENO: result: yes" >&5
9547 echo "${ECHO_T}yes" >&6
9549 echo "$as_me:$LINENO: result: no" >&5
9550 echo "${ECHO_T}no" >&6
9555 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9556 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9558 # Check whether --enable-image or --disable-image was given.
9559 if test "${enable_image+set}" = set; then
9560 enableval
="$enable_image"
9562 if test "$enableval" = yes; then
9563 ac_cv_use_image
='wxUSE_IMAGE=yes'
9565 ac_cv_use_image
='wxUSE_IMAGE=no'
9570 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9571 if test "x$LINE" != x
; then
9572 eval "DEFAULT_$LINE"
9577 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9581 eval "$ac_cv_use_image"
9582 if test "$no_cache" != 1; then
9583 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9586 if test "$wxUSE_IMAGE" = yes; then
9587 echo "$as_me:$LINENO: result: yes" >&5
9588 echo "${ECHO_T}yes" >&6
9590 echo "$as_me:$LINENO: result: no" >&5
9591 echo "${ECHO_T}no" >&6
9596 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9597 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9599 # Check whether --enable-gif or --disable-gif was given.
9600 if test "${enable_gif+set}" = set; then
9601 enableval
="$enable_gif"
9603 if test "$enableval" = yes; then
9604 ac_cv_use_gif
='wxUSE_GIF=yes'
9606 ac_cv_use_gif
='wxUSE_GIF=no'
9611 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9612 if test "x$LINE" != x
; then
9613 eval "DEFAULT_$LINE"
9618 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9622 eval "$ac_cv_use_gif"
9623 if test "$no_cache" != 1; then
9624 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9627 if test "$wxUSE_GIF" = yes; then
9628 echo "$as_me:$LINENO: result: yes" >&5
9629 echo "${ECHO_T}yes" >&6
9631 echo "$as_me:$LINENO: result: no" >&5
9632 echo "${ECHO_T}no" >&6
9637 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9638 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9640 # Check whether --enable-pcx or --disable-pcx was given.
9641 if test "${enable_pcx+set}" = set; then
9642 enableval
="$enable_pcx"
9644 if test "$enableval" = yes; then
9645 ac_cv_use_pcx
='wxUSE_PCX=yes'
9647 ac_cv_use_pcx
='wxUSE_PCX=no'
9652 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9653 if test "x$LINE" != x
; then
9654 eval "DEFAULT_$LINE"
9659 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9663 eval "$ac_cv_use_pcx"
9664 if test "$no_cache" != 1; then
9665 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9668 if test "$wxUSE_PCX" = yes; then
9669 echo "$as_me:$LINENO: result: yes" >&5
9670 echo "${ECHO_T}yes" >&6
9672 echo "$as_me:$LINENO: result: no" >&5
9673 echo "${ECHO_T}no" >&6
9678 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9679 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9681 # Check whether --enable-iff or --disable-iff was given.
9682 if test "${enable_iff+set}" = set; then
9683 enableval
="$enable_iff"
9685 if test "$enableval" = yes; then
9686 ac_cv_use_iff
='wxUSE_IFF=yes'
9688 ac_cv_use_iff
='wxUSE_IFF=no'
9693 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9694 if test "x$LINE" != x
; then
9695 eval "DEFAULT_$LINE"
9700 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9704 eval "$ac_cv_use_iff"
9705 if test "$no_cache" != 1; then
9706 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9709 if test "$wxUSE_IFF" = yes; then
9710 echo "$as_me:$LINENO: result: yes" >&5
9711 echo "${ECHO_T}yes" >&6
9713 echo "$as_me:$LINENO: result: no" >&5
9714 echo "${ECHO_T}no" >&6
9719 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9720 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9722 # Check whether --enable-pnm or --disable-pnm was given.
9723 if test "${enable_pnm+set}" = set; then
9724 enableval
="$enable_pnm"
9726 if test "$enableval" = yes; then
9727 ac_cv_use_pnm
='wxUSE_PNM=yes'
9729 ac_cv_use_pnm
='wxUSE_PNM=no'
9734 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9735 if test "x$LINE" != x
; then
9736 eval "DEFAULT_$LINE"
9741 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9745 eval "$ac_cv_use_pnm"
9746 if test "$no_cache" != 1; then
9747 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9750 if test "$wxUSE_PNM" = yes; then
9751 echo "$as_me:$LINENO: result: yes" >&5
9752 echo "${ECHO_T}yes" >&6
9754 echo "$as_me:$LINENO: result: no" >&5
9755 echo "${ECHO_T}no" >&6
9760 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9761 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9763 # Check whether --enable-xpm or --disable-xpm was given.
9764 if test "${enable_xpm+set}" = set; then
9765 enableval
="$enable_xpm"
9767 if test "$enableval" = yes; then
9768 ac_cv_use_xpm
='wxUSE_XPM=yes'
9770 ac_cv_use_xpm
='wxUSE_XPM=no'
9775 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9776 if test "x$LINE" != x
; then
9777 eval "DEFAULT_$LINE"
9782 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9786 eval "$ac_cv_use_xpm"
9787 if test "$no_cache" != 1; then
9788 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9791 if test "$wxUSE_XPM" = yes; then
9792 echo "$as_me:$LINENO: result: yes" >&5
9793 echo "${ECHO_T}yes" >&6
9795 echo "$as_me:$LINENO: result: no" >&5
9796 echo "${ECHO_T}no" >&6
9801 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9802 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9804 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9805 if test "${enable_ico_cur+set}" = set; then
9806 enableval
="$enable_ico_cur"
9808 if test "$enableval" = yes; then
9809 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
9811 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
9816 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9817 if test "x$LINE" != x
; then
9818 eval "DEFAULT_$LINE"
9823 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9827 eval "$ac_cv_use_ico_cur"
9828 if test "$no_cache" != 1; then
9829 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9832 if test "$wxUSE_ICO_CUR" = yes; then
9833 echo "$as_me:$LINENO: result: yes" >&5
9834 echo "${ECHO_T}yes" >&6
9836 echo "$as_me:$LINENO: result: no" >&5
9837 echo "${ECHO_T}no" >&6
9846 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9847 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9849 # Check whether --enable-official_build or --disable-official_build was given.
9850 if test "${enable_official_build+set}" = set; then
9851 enableval
="$enable_official_build"
9853 if test "$enableval" = yes; then
9854 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
9856 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
9861 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9862 if test "x$LINE" != x
; then
9863 eval "DEFAULT_$LINE"
9868 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
9872 eval "$ac_cv_use_official_build"
9873 if test "$no_cache" != 1; then
9874 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9877 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9878 echo "$as_me:$LINENO: result: yes" >&5
9879 echo "${ECHO_T}yes" >&6
9881 echo "$as_me:$LINENO: result: no" >&5
9882 echo "${ECHO_T}no" >&6
9885 # Check whether --enable-vendor or --disable-vendor was given.
9886 if test "${enable_vendor+set}" = set; then
9887 enableval
="$enable_vendor"
9890 if test "x$VENDOR" = "x"; then
9895 *-pc-os2_emx | *-pc-os2-emx )
9897 if test "$wxUSE_OMF" = "yes"; then
9900 LDFLAGS
="-Zomf $LDFLAGS"
9901 CFLAGS
="-Zomf $CFLAGS"
9902 CXXFLAGS
="-Zomf $CXXFLAGS"
9912 echo "saving argument cache $wx_arg_cache_file"
9913 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
9917 echo "$as_me:$LINENO: checking for toolkit" >&5
9918 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9920 # In Wine, we need to default to MSW, not GTK or MOTIF
9921 if test "$wxUSE_WINE" = "yes"; then
9922 DEFAULT_DEFAULT_wxUSE_GTK
=0
9923 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
9924 DEFAULT_DEFAULT_wxUSE_MSW
=1
9928 if test "$wxUSE_GUI" = "yes"; then
9930 if test "$USE_BEOS" = 1; then
9931 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9932 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9933 { (exit 1); exit 1; }; }
9936 if test "$TOOLKIT_GIVEN" = 1; then
9937 for toolkit
in `echo $ALL_TOOLKITS`; do
9939 eval "value=\$${var}"
9940 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
9943 for toolkit
in `echo $ALL_TOOLKITS`; do
9944 if test "$has_toolkit_in_cache" != 1; then
9945 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
9947 var
=DEFAULT_wxUSE_
$toolkit
9949 eval "wxUSE_$toolkit=\$${var}"
9953 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9954 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9955 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9958 *-pc-os2_emx | *-pc-os2-emx )
9959 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9962 case "$NUM_TOOLKITS" in
9966 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9967 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9968 { (exit 1); exit 1; }; }
9971 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9972 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9973 { (exit 1); exit 1; }; }
9976 for toolkit
in `echo $ALL_TOOLKITS`; do
9978 eval "value=\$${var}"
9979 if test "x$value" != x
; then
9980 cache_var
=CACHE_
$toolkit
9981 eval "cache=\$${cache_var}"
9982 if test "$cache" = 1; then
9983 echo "$var=$value" >> ${wx_arg_cache_file}
9985 if test "$value" = 1; then
9986 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
9987 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9988 echo "${ECHO_T}$toolkit_echo" >&6
9993 if test "x$host_alias" != "x"; then
9994 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9995 echo "${ECHO_T}base ($host_alias hosted) only" >&6
9997 echo "$as_me:$LINENO: result: base only" >&5
9998 echo "${ECHO_T}base only" >&6
10003 doesnt_want_win32
=0
10006 if test "$wxUSE_MSW" = 1 ; then
10009 doesnt_want_win32
=1
10017 if test "$wxUSE_WINE" = "yes"; then
10022 LDFLAGS_GUI
="-mwindows"
10025 if test "$wants_win32" = 1 ; then
10028 cat >>confdefs.h
<<\_ACEOF
10029 #define __WIN32__ 1
10032 cat >>confdefs.h
<<\_ACEOF
10033 #define __WIN95__ 1
10036 cat >>confdefs.h
<<\_ACEOF
10037 #define __WINDOWS__ 1
10040 cat >>confdefs.h
<<\_ACEOF
10041 #define __GNUWIN32__ 1
10044 cat >>confdefs.h
<<\_ACEOF
10048 cat >>confdefs.h
<<\_ACEOF
10049 #define WINVER 0x0400
10053 if test "$doesnt_want_win32" = 1 ; then
10058 if test "$USE_UNIX" = 1 ; then
10060 cat >>confdefs.h
<<\_ACEOF
10067 cat >confcache
<<\_ACEOF
10068 # This file is a shell script that caches the results of configure
10069 # tests run on this system so they can be shared between configure
10070 # scripts and configure runs, see configure's option --config-cache.
10071 # It is not useful on other systems. If it contains results you don't
10072 # want to keep, you may remove or edit it.
10074 # config.status only pays attention to the cache file if you give it
10075 # the --recheck option to rerun configure.
10077 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10078 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10079 # following values.
10083 # The following way of writing the cache mishandles newlines in values,
10084 # but we know of no workaround that is simple, portable, and efficient.
10085 # So, don't put newlines in cache variables' values.
10086 # Ultrix sh set writes to stderr and can't be redirected directly,
10087 # and sets the high bit in the cache file unless we assign to the vars.
10090 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10092 # `set' does not quote correctly, so add quotes (double-quote
10093 # substitution turns \\\\ into \\, and sed turns \\ into \).
10096 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10099 # `set' quotes correctly as required by POSIX, so do not add quotes.
10101 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10108 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10110 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10112 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10113 if test -w $cache_file; then
10114 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10115 cat confcache
>$cache_file
10117 echo "not updating unwritable cache $cache_file"
10122 if test "$build" != "$host" ; then
10123 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
10125 CXX
=$host_alias-c++
10127 RANLIB
=$host_alias-ranlib
10128 DLLTOOL
=$host_alias-dlltool
10129 RESCOMP
=$host_alias-windres
10132 STRIP
=$host_alias-strip
10134 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10135 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10136 { (exit 1); exit 1; }; }
10142 ac_cpp
='$CPP $CPPFLAGS'
10143 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10144 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10145 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10146 if test -n "$ac_tool_prefix"; then
10147 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10148 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10149 echo "$as_me:$LINENO: checking for $ac_word" >&5
10150 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10151 if test "${ac_cv_prog_CC+set}" = set; then
10152 echo $ECHO_N "(cached) $ECHO_C" >&6
10154 if test -n "$CC"; then
10155 ac_cv_prog_CC
="$CC" # Let the user override the test.
10157 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10158 for as_dir
in $PATH
10161 test -z "$as_dir" && as_dir
=.
10162 for ac_exec_ext
in '' $ac_executable_extensions; do
10163 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10164 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10165 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10174 if test -n "$CC"; then
10175 echo "$as_me:$LINENO: result: $CC" >&5
10176 echo "${ECHO_T}$CC" >&6
10178 echo "$as_me:$LINENO: result: no" >&5
10179 echo "${ECHO_T}no" >&6
10183 if test -z "$ac_cv_prog_CC"; then
10185 # Extract the first word of "gcc", so it can be a program name with args.
10186 set dummy gcc
; ac_word
=$2
10187 echo "$as_me:$LINENO: checking for $ac_word" >&5
10188 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10189 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10190 echo $ECHO_N "(cached) $ECHO_C" >&6
10192 if test -n "$ac_ct_CC"; then
10193 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10195 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10196 for as_dir
in $PATH
10199 test -z "$as_dir" && as_dir
=.
10200 for ac_exec_ext
in '' $ac_executable_extensions; do
10201 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10202 ac_cv_prog_ac_ct_CC
="gcc"
10203 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10211 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10212 if test -n "$ac_ct_CC"; then
10213 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10214 echo "${ECHO_T}$ac_ct_CC" >&6
10216 echo "$as_me:$LINENO: result: no" >&5
10217 echo "${ECHO_T}no" >&6
10222 CC
="$ac_cv_prog_CC"
10225 if test -z "$CC"; then
10226 if test -n "$ac_tool_prefix"; then
10227 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10228 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10229 echo "$as_me:$LINENO: checking for $ac_word" >&5
10230 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10231 if test "${ac_cv_prog_CC+set}" = set; then
10232 echo $ECHO_N "(cached) $ECHO_C" >&6
10234 if test -n "$CC"; then
10235 ac_cv_prog_CC
="$CC" # Let the user override the test.
10237 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10238 for as_dir
in $PATH
10241 test -z "$as_dir" && as_dir
=.
10242 for ac_exec_ext
in '' $ac_executable_extensions; do
10243 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10244 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10245 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10254 if test -n "$CC"; then
10255 echo "$as_me:$LINENO: result: $CC" >&5
10256 echo "${ECHO_T}$CC" >&6
10258 echo "$as_me:$LINENO: result: no" >&5
10259 echo "${ECHO_T}no" >&6
10263 if test -z "$ac_cv_prog_CC"; then
10265 # Extract the first word of "cc", so it can be a program name with args.
10266 set dummy cc
; ac_word
=$2
10267 echo "$as_me:$LINENO: checking for $ac_word" >&5
10268 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10269 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10270 echo $ECHO_N "(cached) $ECHO_C" >&6
10272 if test -n "$ac_ct_CC"; then
10273 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10275 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10276 for as_dir
in $PATH
10279 test -z "$as_dir" && as_dir
=.
10280 for ac_exec_ext
in '' $ac_executable_extensions; do
10281 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10282 ac_cv_prog_ac_ct_CC
="cc"
10283 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10291 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10292 if test -n "$ac_ct_CC"; then
10293 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10294 echo "${ECHO_T}$ac_ct_CC" >&6
10296 echo "$as_me:$LINENO: result: no" >&5
10297 echo "${ECHO_T}no" >&6
10302 CC
="$ac_cv_prog_CC"
10306 if test -z "$CC"; then
10307 # Extract the first word of "cc", so it can be a program name with args.
10308 set dummy cc
; ac_word
=$2
10309 echo "$as_me:$LINENO: checking for $ac_word" >&5
10310 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10311 if test "${ac_cv_prog_CC+set}" = set; then
10312 echo $ECHO_N "(cached) $ECHO_C" >&6
10314 if test -n "$CC"; then
10315 ac_cv_prog_CC
="$CC" # Let the user override the test.
10317 ac_prog_rejected
=no
10318 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10319 for as_dir
in $PATH
10322 test -z "$as_dir" && as_dir
=.
10323 for ac_exec_ext
in '' $ac_executable_extensions; do
10324 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10325 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10326 ac_prog_rejected
=yes
10330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10336 if test $ac_prog_rejected = yes; then
10337 # We found a bogon in the path, so make sure we never use it.
10338 set dummy
$ac_cv_prog_CC
10340 if test $# != 0; then
10341 # We chose a different compiler from the bogus one.
10342 # However, it has the same basename, so the bogon will be chosen
10343 # first if we set CC to just the basename; use the full file name.
10345 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10351 if test -n "$CC"; then
10352 echo "$as_me:$LINENO: result: $CC" >&5
10353 echo "${ECHO_T}$CC" >&6
10355 echo "$as_me:$LINENO: result: no" >&5
10356 echo "${ECHO_T}no" >&6
10360 if test -z "$CC"; then
10361 if test -n "$ac_tool_prefix"; then
10364 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10365 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10366 echo "$as_me:$LINENO: checking for $ac_word" >&5
10367 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10368 if test "${ac_cv_prog_CC+set}" = set; then
10369 echo $ECHO_N "(cached) $ECHO_C" >&6
10371 if test -n "$CC"; then
10372 ac_cv_prog_CC
="$CC" # Let the user override the test.
10374 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10375 for as_dir
in $PATH
10378 test -z "$as_dir" && as_dir
=.
10379 for ac_exec_ext
in '' $ac_executable_extensions; do
10380 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10381 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10382 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10391 if test -n "$CC"; then
10392 echo "$as_me:$LINENO: result: $CC" >&5
10393 echo "${ECHO_T}$CC" >&6
10395 echo "$as_me:$LINENO: result: no" >&5
10396 echo "${ECHO_T}no" >&6
10399 test -n "$CC" && break
10402 if test -z "$CC"; then
10406 # Extract the first word of "$ac_prog", so it can be a program name with args.
10407 set dummy
$ac_prog; ac_word
=$2
10408 echo "$as_me:$LINENO: checking for $ac_word" >&5
10409 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10410 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10411 echo $ECHO_N "(cached) $ECHO_C" >&6
10413 if test -n "$ac_ct_CC"; then
10414 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10416 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10417 for as_dir
in $PATH
10420 test -z "$as_dir" && as_dir
=.
10421 for ac_exec_ext
in '' $ac_executable_extensions; do
10422 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10423 ac_cv_prog_ac_ct_CC
="$ac_prog"
10424 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10432 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10433 if test -n "$ac_ct_CC"; then
10434 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10435 echo "${ECHO_T}$ac_ct_CC" >&6
10437 echo "$as_me:$LINENO: result: no" >&5
10438 echo "${ECHO_T}no" >&6
10441 test -n "$ac_ct_CC" && break
10450 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10451 See \`config.log' for more details." >&5
10452 echo "$as_me: error: no acceptable C compiler found in \$PATH
10453 See \`config.log' for more details." >&2;}
10454 { (exit 1); exit 1; }; }
10456 # Provide some information about the compiler.
10457 echo "$as_me:$LINENO:" \
10458 "checking for C compiler version" >&5
10459 ac_compiler
=`set X $ac_compile; echo $2`
10460 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10461 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10464 (exit $ac_status); }
10465 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10466 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10469 (exit $ac_status); }
10470 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10471 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10474 (exit $ac_status); }
10476 cat >conftest.
$ac_ext <<_ACEOF
10479 cat confdefs.h
>>conftest.
$ac_ext
10480 cat >>conftest.
$ac_ext <<_ACEOF
10481 /* end confdefs.h. */
10491 ac_clean_files_save
=$ac_clean_files
10492 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
10493 # Try to create an executable without -o first, disregard a.out.
10494 # It will help us diagnose broken compilers, and finding out an intuition
10496 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10497 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10498 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10499 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10500 (eval $ac_link_default) 2>&5
10502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10503 (exit $ac_status); }; then
10504 # Find the output, starting from the most likely. This scheme is
10505 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10508 # Be careful to initialize this variable, since it used to be cached.
10509 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10511 # b.out is created by i960 compilers.
10512 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10514 test -f "$ac_file" || continue
10516 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10519 # This is the source file.
10522 # We found the default executable, but exeext='' is most
10526 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10527 # FIXME: I believe we export ac_cv_exeext for Libtool,
10528 # but it would be cool to find out if it's true. Does anybody
10529 # maintain Libtool? --akim.
10530 export ac_cv_exeext
10537 echo "$as_me: failed program was:" >&5
10538 sed 's/^/| /' conftest.
$ac_ext >&5
10540 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10541 See \`config.log' for more details." >&5
10542 echo "$as_me: error: C compiler cannot create executables
10543 See \`config.log' for more details." >&2;}
10544 { (exit 77); exit 77; }; }
10547 ac_exeext
=$ac_cv_exeext
10548 echo "$as_me:$LINENO: result: $ac_file" >&5
10549 echo "${ECHO_T}$ac_file" >&6
10551 # Check the compiler produces executables we can run. If not, either
10552 # the compiler is broken, or we cross compile.
10553 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10554 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10555 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10556 # If not cross compiling, check that we can run a simple program.
10557 if test "$cross_compiling" != yes; then
10558 if { ac_try
='./$ac_file'
10559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10560 (eval $ac_try) 2>&5
10562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10563 (exit $ac_status); }; }; then
10566 if test "$cross_compiling" = maybe
; then
10567 cross_compiling
=yes
10569 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10570 If you meant to cross compile, use \`--host'.
10571 See \`config.log' for more details." >&5
10572 echo "$as_me: error: cannot run C compiled programs.
10573 If you meant to cross compile, use \`--host'.
10574 See \`config.log' for more details." >&2;}
10575 { (exit 1); exit 1; }; }
10579 echo "$as_me:$LINENO: result: yes" >&5
10580 echo "${ECHO_T}yes" >&6
10582 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
10583 ac_clean_files
=$ac_clean_files_save
10584 # Check the compiler produces executables we can run. If not, either
10585 # the compiler is broken, or we cross compile.
10586 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10587 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10588 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10589 echo "${ECHO_T}$cross_compiling" >&6
10591 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10592 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10594 (eval $ac_link) 2>&5
10596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10597 (exit $ac_status); }; then
10598 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10599 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10600 # work properly (i.e., refer to `conftest.exe'), while it won't with
10602 for ac_file
in conftest.exe conftest conftest.
*; do
10603 test -f "$ac_file" || continue
10605 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
10606 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10607 export ac_cv_exeext
10613 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10614 See \`config.log' for more details." >&5
10615 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10616 See \`config.log' for more details." >&2;}
10617 { (exit 1); exit 1; }; }
10620 rm -f conftest
$ac_cv_exeext
10621 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10622 echo "${ECHO_T}$ac_cv_exeext" >&6
10624 rm -f conftest.
$ac_ext
10625 EXEEXT
=$ac_cv_exeext
10627 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10628 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10629 if test "${ac_cv_objext+set}" = set; then
10630 echo $ECHO_N "(cached) $ECHO_C" >&6
10632 cat >conftest.
$ac_ext <<_ACEOF
10635 cat confdefs.h
>>conftest.
$ac_ext
10636 cat >>conftest.
$ac_ext <<_ACEOF
10637 /* end confdefs.h. */
10647 rm -f conftest.o conftest.obj
10648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10649 (eval $ac_compile) 2>&5
10651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10652 (exit $ac_status); }; then
10653 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10655 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
10656 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
10661 echo "$as_me: failed program was:" >&5
10662 sed 's/^/| /' conftest.
$ac_ext >&5
10664 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10665 See \`config.log' for more details." >&5
10666 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10667 See \`config.log' for more details." >&2;}
10668 { (exit 1); exit 1; }; }
10671 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
10673 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10674 echo "${ECHO_T}$ac_cv_objext" >&6
10675 OBJEXT
=$ac_cv_objext
10677 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10678 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10679 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10680 echo $ECHO_N "(cached) $ECHO_C" >&6
10682 cat >conftest.
$ac_ext <<_ACEOF
10685 cat confdefs.h
>>conftest.
$ac_ext
10686 cat >>conftest.
$ac_ext <<_ACEOF
10687 /* end confdefs.h. */
10700 rm -f conftest.
$ac_objext
10701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10702 (eval $ac_compile) 2>conftest.er1
10704 grep -v '^ *+' conftest.er1
>conftest.err
10706 cat conftest.err
>&5
10707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10708 (exit $ac_status); } &&
10709 { ac_try
='test -z "$ac_c_werror_flag"
10710 || test ! -s conftest.err'
10711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10712 (eval $ac_try) 2>&5
10714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10715 (exit $ac_status); }; } &&
10716 { ac_try
='test -s conftest.$ac_objext'
10717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10718 (eval $ac_try) 2>&5
10720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10721 (exit $ac_status); }; }; then
10722 ac_compiler_gnu
=yes
10724 echo "$as_me: failed program was:" >&5
10725 sed 's/^/| /' conftest.
$ac_ext >&5
10729 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10730 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
10733 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10734 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10735 GCC
=`test $ac_compiler_gnu = yes && echo yes`
10736 ac_test_CFLAGS
=${CFLAGS+set}
10737 ac_save_CFLAGS
=$CFLAGS
10739 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10740 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10741 if test "${ac_cv_prog_cc_g+set}" = set; then
10742 echo $ECHO_N "(cached) $ECHO_C" >&6
10744 cat >conftest.
$ac_ext <<_ACEOF
10747 cat confdefs.h
>>conftest.
$ac_ext
10748 cat >>conftest.
$ac_ext <<_ACEOF
10749 /* end confdefs.h. */
10759 rm -f conftest.
$ac_objext
10760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10761 (eval $ac_compile) 2>conftest.er1
10763 grep -v '^ *+' conftest.er1
>conftest.err
10765 cat conftest.err
>&5
10766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10767 (exit $ac_status); } &&
10768 { ac_try
='test -z "$ac_c_werror_flag"
10769 || test ! -s conftest.err'
10770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10771 (eval $ac_try) 2>&5
10773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10774 (exit $ac_status); }; } &&
10775 { ac_try
='test -s conftest.$ac_objext'
10776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10777 (eval $ac_try) 2>&5
10779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10780 (exit $ac_status); }; }; then
10781 ac_cv_prog_cc_g
=yes
10783 echo "$as_me: failed program was:" >&5
10784 sed 's/^/| /' conftest.
$ac_ext >&5
10788 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10790 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10791 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10792 if test "$ac_test_CFLAGS" = set; then
10793 CFLAGS
=$ac_save_CFLAGS
10794 elif test $ac_cv_prog_cc_g = yes; then
10795 if test "$GCC" = yes; then
10801 if test "$GCC" = yes; then
10807 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10808 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10809 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10810 echo $ECHO_N "(cached) $ECHO_C" >&6
10812 ac_cv_prog_cc_stdc
=no
10814 cat >conftest.
$ac_ext <<_ACEOF
10817 cat confdefs.h
>>conftest.
$ac_ext
10818 cat >>conftest.
$ac_ext <<_ACEOF
10819 /* end confdefs.h. */
10820 #include <stdarg.h>
10822 #include <sys/types.h>
10823 #include <sys/stat.h>
10824 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10825 struct buf { int x; };
10826 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10827 static char *e (p, i)
10833 static char *f (char * (*g) (char **, int), char **p, ...)
10838 s = g (p, va_arg (v,int));
10843 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
10844 function prototypes and stuff, but not '\xHH' hex character constants.
10845 These don't provoke an error unfortunately, instead are silently treated
10846 as 'x'. The following induces an error, until -std1 is added to get
10847 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
10848 array size at least. It's necessary to write '\x00'==0 to get something
10849 that's true only with -std1. */
10850 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
10852 int test (int i, double x);
10853 struct s1 {int (*f) (int a);};
10854 struct s2 {int (*f) (double a);};
10855 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10861 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10866 # Don't try gcc -ansi; that turns off useful extensions and
10867 # breaks some systems' header files.
10868 # AIX -qlanglvl=ansi
10869 # Ultrix and OSF/1 -std1
10870 # HP-UX 10.20 and later -Ae
10871 # HP-UX older versions -Aa -D_HPUX_SOURCE
10872 # SVR4 -Xc -D__EXTENSIONS__
10873 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10875 CC
="$ac_save_CC $ac_arg"
10876 rm -f conftest.
$ac_objext
10877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10878 (eval $ac_compile) 2>conftest.er1
10880 grep -v '^ *+' conftest.er1
>conftest.err
10882 cat conftest.err
>&5
10883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10884 (exit $ac_status); } &&
10885 { ac_try
='test -z "$ac_c_werror_flag"
10886 || test ! -s conftest.err'
10887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10888 (eval $ac_try) 2>&5
10890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10891 (exit $ac_status); }; } &&
10892 { ac_try
='test -s conftest.$ac_objext'
10893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10894 (eval $ac_try) 2>&5
10896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10897 (exit $ac_status); }; }; then
10898 ac_cv_prog_cc_stdc
=$ac_arg
10901 echo "$as_me: failed program was:" >&5
10902 sed 's/^/| /' conftest.
$ac_ext >&5
10905 rm -f conftest.err conftest.
$ac_objext
10907 rm -f conftest.
$ac_ext conftest.
$ac_objext
10912 case "x$ac_cv_prog_cc_stdc" in
10914 echo "$as_me:$LINENO: result: none needed" >&5
10915 echo "${ECHO_T}none needed" >&6 ;;
10917 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10918 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10919 CC
="$CC $ac_cv_prog_cc_stdc" ;;
10922 # Some people use a C++ compiler to compile C. Since we use `exit',
10923 # in C++ we need to declare it. In case someone uses the same compiler
10924 # for both compiling C and C++ we need to have the C++ compiler decide
10925 # the declaration of exit, since it's the most demanding environment.
10926 cat >conftest.
$ac_ext <<_ACEOF
10927 #ifndef __cplusplus
10931 rm -f conftest.
$ac_objext
10932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10933 (eval $ac_compile) 2>conftest.er1
10935 grep -v '^ *+' conftest.er1
>conftest.err
10937 cat conftest.err
>&5
10938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10939 (exit $ac_status); } &&
10940 { ac_try
='test -z "$ac_c_werror_flag"
10941 || test ! -s conftest.err'
10942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10943 (eval $ac_try) 2>&5
10945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10946 (exit $ac_status); }; } &&
10947 { ac_try
='test -s conftest.$ac_objext'
10948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10949 (eval $ac_try) 2>&5
10951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10952 (exit $ac_status); }; }; then
10953 for ac_declaration
in \
10955 'extern "C" void std::exit (int) throw (); using std::exit;' \
10956 'extern "C" void std::exit (int); using std::exit;' \
10957 'extern "C" void exit (int) throw ();' \
10958 'extern "C" void exit (int);' \
10961 cat >conftest.
$ac_ext <<_ACEOF
10964 cat confdefs.h
>>conftest.
$ac_ext
10965 cat >>conftest.
$ac_ext <<_ACEOF
10966 /* end confdefs.h. */
10968 #include <stdlib.h>
10977 rm -f conftest.
$ac_objext
10978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10979 (eval $ac_compile) 2>conftest.er1
10981 grep -v '^ *+' conftest.er1
>conftest.err
10983 cat conftest.err
>&5
10984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10985 (exit $ac_status); } &&
10986 { ac_try
='test -z "$ac_c_werror_flag"
10987 || test ! -s conftest.err'
10988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10989 (eval $ac_try) 2>&5
10991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10992 (exit $ac_status); }; } &&
10993 { ac_try
='test -s conftest.$ac_objext'
10994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10995 (eval $ac_try) 2>&5
10997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10998 (exit $ac_status); }; }; then
11001 echo "$as_me: failed program was:" >&5
11002 sed 's/^/| /' conftest.
$ac_ext >&5
11006 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11007 cat >conftest.
$ac_ext <<_ACEOF
11010 cat confdefs.h
>>conftest.
$ac_ext
11011 cat >>conftest.
$ac_ext <<_ACEOF
11012 /* end confdefs.h. */
11022 rm -f conftest.
$ac_objext
11023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11024 (eval $ac_compile) 2>conftest.er1
11026 grep -v '^ *+' conftest.er1
>conftest.err
11028 cat conftest.err
>&5
11029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11030 (exit $ac_status); } &&
11031 { ac_try
='test -z "$ac_c_werror_flag"
11032 || test ! -s conftest.err'
11033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11034 (eval $ac_try) 2>&5
11036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11037 (exit $ac_status); }; } &&
11038 { ac_try
='test -s conftest.$ac_objext'
11039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11040 (eval $ac_try) 2>&5
11042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11043 (exit $ac_status); }; }; then
11046 echo "$as_me: failed program was:" >&5
11047 sed 's/^/| /' conftest.
$ac_ext >&5
11050 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11053 if test -n "$ac_declaration"; then
11054 echo '#ifdef __cplusplus' >>confdefs.h
11055 echo $ac_declaration >>confdefs.h
11056 echo '#endif' >>confdefs.h
11060 echo "$as_me: failed program was:" >&5
11061 sed 's/^/| /' conftest.
$ac_ext >&5
11064 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11066 ac_cpp
='$CPP $CPPFLAGS'
11067 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11068 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11069 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11074 ac_cpp
='$CPP $CPPFLAGS'
11075 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11076 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11077 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11078 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11079 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11080 # On Suns, sometimes $CPP names a directory.
11081 if test -n "$CPP" && test -d "$CPP"; then
11084 if test -z "$CPP"; then
11085 if test "${ac_cv_prog_CPP+set}" = set; then
11086 echo $ECHO_N "(cached) $ECHO_C" >&6
11088 # Double quotes because CPP needs to be expanded
11089 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11091 ac_preproc_ok
=false
11092 for ac_c_preproc_warn_flag
in '' yes
11094 # Use a header file that comes with gcc, so configuring glibc
11095 # with a fresh cross-compiler works.
11096 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11097 # <limits.h> exists even on freestanding compilers.
11098 # On the NeXT, cc -E runs the code through the compiler's parser,
11099 # not just through cpp. "Syntax error" is here to catch this case.
11100 cat >conftest.
$ac_ext <<_ACEOF
11103 cat confdefs.h
>>conftest.
$ac_ext
11104 cat >>conftest.
$ac_ext <<_ACEOF
11105 /* end confdefs.h. */
11107 # include <limits.h>
11109 # include <assert.h>
11113 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11114 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11116 grep -v '^ *+' conftest.er1
>conftest.err
11118 cat conftest.err
>&5
11119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11120 (exit $ac_status); } >/dev
/null
; then
11121 if test -s conftest.err
; then
11122 ac_cpp_err
=$ac_c_preproc_warn_flag
11123 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11130 if test -z "$ac_cpp_err"; then
11133 echo "$as_me: failed program was:" >&5
11134 sed 's/^/| /' conftest.
$ac_ext >&5
11136 # Broken: fails on valid input.
11139 rm -f conftest.err conftest.
$ac_ext
11141 # OK, works on sane cases. Now check whether non-existent headers
11142 # can be detected and how.
11143 cat >conftest.
$ac_ext <<_ACEOF
11146 cat confdefs.h
>>conftest.
$ac_ext
11147 cat >>conftest.
$ac_ext <<_ACEOF
11148 /* end confdefs.h. */
11149 #include <ac_nonexistent.h>
11151 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11152 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11154 grep -v '^ *+' conftest.er1
>conftest.err
11156 cat conftest.err
>&5
11157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11158 (exit $ac_status); } >/dev
/null
; then
11159 if test -s conftest.err
; then
11160 ac_cpp_err
=$ac_c_preproc_warn_flag
11161 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11168 if test -z "$ac_cpp_err"; then
11169 # Broken: success on invalid input.
11172 echo "$as_me: failed program was:" >&5
11173 sed 's/^/| /' conftest.
$ac_ext >&5
11175 # Passes both tests.
11179 rm -f conftest.err conftest.
$ac_ext
11182 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11183 rm -f conftest.err conftest.
$ac_ext
11184 if $ac_preproc_ok; then
11189 ac_cv_prog_CPP
=$CPP
11192 CPP
=$ac_cv_prog_CPP
11194 ac_cv_prog_CPP
=$CPP
11196 echo "$as_me:$LINENO: result: $CPP" >&5
11197 echo "${ECHO_T}$CPP" >&6
11198 ac_preproc_ok
=false
11199 for ac_c_preproc_warn_flag
in '' yes
11201 # Use a header file that comes with gcc, so configuring glibc
11202 # with a fresh cross-compiler works.
11203 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11204 # <limits.h> exists even on freestanding compilers.
11205 # On the NeXT, cc -E runs the code through the compiler's parser,
11206 # not just through cpp. "Syntax error" is here to catch this case.
11207 cat >conftest.
$ac_ext <<_ACEOF
11210 cat confdefs.h
>>conftest.
$ac_ext
11211 cat >>conftest.
$ac_ext <<_ACEOF
11212 /* end confdefs.h. */
11214 # include <limits.h>
11216 # include <assert.h>
11220 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11221 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11223 grep -v '^ *+' conftest.er1
>conftest.err
11225 cat conftest.err
>&5
11226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11227 (exit $ac_status); } >/dev
/null
; then
11228 if test -s conftest.err
; then
11229 ac_cpp_err
=$ac_c_preproc_warn_flag
11230 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11237 if test -z "$ac_cpp_err"; then
11240 echo "$as_me: failed program was:" >&5
11241 sed 's/^/| /' conftest.
$ac_ext >&5
11243 # Broken: fails on valid input.
11246 rm -f conftest.err conftest.
$ac_ext
11248 # OK, works on sane cases. Now check whether non-existent headers
11249 # can be detected and how.
11250 cat >conftest.
$ac_ext <<_ACEOF
11253 cat confdefs.h
>>conftest.
$ac_ext
11254 cat >>conftest.
$ac_ext <<_ACEOF
11255 /* end confdefs.h. */
11256 #include <ac_nonexistent.h>
11258 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11259 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11261 grep -v '^ *+' conftest.er1
>conftest.err
11263 cat conftest.err
>&5
11264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11265 (exit $ac_status); } >/dev
/null
; then
11266 if test -s conftest.err
; then
11267 ac_cpp_err
=$ac_c_preproc_warn_flag
11268 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11275 if test -z "$ac_cpp_err"; then
11276 # Broken: success on invalid input.
11279 echo "$as_me: failed program was:" >&5
11280 sed 's/^/| /' conftest.
$ac_ext >&5
11282 # Passes both tests.
11286 rm -f conftest.err conftest.
$ac_ext
11289 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11290 rm -f conftest.err conftest.
$ac_ext
11291 if $ac_preproc_ok; then
11294 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11295 See \`config.log' for more details." >&5
11296 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11297 See \`config.log' for more details." >&2;}
11298 { (exit 1); exit 1; }; }
11302 ac_cpp
='$CPP $CPPFLAGS'
11303 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11304 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11305 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11308 echo "$as_me:$LINENO: checking for egrep" >&5
11309 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11310 if test "${ac_cv_prog_egrep+set}" = set; then
11311 echo $ECHO_N "(cached) $ECHO_C" >&6
11313 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
11314 then ac_cv_prog_egrep
='grep -E'
11315 else ac_cv_prog_egrep
='egrep'
11318 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11319 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11320 EGREP
=$ac_cv_prog_egrep
11323 if test $ac_cv_c_compiler_gnu = yes; then
11324 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11325 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11326 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11327 echo $ECHO_N "(cached) $ECHO_C" >&6
11329 ac_pattern
="Autoconf.*'x'"
11330 cat >conftest.
$ac_ext <<_ACEOF
11333 cat confdefs.h
>>conftest.
$ac_ext
11334 cat >>conftest.
$ac_ext <<_ACEOF
11335 /* end confdefs.h. */
11339 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11340 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11341 ac_cv_prog_gcc_traditional
=yes
11343 ac_cv_prog_gcc_traditional
=no
11348 if test $ac_cv_prog_gcc_traditional = no
; then
11349 cat >conftest.
$ac_ext <<_ACEOF
11352 cat confdefs.h
>>conftest.
$ac_ext
11353 cat >>conftest.
$ac_ext <<_ACEOF
11354 /* end confdefs.h. */
11355 #include <termio.h>
11358 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11359 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11360 ac_cv_prog_gcc_traditional
=yes
11366 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11367 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11368 if test $ac_cv_prog_gcc_traditional = yes; then
11369 CC
="$CC -traditional"
11377 ac_cpp
='$CXXCPP $CPPFLAGS'
11378 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11379 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11380 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11383 CXXFLAGS
=${CXXFLAGS:=}
11385 ac_cpp
='$CXXCPP $CPPFLAGS'
11386 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11387 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11388 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11389 if test -n "$ac_tool_prefix"; then
11390 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11392 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11393 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11394 echo "$as_me:$LINENO: checking for $ac_word" >&5
11395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11396 if test "${ac_cv_prog_CXX+set}" = set; then
11397 echo $ECHO_N "(cached) $ECHO_C" >&6
11399 if test -n "$CXX"; then
11400 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
11402 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11403 for as_dir
in $PATH
11406 test -z "$as_dir" && as_dir
=.
11407 for ac_exec_ext
in '' $ac_executable_extensions; do
11408 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11409 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
11410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11418 CXX
=$ac_cv_prog_CXX
11419 if test -n "$CXX"; then
11420 echo "$as_me:$LINENO: result: $CXX" >&5
11421 echo "${ECHO_T}$CXX" >&6
11423 echo "$as_me:$LINENO: result: no" >&5
11424 echo "${ECHO_T}no" >&6
11427 test -n "$CXX" && break
11430 if test -z "$CXX"; then
11432 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11434 # Extract the first word of "$ac_prog", so it can be a program name with args.
11435 set dummy
$ac_prog; ac_word
=$2
11436 echo "$as_me:$LINENO: checking for $ac_word" >&5
11437 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11438 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11439 echo $ECHO_N "(cached) $ECHO_C" >&6
11441 if test -n "$ac_ct_CXX"; then
11442 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
11444 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11445 for as_dir
in $PATH
11448 test -z "$as_dir" && as_dir
=.
11449 for ac_exec_ext
in '' $ac_executable_extensions; do
11450 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11451 ac_cv_prog_ac_ct_CXX
="$ac_prog"
11452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11460 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11461 if test -n "$ac_ct_CXX"; then
11462 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11463 echo "${ECHO_T}$ac_ct_CXX" >&6
11465 echo "$as_me:$LINENO: result: no" >&5
11466 echo "${ECHO_T}no" >&6
11469 test -n "$ac_ct_CXX" && break
11471 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
11477 # Provide some information about the compiler.
11478 echo "$as_me:$LINENO:" \
11479 "checking for C++ compiler version" >&5
11480 ac_compiler
=`set X $ac_compile; echo $2`
11481 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11482 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11485 (exit $ac_status); }
11486 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11487 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11490 (exit $ac_status); }
11491 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11492 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11495 (exit $ac_status); }
11497 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11498 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11499 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11500 echo $ECHO_N "(cached) $ECHO_C" >&6
11502 cat >conftest.
$ac_ext <<_ACEOF
11505 cat confdefs.h
>>conftest.
$ac_ext
11506 cat >>conftest.
$ac_ext <<_ACEOF
11507 /* end confdefs.h. */
11520 rm -f conftest.
$ac_objext
11521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11522 (eval $ac_compile) 2>conftest.er1
11524 grep -v '^ *+' conftest.er1
>conftest.err
11526 cat conftest.err
>&5
11527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11528 (exit $ac_status); } &&
11529 { ac_try
='test -z "$ac_cxx_werror_flag"
11530 || test ! -s conftest.err'
11531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11532 (eval $ac_try) 2>&5
11534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11535 (exit $ac_status); }; } &&
11536 { ac_try
='test -s conftest.$ac_objext'
11537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11538 (eval $ac_try) 2>&5
11540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11541 (exit $ac_status); }; }; then
11542 ac_compiler_gnu
=yes
11544 echo "$as_me: failed program was:" >&5
11545 sed 's/^/| /' conftest.
$ac_ext >&5
11549 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11550 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11553 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11554 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11555 GXX
=`test $ac_compiler_gnu = yes && echo yes`
11556 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11557 ac_save_CXXFLAGS
=$CXXFLAGS
11559 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11560 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11561 if test "${ac_cv_prog_cxx_g+set}" = set; then
11562 echo $ECHO_N "(cached) $ECHO_C" >&6
11564 cat >conftest.
$ac_ext <<_ACEOF
11567 cat confdefs.h
>>conftest.
$ac_ext
11568 cat >>conftest.
$ac_ext <<_ACEOF
11569 /* end confdefs.h. */
11579 rm -f conftest.
$ac_objext
11580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11581 (eval $ac_compile) 2>conftest.er1
11583 grep -v '^ *+' conftest.er1
>conftest.err
11585 cat conftest.err
>&5
11586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11587 (exit $ac_status); } &&
11588 { ac_try
='test -z "$ac_cxx_werror_flag"
11589 || test ! -s conftest.err'
11590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11591 (eval $ac_try) 2>&5
11593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11594 (exit $ac_status); }; } &&
11595 { ac_try
='test -s conftest.$ac_objext'
11596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11597 (eval $ac_try) 2>&5
11599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11600 (exit $ac_status); }; }; then
11601 ac_cv_prog_cxx_g
=yes
11603 echo "$as_me: failed program was:" >&5
11604 sed 's/^/| /' conftest.
$ac_ext >&5
11606 ac_cv_prog_cxx_g
=no
11608 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11610 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11611 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11612 if test "$ac_test_CXXFLAGS" = set; then
11613 CXXFLAGS
=$ac_save_CXXFLAGS
11614 elif test $ac_cv_prog_cxx_g = yes; then
11615 if test "$GXX" = yes; then
11621 if test "$GXX" = yes; then
11627 for ac_declaration
in \
11629 'extern "C" void std::exit (int) throw (); using std::exit;' \
11630 'extern "C" void std::exit (int); using std::exit;' \
11631 'extern "C" void exit (int) throw ();' \
11632 'extern "C" void exit (int);' \
11635 cat >conftest.
$ac_ext <<_ACEOF
11638 cat confdefs.h
>>conftest.
$ac_ext
11639 cat >>conftest.
$ac_ext <<_ACEOF
11640 /* end confdefs.h. */
11642 #include <stdlib.h>
11651 rm -f conftest.
$ac_objext
11652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11653 (eval $ac_compile) 2>conftest.er1
11655 grep -v '^ *+' conftest.er1
>conftest.err
11657 cat conftest.err
>&5
11658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11659 (exit $ac_status); } &&
11660 { ac_try
='test -z "$ac_cxx_werror_flag"
11661 || test ! -s conftest.err'
11662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11663 (eval $ac_try) 2>&5
11665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11666 (exit $ac_status); }; } &&
11667 { ac_try
='test -s conftest.$ac_objext'
11668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11669 (eval $ac_try) 2>&5
11671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11672 (exit $ac_status); }; }; then
11675 echo "$as_me: failed program was:" >&5
11676 sed 's/^/| /' conftest.
$ac_ext >&5
11680 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11681 cat >conftest.
$ac_ext <<_ACEOF
11684 cat confdefs.h
>>conftest.
$ac_ext
11685 cat >>conftest.
$ac_ext <<_ACEOF
11686 /* end confdefs.h. */
11696 rm -f conftest.
$ac_objext
11697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11698 (eval $ac_compile) 2>conftest.er1
11700 grep -v '^ *+' conftest.er1
>conftest.err
11702 cat conftest.err
>&5
11703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11704 (exit $ac_status); } &&
11705 { ac_try
='test -z "$ac_cxx_werror_flag"
11706 || test ! -s conftest.err'
11707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11708 (eval $ac_try) 2>&5
11710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11711 (exit $ac_status); }; } &&
11712 { ac_try
='test -s conftest.$ac_objext'
11713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11714 (eval $ac_try) 2>&5
11716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11717 (exit $ac_status); }; }; then
11720 echo "$as_me: failed program was:" >&5
11721 sed 's/^/| /' conftest.
$ac_ext >&5
11724 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11727 if test -n "$ac_declaration"; then
11728 echo '#ifdef __cplusplus' >>confdefs.h
11729 echo $ac_declaration >>confdefs.h
11730 echo '#endif' >>confdefs.h
11734 ac_cpp
='$CXXCPP $CPPFLAGS'
11735 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11736 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11737 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11741 ac_cpp
='$CPP $CPPFLAGS'
11742 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11743 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11744 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11747 echo "$as_me:$LINENO: checking for /usr/local/include in default include path" >&5
11748 echo $ECHO_N "checking for /usr/local/include in default include path... $ECHO_C" >&6
11749 GCC_SEARCHES_USR_LOCAL_INCLUDE
="no"
11750 if test "$GCC" = "yes" ; then
11751 echo | gcc
-v -x c
++ -E - 2>&1 | sed -n '/^#include </,$p' | \
11752 sed -n '1,/End of search list\./p' | \
11753 grep '^ */usr/local/include$' 2>&1 /dev
/null \
11754 && GCC_SEARCHES_USR_LOCAL_INCLUDE
="yes"
11756 echo "$as_me:$LINENO: result: $GCC_SEARCHES_USR_LOCAL_INCLUDE" >&5
11757 echo "${ECHO_T}$GCC_SEARCHES_USR_LOCAL_INCLUDE" >&6
11759 if test -n "$ac_tool_prefix"; then
11760 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11761 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
11762 echo "$as_me:$LINENO: checking for $ac_word" >&5
11763 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11764 if test "${ac_cv_prog_RANLIB+set}" = set; then
11765 echo $ECHO_N "(cached) $ECHO_C" >&6
11767 if test -n "$RANLIB"; then
11768 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
11770 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11771 for as_dir
in $PATH
11774 test -z "$as_dir" && as_dir
=.
11775 for ac_exec_ext
in '' $ac_executable_extensions; do
11776 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11777 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
11778 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11786 RANLIB
=$ac_cv_prog_RANLIB
11787 if test -n "$RANLIB"; then
11788 echo "$as_me:$LINENO: result: $RANLIB" >&5
11789 echo "${ECHO_T}$RANLIB" >&6
11791 echo "$as_me:$LINENO: result: no" >&5
11792 echo "${ECHO_T}no" >&6
11796 if test -z "$ac_cv_prog_RANLIB"; then
11797 ac_ct_RANLIB
=$RANLIB
11798 # Extract the first word of "ranlib", so it can be a program name with args.
11799 set dummy ranlib
; ac_word
=$2
11800 echo "$as_me:$LINENO: checking for $ac_word" >&5
11801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11802 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11803 echo $ECHO_N "(cached) $ECHO_C" >&6
11805 if test -n "$ac_ct_RANLIB"; then
11806 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
11808 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11809 for as_dir
in $PATH
11812 test -z "$as_dir" && as_dir
=.
11813 for ac_exec_ext
in '' $ac_executable_extensions; do
11814 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11815 ac_cv_prog_ac_ct_RANLIB
="ranlib"
11816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11822 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
11825 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
11826 if test -n "$ac_ct_RANLIB"; then
11827 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11828 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11830 echo "$as_me:$LINENO: result: no" >&5
11831 echo "${ECHO_T}no" >&6
11834 RANLIB
=$ac_ct_RANLIB
11836 RANLIB
="$ac_cv_prog_RANLIB"
11840 # Extract the first word of "ar", so it can be a program name with args.
11841 set dummy
ar; ac_word
=$2
11842 echo "$as_me:$LINENO: checking for $ac_word" >&5
11843 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11844 if test "${ac_cv_prog_AR+set}" = set; then
11845 echo $ECHO_N "(cached) $ECHO_C" >&6
11847 if test -n "$AR"; then
11848 ac_cv_prog_AR
="$AR" # Let the user override the test.
11850 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11851 for as_dir
in $PATH
11854 test -z "$as_dir" && as_dir
=.
11855 for ac_exec_ext
in '' $ac_executable_extensions; do
11856 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11858 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11867 if test -n "$AR"; then
11868 echo "$as_me:$LINENO: result: $AR" >&5
11869 echo "${ECHO_T}$AR" >&6
11871 echo "$as_me:$LINENO: result: no" >&5
11872 echo "${ECHO_T}no" >&6
11875 if test "x$AR" = "x" ; then
11876 { { echo "$as_me:$LINENO: error: ar is needed to build wxWindows" >&5
11877 echo "$as_me: error: ar is needed to build wxWindows" >&2;}
11878 { (exit 1); exit 1; }; }
11881 # Find a good install program. We prefer a C program (faster),
11882 # so one script is as good as another. But avoid the broken or
11883 # incompatible versions:
11884 # SysV /etc/install, /usr/sbin/install
11885 # SunOS /usr/etc/install
11886 # IRIX /sbin/install
11888 # AmigaOS /C/install, which installs bootblocks on floppy discs
11889 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11890 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11891 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11892 # OS/2's system install, which has a completely different semantic
11893 # ./install, which can be erroneously created by make from ./install.sh.
11894 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11895 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11896 if test -z "$INSTALL"; then
11897 if test "${ac_cv_path_install+set}" = set; then
11898 echo $ECHO_N "(cached) $ECHO_C" >&6
11900 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11901 for as_dir
in $PATH
11904 test -z "$as_dir" && as_dir
=.
11905 # Account for people who put trailing slashes in PATH elements.
11907 .
/ | .
// | /cC
/* | \
11908 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
11909 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
11912 # OSF1 and SCO ODT 3.0 have their own names for install.
11913 # Don't use installbsd from OSF since it installs stuff as root
11915 for ac_prog
in ginstall scoinst
install; do
11916 for ac_exec_ext
in '' $ac_executable_extensions; do
11917 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11918 if test $ac_prog = install &&
11919 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11920 # AIX install. It has an incompatible calling convention.
11922 elif test $ac_prog = install &&
11923 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11924 # program-specific install script used by HP pwplus--don't use.
11927 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
11939 if test "${ac_cv_path_install+set}" = set; then
11940 INSTALL
=$ac_cv_path_install
11942 # As a last resort, use the slow shell script. We don't cache a
11943 # path for INSTALL within a source directory, because that will
11944 # break other packages using the cache if that directory is
11945 # removed, or if the path is relative.
11946 INSTALL
=$ac_install_sh
11949 echo "$as_me:$LINENO: result: $INSTALL" >&5
11950 echo "${ECHO_T}$INSTALL" >&6
11952 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11953 # It thinks the first close brace ends the variable substitution.
11954 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
11956 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
11958 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
11964 ?
:* ) # Drive letter, considered as absolute.
11967 INSTALL
=`pwd`/${INSTALL} ;;
11972 INSTALL_DIR
="mkdir"
11975 *) INSTALL_DIR
="$INSTALL -d"
11982 powerpc
-*-darwin* )
11983 INSTALL_PROGRAM
="cp -fp"
11984 INSTALL_DATA
="cp -fp"
11990 # Extract the first word of "strip", so it can be a program name with args.
11991 set dummy strip
; ac_word
=$2
11992 echo "$as_me:$LINENO: checking for $ac_word" >&5
11993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11994 if test "${ac_cv_prog_STRIP+set}" = set; then
11995 echo $ECHO_N "(cached) $ECHO_C" >&6
11997 if test -n "$STRIP"; then
11998 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
12000 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12001 for as_dir
in $PATH
12004 test -z "$as_dir" && as_dir
=.
12005 for ac_exec_ext
in '' $ac_executable_extensions; do
12006 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12007 ac_cv_prog_STRIP
="strip"
12008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12014 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
12017 STRIP
=$ac_cv_prog_STRIP
12018 if test -n "$STRIP"; then
12019 echo "$as_me:$LINENO: result: $STRIP" >&5
12020 echo "${ECHO_T}$STRIP" >&6
12022 echo "$as_me:$LINENO: result: no" >&5
12023 echo "${ECHO_T}no" >&6
12027 echo "$as_me:$LINENO: checking if make is GNU make" >&5
12028 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
12029 if test "${wx_cv_prog_makeisgnu+set}" = set; then
12030 echo $ECHO_N "(cached) $ECHO_C" >&6
12033 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
12034 egrep -s GNU
> /dev
/null
); then
12035 wx_cv_prog_makeisgnu
="yes"
12037 wx_cv_prog_makeisgnu
="no"
12041 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
12042 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
12044 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
12052 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
12053 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
12054 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
12055 if test "${wx_cv_prog_makevpath+set}" = set; then
12056 echo $ECHO_N "(cached) $ECHO_C" >&6
12059 cat - << EOF > confMake
12065 if test ! -d sub
; then
12068 echo dummy
> sub
/file
12069 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
12071 rm -f sub
/file check final_file confMake
12073 if test "$RESULT" = 0; then
12074 wx_cv_prog_makevpath
="yes"
12076 wx_cv_prog_makevpath
="no"
12080 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
12081 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
12083 if test "x$wx_cv_prog_makevpath" != "xyes"; then
12084 { { echo "$as_me:$LINENO: error:
12085 You need a make-utility that is able to use the variable
12087 If your version of make does not support VPATH correctly,
12088 please install GNU-make (possibly as gmake), and start
12089 configure with the following command:
12090 export MAKE=gmake; ./configure for sh-type shells
12091 setenv MAKE gmake; ./configure for csh-type shells
12092 Also please do remember to use gmake in this case every time
12093 you are trying to compile.
12095 echo "$as_me: error:
12096 You need a make-utility that is able to use the variable
12098 If your version of make does not support VPATH correctly,
12099 please install GNU-make (possibly as gmake), and start
12100 configure with the following command:
12101 export MAKE=gmake; ./configure for sh-type shells
12102 setenv MAKE gmake; ./configure for csh-type shells
12103 Also please do remember to use gmake in this case every time
12104 you are trying to compile.
12106 { (exit 1); exit 1; }; }
12108 echo "$as_me:$LINENO: checking whether ln -s works" >&5
12109 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
12111 if test "$LN_S" = "ln -s"; then
12112 echo "$as_me:$LINENO: result: yes" >&5
12113 echo "${ECHO_T}yes" >&6
12115 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12116 echo "${ECHO_T}no, using $LN_S" >&6
12122 *-pc-os2_emx | *-pc-os2-emx )
12123 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
12124 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
12125 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
12126 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
12127 echo $ECHO_N "(cached) $ECHO_C" >&6
12129 ac_check_lib_save_LIBS
=$LIBS
12130 LIBS
="-lcExt $LIBS"
12131 cat >conftest.
$ac_ext <<_ACEOF
12134 cat confdefs.h
>>conftest.
$ac_ext
12135 cat >>conftest.
$ac_ext <<_ACEOF
12136 /* end confdefs.h. */
12138 /* Override any gcc2 internal prototype to avoid an error. */
12142 /* We use char because int might match the return type of a gcc2
12143 builtin and then its argument prototype would still apply. */
12153 rm -f conftest.
$ac_objext conftest
$ac_exeext
12154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12155 (eval $ac_link) 2>conftest.er1
12157 grep -v '^ *+' conftest.er1
>conftest.err
12159 cat conftest.err
>&5
12160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12161 (exit $ac_status); } &&
12162 { ac_try
='test -z "$ac_c_werror_flag"
12163 || test ! -s conftest.err'
12164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12165 (eval $ac_try) 2>&5
12167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12168 (exit $ac_status); }; } &&
12169 { ac_try
='test -s conftest$ac_exeext'
12170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12171 (eval $ac_try) 2>&5
12173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12174 (exit $ac_status); }; }; then
12175 ac_cv_lib_cExt_drand48
=yes
12177 echo "$as_me: failed program was:" >&5
12178 sed 's/^/| /' conftest.
$ac_ext >&5
12180 ac_cv_lib_cExt_drand48
=no
12182 rm -f conftest.err conftest.
$ac_objext \
12183 conftest
$ac_exeext conftest.
$ac_ext
12184 LIBS
=$ac_check_lib_save_LIBS
12186 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12187 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12188 if test $ac_cv_lib_cExt_drand48 = yes; then
12189 LIBS
="$LIBS -lcExt"
12193 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
12195 echo "$as_me:$LINENO: checking for gcc version" >&5
12196 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
12197 if test "${wx_cv_gccversion+set}" = set; then
12198 echo $ECHO_N "(cached) $ECHO_C" >&6
12201 cat >conftest.
$ac_ext <<_ACEOF
12204 cat confdefs.h
>>conftest.
$ac_ext
12205 cat >>conftest.
$ac_ext <<_ACEOF
12206 /* end confdefs.h. */
12220 rm -f conftest.
$ac_objext
12221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12222 (eval $ac_compile) 2>conftest.er1
12224 grep -v '^ *+' conftest.er1
>conftest.err
12226 cat conftest.err
>&5
12227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12228 (exit $ac_status); } &&
12229 { ac_try
='test -z "$ac_c_werror_flag"
12230 || test ! -s conftest.err'
12231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12232 (eval $ac_try) 2>&5
12234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12235 (exit $ac_status); }; } &&
12236 { ac_try
='test -s conftest.$ac_objext'
12237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12238 (eval $ac_try) 2>&5
12240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12241 (exit $ac_status); }; }; then
12243 cat >conftest.
$ac_ext <<_ACEOF
12246 cat confdefs.h
>>conftest.
$ac_ext
12247 cat >>conftest.
$ac_ext <<_ACEOF
12248 /* end confdefs.h. */
12254 #if (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
12255 #error intermediate gcc
12262 rm -f conftest.
$ac_objext
12263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12264 (eval $ac_compile) 2>conftest.er1
12266 grep -v '^ *+' conftest.er1
>conftest.err
12268 cat conftest.err
>&5
12269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12270 (exit $ac_status); } &&
12271 { ac_try
='test -z "$ac_c_werror_flag"
12272 || test ! -s conftest.err'
12273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12274 (eval $ac_try) 2>&5
12276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12277 (exit $ac_status); }; } &&
12278 { ac_try
='test -s conftest.$ac_objext'
12279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12280 (eval $ac_try) 2>&5
12282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12283 (exit $ac_status); }; }; then
12285 wx_cv_gccversion
=Innotek
12288 echo "$as_me: failed program was:" >&5
12289 sed 's/^/| /' conftest.
$ac_ext >&5
12296 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12299 echo "$as_me: failed program was:" >&5
12300 sed 's/^/| /' conftest.
$ac_ext >&5
12307 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12310 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
12311 echo "${ECHO_T}$wx_cv_gccversion" >&6
12312 if test "$wx_cv_gccversion" = "2"; then
12313 LIBS
="$LIBS -lstdcpp"
12314 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12316 if test "$wx_cv_gccversion" = "3"; then
12317 LIBS
="$LIBS -lstdcxx"
12318 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12320 LIBS
="$LIBS -lstdc++"
12323 if test "$wxUSE_OMF" = "yes"; then
12324 LDFLAGS
="$LDFLAGS -Zlinker /PMTYPE:PM -Zlinker /EXEPACK"
12332 ac_cpp
='$CXXCPP $CPPFLAGS'
12333 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12334 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12335 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12339 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12340 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12341 if test "${ac_cv_string_strcasecmp+set}" = set; then
12342 echo $ECHO_N "(cached) $ECHO_C" >&6
12345 cat >conftest.
$ac_ext <<_ACEOF
12348 cat confdefs.h
>>conftest.
$ac_ext
12349 cat >>conftest.
$ac_ext <<_ACEOF
12350 /* end confdefs.h. */
12352 #include <string.h>
12358 strcasecmp("foo", "bar");
12364 rm -f conftest.
$ac_objext conftest
$ac_exeext
12365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12366 (eval $ac_link) 2>conftest.er1
12368 grep -v '^ *+' conftest.er1
>conftest.err
12370 cat conftest.err
>&5
12371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12372 (exit $ac_status); } &&
12373 { ac_try
='test -z "$ac_cxx_werror_flag"
12374 || test ! -s conftest.err'
12375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12376 (eval $ac_try) 2>&5
12378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12379 (exit $ac_status); }; } &&
12380 { ac_try
='test -s conftest$ac_exeext'
12381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12382 (eval $ac_try) 2>&5
12384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12385 (exit $ac_status); }; }; then
12386 ac_cv_string_strcasecmp
=yes
12388 echo "$as_me: failed program was:" >&5
12389 sed 's/^/| /' conftest.
$ac_ext >&5
12391 ac_cv_string_strcasecmp
=no
12394 rm -f conftest.err conftest.
$ac_objext \
12395 conftest
$ac_exeext conftest.
$ac_ext
12398 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12399 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12401 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
12402 cat >>confdefs.h
<<\_ACEOF
12403 #define HAVE_STRCASECMP_IN_STRING_H 1
12407 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12408 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12409 if test "${ac_cv_strings_strcasecmp+set}" = set; then
12410 echo $ECHO_N "(cached) $ECHO_C" >&6
12413 cat >conftest.
$ac_ext <<_ACEOF
12416 cat confdefs.h
>>conftest.
$ac_ext
12417 cat >>conftest.
$ac_ext <<_ACEOF
12418 /* end confdefs.h. */
12420 #include <strings.h>
12426 strcasecmp("foo", "bar");
12432 rm -f conftest.
$ac_objext conftest
$ac_exeext
12433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12434 (eval $ac_link) 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); } &&
12441 { ac_try
='test -z "$ac_cxx_werror_flag"
12442 || test ! -s conftest.err'
12443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12444 (eval $ac_try) 2>&5
12446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12447 (exit $ac_status); }; } &&
12448 { ac_try
='test -s conftest$ac_exeext'
12449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12450 (eval $ac_try) 2>&5
12452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12453 (exit $ac_status); }; }; then
12454 ac_cv_strings_strcasecmp
=yes
12456 echo "$as_me: failed program was:" >&5
12457 sed 's/^/| /' conftest.
$ac_ext >&5
12459 ac_cv_strings_strcasecmp
=no
12462 rm -f conftest.err conftest.
$ac_objext \
12463 conftest
$ac_exeext conftest.
$ac_ext
12466 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12467 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12469 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
12470 cat >>confdefs.h
<<\_ACEOF
12471 #define HAVE_STRCASECMP_IN_STRINGS_H 1
12475 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12476 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12477 { (exit 1); exit 1; }; }
12482 ac_cpp
='$CPP $CPPFLAGS'
12483 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12484 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12485 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12491 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12492 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12493 if test "${ac_cv_header_stdc+set}" = set; then
12494 echo $ECHO_N "(cached) $ECHO_C" >&6
12496 cat >conftest.
$ac_ext <<_ACEOF
12499 cat confdefs.h
>>conftest.
$ac_ext
12500 cat >>conftest.
$ac_ext <<_ACEOF
12501 /* end confdefs.h. */
12502 #include <stdlib.h>
12503 #include <stdarg.h>
12504 #include <string.h>
12515 rm -f conftest.
$ac_objext
12516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12517 (eval $ac_compile) 2>conftest.er1
12519 grep -v '^ *+' conftest.er1
>conftest.err
12521 cat conftest.err
>&5
12522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12523 (exit $ac_status); } &&
12524 { ac_try
='test -z "$ac_c_werror_flag"
12525 || test ! -s conftest.err'
12526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12527 (eval $ac_try) 2>&5
12529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12530 (exit $ac_status); }; } &&
12531 { ac_try
='test -s conftest.$ac_objext'
12532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12533 (eval $ac_try) 2>&5
12535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12536 (exit $ac_status); }; }; then
12537 ac_cv_header_stdc
=yes
12539 echo "$as_me: failed program was:" >&5
12540 sed 's/^/| /' conftest.
$ac_ext >&5
12542 ac_cv_header_stdc
=no
12544 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12546 if test $ac_cv_header_stdc = yes; then
12547 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12548 cat >conftest.
$ac_ext <<_ACEOF
12551 cat confdefs.h
>>conftest.
$ac_ext
12552 cat >>conftest.
$ac_ext <<_ACEOF
12553 /* end confdefs.h. */
12554 #include <string.h>
12557 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12558 $EGREP "memchr" >/dev
/null
2>&1; then
12561 ac_cv_header_stdc
=no
12567 if test $ac_cv_header_stdc = yes; then
12568 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12569 cat >conftest.
$ac_ext <<_ACEOF
12572 cat confdefs.h
>>conftest.
$ac_ext
12573 cat >>conftest.
$ac_ext <<_ACEOF
12574 /* end confdefs.h. */
12575 #include <stdlib.h>
12578 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12579 $EGREP "free" >/dev
/null
2>&1; then
12582 ac_cv_header_stdc
=no
12588 if test $ac_cv_header_stdc = yes; then
12589 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12590 if test "$cross_compiling" = yes; then
12593 cat >conftest.
$ac_ext <<_ACEOF
12596 cat confdefs.h
>>conftest.
$ac_ext
12597 cat >>conftest.
$ac_ext <<_ACEOF
12598 /* end confdefs.h. */
12600 #if ((' ' & 0x0FF) == 0x020)
12601 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12602 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12604 # define ISLOWER(c) \
12605 (('a' <= (c) && (c) <= 'i') \
12606 || ('j' <= (c) && (c) <= 'r') \
12607 || ('s' <= (c) && (c) <= 'z'))
12608 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12611 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12616 for (i = 0; i < 256; i++)
12617 if (XOR (islower (i), ISLOWER (i))
12618 || toupper (i) != TOUPPER (i))
12623 rm -f conftest
$ac_exeext
12624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12625 (eval $ac_link) 2>&5
12627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12628 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12630 (eval $ac_try) 2>&5
12632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12633 (exit $ac_status); }; }; then
12636 echo "$as_me: program exited with status $ac_status" >&5
12637 echo "$as_me: failed program was:" >&5
12638 sed 's/^/| /' conftest.
$ac_ext >&5
12640 ( exit $ac_status )
12641 ac_cv_header_stdc
=no
12643 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12647 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12648 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12649 if test $ac_cv_header_stdc = yes; then
12651 cat >>confdefs.h
<<\_ACEOF
12652 #define STDC_HEADERS 1
12657 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12667 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
12668 inttypes.h stdint.h unistd.h
12670 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12671 echo "$as_me:$LINENO: checking for $ac_header" >&5
12672 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12673 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12674 echo $ECHO_N "(cached) $ECHO_C" >&6
12676 cat >conftest.
$ac_ext <<_ACEOF
12679 cat confdefs.h
>>conftest.
$ac_ext
12680 cat >>conftest.
$ac_ext <<_ACEOF
12681 /* end confdefs.h. */
12682 $ac_includes_default
12684 #include <$ac_header>
12686 rm -f conftest.
$ac_objext
12687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12688 (eval $ac_compile) 2>conftest.er1
12690 grep -v '^ *+' conftest.er1
>conftest.err
12692 cat conftest.err
>&5
12693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12694 (exit $ac_status); } &&
12695 { ac_try
='test -z "$ac_c_werror_flag"
12696 || test ! -s conftest.err'
12697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12698 (eval $ac_try) 2>&5
12700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12701 (exit $ac_status); }; } &&
12702 { ac_try
='test -s conftest.$ac_objext'
12703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12704 (eval $ac_try) 2>&5
12706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12707 (exit $ac_status); }; }; then
12708 eval "$as_ac_Header=yes"
12710 echo "$as_me: failed program was:" >&5
12711 sed 's/^/| /' conftest.
$ac_ext >&5
12713 eval "$as_ac_Header=no"
12715 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12718 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12719 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12720 cat >>confdefs.h
<<_ACEOF
12721 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12730 for ac_header
in stdlib.h
12732 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12733 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12734 echo "$as_me:$LINENO: checking for $ac_header" >&5
12735 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12736 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12737 echo $ECHO_N "(cached) $ECHO_C" >&6
12739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12740 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12742 # Is the header compilable?
12743 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12744 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12745 cat >conftest.
$ac_ext <<_ACEOF
12748 cat confdefs.h
>>conftest.
$ac_ext
12749 cat >>conftest.
$ac_ext <<_ACEOF
12750 /* end confdefs.h. */
12751 $ac_includes_default
12752 #include <$ac_header>
12754 rm -f conftest.
$ac_objext
12755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12756 (eval $ac_compile) 2>conftest.er1
12758 grep -v '^ *+' conftest.er1
>conftest.err
12760 cat conftest.err
>&5
12761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12762 (exit $ac_status); } &&
12763 { ac_try
='test -z "$ac_c_werror_flag"
12764 || test ! -s conftest.err'
12765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12766 (eval $ac_try) 2>&5
12768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12769 (exit $ac_status); }; } &&
12770 { ac_try
='test -s conftest.$ac_objext'
12771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12772 (eval $ac_try) 2>&5
12774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12775 (exit $ac_status); }; }; then
12776 ac_header_compiler
=yes
12778 echo "$as_me: failed program was:" >&5
12779 sed 's/^/| /' conftest.
$ac_ext >&5
12781 ac_header_compiler
=no
12783 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12784 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12785 echo "${ECHO_T}$ac_header_compiler" >&6
12787 # Is the header present?
12788 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12789 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12790 cat >conftest.
$ac_ext <<_ACEOF
12793 cat confdefs.h
>>conftest.
$ac_ext
12794 cat >>conftest.
$ac_ext <<_ACEOF
12795 /* end confdefs.h. */
12796 #include <$ac_header>
12798 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12799 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12801 grep -v '^ *+' conftest.er1
>conftest.err
12803 cat conftest.err
>&5
12804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12805 (exit $ac_status); } >/dev
/null
; then
12806 if test -s conftest.err
; then
12807 ac_cpp_err
=$ac_c_preproc_warn_flag
12808 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12815 if test -z "$ac_cpp_err"; then
12816 ac_header_preproc
=yes
12818 echo "$as_me: failed program was:" >&5
12819 sed 's/^/| /' conftest.
$ac_ext >&5
12821 ac_header_preproc
=no
12823 rm -f conftest.err conftest.
$ac_ext
12824 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12825 echo "${ECHO_T}$ac_header_preproc" >&6
12827 # So? What about this header?
12828 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12830 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12831 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12832 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12833 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12834 ac_header_preproc
=yes
12837 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12838 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12839 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12840 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12841 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12842 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12843 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12844 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12845 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12846 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12847 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12848 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12851 ## ----------------------------------------- ##
12852 ## Report this to wx-dev@lists.wxwindows.org ##
12853 ## ----------------------------------------- ##
12856 sed "s/^/$as_me: WARNING: /" >&2
12859 echo "$as_me:$LINENO: checking for $ac_header" >&5
12860 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12861 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12862 echo $ECHO_N "(cached) $ECHO_C" >&6
12864 eval "$as_ac_Header=\$ac_header_preproc"
12866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12867 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12870 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12871 cat >>confdefs.h
<<_ACEOF
12872 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12880 for ac_header
in malloc.h
12882 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12883 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12884 echo "$as_me:$LINENO: checking for $ac_header" >&5
12885 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12886 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12887 echo $ECHO_N "(cached) $ECHO_C" >&6
12889 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12890 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12892 # Is the header compilable?
12893 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12894 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12895 cat >conftest.
$ac_ext <<_ACEOF
12898 cat confdefs.h
>>conftest.
$ac_ext
12899 cat >>conftest.
$ac_ext <<_ACEOF
12900 /* end confdefs.h. */
12901 $ac_includes_default
12902 #include <$ac_header>
12904 rm -f conftest.
$ac_objext
12905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12906 (eval $ac_compile) 2>conftest.er1
12908 grep -v '^ *+' conftest.er1
>conftest.err
12910 cat conftest.err
>&5
12911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12912 (exit $ac_status); } &&
12913 { ac_try
='test -z "$ac_c_werror_flag"
12914 || test ! -s conftest.err'
12915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12916 (eval $ac_try) 2>&5
12918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12919 (exit $ac_status); }; } &&
12920 { ac_try
='test -s conftest.$ac_objext'
12921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12922 (eval $ac_try) 2>&5
12924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12925 (exit $ac_status); }; }; then
12926 ac_header_compiler
=yes
12928 echo "$as_me: failed program was:" >&5
12929 sed 's/^/| /' conftest.
$ac_ext >&5
12931 ac_header_compiler
=no
12933 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12934 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12935 echo "${ECHO_T}$ac_header_compiler" >&6
12937 # Is the header present?
12938 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12939 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12940 cat >conftest.
$ac_ext <<_ACEOF
12943 cat confdefs.h
>>conftest.
$ac_ext
12944 cat >>conftest.
$ac_ext <<_ACEOF
12945 /* end confdefs.h. */
12946 #include <$ac_header>
12948 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12949 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12951 grep -v '^ *+' conftest.er1
>conftest.err
12953 cat conftest.err
>&5
12954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12955 (exit $ac_status); } >/dev
/null
; then
12956 if test -s conftest.err
; then
12957 ac_cpp_err
=$ac_c_preproc_warn_flag
12958 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12965 if test -z "$ac_cpp_err"; then
12966 ac_header_preproc
=yes
12968 echo "$as_me: failed program was:" >&5
12969 sed 's/^/| /' conftest.
$ac_ext >&5
12971 ac_header_preproc
=no
12973 rm -f conftest.err conftest.
$ac_ext
12974 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12975 echo "${ECHO_T}$ac_header_preproc" >&6
12977 # So? What about this header?
12978 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12980 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12981 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12982 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12983 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12984 ac_header_preproc
=yes
12987 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12988 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12989 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12990 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12991 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12992 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12993 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12994 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12995 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12996 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12997 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12998 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13001 ## ----------------------------------------- ##
13002 ## Report this to wx-dev@lists.wxwindows.org ##
13003 ## ----------------------------------------- ##
13006 sed "s/^/$as_me: WARNING: /" >&2
13009 echo "$as_me:$LINENO: checking for $ac_header" >&5
13010 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13011 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13012 echo $ECHO_N "(cached) $ECHO_C" >&6
13014 eval "$as_ac_Header=\$ac_header_preproc"
13016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13017 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13020 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13021 cat >>confdefs.h
<<_ACEOF
13022 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13030 for ac_header
in unistd.h
13032 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13033 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13034 echo "$as_me:$LINENO: checking for $ac_header" >&5
13035 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13036 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13037 echo $ECHO_N "(cached) $ECHO_C" >&6
13039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13040 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13042 # Is the header compilable?
13043 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13044 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13045 cat >conftest.
$ac_ext <<_ACEOF
13048 cat confdefs.h
>>conftest.
$ac_ext
13049 cat >>conftest.
$ac_ext <<_ACEOF
13050 /* end confdefs.h. */
13051 $ac_includes_default
13052 #include <$ac_header>
13054 rm -f conftest.
$ac_objext
13055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13056 (eval $ac_compile) 2>conftest.er1
13058 grep -v '^ *+' conftest.er1
>conftest.err
13060 cat conftest.err
>&5
13061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13062 (exit $ac_status); } &&
13063 { ac_try
='test -z "$ac_c_werror_flag"
13064 || test ! -s conftest.err'
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); }; } &&
13070 { ac_try
='test -s conftest.$ac_objext'
13071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13072 (eval $ac_try) 2>&5
13074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13075 (exit $ac_status); }; }; then
13076 ac_header_compiler
=yes
13078 echo "$as_me: failed program was:" >&5
13079 sed 's/^/| /' conftest.
$ac_ext >&5
13081 ac_header_compiler
=no
13083 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13084 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13085 echo "${ECHO_T}$ac_header_compiler" >&6
13087 # Is the header present?
13088 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13089 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13090 cat >conftest.
$ac_ext <<_ACEOF
13093 cat confdefs.h
>>conftest.
$ac_ext
13094 cat >>conftest.
$ac_ext <<_ACEOF
13095 /* end confdefs.h. */
13096 #include <$ac_header>
13098 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13099 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13101 grep -v '^ *+' conftest.er1
>conftest.err
13103 cat conftest.err
>&5
13104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13105 (exit $ac_status); } >/dev
/null
; then
13106 if test -s conftest.err
; then
13107 ac_cpp_err
=$ac_c_preproc_warn_flag
13108 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13115 if test -z "$ac_cpp_err"; then
13116 ac_header_preproc
=yes
13118 echo "$as_me: failed program was:" >&5
13119 sed 's/^/| /' conftest.
$ac_ext >&5
13121 ac_header_preproc
=no
13123 rm -f conftest.err conftest.
$ac_ext
13124 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13125 echo "${ECHO_T}$ac_header_preproc" >&6
13127 # So? What about this header?
13128 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13130 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13131 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13132 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13133 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13134 ac_header_preproc
=yes
13137 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13138 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13139 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13140 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13141 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13142 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13143 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13144 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13145 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13146 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13147 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13148 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13151 ## ----------------------------------------- ##
13152 ## Report this to wx-dev@lists.wxwindows.org ##
13153 ## ----------------------------------------- ##
13156 sed "s/^/$as_me: WARNING: /" >&2
13159 echo "$as_me:$LINENO: checking for $ac_header" >&5
13160 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13161 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13162 echo $ECHO_N "(cached) $ECHO_C" >&6
13164 eval "$as_ac_Header=\$ac_header_preproc"
13166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13167 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13170 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13171 cat >>confdefs.h
<<_ACEOF
13172 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13180 for ac_header
in wchar.h
13182 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13183 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13184 echo "$as_me:$LINENO: checking for $ac_header" >&5
13185 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13186 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13187 echo $ECHO_N "(cached) $ECHO_C" >&6
13189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13190 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13192 # Is the header compilable?
13193 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13194 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13195 cat >conftest.
$ac_ext <<_ACEOF
13198 cat confdefs.h
>>conftest.
$ac_ext
13199 cat >>conftest.
$ac_ext <<_ACEOF
13200 /* end confdefs.h. */
13201 $ac_includes_default
13202 #include <$ac_header>
13204 rm -f conftest.
$ac_objext
13205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13206 (eval $ac_compile) 2>conftest.er1
13208 grep -v '^ *+' conftest.er1
>conftest.err
13210 cat conftest.err
>&5
13211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13212 (exit $ac_status); } &&
13213 { ac_try
='test -z "$ac_c_werror_flag"
13214 || test ! -s conftest.err'
13215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13216 (eval $ac_try) 2>&5
13218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13219 (exit $ac_status); }; } &&
13220 { ac_try
='test -s conftest.$ac_objext'
13221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13222 (eval $ac_try) 2>&5
13224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13225 (exit $ac_status); }; }; then
13226 ac_header_compiler
=yes
13228 echo "$as_me: failed program was:" >&5
13229 sed 's/^/| /' conftest.
$ac_ext >&5
13231 ac_header_compiler
=no
13233 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13234 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13235 echo "${ECHO_T}$ac_header_compiler" >&6
13237 # Is the header present?
13238 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13239 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13240 cat >conftest.
$ac_ext <<_ACEOF
13243 cat confdefs.h
>>conftest.
$ac_ext
13244 cat >>conftest.
$ac_ext <<_ACEOF
13245 /* end confdefs.h. */
13246 #include <$ac_header>
13248 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13249 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13251 grep -v '^ *+' conftest.er1
>conftest.err
13253 cat conftest.err
>&5
13254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13255 (exit $ac_status); } >/dev
/null
; then
13256 if test -s conftest.err
; then
13257 ac_cpp_err
=$ac_c_preproc_warn_flag
13258 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13265 if test -z "$ac_cpp_err"; then
13266 ac_header_preproc
=yes
13268 echo "$as_me: failed program was:" >&5
13269 sed 's/^/| /' conftest.
$ac_ext >&5
13271 ac_header_preproc
=no
13273 rm -f conftest.err conftest.
$ac_ext
13274 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13275 echo "${ECHO_T}$ac_header_preproc" >&6
13277 # So? What about this header?
13278 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13280 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13281 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13282 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13283 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13284 ac_header_preproc
=yes
13287 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13288 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13289 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13290 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13291 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13292 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13293 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13294 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&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;}
13297 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13298 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13301 ## ----------------------------------------- ##
13302 ## Report this to wx-dev@lists.wxwindows.org ##
13303 ## ----------------------------------------- ##
13306 sed "s/^/$as_me: WARNING: /" >&2
13309 echo "$as_me:$LINENO: checking for $ac_header" >&5
13310 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13311 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13312 echo $ECHO_N "(cached) $ECHO_C" >&6
13314 eval "$as_ac_Header=\$ac_header_preproc"
13316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13317 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13320 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13321 cat >>confdefs.h
<<_ACEOF
13322 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13330 if test "$ac_cv_header_wchar_h" != "yes"; then
13332 for ac_header
in wcstr.h
13334 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13335 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13336 echo "$as_me:$LINENO: checking for $ac_header" >&5
13337 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13338 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13339 echo $ECHO_N "(cached) $ECHO_C" >&6
13341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13342 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13344 # Is the header compilable?
13345 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13346 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13347 cat >conftest.
$ac_ext <<_ACEOF
13350 cat confdefs.h
>>conftest.
$ac_ext
13351 cat >>conftest.
$ac_ext <<_ACEOF
13352 /* end confdefs.h. */
13353 $ac_includes_default
13354 #include <$ac_header>
13356 rm -f conftest.
$ac_objext
13357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13358 (eval $ac_compile) 2>conftest.er1
13360 grep -v '^ *+' conftest.er1
>conftest.err
13362 cat conftest.err
>&5
13363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13364 (exit $ac_status); } &&
13365 { ac_try
='test -z "$ac_c_werror_flag"
13366 || test ! -s conftest.err'
13367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13368 (eval $ac_try) 2>&5
13370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13371 (exit $ac_status); }; } &&
13372 { ac_try
='test -s conftest.$ac_objext'
13373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13374 (eval $ac_try) 2>&5
13376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13377 (exit $ac_status); }; }; then
13378 ac_header_compiler
=yes
13380 echo "$as_me: failed program was:" >&5
13381 sed 's/^/| /' conftest.
$ac_ext >&5
13383 ac_header_compiler
=no
13385 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13386 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13387 echo "${ECHO_T}$ac_header_compiler" >&6
13389 # Is the header present?
13390 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13391 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13392 cat >conftest.
$ac_ext <<_ACEOF
13395 cat confdefs.h
>>conftest.
$ac_ext
13396 cat >>conftest.
$ac_ext <<_ACEOF
13397 /* end confdefs.h. */
13398 #include <$ac_header>
13400 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13401 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13403 grep -v '^ *+' conftest.er1
>conftest.err
13405 cat conftest.err
>&5
13406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13407 (exit $ac_status); } >/dev
/null
; then
13408 if test -s conftest.err
; then
13409 ac_cpp_err
=$ac_c_preproc_warn_flag
13410 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13417 if test -z "$ac_cpp_err"; then
13418 ac_header_preproc
=yes
13420 echo "$as_me: failed program was:" >&5
13421 sed 's/^/| /' conftest.
$ac_ext >&5
13423 ac_header_preproc
=no
13425 rm -f conftest.err conftest.
$ac_ext
13426 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13427 echo "${ECHO_T}$ac_header_preproc" >&6
13429 # So? What about this header?
13430 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13432 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13433 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13434 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13435 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13436 ac_header_preproc
=yes
13439 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13440 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13441 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13442 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13443 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13444 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13445 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13446 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13447 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13448 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13449 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13450 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13453 ## ----------------------------------------- ##
13454 ## Report this to wx-dev@lists.wxwindows.org ##
13455 ## ----------------------------------------- ##
13458 sed "s/^/$as_me: WARNING: /" >&2
13461 echo "$as_me:$LINENO: checking for $ac_header" >&5
13462 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13463 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13464 echo $ECHO_N "(cached) $ECHO_C" >&6
13466 eval "$as_ac_Header=\$ac_header_preproc"
13468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13469 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13472 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13473 cat >>confdefs.h
<<_ACEOF
13474 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13484 for ac_header
in fnmatch.h
13486 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13487 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13488 echo "$as_me:$LINENO: checking for $ac_header" >&5
13489 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13490 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13491 echo $ECHO_N "(cached) $ECHO_C" >&6
13493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13494 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13496 # Is the header compilable?
13497 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13498 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13499 cat >conftest.
$ac_ext <<_ACEOF
13502 cat confdefs.h
>>conftest.
$ac_ext
13503 cat >>conftest.
$ac_ext <<_ACEOF
13504 /* end confdefs.h. */
13505 $ac_includes_default
13506 #include <$ac_header>
13508 rm -f conftest.
$ac_objext
13509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13510 (eval $ac_compile) 2>conftest.er1
13512 grep -v '^ *+' conftest.er1
>conftest.err
13514 cat conftest.err
>&5
13515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13516 (exit $ac_status); } &&
13517 { ac_try
='test -z "$ac_c_werror_flag"
13518 || test ! -s conftest.err'
13519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13520 (eval $ac_try) 2>&5
13522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13523 (exit $ac_status); }; } &&
13524 { ac_try
='test -s conftest.$ac_objext'
13525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13526 (eval $ac_try) 2>&5
13528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13529 (exit $ac_status); }; }; then
13530 ac_header_compiler
=yes
13532 echo "$as_me: failed program was:" >&5
13533 sed 's/^/| /' conftest.
$ac_ext >&5
13535 ac_header_compiler
=no
13537 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13538 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13539 echo "${ECHO_T}$ac_header_compiler" >&6
13541 # Is the header present?
13542 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13543 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13544 cat >conftest.
$ac_ext <<_ACEOF
13547 cat confdefs.h
>>conftest.
$ac_ext
13548 cat >>conftest.
$ac_ext <<_ACEOF
13549 /* end confdefs.h. */
13550 #include <$ac_header>
13552 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13553 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13555 grep -v '^ *+' conftest.er1
>conftest.err
13557 cat conftest.err
>&5
13558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13559 (exit $ac_status); } >/dev
/null
; then
13560 if test -s conftest.err
; then
13561 ac_cpp_err
=$ac_c_preproc_warn_flag
13562 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13569 if test -z "$ac_cpp_err"; then
13570 ac_header_preproc
=yes
13572 echo "$as_me: failed program was:" >&5
13573 sed 's/^/| /' conftest.
$ac_ext >&5
13575 ac_header_preproc
=no
13577 rm -f conftest.err conftest.
$ac_ext
13578 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13579 echo "${ECHO_T}$ac_header_preproc" >&6
13581 # So? What about this header?
13582 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13584 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13585 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13586 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13587 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13588 ac_header_preproc
=yes
13591 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13592 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13593 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13594 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13595 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13596 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13597 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13598 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13599 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13600 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13601 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13602 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13605 ## ----------------------------------------- ##
13606 ## Report this to wx-dev@lists.wxwindows.org ##
13607 ## ----------------------------------------- ##
13610 sed "s/^/$as_me: WARNING: /" >&2
13613 echo "$as_me:$LINENO: checking for $ac_header" >&5
13614 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13615 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13616 echo $ECHO_N "(cached) $ECHO_C" >&6
13618 eval "$as_ac_Header=\$ac_header_preproc"
13620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13621 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13624 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13625 cat >>confdefs.h
<<_ACEOF
13626 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13634 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13636 for ac_func
in fnmatch
13638 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13639 echo "$as_me:$LINENO: checking for $ac_func" >&5
13640 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13641 if eval "test \"\${$as_ac_var+set}\" = set"; then
13642 echo $ECHO_N "(cached) $ECHO_C" >&6
13644 cat >conftest.
$ac_ext <<_ACEOF
13647 cat confdefs.h
>>conftest.
$ac_ext
13648 cat >>conftest.
$ac_ext <<_ACEOF
13649 /* end confdefs.h. */
13650 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13651 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13652 #define $ac_func innocuous_$ac_func
13654 /* System header to define __stub macros and hopefully few prototypes,
13655 which can conflict with char $ac_func (); below.
13656 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13657 <limits.h> exists even on freestanding compilers. */
13660 # include <limits.h>
13662 # include <assert.h>
13667 /* Override any gcc2 internal prototype to avoid an error. */
13672 /* We use char because int might match the return type of a gcc2
13673 builtin and then its argument prototype would still apply. */
13675 /* The GNU C library defines this for functions which it implements
13676 to always fail with ENOSYS. Some functions are actually named
13677 something starting with __ and the normal name is an alias. */
13678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13681 char (*f) () = $ac_func;
13690 return f != $ac_func;
13695 rm -f conftest.
$ac_objext conftest
$ac_exeext
13696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13697 (eval $ac_link) 2>conftest.er1
13699 grep -v '^ *+' conftest.er1
>conftest.err
13701 cat conftest.err
>&5
13702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13703 (exit $ac_status); } &&
13704 { ac_try
='test -z "$ac_c_werror_flag"
13705 || test ! -s conftest.err'
13706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13707 (eval $ac_try) 2>&5
13709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13710 (exit $ac_status); }; } &&
13711 { ac_try
='test -s conftest$ac_exeext'
13712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13713 (eval $ac_try) 2>&5
13715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13716 (exit $ac_status); }; }; then
13717 eval "$as_ac_var=yes"
13719 echo "$as_me: failed program was:" >&5
13720 sed 's/^/| /' conftest.
$ac_ext >&5
13722 eval "$as_ac_var=no"
13724 rm -f conftest.err conftest.
$ac_objext \
13725 conftest
$ac_exeext conftest.
$ac_ext
13727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13728 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13729 if test `eval echo '${'$as_ac_var'}'` = yes; then
13730 cat >>confdefs.h
<<_ACEOF
13731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13740 for ac_header
in langinfo.h
13742 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13743 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13744 echo "$as_me:$LINENO: checking for $ac_header" >&5
13745 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13746 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13747 echo $ECHO_N "(cached) $ECHO_C" >&6
13749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13750 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13752 # Is the header compilable?
13753 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13754 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13755 cat >conftest.
$ac_ext <<_ACEOF
13758 cat confdefs.h
>>conftest.
$ac_ext
13759 cat >>conftest.
$ac_ext <<_ACEOF
13760 /* end confdefs.h. */
13761 $ac_includes_default
13762 #include <$ac_header>
13764 rm -f conftest.
$ac_objext
13765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13766 (eval $ac_compile) 2>conftest.er1
13768 grep -v '^ *+' conftest.er1
>conftest.err
13770 cat conftest.err
>&5
13771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13772 (exit $ac_status); } &&
13773 { ac_try
='test -z "$ac_c_werror_flag"
13774 || test ! -s conftest.err'
13775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13776 (eval $ac_try) 2>&5
13778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13779 (exit $ac_status); }; } &&
13780 { ac_try
='test -s conftest.$ac_objext'
13781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13782 (eval $ac_try) 2>&5
13784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13785 (exit $ac_status); }; }; then
13786 ac_header_compiler
=yes
13788 echo "$as_me: failed program was:" >&5
13789 sed 's/^/| /' conftest.
$ac_ext >&5
13791 ac_header_compiler
=no
13793 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13794 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13795 echo "${ECHO_T}$ac_header_compiler" >&6
13797 # Is the header present?
13798 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13799 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13800 cat >conftest.
$ac_ext <<_ACEOF
13803 cat confdefs.h
>>conftest.
$ac_ext
13804 cat >>conftest.
$ac_ext <<_ACEOF
13805 /* end confdefs.h. */
13806 #include <$ac_header>
13808 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13809 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13811 grep -v '^ *+' conftest.er1
>conftest.err
13813 cat conftest.err
>&5
13814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13815 (exit $ac_status); } >/dev
/null
; then
13816 if test -s conftest.err
; then
13817 ac_cpp_err
=$ac_c_preproc_warn_flag
13818 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13825 if test -z "$ac_cpp_err"; then
13826 ac_header_preproc
=yes
13828 echo "$as_me: failed program was:" >&5
13829 sed 's/^/| /' conftest.
$ac_ext >&5
13831 ac_header_preproc
=no
13833 rm -f conftest.err conftest.
$ac_ext
13834 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13835 echo "${ECHO_T}$ac_header_preproc" >&6
13837 # So? What about this header?
13838 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13840 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13841 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13842 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13843 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13844 ac_header_preproc
=yes
13847 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13848 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13849 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13850 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13851 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13852 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13853 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13854 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13855 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13856 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13857 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13858 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13861 ## ----------------------------------------- ##
13862 ## Report this to wx-dev@lists.wxwindows.org ##
13863 ## ----------------------------------------- ##
13866 sed "s/^/$as_me: WARNING: /" >&2
13869 echo "$as_me:$LINENO: checking for $ac_header" >&5
13870 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13871 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13872 echo $ECHO_N "(cached) $ECHO_C" >&6
13874 eval "$as_ac_Header=\$ac_header_preproc"
13876 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13877 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13880 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13881 cat >>confdefs.h
<<_ACEOF
13882 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13891 *-pc-os2_emx | *-pc-os2-emx )
13892 if test $ac_cv_header_langinfo_h = "yes"; then
13893 LIBS
="$LIBS -lintl"
13898 if test "$wxUSE_GUI" = "yes"; then
13899 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
13901 for ac_header
in X
11/Xlib.h
13903 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13904 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13905 echo "$as_me:$LINENO: checking for $ac_header" >&5
13906 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13907 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13908 echo $ECHO_N "(cached) $ECHO_C" >&6
13910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13911 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13913 # Is the header compilable?
13914 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13915 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13916 cat >conftest.
$ac_ext <<_ACEOF
13919 cat confdefs.h
>>conftest.
$ac_ext
13920 cat >>conftest.
$ac_ext <<_ACEOF
13921 /* end confdefs.h. */
13922 $ac_includes_default
13923 #include <$ac_header>
13925 rm -f conftest.
$ac_objext
13926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13927 (eval $ac_compile) 2>conftest.er1
13929 grep -v '^ *+' conftest.er1
>conftest.err
13931 cat conftest.err
>&5
13932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13933 (exit $ac_status); } &&
13934 { ac_try
='test -z "$ac_c_werror_flag"
13935 || test ! -s conftest.err'
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); }; } &&
13941 { ac_try
='test -s conftest.$ac_objext'
13942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13943 (eval $ac_try) 2>&5
13945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13946 (exit $ac_status); }; }; then
13947 ac_header_compiler
=yes
13949 echo "$as_me: failed program was:" >&5
13950 sed 's/^/| /' conftest.
$ac_ext >&5
13952 ac_header_compiler
=no
13954 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13955 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13956 echo "${ECHO_T}$ac_header_compiler" >&6
13958 # Is the header present?
13959 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13960 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13961 cat >conftest.
$ac_ext <<_ACEOF
13964 cat confdefs.h
>>conftest.
$ac_ext
13965 cat >>conftest.
$ac_ext <<_ACEOF
13966 /* end confdefs.h. */
13967 #include <$ac_header>
13969 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13970 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13972 grep -v '^ *+' conftest.er1
>conftest.err
13974 cat conftest.err
>&5
13975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13976 (exit $ac_status); } >/dev
/null
; then
13977 if test -s conftest.err
; then
13978 ac_cpp_err
=$ac_c_preproc_warn_flag
13979 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13986 if test -z "$ac_cpp_err"; then
13987 ac_header_preproc
=yes
13989 echo "$as_me: failed program was:" >&5
13990 sed 's/^/| /' conftest.
$ac_ext >&5
13992 ac_header_preproc
=no
13994 rm -f conftest.err conftest.
$ac_ext
13995 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13996 echo "${ECHO_T}$ac_header_preproc" >&6
13998 # So? What about this header?
13999 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14001 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14002 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14003 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14004 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14005 ac_header_preproc
=yes
14008 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14009 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14010 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14011 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14012 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14013 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14014 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14015 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14016 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14017 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14018 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14019 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14022 ## ----------------------------------------- ##
14023 ## Report this to wx-dev@lists.wxwindows.org ##
14024 ## ----------------------------------------- ##
14027 sed "s/^/$as_me: WARNING: /" >&2
14030 echo "$as_me:$LINENO: checking for $ac_header" >&5
14031 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14032 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14033 echo $ECHO_N "(cached) $ECHO_C" >&6
14035 eval "$as_ac_Header=\$ac_header_preproc"
14037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14038 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14041 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14042 cat >>confdefs.h
<<_ACEOF
14043 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14051 for ac_header
in X
11/XKBlib.h
14053 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14054 echo "$as_me:$LINENO: checking for $ac_header" >&5
14055 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14056 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14057 echo $ECHO_N "(cached) $ECHO_C" >&6
14059 cat >conftest.
$ac_ext <<_ACEOF
14062 cat confdefs.h
>>conftest.
$ac_ext
14063 cat >>conftest.
$ac_ext <<_ACEOF
14064 /* end confdefs.h. */
14066 #if HAVE_X11_XLIB_H
14067 #include <X11/Xlib.h>
14071 #include <$ac_header>
14073 rm -f conftest.
$ac_objext
14074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14075 (eval $ac_compile) 2>conftest.er1
14077 grep -v '^ *+' conftest.er1
>conftest.err
14079 cat conftest.err
>&5
14080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14081 (exit $ac_status); } &&
14082 { ac_try
='test -z "$ac_c_werror_flag"
14083 || test ! -s conftest.err'
14084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14085 (eval $ac_try) 2>&5
14087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14088 (exit $ac_status); }; } &&
14089 { ac_try
='test -s conftest.$ac_objext'
14090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14091 (eval $ac_try) 2>&5
14093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14094 (exit $ac_status); }; }; then
14095 eval "$as_ac_Header=yes"
14097 echo "$as_me: failed program was:" >&5
14098 sed 's/^/| /' conftest.
$ac_ext >&5
14100 eval "$as_ac_Header=no"
14102 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14105 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14106 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14107 cat >>confdefs.h
<<_ACEOF
14108 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14119 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14120 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14121 if test "${ac_cv_c_const+set}" = set; then
14122 echo $ECHO_N "(cached) $ECHO_C" >&6
14124 cat >conftest.
$ac_ext <<_ACEOF
14127 cat confdefs.h
>>conftest.
$ac_ext
14128 cat >>conftest.
$ac_ext <<_ACEOF
14129 /* end confdefs.h. */
14134 /* FIXME: Include the comments suggested by Paul. */
14135 #ifndef __cplusplus
14136 /* Ultrix mips cc rejects this. */
14137 typedef int charset[2];
14139 /* SunOS 4.1.1 cc rejects this. */
14140 char const *const *ccp;
14142 /* NEC SVR4.0.2 mips cc rejects this. */
14143 struct point {int x, y;};
14144 static struct point const zero = {0,0};
14145 /* AIX XL C 1.02.0.0 rejects this.
14146 It does not let you subtract one const X* pointer from another in
14147 an arm of an if-expression whose if-part is not a constant
14149 const char *g = "string";
14150 ccp = &g + (g ? g-g : 0);
14151 /* HPUX 7.0 cc rejects these. */
14154 ccp = (char const *const *) p;
14155 { /* SCO 3.2v4 cc rejects this. */
14157 char const *s = 0 ? (char *) 0 : (char const *) 0;
14161 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14162 int x[] = {25, 17};
14163 const int *foo = &x[0];
14166 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14167 typedef const int *iptr;
14171 { /* AIX XL C 1.02.0.0 rejects this saying
14172 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14173 struct s { int j; const int *ap[3]; };
14174 struct s *b; b->j = 5;
14176 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14177 const int foo = 10;
14185 rm -f conftest.
$ac_objext
14186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14187 (eval $ac_compile) 2>conftest.er1
14189 grep -v '^ *+' conftest.er1
>conftest.err
14191 cat conftest.err
>&5
14192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14193 (exit $ac_status); } &&
14194 { ac_try
='test -z "$ac_c_werror_flag"
14195 || test ! -s conftest.err'
14196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14197 (eval $ac_try) 2>&5
14199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14200 (exit $ac_status); }; } &&
14201 { ac_try
='test -s conftest.$ac_objext'
14202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14203 (eval $ac_try) 2>&5
14205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14206 (exit $ac_status); }; }; then
14209 echo "$as_me: failed program was:" >&5
14210 sed 's/^/| /' conftest.
$ac_ext >&5
14214 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14216 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14217 echo "${ECHO_T}$ac_cv_c_const" >&6
14218 if test $ac_cv_c_const = no
; then
14220 cat >>confdefs.h
<<\_ACEOF
14226 echo "$as_me:$LINENO: checking for inline" >&5
14227 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14228 if test "${ac_cv_c_inline+set}" = set; then
14229 echo $ECHO_N "(cached) $ECHO_C" >&6
14232 for ac_kw
in inline __inline__ __inline
; do
14233 cat >conftest.
$ac_ext <<_ACEOF
14236 cat confdefs.h
>>conftest.
$ac_ext
14237 cat >>conftest.
$ac_ext <<_ACEOF
14238 /* end confdefs.h. */
14239 #ifndef __cplusplus
14241 static $ac_kw foo_t static_foo () {return 0; }
14242 $ac_kw foo_t foo () {return 0; }
14246 rm -f conftest.
$ac_objext
14247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14248 (eval $ac_compile) 2>conftest.er1
14250 grep -v '^ *+' conftest.er1
>conftest.err
14252 cat conftest.err
>&5
14253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14254 (exit $ac_status); } &&
14255 { ac_try
='test -z "$ac_c_werror_flag"
14256 || test ! -s conftest.err'
14257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14258 (eval $ac_try) 2>&5
14260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14261 (exit $ac_status); }; } &&
14262 { ac_try
='test -s conftest.$ac_objext'
14263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14264 (eval $ac_try) 2>&5
14266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14267 (exit $ac_status); }; }; then
14268 ac_cv_c_inline
=$ac_kw; break
14270 echo "$as_me: failed program was:" >&5
14271 sed 's/^/| /' conftest.
$ac_ext >&5
14274 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14278 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14279 echo "${ECHO_T}$ac_cv_c_inline" >&6
14282 case $ac_cv_c_inline in
14285 case $ac_cv_c_inline in
14287 *) ac_val
=$ac_cv_c_inline;;
14289 cat >>confdefs.h
<<_ACEOF
14290 #ifndef __cplusplus
14291 #define inline $ac_val
14298 echo "$as_me:$LINENO: checking for char" >&5
14299 echo $ECHO_N "checking for char... $ECHO_C" >&6
14300 if test "${ac_cv_type_char+set}" = set; then
14301 echo $ECHO_N "(cached) $ECHO_C" >&6
14303 cat >conftest.
$ac_ext <<_ACEOF
14306 cat confdefs.h
>>conftest.
$ac_ext
14307 cat >>conftest.
$ac_ext <<_ACEOF
14308 /* end confdefs.h. */
14309 $ac_includes_default
14321 rm -f conftest.
$ac_objext
14322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14323 (eval $ac_compile) 2>conftest.er1
14325 grep -v '^ *+' conftest.er1
>conftest.err
14327 cat conftest.err
>&5
14328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14329 (exit $ac_status); } &&
14330 { ac_try
='test -z "$ac_c_werror_flag"
14331 || test ! -s conftest.err'
14332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14333 (eval $ac_try) 2>&5
14335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14336 (exit $ac_status); }; } &&
14337 { ac_try
='test -s conftest.$ac_objext'
14338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14339 (eval $ac_try) 2>&5
14341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14342 (exit $ac_status); }; }; then
14343 ac_cv_type_char
=yes
14345 echo "$as_me: failed program was:" >&5
14346 sed 's/^/| /' conftest.
$ac_ext >&5
14350 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14352 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14353 echo "${ECHO_T}$ac_cv_type_char" >&6
14355 echo "$as_me:$LINENO: checking size of char" >&5
14356 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14357 if test "${ac_cv_sizeof_char+set}" = set; then
14358 echo $ECHO_N "(cached) $ECHO_C" >&6
14360 if test "$ac_cv_type_char" = yes; then
14361 # The cast to unsigned long works around a bug in the HP C Compiler
14362 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14363 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14364 # This bug is HP SR number 8606223364.
14365 if test "$cross_compiling" = yes; then
14366 # Depending upon the size, compute the lo and hi bounds.
14367 cat >conftest.
$ac_ext <<_ACEOF
14370 cat confdefs.h
>>conftest.
$ac_ext
14371 cat >>conftest.
$ac_ext <<_ACEOF
14372 /* end confdefs.h. */
14373 $ac_includes_default
14377 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14384 rm -f conftest.
$ac_objext
14385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14386 (eval $ac_compile) 2>conftest.er1
14388 grep -v '^ *+' conftest.er1
>conftest.err
14390 cat conftest.err
>&5
14391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14392 (exit $ac_status); } &&
14393 { ac_try
='test -z "$ac_c_werror_flag"
14394 || test ! -s conftest.err'
14395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14396 (eval $ac_try) 2>&5
14398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14399 (exit $ac_status); }; } &&
14400 { ac_try
='test -s conftest.$ac_objext'
14401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14402 (eval $ac_try) 2>&5
14404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14405 (exit $ac_status); }; }; then
14408 cat >conftest.
$ac_ext <<_ACEOF
14411 cat confdefs.h
>>conftest.
$ac_ext
14412 cat >>conftest.
$ac_ext <<_ACEOF
14413 /* end confdefs.h. */
14414 $ac_includes_default
14418 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14425 rm -f conftest.
$ac_objext
14426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14427 (eval $ac_compile) 2>conftest.er1
14429 grep -v '^ *+' conftest.er1
>conftest.err
14431 cat conftest.err
>&5
14432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14433 (exit $ac_status); } &&
14434 { ac_try
='test -z "$ac_c_werror_flag"
14435 || test ! -s conftest.err'
14436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14437 (eval $ac_try) 2>&5
14439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14440 (exit $ac_status); }; } &&
14441 { ac_try
='test -s conftest.$ac_objext'
14442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14443 (eval $ac_try) 2>&5
14445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14446 (exit $ac_status); }; }; then
14447 ac_hi
=$ac_mid; break
14449 echo "$as_me: failed program was:" >&5
14450 sed 's/^/| /' conftest.
$ac_ext >&5
14452 ac_lo
=`expr $ac_mid + 1`
14453 if test $ac_lo -le $ac_mid; then
14457 ac_mid
=`expr 2 '*' $ac_mid + 1`
14459 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14462 echo "$as_me: failed program was:" >&5
14463 sed 's/^/| /' conftest.
$ac_ext >&5
14465 cat >conftest.
$ac_ext <<_ACEOF
14468 cat confdefs.h
>>conftest.
$ac_ext
14469 cat >>conftest.
$ac_ext <<_ACEOF
14470 /* end confdefs.h. */
14471 $ac_includes_default
14475 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14482 rm -f conftest.
$ac_objext
14483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14484 (eval $ac_compile) 2>conftest.er1
14486 grep -v '^ *+' conftest.er1
>conftest.err
14488 cat conftest.err
>&5
14489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14490 (exit $ac_status); } &&
14491 { ac_try
='test -z "$ac_c_werror_flag"
14492 || test ! -s conftest.err'
14493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14494 (eval $ac_try) 2>&5
14496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14497 (exit $ac_status); }; } &&
14498 { ac_try
='test -s conftest.$ac_objext'
14499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14500 (eval $ac_try) 2>&5
14502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14503 (exit $ac_status); }; }; then
14506 cat >conftest.
$ac_ext <<_ACEOF
14509 cat confdefs.h
>>conftest.
$ac_ext
14510 cat >>conftest.
$ac_ext <<_ACEOF
14511 /* end confdefs.h. */
14512 $ac_includes_default
14516 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14523 rm -f conftest.
$ac_objext
14524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14525 (eval $ac_compile) 2>conftest.er1
14527 grep -v '^ *+' conftest.er1
>conftest.err
14529 cat conftest.err
>&5
14530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14531 (exit $ac_status); } &&
14532 { ac_try
='test -z "$ac_c_werror_flag"
14533 || test ! -s conftest.err'
14534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14535 (eval $ac_try) 2>&5
14537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14538 (exit $ac_status); }; } &&
14539 { ac_try
='test -s conftest.$ac_objext'
14540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14541 (eval $ac_try) 2>&5
14543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14544 (exit $ac_status); }; }; then
14545 ac_lo
=$ac_mid; break
14547 echo "$as_me: failed program was:" >&5
14548 sed 's/^/| /' conftest.
$ac_ext >&5
14550 ac_hi
=`expr '(' $ac_mid ')' - 1`
14551 if test $ac_mid -le $ac_hi; then
14555 ac_mid
=`expr 2 '*' $ac_mid`
14557 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14560 echo "$as_me: failed program was:" >&5
14561 sed 's/^/| /' conftest.
$ac_ext >&5
14565 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14567 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14568 # Binary search between lo and hi bounds.
14569 while test "x$ac_lo" != "x$ac_hi"; do
14570 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14571 cat >conftest.
$ac_ext <<_ACEOF
14574 cat confdefs.h
>>conftest.
$ac_ext
14575 cat >>conftest.
$ac_ext <<_ACEOF
14576 /* end confdefs.h. */
14577 $ac_includes_default
14581 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14588 rm -f conftest.
$ac_objext
14589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14590 (eval $ac_compile) 2>conftest.er1
14592 grep -v '^ *+' conftest.er1
>conftest.err
14594 cat conftest.err
>&5
14595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14596 (exit $ac_status); } &&
14597 { ac_try
='test -z "$ac_c_werror_flag"
14598 || test ! -s conftest.err'
14599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14600 (eval $ac_try) 2>&5
14602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14603 (exit $ac_status); }; } &&
14604 { ac_try
='test -s conftest.$ac_objext'
14605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14606 (eval $ac_try) 2>&5
14608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14609 (exit $ac_status); }; }; then
14612 echo "$as_me: failed program was:" >&5
14613 sed 's/^/| /' conftest.
$ac_ext >&5
14615 ac_lo
=`expr '(' $ac_mid ')' + 1`
14617 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14620 ?
*) ac_cv_sizeof_char
=$ac_lo;;
14621 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14622 See \`config.log' for more details." >&5
14623 echo "$as_me: error: cannot compute sizeof (char), 77
14624 See \`config.log' for more details." >&2;}
14625 { (exit 1); exit 1; }; } ;;
14628 if test "$cross_compiling" = yes; then
14629 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14630 See \`config.log' for more details." >&5
14631 echo "$as_me: error: cannot run test program while cross compiling
14632 See \`config.log' for more details." >&2;}
14633 { (exit 1); exit 1; }; }
14635 cat >conftest.
$ac_ext <<_ACEOF
14638 cat confdefs.h
>>conftest.
$ac_ext
14639 cat >>conftest.
$ac_ext <<_ACEOF
14640 /* end confdefs.h. */
14641 $ac_includes_default
14642 long longval () { return (long) (sizeof (char)); }
14643 unsigned long ulongval () { return (long) (sizeof (char)); }
14645 #include <stdlib.h>
14650 FILE *f = fopen ("conftest.val", "w");
14653 if (((long) (sizeof (char))) < 0)
14655 long i = longval ();
14656 if (i != ((long) (sizeof (char))))
14658 fprintf (f, "%ld\n", i);
14662 unsigned long i = ulongval ();
14663 if (i != ((long) (sizeof (char))))
14665 fprintf (f, "%lu\n", i);
14667 exit (ferror (f) || fclose (f) != 0);
14673 rm -f conftest
$ac_exeext
14674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14675 (eval $ac_link) 2>&5
14677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14678 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14680 (eval $ac_try) 2>&5
14682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14683 (exit $ac_status); }; }; then
14684 ac_cv_sizeof_char
=`cat conftest.val`
14686 echo "$as_me: program exited with status $ac_status" >&5
14687 echo "$as_me: failed program was:" >&5
14688 sed 's/^/| /' conftest.
$ac_ext >&5
14690 ( exit $ac_status )
14691 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14692 See \`config.log' for more details." >&5
14693 echo "$as_me: error: cannot compute sizeof (char), 77
14694 See \`config.log' for more details." >&2;}
14695 { (exit 1); exit 1; }; }
14697 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14702 ac_cv_sizeof_char
=0
14705 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14706 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14707 cat >>confdefs.h
<<_ACEOF
14708 #define SIZEOF_CHAR $ac_cv_sizeof_char
14712 echo "$as_me:$LINENO: checking for short" >&5
14713 echo $ECHO_N "checking for short... $ECHO_C" >&6
14714 if test "${ac_cv_type_short+set}" = set; then
14715 echo $ECHO_N "(cached) $ECHO_C" >&6
14717 cat >conftest.
$ac_ext <<_ACEOF
14720 cat confdefs.h
>>conftest.
$ac_ext
14721 cat >>conftest.
$ac_ext <<_ACEOF
14722 /* end confdefs.h. */
14723 $ac_includes_default
14729 if (sizeof (short))
14735 rm -f conftest.
$ac_objext
14736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14737 (eval $ac_compile) 2>conftest.er1
14739 grep -v '^ *+' conftest.er1
>conftest.err
14741 cat conftest.err
>&5
14742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14743 (exit $ac_status); } &&
14744 { ac_try
='test -z "$ac_c_werror_flag"
14745 || test ! -s conftest.err'
14746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14747 (eval $ac_try) 2>&5
14749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14750 (exit $ac_status); }; } &&
14751 { ac_try
='test -s conftest.$ac_objext'
14752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14753 (eval $ac_try) 2>&5
14755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14756 (exit $ac_status); }; }; then
14757 ac_cv_type_short
=yes
14759 echo "$as_me: failed program was:" >&5
14760 sed 's/^/| /' conftest.
$ac_ext >&5
14762 ac_cv_type_short
=no
14764 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14766 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14767 echo "${ECHO_T}$ac_cv_type_short" >&6
14769 echo "$as_me:$LINENO: checking size of short" >&5
14770 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14771 if test "${ac_cv_sizeof_short+set}" = set; then
14772 echo $ECHO_N "(cached) $ECHO_C" >&6
14774 if test "$ac_cv_type_short" = yes; then
14775 # The cast to unsigned long works around a bug in the HP C Compiler
14776 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14777 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14778 # This bug is HP SR number 8606223364.
14779 if test "$cross_compiling" = yes; then
14780 # Depending upon the size, compute the lo and hi bounds.
14781 cat >conftest.
$ac_ext <<_ACEOF
14784 cat confdefs.h
>>conftest.
$ac_ext
14785 cat >>conftest.
$ac_ext <<_ACEOF
14786 /* end confdefs.h. */
14787 $ac_includes_default
14791 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14798 rm -f conftest.
$ac_objext
14799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14800 (eval $ac_compile) 2>conftest.er1
14802 grep -v '^ *+' conftest.er1
>conftest.err
14804 cat conftest.err
>&5
14805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14806 (exit $ac_status); } &&
14807 { ac_try
='test -z "$ac_c_werror_flag"
14808 || test ! -s conftest.err'
14809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14810 (eval $ac_try) 2>&5
14812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14813 (exit $ac_status); }; } &&
14814 { ac_try
='test -s conftest.$ac_objext'
14815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14816 (eval $ac_try) 2>&5
14818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14819 (exit $ac_status); }; }; then
14822 cat >conftest.
$ac_ext <<_ACEOF
14825 cat confdefs.h
>>conftest.
$ac_ext
14826 cat >>conftest.
$ac_ext <<_ACEOF
14827 /* end confdefs.h. */
14828 $ac_includes_default
14832 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14839 rm -f conftest.
$ac_objext
14840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14841 (eval $ac_compile) 2>conftest.er1
14843 grep -v '^ *+' conftest.er1
>conftest.err
14845 cat conftest.err
>&5
14846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14847 (exit $ac_status); } &&
14848 { ac_try
='test -z "$ac_c_werror_flag"
14849 || test ! -s conftest.err'
14850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14851 (eval $ac_try) 2>&5
14853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14854 (exit $ac_status); }; } &&
14855 { ac_try
='test -s conftest.$ac_objext'
14856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14857 (eval $ac_try) 2>&5
14859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14860 (exit $ac_status); }; }; then
14861 ac_hi
=$ac_mid; break
14863 echo "$as_me: failed program was:" >&5
14864 sed 's/^/| /' conftest.
$ac_ext >&5
14866 ac_lo
=`expr $ac_mid + 1`
14867 if test $ac_lo -le $ac_mid; then
14871 ac_mid
=`expr 2 '*' $ac_mid + 1`
14873 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14876 echo "$as_me: failed program was:" >&5
14877 sed 's/^/| /' conftest.
$ac_ext >&5
14879 cat >conftest.
$ac_ext <<_ACEOF
14882 cat confdefs.h
>>conftest.
$ac_ext
14883 cat >>conftest.
$ac_ext <<_ACEOF
14884 /* end confdefs.h. */
14885 $ac_includes_default
14889 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14896 rm -f conftest.
$ac_objext
14897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14898 (eval $ac_compile) 2>conftest.er1
14900 grep -v '^ *+' conftest.er1
>conftest.err
14902 cat conftest.err
>&5
14903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14904 (exit $ac_status); } &&
14905 { ac_try
='test -z "$ac_c_werror_flag"
14906 || test ! -s conftest.err'
14907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14908 (eval $ac_try) 2>&5
14910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14911 (exit $ac_status); }; } &&
14912 { ac_try
='test -s conftest.$ac_objext'
14913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14914 (eval $ac_try) 2>&5
14916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14917 (exit $ac_status); }; }; then
14920 cat >conftest.
$ac_ext <<_ACEOF
14923 cat confdefs.h
>>conftest.
$ac_ext
14924 cat >>conftest.
$ac_ext <<_ACEOF
14925 /* end confdefs.h. */
14926 $ac_includes_default
14930 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14937 rm -f conftest.
$ac_objext
14938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14939 (eval $ac_compile) 2>conftest.er1
14941 grep -v '^ *+' conftest.er1
>conftest.err
14943 cat conftest.err
>&5
14944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14945 (exit $ac_status); } &&
14946 { ac_try
='test -z "$ac_c_werror_flag"
14947 || test ! -s conftest.err'
14948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14949 (eval $ac_try) 2>&5
14951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14952 (exit $ac_status); }; } &&
14953 { ac_try
='test -s conftest.$ac_objext'
14954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14955 (eval $ac_try) 2>&5
14957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14958 (exit $ac_status); }; }; then
14959 ac_lo
=$ac_mid; break
14961 echo "$as_me: failed program was:" >&5
14962 sed 's/^/| /' conftest.
$ac_ext >&5
14964 ac_hi
=`expr '(' $ac_mid ')' - 1`
14965 if test $ac_mid -le $ac_hi; then
14969 ac_mid
=`expr 2 '*' $ac_mid`
14971 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14974 echo "$as_me: failed program was:" >&5
14975 sed 's/^/| /' conftest.
$ac_ext >&5
14979 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14981 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14982 # Binary search between lo and hi bounds.
14983 while test "x$ac_lo" != "x$ac_hi"; do
14984 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14985 cat >conftest.
$ac_ext <<_ACEOF
14988 cat confdefs.h
>>conftest.
$ac_ext
14989 cat >>conftest.
$ac_ext <<_ACEOF
14990 /* end confdefs.h. */
14991 $ac_includes_default
14995 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15002 rm -f conftest.
$ac_objext
15003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15004 (eval $ac_compile) 2>conftest.er1
15006 grep -v '^ *+' conftest.er1
>conftest.err
15008 cat conftest.err
>&5
15009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15010 (exit $ac_status); } &&
15011 { ac_try
='test -z "$ac_c_werror_flag"
15012 || test ! -s conftest.err'
15013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15014 (eval $ac_try) 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
15026 echo "$as_me: failed program was:" >&5
15027 sed 's/^/| /' conftest.
$ac_ext >&5
15029 ac_lo
=`expr '(' $ac_mid ')' + 1`
15031 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15034 ?
*) ac_cv_sizeof_short
=$ac_lo;;
15035 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15036 See \`config.log' for more details." >&5
15037 echo "$as_me: error: cannot compute sizeof (short), 77
15038 See \`config.log' for more details." >&2;}
15039 { (exit 1); exit 1; }; } ;;
15042 if test "$cross_compiling" = yes; then
15043 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15044 See \`config.log' for more details." >&5
15045 echo "$as_me: error: cannot run test program while cross compiling
15046 See \`config.log' for more details." >&2;}
15047 { (exit 1); exit 1; }; }
15049 cat >conftest.
$ac_ext <<_ACEOF
15052 cat confdefs.h
>>conftest.
$ac_ext
15053 cat >>conftest.
$ac_ext <<_ACEOF
15054 /* end confdefs.h. */
15055 $ac_includes_default
15056 long longval () { return (long) (sizeof (short)); }
15057 unsigned long ulongval () { return (long) (sizeof (short)); }
15059 #include <stdlib.h>
15064 FILE *f = fopen ("conftest.val", "w");
15067 if (((long) (sizeof (short))) < 0)
15069 long i = longval ();
15070 if (i != ((long) (sizeof (short))))
15072 fprintf (f, "%ld\n", i);
15076 unsigned long i = ulongval ();
15077 if (i != ((long) (sizeof (short))))
15079 fprintf (f, "%lu\n", i);
15081 exit (ferror (f) || fclose (f) != 0);
15087 rm -f conftest
$ac_exeext
15088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15089 (eval $ac_link) 2>&5
15091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15092 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15094 (eval $ac_try) 2>&5
15096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15097 (exit $ac_status); }; }; then
15098 ac_cv_sizeof_short
=`cat conftest.val`
15100 echo "$as_me: program exited with status $ac_status" >&5
15101 echo "$as_me: failed program was:" >&5
15102 sed 's/^/| /' conftest.
$ac_ext >&5
15104 ( exit $ac_status )
15105 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15106 See \`config.log' for more details." >&5
15107 echo "$as_me: error: cannot compute sizeof (short), 77
15108 See \`config.log' for more details." >&2;}
15109 { (exit 1); exit 1; }; }
15111 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15116 ac_cv_sizeof_short
=0
15119 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15120 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15121 cat >>confdefs.h
<<_ACEOF
15122 #define SIZEOF_SHORT $ac_cv_sizeof_short
15126 echo "$as_me:$LINENO: checking for void *" >&5
15127 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15128 if test "${ac_cv_type_void_p+set}" = set; then
15129 echo $ECHO_N "(cached) $ECHO_C" >&6
15131 cat >conftest.
$ac_ext <<_ACEOF
15134 cat confdefs.h
>>conftest.
$ac_ext
15135 cat >>conftest.
$ac_ext <<_ACEOF
15136 /* end confdefs.h. */
15137 $ac_includes_default
15143 if (sizeof (void *))
15149 rm -f conftest.
$ac_objext
15150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15151 (eval $ac_compile) 2>conftest.er1
15153 grep -v '^ *+' conftest.er1
>conftest.err
15155 cat conftest.err
>&5
15156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15157 (exit $ac_status); } &&
15158 { ac_try
='test -z "$ac_c_werror_flag"
15159 || test ! -s conftest.err'
15160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15161 (eval $ac_try) 2>&5
15163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15164 (exit $ac_status); }; } &&
15165 { ac_try
='test -s conftest.$ac_objext'
15166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15167 (eval $ac_try) 2>&5
15169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15170 (exit $ac_status); }; }; then
15171 ac_cv_type_void_p
=yes
15173 echo "$as_me: failed program was:" >&5
15174 sed 's/^/| /' conftest.
$ac_ext >&5
15176 ac_cv_type_void_p
=no
15178 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15180 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15181 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15183 echo "$as_me:$LINENO: checking size of void *" >&5
15184 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15185 if test "${ac_cv_sizeof_void_p+set}" = set; then
15186 echo $ECHO_N "(cached) $ECHO_C" >&6
15188 if test "$ac_cv_type_void_p" = yes; then
15189 # The cast to unsigned long works around a bug in the HP C Compiler
15190 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15191 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15192 # This bug is HP SR number 8606223364.
15193 if test "$cross_compiling" = yes; then
15194 # Depending upon the size, compute the lo and hi bounds.
15195 cat >conftest.
$ac_ext <<_ACEOF
15198 cat confdefs.h
>>conftest.
$ac_ext
15199 cat >>conftest.
$ac_ext <<_ACEOF
15200 /* end confdefs.h. */
15201 $ac_includes_default
15205 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15212 rm -f conftest.
$ac_objext
15213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15214 (eval $ac_compile) 2>conftest.er1
15216 grep -v '^ *+' conftest.er1
>conftest.err
15218 cat conftest.err
>&5
15219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15220 (exit $ac_status); } &&
15221 { ac_try
='test -z "$ac_c_werror_flag"
15222 || test ! -s conftest.err'
15223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15224 (eval $ac_try) 2>&5
15226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15227 (exit $ac_status); }; } &&
15228 { ac_try
='test -s conftest.$ac_objext'
15229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15230 (eval $ac_try) 2>&5
15232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15233 (exit $ac_status); }; }; then
15236 cat >conftest.
$ac_ext <<_ACEOF
15239 cat confdefs.h
>>conftest.
$ac_ext
15240 cat >>conftest.
$ac_ext <<_ACEOF
15241 /* end confdefs.h. */
15242 $ac_includes_default
15246 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15253 rm -f conftest.
$ac_objext
15254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15255 (eval $ac_compile) 2>conftest.er1
15257 grep -v '^ *+' conftest.er1
>conftest.err
15259 cat conftest.err
>&5
15260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15261 (exit $ac_status); } &&
15262 { ac_try
='test -z "$ac_c_werror_flag"
15263 || test ! -s conftest.err'
15264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15265 (eval $ac_try) 2>&5
15267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15268 (exit $ac_status); }; } &&
15269 { ac_try
='test -s conftest.$ac_objext'
15270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15271 (eval $ac_try) 2>&5
15273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15274 (exit $ac_status); }; }; then
15275 ac_hi
=$ac_mid; break
15277 echo "$as_me: failed program was:" >&5
15278 sed 's/^/| /' conftest.
$ac_ext >&5
15280 ac_lo
=`expr $ac_mid + 1`
15281 if test $ac_lo -le $ac_mid; then
15285 ac_mid
=`expr 2 '*' $ac_mid + 1`
15287 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15290 echo "$as_me: failed program was:" >&5
15291 sed 's/^/| /' conftest.
$ac_ext >&5
15293 cat >conftest.
$ac_ext <<_ACEOF
15296 cat confdefs.h
>>conftest.
$ac_ext
15297 cat >>conftest.
$ac_ext <<_ACEOF
15298 /* end confdefs.h. */
15299 $ac_includes_default
15303 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15310 rm -f conftest.
$ac_objext
15311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15312 (eval $ac_compile) 2>conftest.er1
15314 grep -v '^ *+' conftest.er1
>conftest.err
15316 cat conftest.err
>&5
15317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15318 (exit $ac_status); } &&
15319 { ac_try
='test -z "$ac_c_werror_flag"
15320 || test ! -s conftest.err'
15321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15322 (eval $ac_try) 2>&5
15324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15325 (exit $ac_status); }; } &&
15326 { ac_try
='test -s conftest.$ac_objext'
15327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15328 (eval $ac_try) 2>&5
15330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15331 (exit $ac_status); }; }; then
15334 cat >conftest.
$ac_ext <<_ACEOF
15337 cat confdefs.h
>>conftest.
$ac_ext
15338 cat >>conftest.
$ac_ext <<_ACEOF
15339 /* end confdefs.h. */
15340 $ac_includes_default
15344 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15351 rm -f conftest.
$ac_objext
15352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15353 (eval $ac_compile) 2>conftest.er1
15355 grep -v '^ *+' conftest.er1
>conftest.err
15357 cat conftest.err
>&5
15358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15359 (exit $ac_status); } &&
15360 { ac_try
='test -z "$ac_c_werror_flag"
15361 || test ! -s conftest.err'
15362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15363 (eval $ac_try) 2>&5
15365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15366 (exit $ac_status); }; } &&
15367 { ac_try
='test -s conftest.$ac_objext'
15368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15369 (eval $ac_try) 2>&5
15371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15372 (exit $ac_status); }; }; then
15373 ac_lo
=$ac_mid; break
15375 echo "$as_me: failed program was:" >&5
15376 sed 's/^/| /' conftest.
$ac_ext >&5
15378 ac_hi
=`expr '(' $ac_mid ')' - 1`
15379 if test $ac_mid -le $ac_hi; then
15383 ac_mid
=`expr 2 '*' $ac_mid`
15385 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15388 echo "$as_me: failed program was:" >&5
15389 sed 's/^/| /' conftest.
$ac_ext >&5
15393 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15395 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15396 # Binary search between lo and hi bounds.
15397 while test "x$ac_lo" != "x$ac_hi"; do
15398 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15399 cat >conftest.
$ac_ext <<_ACEOF
15402 cat confdefs.h
>>conftest.
$ac_ext
15403 cat >>conftest.
$ac_ext <<_ACEOF
15404 /* end confdefs.h. */
15405 $ac_includes_default
15409 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15416 rm -f conftest.
$ac_objext
15417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15418 (eval $ac_compile) 2>conftest.er1
15420 grep -v '^ *+' conftest.er1
>conftest.err
15422 cat conftest.err
>&5
15423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15424 (exit $ac_status); } &&
15425 { ac_try
='test -z "$ac_c_werror_flag"
15426 || test ! -s conftest.err'
15427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15428 (eval $ac_try) 2>&5
15430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15431 (exit $ac_status); }; } &&
15432 { ac_try
='test -s conftest.$ac_objext'
15433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15434 (eval $ac_try) 2>&5
15436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15437 (exit $ac_status); }; }; then
15440 echo "$as_me: failed program was:" >&5
15441 sed 's/^/| /' conftest.
$ac_ext >&5
15443 ac_lo
=`expr '(' $ac_mid ')' + 1`
15445 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15448 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
15449 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15450 See \`config.log' for more details." >&5
15451 echo "$as_me: error: cannot compute sizeof (void *), 77
15452 See \`config.log' for more details." >&2;}
15453 { (exit 1); exit 1; }; } ;;
15456 if test "$cross_compiling" = yes; then
15457 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15458 See \`config.log' for more details." >&5
15459 echo "$as_me: error: cannot run test program while cross compiling
15460 See \`config.log' for more details." >&2;}
15461 { (exit 1); exit 1; }; }
15463 cat >conftest.
$ac_ext <<_ACEOF
15466 cat confdefs.h
>>conftest.
$ac_ext
15467 cat >>conftest.
$ac_ext <<_ACEOF
15468 /* end confdefs.h. */
15469 $ac_includes_default
15470 long longval () { return (long) (sizeof (void *)); }
15471 unsigned long ulongval () { return (long) (sizeof (void *)); }
15473 #include <stdlib.h>
15478 FILE *f = fopen ("conftest.val", "w");
15481 if (((long) (sizeof (void *))) < 0)
15483 long i = longval ();
15484 if (i != ((long) (sizeof (void *))))
15486 fprintf (f, "%ld\n", i);
15490 unsigned long i = ulongval ();
15491 if (i != ((long) (sizeof (void *))))
15493 fprintf (f, "%lu\n", i);
15495 exit (ferror (f) || fclose (f) != 0);
15501 rm -f conftest
$ac_exeext
15502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15503 (eval $ac_link) 2>&5
15505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15506 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15508 (eval $ac_try) 2>&5
15510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15511 (exit $ac_status); }; }; then
15512 ac_cv_sizeof_void_p
=`cat conftest.val`
15514 echo "$as_me: program exited with status $ac_status" >&5
15515 echo "$as_me: failed program was:" >&5
15516 sed 's/^/| /' conftest.
$ac_ext >&5
15518 ( exit $ac_status )
15519 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15520 See \`config.log' for more details." >&5
15521 echo "$as_me: error: cannot compute sizeof (void *), 77
15522 See \`config.log' for more details." >&2;}
15523 { (exit 1); exit 1; }; }
15525 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15530 ac_cv_sizeof_void_p
=0
15533 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15534 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15535 cat >>confdefs.h
<<_ACEOF
15536 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15540 echo "$as_me:$LINENO: checking for int" >&5
15541 echo $ECHO_N "checking for int... $ECHO_C" >&6
15542 if test "${ac_cv_type_int+set}" = set; then
15543 echo $ECHO_N "(cached) $ECHO_C" >&6
15545 cat >conftest.
$ac_ext <<_ACEOF
15548 cat confdefs.h
>>conftest.
$ac_ext
15549 cat >>conftest.
$ac_ext <<_ACEOF
15550 /* end confdefs.h. */
15551 $ac_includes_default
15563 rm -f conftest.
$ac_objext
15564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15565 (eval $ac_compile) 2>conftest.er1
15567 grep -v '^ *+' conftest.er1
>conftest.err
15569 cat conftest.err
>&5
15570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15571 (exit $ac_status); } &&
15572 { ac_try
='test -z "$ac_c_werror_flag"
15573 || test ! -s conftest.err'
15574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15575 (eval $ac_try) 2>&5
15577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15578 (exit $ac_status); }; } &&
15579 { ac_try
='test -s conftest.$ac_objext'
15580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15581 (eval $ac_try) 2>&5
15583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15584 (exit $ac_status); }; }; then
15587 echo "$as_me: failed program was:" >&5
15588 sed 's/^/| /' conftest.
$ac_ext >&5
15592 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15594 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15595 echo "${ECHO_T}$ac_cv_type_int" >&6
15597 echo "$as_me:$LINENO: checking size of int" >&5
15598 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15599 if test "${ac_cv_sizeof_int+set}" = set; then
15600 echo $ECHO_N "(cached) $ECHO_C" >&6
15602 if test "$ac_cv_type_int" = yes; then
15603 # The cast to unsigned long works around a bug in the HP C Compiler
15604 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15605 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15606 # This bug is HP SR number 8606223364.
15607 if test "$cross_compiling" = yes; then
15608 # Depending upon the size, compute the lo and hi bounds.
15609 cat >conftest.
$ac_ext <<_ACEOF
15612 cat confdefs.h
>>conftest.
$ac_ext
15613 cat >>conftest.
$ac_ext <<_ACEOF
15614 /* end confdefs.h. */
15615 $ac_includes_default
15619 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15626 rm -f conftest.
$ac_objext
15627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15628 (eval $ac_compile) 2>conftest.er1
15630 grep -v '^ *+' conftest.er1
>conftest.err
15632 cat conftest.err
>&5
15633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15634 (exit $ac_status); } &&
15635 { ac_try
='test -z "$ac_c_werror_flag"
15636 || test ! -s conftest.err'
15637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15638 (eval $ac_try) 2>&5
15640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15641 (exit $ac_status); }; } &&
15642 { ac_try
='test -s conftest.$ac_objext'
15643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15644 (eval $ac_try) 2>&5
15646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15647 (exit $ac_status); }; }; then
15650 cat >conftest.
$ac_ext <<_ACEOF
15653 cat confdefs.h
>>conftest.
$ac_ext
15654 cat >>conftest.
$ac_ext <<_ACEOF
15655 /* end confdefs.h. */
15656 $ac_includes_default
15660 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15667 rm -f conftest.
$ac_objext
15668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15669 (eval $ac_compile) 2>conftest.er1
15671 grep -v '^ *+' conftest.er1
>conftest.err
15673 cat conftest.err
>&5
15674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15675 (exit $ac_status); } &&
15676 { ac_try
='test -z "$ac_c_werror_flag"
15677 || test ! -s conftest.err'
15678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15679 (eval $ac_try) 2>&5
15681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15682 (exit $ac_status); }; } &&
15683 { ac_try
='test -s conftest.$ac_objext'
15684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15685 (eval $ac_try) 2>&5
15687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15688 (exit $ac_status); }; }; then
15689 ac_hi
=$ac_mid; break
15691 echo "$as_me: failed program was:" >&5
15692 sed 's/^/| /' conftest.
$ac_ext >&5
15694 ac_lo
=`expr $ac_mid + 1`
15695 if test $ac_lo -le $ac_mid; then
15699 ac_mid
=`expr 2 '*' $ac_mid + 1`
15701 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15704 echo "$as_me: failed program was:" >&5
15705 sed 's/^/| /' conftest.
$ac_ext >&5
15707 cat >conftest.
$ac_ext <<_ACEOF
15710 cat confdefs.h
>>conftest.
$ac_ext
15711 cat >>conftest.
$ac_ext <<_ACEOF
15712 /* end confdefs.h. */
15713 $ac_includes_default
15717 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15724 rm -f conftest.
$ac_objext
15725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15726 (eval $ac_compile) 2>conftest.er1
15728 grep -v '^ *+' conftest.er1
>conftest.err
15730 cat conftest.err
>&5
15731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15732 (exit $ac_status); } &&
15733 { ac_try
='test -z "$ac_c_werror_flag"
15734 || test ! -s conftest.err'
15735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15736 (eval $ac_try) 2>&5
15738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15739 (exit $ac_status); }; } &&
15740 { ac_try
='test -s conftest.$ac_objext'
15741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15742 (eval $ac_try) 2>&5
15744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15745 (exit $ac_status); }; }; then
15748 cat >conftest.
$ac_ext <<_ACEOF
15751 cat confdefs.h
>>conftest.
$ac_ext
15752 cat >>conftest.
$ac_ext <<_ACEOF
15753 /* end confdefs.h. */
15754 $ac_includes_default
15758 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15765 rm -f conftest.
$ac_objext
15766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15767 (eval $ac_compile) 2>conftest.er1
15769 grep -v '^ *+' conftest.er1
>conftest.err
15771 cat conftest.err
>&5
15772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15773 (exit $ac_status); } &&
15774 { ac_try
='test -z "$ac_c_werror_flag"
15775 || test ! -s conftest.err'
15776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15777 (eval $ac_try) 2>&5
15779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15780 (exit $ac_status); }; } &&
15781 { ac_try
='test -s conftest.$ac_objext'
15782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15783 (eval $ac_try) 2>&5
15785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15786 (exit $ac_status); }; }; then
15787 ac_lo
=$ac_mid; break
15789 echo "$as_me: failed program was:" >&5
15790 sed 's/^/| /' conftest.
$ac_ext >&5
15792 ac_hi
=`expr '(' $ac_mid ')' - 1`
15793 if test $ac_mid -le $ac_hi; then
15797 ac_mid
=`expr 2 '*' $ac_mid`
15799 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15802 echo "$as_me: failed program was:" >&5
15803 sed 's/^/| /' conftest.
$ac_ext >&5
15807 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15809 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15810 # Binary search between lo and hi bounds.
15811 while test "x$ac_lo" != "x$ac_hi"; do
15812 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15813 cat >conftest.
$ac_ext <<_ACEOF
15816 cat confdefs.h
>>conftest.
$ac_ext
15817 cat >>conftest.
$ac_ext <<_ACEOF
15818 /* end confdefs.h. */
15819 $ac_includes_default
15823 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15830 rm -f conftest.
$ac_objext
15831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15832 (eval $ac_compile) 2>conftest.er1
15834 grep -v '^ *+' conftest.er1
>conftest.err
15836 cat conftest.err
>&5
15837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15838 (exit $ac_status); } &&
15839 { ac_try
='test -z "$ac_c_werror_flag"
15840 || test ! -s conftest.err'
15841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15842 (eval $ac_try) 2>&5
15844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15845 (exit $ac_status); }; } &&
15846 { ac_try
='test -s conftest.$ac_objext'
15847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15848 (eval $ac_try) 2>&5
15850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15851 (exit $ac_status); }; }; then
15854 echo "$as_me: failed program was:" >&5
15855 sed 's/^/| /' conftest.
$ac_ext >&5
15857 ac_lo
=`expr '(' $ac_mid ')' + 1`
15859 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15862 ?
*) ac_cv_sizeof_int
=$ac_lo;;
15863 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15864 See \`config.log' for more details." >&5
15865 echo "$as_me: error: cannot compute sizeof (int), 77
15866 See \`config.log' for more details." >&2;}
15867 { (exit 1); exit 1; }; } ;;
15870 if test "$cross_compiling" = yes; then
15871 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15872 See \`config.log' for more details." >&5
15873 echo "$as_me: error: cannot run test program while cross compiling
15874 See \`config.log' for more details." >&2;}
15875 { (exit 1); exit 1; }; }
15877 cat >conftest.
$ac_ext <<_ACEOF
15880 cat confdefs.h
>>conftest.
$ac_ext
15881 cat >>conftest.
$ac_ext <<_ACEOF
15882 /* end confdefs.h. */
15883 $ac_includes_default
15884 long longval () { return (long) (sizeof (int)); }
15885 unsigned long ulongval () { return (long) (sizeof (int)); }
15887 #include <stdlib.h>
15892 FILE *f = fopen ("conftest.val", "w");
15895 if (((long) (sizeof (int))) < 0)
15897 long i = longval ();
15898 if (i != ((long) (sizeof (int))))
15900 fprintf (f, "%ld\n", i);
15904 unsigned long i = ulongval ();
15905 if (i != ((long) (sizeof (int))))
15907 fprintf (f, "%lu\n", i);
15909 exit (ferror (f) || fclose (f) != 0);
15915 rm -f conftest
$ac_exeext
15916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15917 (eval $ac_link) 2>&5
15919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15920 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15922 (eval $ac_try) 2>&5
15924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15925 (exit $ac_status); }; }; then
15926 ac_cv_sizeof_int
=`cat conftest.val`
15928 echo "$as_me: program exited with status $ac_status" >&5
15929 echo "$as_me: failed program was:" >&5
15930 sed 's/^/| /' conftest.
$ac_ext >&5
15932 ( exit $ac_status )
15933 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15934 See \`config.log' for more details." >&5
15935 echo "$as_me: error: cannot compute sizeof (int), 77
15936 See \`config.log' for more details." >&2;}
15937 { (exit 1); exit 1; }; }
15939 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15947 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15948 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15949 cat >>confdefs.h
<<_ACEOF
15950 #define SIZEOF_INT $ac_cv_sizeof_int
15954 echo "$as_me:$LINENO: checking for long" >&5
15955 echo $ECHO_N "checking for long... $ECHO_C" >&6
15956 if test "${ac_cv_type_long+set}" = set; then
15957 echo $ECHO_N "(cached) $ECHO_C" >&6
15959 cat >conftest.
$ac_ext <<_ACEOF
15962 cat confdefs.h
>>conftest.
$ac_ext
15963 cat >>conftest.
$ac_ext <<_ACEOF
15964 /* end confdefs.h. */
15965 $ac_includes_default
15977 rm -f conftest.
$ac_objext
15978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15979 (eval $ac_compile) 2>conftest.er1
15981 grep -v '^ *+' conftest.er1
>conftest.err
15983 cat conftest.err
>&5
15984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15985 (exit $ac_status); } &&
15986 { ac_try
='test -z "$ac_c_werror_flag"
15987 || test ! -s conftest.err'
15988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15989 (eval $ac_try) 2>&5
15991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15992 (exit $ac_status); }; } &&
15993 { ac_try
='test -s conftest.$ac_objext'
15994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15995 (eval $ac_try) 2>&5
15997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15998 (exit $ac_status); }; }; then
15999 ac_cv_type_long
=yes
16001 echo "$as_me: failed program was:" >&5
16002 sed 's/^/| /' conftest.
$ac_ext >&5
16006 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16008 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16009 echo "${ECHO_T}$ac_cv_type_long" >&6
16011 echo "$as_me:$LINENO: checking size of long" >&5
16012 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16013 if test "${ac_cv_sizeof_long+set}" = set; then
16014 echo $ECHO_N "(cached) $ECHO_C" >&6
16016 if test "$ac_cv_type_long" = yes; then
16017 # The cast to unsigned long works around a bug in the HP C Compiler
16018 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16019 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16020 # This bug is HP SR number 8606223364.
16021 if test "$cross_compiling" = yes; then
16022 # Depending upon the size, compute the lo and hi bounds.
16023 cat >conftest.
$ac_ext <<_ACEOF
16026 cat confdefs.h
>>conftest.
$ac_ext
16027 cat >>conftest.
$ac_ext <<_ACEOF
16028 /* end confdefs.h. */
16029 $ac_includes_default
16033 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16040 rm -f conftest.
$ac_objext
16041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16042 (eval $ac_compile) 2>conftest.er1
16044 grep -v '^ *+' conftest.er1
>conftest.err
16046 cat conftest.err
>&5
16047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16048 (exit $ac_status); } &&
16049 { ac_try
='test -z "$ac_c_werror_flag"
16050 || test ! -s conftest.err'
16051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16052 (eval $ac_try) 2>&5
16054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16055 (exit $ac_status); }; } &&
16056 { ac_try
='test -s conftest.$ac_objext'
16057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16058 (eval $ac_try) 2>&5
16060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16061 (exit $ac_status); }; }; then
16064 cat >conftest.
$ac_ext <<_ACEOF
16067 cat confdefs.h
>>conftest.
$ac_ext
16068 cat >>conftest.
$ac_ext <<_ACEOF
16069 /* end confdefs.h. */
16070 $ac_includes_default
16074 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16081 rm -f conftest.
$ac_objext
16082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16083 (eval $ac_compile) 2>conftest.er1
16085 grep -v '^ *+' conftest.er1
>conftest.err
16087 cat conftest.err
>&5
16088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16089 (exit $ac_status); } &&
16090 { ac_try
='test -z "$ac_c_werror_flag"
16091 || test ! -s conftest.err'
16092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16093 (eval $ac_try) 2>&5
16095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16096 (exit $ac_status); }; } &&
16097 { ac_try
='test -s conftest.$ac_objext'
16098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16099 (eval $ac_try) 2>&5
16101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16102 (exit $ac_status); }; }; then
16103 ac_hi
=$ac_mid; break
16105 echo "$as_me: failed program was:" >&5
16106 sed 's/^/| /' conftest.
$ac_ext >&5
16108 ac_lo
=`expr $ac_mid + 1`
16109 if test $ac_lo -le $ac_mid; then
16113 ac_mid
=`expr 2 '*' $ac_mid + 1`
16115 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16118 echo "$as_me: failed program was:" >&5
16119 sed 's/^/| /' conftest.
$ac_ext >&5
16121 cat >conftest.
$ac_ext <<_ACEOF
16124 cat confdefs.h
>>conftest.
$ac_ext
16125 cat >>conftest.
$ac_ext <<_ACEOF
16126 /* end confdefs.h. */
16127 $ac_includes_default
16131 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16138 rm -f conftest.
$ac_objext
16139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16140 (eval $ac_compile) 2>conftest.er1
16142 grep -v '^ *+' conftest.er1
>conftest.err
16144 cat conftest.err
>&5
16145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16146 (exit $ac_status); } &&
16147 { ac_try
='test -z "$ac_c_werror_flag"
16148 || test ! -s conftest.err'
16149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16150 (eval $ac_try) 2>&5
16152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16153 (exit $ac_status); }; } &&
16154 { ac_try
='test -s conftest.$ac_objext'
16155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16156 (eval $ac_try) 2>&5
16158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16159 (exit $ac_status); }; }; then
16162 cat >conftest.
$ac_ext <<_ACEOF
16165 cat confdefs.h
>>conftest.
$ac_ext
16166 cat >>conftest.
$ac_ext <<_ACEOF
16167 /* end confdefs.h. */
16168 $ac_includes_default
16172 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16179 rm -f conftest.
$ac_objext
16180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16181 (eval $ac_compile) 2>conftest.er1
16183 grep -v '^ *+' conftest.er1
>conftest.err
16185 cat conftest.err
>&5
16186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16187 (exit $ac_status); } &&
16188 { ac_try
='test -z "$ac_c_werror_flag"
16189 || test ! -s conftest.err'
16190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16191 (eval $ac_try) 2>&5
16193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16194 (exit $ac_status); }; } &&
16195 { ac_try
='test -s conftest.$ac_objext'
16196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16197 (eval $ac_try) 2>&5
16199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16200 (exit $ac_status); }; }; then
16201 ac_lo
=$ac_mid; break
16203 echo "$as_me: failed program was:" >&5
16204 sed 's/^/| /' conftest.
$ac_ext >&5
16206 ac_hi
=`expr '(' $ac_mid ')' - 1`
16207 if test $ac_mid -le $ac_hi; then
16211 ac_mid
=`expr 2 '*' $ac_mid`
16213 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16216 echo "$as_me: failed program was:" >&5
16217 sed 's/^/| /' conftest.
$ac_ext >&5
16221 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16223 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16224 # Binary search between lo and hi bounds.
16225 while test "x$ac_lo" != "x$ac_hi"; do
16226 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16227 cat >conftest.
$ac_ext <<_ACEOF
16230 cat confdefs.h
>>conftest.
$ac_ext
16231 cat >>conftest.
$ac_ext <<_ACEOF
16232 /* end confdefs.h. */
16233 $ac_includes_default
16237 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16244 rm -f conftest.
$ac_objext
16245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16246 (eval $ac_compile) 2>conftest.er1
16248 grep -v '^ *+' conftest.er1
>conftest.err
16250 cat conftest.err
>&5
16251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16252 (exit $ac_status); } &&
16253 { ac_try
='test -z "$ac_c_werror_flag"
16254 || test ! -s conftest.err'
16255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16256 (eval $ac_try) 2>&5
16258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16259 (exit $ac_status); }; } &&
16260 { ac_try
='test -s conftest.$ac_objext'
16261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16262 (eval $ac_try) 2>&5
16264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16265 (exit $ac_status); }; }; then
16268 echo "$as_me: failed program was:" >&5
16269 sed 's/^/| /' conftest.
$ac_ext >&5
16271 ac_lo
=`expr '(' $ac_mid ')' + 1`
16273 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16276 ?
*) ac_cv_sizeof_long
=$ac_lo;;
16277 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16278 See \`config.log' for more details." >&5
16279 echo "$as_me: error: cannot compute sizeof (long), 77
16280 See \`config.log' for more details." >&2;}
16281 { (exit 1); exit 1; }; } ;;
16284 if test "$cross_compiling" = yes; then
16285 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16286 See \`config.log' for more details." >&5
16287 echo "$as_me: error: cannot run test program while cross compiling
16288 See \`config.log' for more details." >&2;}
16289 { (exit 1); exit 1; }; }
16291 cat >conftest.
$ac_ext <<_ACEOF
16294 cat confdefs.h
>>conftest.
$ac_ext
16295 cat >>conftest.
$ac_ext <<_ACEOF
16296 /* end confdefs.h. */
16297 $ac_includes_default
16298 long longval () { return (long) (sizeof (long)); }
16299 unsigned long ulongval () { return (long) (sizeof (long)); }
16301 #include <stdlib.h>
16306 FILE *f = fopen ("conftest.val", "w");
16309 if (((long) (sizeof (long))) < 0)
16311 long i = longval ();
16312 if (i != ((long) (sizeof (long))))
16314 fprintf (f, "%ld\n", i);
16318 unsigned long i = ulongval ();
16319 if (i != ((long) (sizeof (long))))
16321 fprintf (f, "%lu\n", i);
16323 exit (ferror (f) || fclose (f) != 0);
16329 rm -f conftest
$ac_exeext
16330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16331 (eval $ac_link) 2>&5
16333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16334 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16336 (eval $ac_try) 2>&5
16338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16339 (exit $ac_status); }; }; then
16340 ac_cv_sizeof_long
=`cat conftest.val`
16342 echo "$as_me: program exited with status $ac_status" >&5
16343 echo "$as_me: failed program was:" >&5
16344 sed 's/^/| /' conftest.
$ac_ext >&5
16346 ( exit $ac_status )
16347 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16348 See \`config.log' for more details." >&5
16349 echo "$as_me: error: cannot compute sizeof (long), 77
16350 See \`config.log' for more details." >&2;}
16351 { (exit 1); exit 1; }; }
16353 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16358 ac_cv_sizeof_long
=0
16361 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16362 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16363 cat >>confdefs.h
<<_ACEOF
16364 #define SIZEOF_LONG $ac_cv_sizeof_long
16368 echo "$as_me:$LINENO: checking for size_t" >&5
16369 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16370 if test "${ac_cv_type_size_t+set}" = set; then
16371 echo $ECHO_N "(cached) $ECHO_C" >&6
16373 cat >conftest.
$ac_ext <<_ACEOF
16376 cat confdefs.h
>>conftest.
$ac_ext
16377 cat >>conftest.
$ac_ext <<_ACEOF
16378 /* end confdefs.h. */
16379 $ac_includes_default
16385 if (sizeof (size_t))
16391 rm -f conftest.
$ac_objext
16392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16393 (eval $ac_compile) 2>conftest.er1
16395 grep -v '^ *+' conftest.er1
>conftest.err
16397 cat conftest.err
>&5
16398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16399 (exit $ac_status); } &&
16400 { ac_try
='test -z "$ac_c_werror_flag"
16401 || test ! -s conftest.err'
16402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16403 (eval $ac_try) 2>&5
16405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16406 (exit $ac_status); }; } &&
16407 { ac_try
='test -s conftest.$ac_objext'
16408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16409 (eval $ac_try) 2>&5
16411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16412 (exit $ac_status); }; }; then
16413 ac_cv_type_size_t
=yes
16415 echo "$as_me: failed program was:" >&5
16416 sed 's/^/| /' conftest.
$ac_ext >&5
16418 ac_cv_type_size_t
=no
16420 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16422 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16423 echo "${ECHO_T}$ac_cv_type_size_t" >&6
16425 echo "$as_me:$LINENO: checking size of size_t" >&5
16426 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
16427 if test "${ac_cv_sizeof_size_t+set}" = set; then
16428 echo $ECHO_N "(cached) $ECHO_C" >&6
16430 if test "$ac_cv_type_size_t" = yes; then
16431 # The cast to unsigned long works around a bug in the HP C Compiler
16432 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16433 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16434 # This bug is HP SR number 8606223364.
16435 if test "$cross_compiling" = yes; then
16436 # Depending upon the size, compute the lo and hi bounds.
16437 cat >conftest.
$ac_ext <<_ACEOF
16440 cat confdefs.h
>>conftest.
$ac_ext
16441 cat >>conftest.
$ac_ext <<_ACEOF
16442 /* end confdefs.h. */
16443 $ac_includes_default
16447 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
16454 rm -f conftest.
$ac_objext
16455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16456 (eval $ac_compile) 2>conftest.er1
16458 grep -v '^ *+' conftest.er1
>conftest.err
16460 cat conftest.err
>&5
16461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16462 (exit $ac_status); } &&
16463 { ac_try
='test -z "$ac_c_werror_flag"
16464 || test ! -s conftest.err'
16465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16466 (eval $ac_try) 2>&5
16468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16469 (exit $ac_status); }; } &&
16470 { ac_try
='test -s conftest.$ac_objext'
16471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16472 (eval $ac_try) 2>&5
16474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16475 (exit $ac_status); }; }; then
16478 cat >conftest.
$ac_ext <<_ACEOF
16481 cat confdefs.h
>>conftest.
$ac_ext
16482 cat >>conftest.
$ac_ext <<_ACEOF
16483 /* end confdefs.h. */
16484 $ac_includes_default
16488 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16495 rm -f conftest.
$ac_objext
16496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16497 (eval $ac_compile) 2>conftest.er1
16499 grep -v '^ *+' conftest.er1
>conftest.err
16501 cat conftest.err
>&5
16502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16503 (exit $ac_status); } &&
16504 { ac_try
='test -z "$ac_c_werror_flag"
16505 || test ! -s conftest.err'
16506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16507 (eval $ac_try) 2>&5
16509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16510 (exit $ac_status); }; } &&
16511 { ac_try
='test -s conftest.$ac_objext'
16512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16513 (eval $ac_try) 2>&5
16515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16516 (exit $ac_status); }; }; then
16517 ac_hi
=$ac_mid; break
16519 echo "$as_me: failed program was:" >&5
16520 sed 's/^/| /' conftest.
$ac_ext >&5
16522 ac_lo
=`expr $ac_mid + 1`
16523 if test $ac_lo -le $ac_mid; then
16527 ac_mid
=`expr 2 '*' $ac_mid + 1`
16529 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16532 echo "$as_me: failed program was:" >&5
16533 sed 's/^/| /' conftest.
$ac_ext >&5
16535 cat >conftest.
$ac_ext <<_ACEOF
16538 cat confdefs.h
>>conftest.
$ac_ext
16539 cat >>conftest.
$ac_ext <<_ACEOF
16540 /* end confdefs.h. */
16541 $ac_includes_default
16545 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
16552 rm -f conftest.
$ac_objext
16553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16554 (eval $ac_compile) 2>conftest.er1
16556 grep -v '^ *+' conftest.er1
>conftest.err
16558 cat conftest.err
>&5
16559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16560 (exit $ac_status); } &&
16561 { ac_try
='test -z "$ac_c_werror_flag"
16562 || test ! -s conftest.err'
16563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16564 (eval $ac_try) 2>&5
16566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16567 (exit $ac_status); }; } &&
16568 { ac_try
='test -s conftest.$ac_objext'
16569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16570 (eval $ac_try) 2>&5
16572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16573 (exit $ac_status); }; }; then
16576 cat >conftest.
$ac_ext <<_ACEOF
16579 cat confdefs.h
>>conftest.
$ac_ext
16580 cat >>conftest.
$ac_ext <<_ACEOF
16581 /* end confdefs.h. */
16582 $ac_includes_default
16586 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
16593 rm -f conftest.
$ac_objext
16594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16595 (eval $ac_compile) 2>conftest.er1
16597 grep -v '^ *+' conftest.er1
>conftest.err
16599 cat conftest.err
>&5
16600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16601 (exit $ac_status); } &&
16602 { ac_try
='test -z "$ac_c_werror_flag"
16603 || test ! -s conftest.err'
16604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16605 (eval $ac_try) 2>&5
16607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16608 (exit $ac_status); }; } &&
16609 { ac_try
='test -s conftest.$ac_objext'
16610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16611 (eval $ac_try) 2>&5
16613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16614 (exit $ac_status); }; }; then
16615 ac_lo
=$ac_mid; break
16617 echo "$as_me: failed program was:" >&5
16618 sed 's/^/| /' conftest.
$ac_ext >&5
16620 ac_hi
=`expr '(' $ac_mid ')' - 1`
16621 if test $ac_mid -le $ac_hi; then
16625 ac_mid
=`expr 2 '*' $ac_mid`
16627 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16630 echo "$as_me: failed program was:" >&5
16631 sed 's/^/| /' conftest.
$ac_ext >&5
16635 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16637 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16638 # Binary search between lo and hi bounds.
16639 while test "x$ac_lo" != "x$ac_hi"; do
16640 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16641 cat >conftest.
$ac_ext <<_ACEOF
16644 cat confdefs.h
>>conftest.
$ac_ext
16645 cat >>conftest.
$ac_ext <<_ACEOF
16646 /* end confdefs.h. */
16647 $ac_includes_default
16651 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16658 rm -f conftest.
$ac_objext
16659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16660 (eval $ac_compile) 2>conftest.er1
16662 grep -v '^ *+' conftest.er1
>conftest.err
16664 cat conftest.err
>&5
16665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16666 (exit $ac_status); } &&
16667 { ac_try
='test -z "$ac_c_werror_flag"
16668 || test ! -s conftest.err'
16669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16670 (eval $ac_try) 2>&5
16672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16673 (exit $ac_status); }; } &&
16674 { ac_try
='test -s conftest.$ac_objext'
16675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16676 (eval $ac_try) 2>&5
16678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16679 (exit $ac_status); }; }; then
16682 echo "$as_me: failed program was:" >&5
16683 sed 's/^/| /' conftest.
$ac_ext >&5
16685 ac_lo
=`expr '(' $ac_mid ')' + 1`
16687 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16690 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
16691 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16692 See \`config.log' for more details." >&5
16693 echo "$as_me: error: cannot compute sizeof (size_t), 77
16694 See \`config.log' for more details." >&2;}
16695 { (exit 1); exit 1; }; } ;;
16698 if test "$cross_compiling" = yes; then
16699 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16700 See \`config.log' for more details." >&5
16701 echo "$as_me: error: cannot run test program while cross compiling
16702 See \`config.log' for more details." >&2;}
16703 { (exit 1); exit 1; }; }
16705 cat >conftest.
$ac_ext <<_ACEOF
16708 cat confdefs.h
>>conftest.
$ac_ext
16709 cat >>conftest.
$ac_ext <<_ACEOF
16710 /* end confdefs.h. */
16711 $ac_includes_default
16712 long longval () { return (long) (sizeof (size_t)); }
16713 unsigned long ulongval () { return (long) (sizeof (size_t)); }
16715 #include <stdlib.h>
16720 FILE *f = fopen ("conftest.val", "w");
16723 if (((long) (sizeof (size_t))) < 0)
16725 long i = longval ();
16726 if (i != ((long) (sizeof (size_t))))
16728 fprintf (f, "%ld\n", i);
16732 unsigned long i = ulongval ();
16733 if (i != ((long) (sizeof (size_t))))
16735 fprintf (f, "%lu\n", i);
16737 exit (ferror (f) || fclose (f) != 0);
16743 rm -f conftest
$ac_exeext
16744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16745 (eval $ac_link) 2>&5
16747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16748 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16750 (eval $ac_try) 2>&5
16752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16753 (exit $ac_status); }; }; then
16754 ac_cv_sizeof_size_t
=`cat conftest.val`
16756 echo "$as_me: program exited with status $ac_status" >&5
16757 echo "$as_me: failed program was:" >&5
16758 sed 's/^/| /' conftest.
$ac_ext >&5
16760 ( exit $ac_status )
16761 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16762 See \`config.log' for more details." >&5
16763 echo "$as_me: error: cannot compute sizeof (size_t), 77
16764 See \`config.log' for more details." >&2;}
16765 { (exit 1); exit 1; }; }
16767 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16772 ac_cv_sizeof_size_t
=0
16775 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
16776 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
16777 cat >>confdefs.h
<<_ACEOF
16778 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
16785 echo "$as_me:$LINENO: checking for long long" >&5
16786 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16787 if test "${ac_cv_type_long_long+set}" = set; then
16788 echo $ECHO_N "(cached) $ECHO_C" >&6
16790 cat >conftest.
$ac_ext <<_ACEOF
16793 cat confdefs.h
>>conftest.
$ac_ext
16794 cat >>conftest.
$ac_ext <<_ACEOF
16795 /* end confdefs.h. */
16796 $ac_includes_default
16800 if ((long long *) 0)
16802 if (sizeof (long long))
16808 rm -f conftest.
$ac_objext
16809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16810 (eval $ac_compile) 2>conftest.er1
16812 grep -v '^ *+' conftest.er1
>conftest.err
16814 cat conftest.err
>&5
16815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16816 (exit $ac_status); } &&
16817 { ac_try
='test -z "$ac_c_werror_flag"
16818 || test ! -s conftest.err'
16819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16820 (eval $ac_try) 2>&5
16822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16823 (exit $ac_status); }; } &&
16824 { ac_try
='test -s conftest.$ac_objext'
16825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16826 (eval $ac_try) 2>&5
16828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16829 (exit $ac_status); }; }; then
16830 ac_cv_type_long_long
=yes
16832 echo "$as_me: failed program was:" >&5
16833 sed 's/^/| /' conftest.
$ac_ext >&5
16835 ac_cv_type_long_long
=no
16837 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16839 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16840 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16842 echo "$as_me:$LINENO: checking size of long long" >&5
16843 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16844 if test "${ac_cv_sizeof_long_long+set}" = set; then
16845 echo $ECHO_N "(cached) $ECHO_C" >&6
16847 if test "$ac_cv_type_long_long" = yes; then
16848 # The cast to unsigned long works around a bug in the HP C Compiler
16849 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16850 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16851 # This bug is HP SR number 8606223364.
16852 if test "$cross_compiling" = yes; then
16853 # Depending upon the size, compute the lo and hi bounds.
16854 cat >conftest.
$ac_ext <<_ACEOF
16857 cat confdefs.h
>>conftest.
$ac_ext
16858 cat >>conftest.
$ac_ext <<_ACEOF
16859 /* end confdefs.h. */
16860 $ac_includes_default
16864 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16871 rm -f conftest.
$ac_objext
16872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16873 (eval $ac_compile) 2>conftest.er1
16875 grep -v '^ *+' conftest.er1
>conftest.err
16877 cat conftest.err
>&5
16878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16879 (exit $ac_status); } &&
16880 { ac_try
='test -z "$ac_c_werror_flag"
16881 || test ! -s conftest.err'
16882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16883 (eval $ac_try) 2>&5
16885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16886 (exit $ac_status); }; } &&
16887 { ac_try
='test -s conftest.$ac_objext'
16888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16889 (eval $ac_try) 2>&5
16891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16892 (exit $ac_status); }; }; then
16895 cat >conftest.
$ac_ext <<_ACEOF
16898 cat confdefs.h
>>conftest.
$ac_ext
16899 cat >>conftest.
$ac_ext <<_ACEOF
16900 /* end confdefs.h. */
16901 $ac_includes_default
16905 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16912 rm -f conftest.
$ac_objext
16913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16914 (eval $ac_compile) 2>conftest.er1
16916 grep -v '^ *+' conftest.er1
>conftest.err
16918 cat conftest.err
>&5
16919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16920 (exit $ac_status); } &&
16921 { ac_try
='test -z "$ac_c_werror_flag"
16922 || test ! -s conftest.err'
16923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16924 (eval $ac_try) 2>&5
16926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16927 (exit $ac_status); }; } &&
16928 { ac_try
='test -s conftest.$ac_objext'
16929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16930 (eval $ac_try) 2>&5
16932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16933 (exit $ac_status); }; }; then
16934 ac_hi
=$ac_mid; break
16936 echo "$as_me: failed program was:" >&5
16937 sed 's/^/| /' conftest.
$ac_ext >&5
16939 ac_lo
=`expr $ac_mid + 1`
16940 if test $ac_lo -le $ac_mid; then
16944 ac_mid
=`expr 2 '*' $ac_mid + 1`
16946 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16949 echo "$as_me: failed program was:" >&5
16950 sed 's/^/| /' conftest.
$ac_ext >&5
16952 cat >conftest.
$ac_ext <<_ACEOF
16955 cat confdefs.h
>>conftest.
$ac_ext
16956 cat >>conftest.
$ac_ext <<_ACEOF
16957 /* end confdefs.h. */
16958 $ac_includes_default
16962 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16969 rm -f conftest.
$ac_objext
16970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16971 (eval $ac_compile) 2>conftest.er1
16973 grep -v '^ *+' conftest.er1
>conftest.err
16975 cat conftest.err
>&5
16976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16977 (exit $ac_status); } &&
16978 { ac_try
='test -z "$ac_c_werror_flag"
16979 || test ! -s conftest.err'
16980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16981 (eval $ac_try) 2>&5
16983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16984 (exit $ac_status); }; } &&
16985 { ac_try
='test -s conftest.$ac_objext'
16986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16987 (eval $ac_try) 2>&5
16989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16990 (exit $ac_status); }; }; then
16993 cat >conftest.
$ac_ext <<_ACEOF
16996 cat confdefs.h
>>conftest.
$ac_ext
16997 cat >>conftest.
$ac_ext <<_ACEOF
16998 /* end confdefs.h. */
16999 $ac_includes_default
17003 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17010 rm -f conftest.
$ac_objext
17011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17012 (eval $ac_compile) 2>conftest.er1
17014 grep -v '^ *+' conftest.er1
>conftest.err
17016 cat conftest.err
>&5
17017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17018 (exit $ac_status); } &&
17019 { ac_try
='test -z "$ac_c_werror_flag"
17020 || test ! -s conftest.err'
17021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17022 (eval $ac_try) 2>&5
17024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17025 (exit $ac_status); }; } &&
17026 { ac_try
='test -s conftest.$ac_objext'
17027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17028 (eval $ac_try) 2>&5
17030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17031 (exit $ac_status); }; }; then
17032 ac_lo
=$ac_mid; break
17034 echo "$as_me: failed program was:" >&5
17035 sed 's/^/| /' conftest.
$ac_ext >&5
17037 ac_hi
=`expr '(' $ac_mid ')' - 1`
17038 if test $ac_mid -le $ac_hi; then
17042 ac_mid
=`expr 2 '*' $ac_mid`
17044 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17047 echo "$as_me: failed program was:" >&5
17048 sed 's/^/| /' conftest.
$ac_ext >&5
17052 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17054 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17055 # Binary search between lo and hi bounds.
17056 while test "x$ac_lo" != "x$ac_hi"; do
17057 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17058 cat >conftest.
$ac_ext <<_ACEOF
17061 cat confdefs.h
>>conftest.
$ac_ext
17062 cat >>conftest.
$ac_ext <<_ACEOF
17063 /* end confdefs.h. */
17064 $ac_includes_default
17068 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17075 rm -f conftest.
$ac_objext
17076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17077 (eval $ac_compile) 2>conftest.er1
17079 grep -v '^ *+' conftest.er1
>conftest.err
17081 cat conftest.err
>&5
17082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17083 (exit $ac_status); } &&
17084 { ac_try
='test -z "$ac_c_werror_flag"
17085 || test ! -s conftest.err'
17086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17087 (eval $ac_try) 2>&5
17089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17090 (exit $ac_status); }; } &&
17091 { ac_try
='test -s conftest.$ac_objext'
17092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17093 (eval $ac_try) 2>&5
17095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17096 (exit $ac_status); }; }; then
17099 echo "$as_me: failed program was:" >&5
17100 sed 's/^/| /' conftest.
$ac_ext >&5
17102 ac_lo
=`expr '(' $ac_mid ')' + 1`
17104 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17107 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17108 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17109 See \`config.log' for more details." >&5
17110 echo "$as_me: error: cannot compute sizeof (long long), 77
17111 See \`config.log' for more details." >&2;}
17112 { (exit 1); exit 1; }; } ;;
17115 if test "$cross_compiling" = yes; then
17116 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17117 See \`config.log' for more details." >&5
17118 echo "$as_me: error: cannot run test program while cross compiling
17119 See \`config.log' for more details." >&2;}
17120 { (exit 1); exit 1; }; }
17122 cat >conftest.
$ac_ext <<_ACEOF
17125 cat confdefs.h
>>conftest.
$ac_ext
17126 cat >>conftest.
$ac_ext <<_ACEOF
17127 /* end confdefs.h. */
17128 $ac_includes_default
17129 long longval () { return (long) (sizeof (long long)); }
17130 unsigned long ulongval () { return (long) (sizeof (long long)); }
17132 #include <stdlib.h>
17137 FILE *f = fopen ("conftest.val", "w");
17140 if (((long) (sizeof (long long))) < 0)
17142 long i = longval ();
17143 if (i != ((long) (sizeof (long long))))
17145 fprintf (f, "%ld\n", i);
17149 unsigned long i = ulongval ();
17150 if (i != ((long) (sizeof (long long))))
17152 fprintf (f, "%lu\n", i);
17154 exit (ferror (f) || fclose (f) != 0);
17160 rm -f conftest
$ac_exeext
17161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17162 (eval $ac_link) 2>&5
17164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17165 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17167 (eval $ac_try) 2>&5
17169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17170 (exit $ac_status); }; }; then
17171 ac_cv_sizeof_long_long
=`cat conftest.val`
17173 echo "$as_me: program exited with status $ac_status" >&5
17174 echo "$as_me: failed program was:" >&5
17175 sed 's/^/| /' conftest.
$ac_ext >&5
17177 ( exit $ac_status )
17178 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17179 See \`config.log' for more details." >&5
17180 echo "$as_me: error: cannot compute sizeof (long long), 77
17181 See \`config.log' for more details." >&2;}
17182 { (exit 1); exit 1; }; }
17184 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17189 ac_cv_sizeof_long_long
=0
17192 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17193 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17194 cat >>confdefs.h
<<_ACEOF
17195 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17201 echo "$as_me:$LINENO: checking for long long" >&5
17202 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17203 if test "${ac_cv_type_long_long+set}" = set; then
17204 echo $ECHO_N "(cached) $ECHO_C" >&6
17206 cat >conftest.
$ac_ext <<_ACEOF
17209 cat confdefs.h
>>conftest.
$ac_ext
17210 cat >>conftest.
$ac_ext <<_ACEOF
17211 /* end confdefs.h. */
17212 $ac_includes_default
17216 if ((long long *) 0)
17218 if (sizeof (long long))
17224 rm -f conftest.
$ac_objext
17225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17226 (eval $ac_compile) 2>conftest.er1
17228 grep -v '^ *+' conftest.er1
>conftest.err
17230 cat conftest.err
>&5
17231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17232 (exit $ac_status); } &&
17233 { ac_try
='test -z "$ac_c_werror_flag"
17234 || test ! -s conftest.err'
17235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17236 (eval $ac_try) 2>&5
17238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17239 (exit $ac_status); }; } &&
17240 { ac_try
='test -s conftest.$ac_objext'
17241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17242 (eval $ac_try) 2>&5
17244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17245 (exit $ac_status); }; }; then
17246 ac_cv_type_long_long
=yes
17248 echo "$as_me: failed program was:" >&5
17249 sed 's/^/| /' conftest.
$ac_ext >&5
17251 ac_cv_type_long_long
=no
17253 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17255 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17256 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17258 echo "$as_me:$LINENO: checking size of long long" >&5
17259 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17260 if test "${ac_cv_sizeof_long_long+set}" = set; then
17261 echo $ECHO_N "(cached) $ECHO_C" >&6
17263 if test "$ac_cv_type_long_long" = yes; then
17264 # The cast to unsigned long works around a bug in the HP C Compiler
17265 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17266 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17267 # This bug is HP SR number 8606223364.
17268 if test "$cross_compiling" = yes; then
17269 # Depending upon the size, compute the lo and hi bounds.
17270 cat >conftest.
$ac_ext <<_ACEOF
17273 cat confdefs.h
>>conftest.
$ac_ext
17274 cat >>conftest.
$ac_ext <<_ACEOF
17275 /* end confdefs.h. */
17276 $ac_includes_default
17280 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17287 rm -f conftest.
$ac_objext
17288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17289 (eval $ac_compile) 2>conftest.er1
17291 grep -v '^ *+' conftest.er1
>conftest.err
17293 cat conftest.err
>&5
17294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17295 (exit $ac_status); } &&
17296 { ac_try
='test -z "$ac_c_werror_flag"
17297 || test ! -s conftest.err'
17298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17299 (eval $ac_try) 2>&5
17301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17302 (exit $ac_status); }; } &&
17303 { ac_try
='test -s conftest.$ac_objext'
17304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17305 (eval $ac_try) 2>&5
17307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17308 (exit $ac_status); }; }; then
17311 cat >conftest.
$ac_ext <<_ACEOF
17314 cat confdefs.h
>>conftest.
$ac_ext
17315 cat >>conftest.
$ac_ext <<_ACEOF
17316 /* end confdefs.h. */
17317 $ac_includes_default
17321 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17328 rm -f conftest.
$ac_objext
17329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17330 (eval $ac_compile) 2>conftest.er1
17332 grep -v '^ *+' conftest.er1
>conftest.err
17334 cat conftest.err
>&5
17335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17336 (exit $ac_status); } &&
17337 { ac_try
='test -z "$ac_c_werror_flag"
17338 || test ! -s conftest.err'
17339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17340 (eval $ac_try) 2>&5
17342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17343 (exit $ac_status); }; } &&
17344 { ac_try
='test -s conftest.$ac_objext'
17345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17346 (eval $ac_try) 2>&5
17348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17349 (exit $ac_status); }; }; then
17350 ac_hi
=$ac_mid; break
17352 echo "$as_me: failed program was:" >&5
17353 sed 's/^/| /' conftest.
$ac_ext >&5
17355 ac_lo
=`expr $ac_mid + 1`
17356 if test $ac_lo -le $ac_mid; then
17360 ac_mid
=`expr 2 '*' $ac_mid + 1`
17362 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17365 echo "$as_me: failed program was:" >&5
17366 sed 's/^/| /' conftest.
$ac_ext >&5
17368 cat >conftest.
$ac_ext <<_ACEOF
17371 cat confdefs.h
>>conftest.
$ac_ext
17372 cat >>conftest.
$ac_ext <<_ACEOF
17373 /* end confdefs.h. */
17374 $ac_includes_default
17378 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17385 rm -f conftest.
$ac_objext
17386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17387 (eval $ac_compile) 2>conftest.er1
17389 grep -v '^ *+' conftest.er1
>conftest.err
17391 cat conftest.err
>&5
17392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17393 (exit $ac_status); } &&
17394 { ac_try
='test -z "$ac_c_werror_flag"
17395 || test ! -s conftest.err'
17396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17397 (eval $ac_try) 2>&5
17399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17400 (exit $ac_status); }; } &&
17401 { ac_try
='test -s conftest.$ac_objext'
17402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17403 (eval $ac_try) 2>&5
17405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17406 (exit $ac_status); }; }; then
17409 cat >conftest.
$ac_ext <<_ACEOF
17412 cat confdefs.h
>>conftest.
$ac_ext
17413 cat >>conftest.
$ac_ext <<_ACEOF
17414 /* end confdefs.h. */
17415 $ac_includes_default
17419 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17426 rm -f conftest.
$ac_objext
17427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17428 (eval $ac_compile) 2>conftest.er1
17430 grep -v '^ *+' conftest.er1
>conftest.err
17432 cat conftest.err
>&5
17433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17434 (exit $ac_status); } &&
17435 { ac_try
='test -z "$ac_c_werror_flag"
17436 || test ! -s conftest.err'
17437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17438 (eval $ac_try) 2>&5
17440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17441 (exit $ac_status); }; } &&
17442 { ac_try
='test -s conftest.$ac_objext'
17443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17444 (eval $ac_try) 2>&5
17446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17447 (exit $ac_status); }; }; then
17448 ac_lo
=$ac_mid; break
17450 echo "$as_me: failed program was:" >&5
17451 sed 's/^/| /' conftest.
$ac_ext >&5
17453 ac_hi
=`expr '(' $ac_mid ')' - 1`
17454 if test $ac_mid -le $ac_hi; then
17458 ac_mid
=`expr 2 '*' $ac_mid`
17460 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17463 echo "$as_me: failed program was:" >&5
17464 sed 's/^/| /' conftest.
$ac_ext >&5
17468 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17470 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17471 # Binary search between lo and hi bounds.
17472 while test "x$ac_lo" != "x$ac_hi"; do
17473 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17474 cat >conftest.
$ac_ext <<_ACEOF
17477 cat confdefs.h
>>conftest.
$ac_ext
17478 cat >>conftest.
$ac_ext <<_ACEOF
17479 /* end confdefs.h. */
17480 $ac_includes_default
17484 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17491 rm -f conftest.
$ac_objext
17492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17493 (eval $ac_compile) 2>conftest.er1
17495 grep -v '^ *+' conftest.er1
>conftest.err
17497 cat conftest.err
>&5
17498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17499 (exit $ac_status); } &&
17500 { ac_try
='test -z "$ac_c_werror_flag"
17501 || test ! -s conftest.err'
17502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17503 (eval $ac_try) 2>&5
17505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17506 (exit $ac_status); }; } &&
17507 { ac_try
='test -s conftest.$ac_objext'
17508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17509 (eval $ac_try) 2>&5
17511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17512 (exit $ac_status); }; }; then
17515 echo "$as_me: failed program was:" >&5
17516 sed 's/^/| /' conftest.
$ac_ext >&5
17518 ac_lo
=`expr '(' $ac_mid ')' + 1`
17520 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17523 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17524 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17525 See \`config.log' for more details." >&5
17526 echo "$as_me: error: cannot compute sizeof (long long), 77
17527 See \`config.log' for more details." >&2;}
17528 { (exit 1); exit 1; }; } ;;
17531 if test "$cross_compiling" = yes; then
17532 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17533 See \`config.log' for more details." >&5
17534 echo "$as_me: error: cannot run test program while cross compiling
17535 See \`config.log' for more details." >&2;}
17536 { (exit 1); exit 1; }; }
17538 cat >conftest.
$ac_ext <<_ACEOF
17541 cat confdefs.h
>>conftest.
$ac_ext
17542 cat >>conftest.
$ac_ext <<_ACEOF
17543 /* end confdefs.h. */
17544 $ac_includes_default
17545 long longval () { return (long) (sizeof (long long)); }
17546 unsigned long ulongval () { return (long) (sizeof (long long)); }
17548 #include <stdlib.h>
17553 FILE *f = fopen ("conftest.val", "w");
17556 if (((long) (sizeof (long long))) < 0)
17558 long i = longval ();
17559 if (i != ((long) (sizeof (long long))))
17561 fprintf (f, "%ld\n", i);
17565 unsigned long i = ulongval ();
17566 if (i != ((long) (sizeof (long long))))
17568 fprintf (f, "%lu\n", i);
17570 exit (ferror (f) || fclose (f) != 0);
17576 rm -f conftest
$ac_exeext
17577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17578 (eval $ac_link) 2>&5
17580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17581 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17583 (eval $ac_try) 2>&5
17585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17586 (exit $ac_status); }; }; then
17587 ac_cv_sizeof_long_long
=`cat conftest.val`
17589 echo "$as_me: program exited with status $ac_status" >&5
17590 echo "$as_me: failed program was:" >&5
17591 sed 's/^/| /' conftest.
$ac_ext >&5
17593 ( exit $ac_status )
17594 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17595 See \`config.log' for more details." >&5
17596 echo "$as_me: error: cannot compute sizeof (long long), 77
17597 See \`config.log' for more details." >&2;}
17598 { (exit 1); exit 1; }; }
17600 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17605 ac_cv_sizeof_long_long
=0
17608 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17609 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17610 cat >>confdefs.h
<<_ACEOF
17611 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17615 if test "$ac_cv_sizeof_long_long" != "0"; then
17616 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
17620 echo "$as_me:$LINENO: checking for long long" >&5
17621 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17622 if test "${ac_cv_type_long_long+set}" = set; then
17623 echo $ECHO_N "(cached) $ECHO_C" >&6
17625 cat >conftest.
$ac_ext <<_ACEOF
17628 cat confdefs.h
>>conftest.
$ac_ext
17629 cat >>conftest.
$ac_ext <<_ACEOF
17630 /* end confdefs.h. */
17631 $ac_includes_default
17635 if ((long long *) 0)
17637 if (sizeof (long long))
17643 rm -f conftest.
$ac_objext
17644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17645 (eval $ac_compile) 2>conftest.er1
17647 grep -v '^ *+' conftest.er1
>conftest.err
17649 cat conftest.err
>&5
17650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17651 (exit $ac_status); } &&
17652 { ac_try
='test -z "$ac_c_werror_flag"
17653 || test ! -s conftest.err'
17654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17655 (eval $ac_try) 2>&5
17657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17658 (exit $ac_status); }; } &&
17659 { ac_try
='test -s conftest.$ac_objext'
17660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17661 (eval $ac_try) 2>&5
17663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17664 (exit $ac_status); }; }; then
17665 ac_cv_type_long_long
=yes
17667 echo "$as_me: failed program was:" >&5
17668 sed 's/^/| /' conftest.
$ac_ext >&5
17670 ac_cv_type_long_long
=no
17672 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17674 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17675 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17677 echo "$as_me:$LINENO: checking size of long long" >&5
17678 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17679 if test "${ac_cv_sizeof_long_long+set}" = set; then
17680 echo $ECHO_N "(cached) $ECHO_C" >&6
17682 if test "$ac_cv_type_long_long" = yes; then
17683 # The cast to unsigned long works around a bug in the HP C Compiler
17684 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17685 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17686 # This bug is HP SR number 8606223364.
17687 if test "$cross_compiling" = yes; then
17688 # Depending upon the size, compute the lo and hi bounds.
17689 cat >conftest.
$ac_ext <<_ACEOF
17692 cat confdefs.h
>>conftest.
$ac_ext
17693 cat >>conftest.
$ac_ext <<_ACEOF
17694 /* end confdefs.h. */
17695 $ac_includes_default
17699 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17706 rm -f conftest.
$ac_objext
17707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17708 (eval $ac_compile) 2>conftest.er1
17710 grep -v '^ *+' conftest.er1
>conftest.err
17712 cat conftest.err
>&5
17713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17714 (exit $ac_status); } &&
17715 { ac_try
='test -z "$ac_c_werror_flag"
17716 || test ! -s conftest.err'
17717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17718 (eval $ac_try) 2>&5
17720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17721 (exit $ac_status); }; } &&
17722 { ac_try
='test -s conftest.$ac_objext'
17723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17724 (eval $ac_try) 2>&5
17726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17727 (exit $ac_status); }; }; then
17730 cat >conftest.
$ac_ext <<_ACEOF
17733 cat confdefs.h
>>conftest.
$ac_ext
17734 cat >>conftest.
$ac_ext <<_ACEOF
17735 /* end confdefs.h. */
17736 $ac_includes_default
17740 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17747 rm -f conftest.
$ac_objext
17748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17749 (eval $ac_compile) 2>conftest.er1
17751 grep -v '^ *+' conftest.er1
>conftest.err
17753 cat conftest.err
>&5
17754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17755 (exit $ac_status); } &&
17756 { ac_try
='test -z "$ac_c_werror_flag"
17757 || test ! -s conftest.err'
17758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17759 (eval $ac_try) 2>&5
17761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17762 (exit $ac_status); }; } &&
17763 { ac_try
='test -s conftest.$ac_objext'
17764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17765 (eval $ac_try) 2>&5
17767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17768 (exit $ac_status); }; }; then
17769 ac_hi
=$ac_mid; break
17771 echo "$as_me: failed program was:" >&5
17772 sed 's/^/| /' conftest.
$ac_ext >&5
17774 ac_lo
=`expr $ac_mid + 1`
17775 if test $ac_lo -le $ac_mid; then
17779 ac_mid
=`expr 2 '*' $ac_mid + 1`
17781 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17784 echo "$as_me: failed program was:" >&5
17785 sed 's/^/| /' conftest.
$ac_ext >&5
17787 cat >conftest.
$ac_ext <<_ACEOF
17790 cat confdefs.h
>>conftest.
$ac_ext
17791 cat >>conftest.
$ac_ext <<_ACEOF
17792 /* end confdefs.h. */
17793 $ac_includes_default
17797 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17804 rm -f conftest.
$ac_objext
17805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17806 (eval $ac_compile) 2>conftest.er1
17808 grep -v '^ *+' conftest.er1
>conftest.err
17810 cat conftest.err
>&5
17811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17812 (exit $ac_status); } &&
17813 { ac_try
='test -z "$ac_c_werror_flag"
17814 || test ! -s conftest.err'
17815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17816 (eval $ac_try) 2>&5
17818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17819 (exit $ac_status); }; } &&
17820 { ac_try
='test -s conftest.$ac_objext'
17821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17822 (eval $ac_try) 2>&5
17824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17825 (exit $ac_status); }; }; then
17828 cat >conftest.
$ac_ext <<_ACEOF
17831 cat confdefs.h
>>conftest.
$ac_ext
17832 cat >>conftest.
$ac_ext <<_ACEOF
17833 /* end confdefs.h. */
17834 $ac_includes_default
17838 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17845 rm -f conftest.
$ac_objext
17846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17847 (eval $ac_compile) 2>conftest.er1
17849 grep -v '^ *+' conftest.er1
>conftest.err
17851 cat conftest.err
>&5
17852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17853 (exit $ac_status); } &&
17854 { ac_try
='test -z "$ac_c_werror_flag"
17855 || test ! -s conftest.err'
17856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17857 (eval $ac_try) 2>&5
17859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17860 (exit $ac_status); }; } &&
17861 { ac_try
='test -s conftest.$ac_objext'
17862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17863 (eval $ac_try) 2>&5
17865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17866 (exit $ac_status); }; }; then
17867 ac_lo
=$ac_mid; break
17869 echo "$as_me: failed program was:" >&5
17870 sed 's/^/| /' conftest.
$ac_ext >&5
17872 ac_hi
=`expr '(' $ac_mid ')' - 1`
17873 if test $ac_mid -le $ac_hi; then
17877 ac_mid
=`expr 2 '*' $ac_mid`
17879 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17882 echo "$as_me: failed program was:" >&5
17883 sed 's/^/| /' conftest.
$ac_ext >&5
17887 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17889 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17890 # Binary search between lo and hi bounds.
17891 while test "x$ac_lo" != "x$ac_hi"; do
17892 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17893 cat >conftest.
$ac_ext <<_ACEOF
17896 cat confdefs.h
>>conftest.
$ac_ext
17897 cat >>conftest.
$ac_ext <<_ACEOF
17898 /* end confdefs.h. */
17899 $ac_includes_default
17903 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17910 rm -f conftest.
$ac_objext
17911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17912 (eval $ac_compile) 2>conftest.er1
17914 grep -v '^ *+' conftest.er1
>conftest.err
17916 cat conftest.err
>&5
17917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17918 (exit $ac_status); } &&
17919 { ac_try
='test -z "$ac_c_werror_flag"
17920 || test ! -s conftest.err'
17921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17922 (eval $ac_try) 2>&5
17924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17925 (exit $ac_status); }; } &&
17926 { ac_try
='test -s conftest.$ac_objext'
17927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17928 (eval $ac_try) 2>&5
17930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17931 (exit $ac_status); }; }; then
17934 echo "$as_me: failed program was:" >&5
17935 sed 's/^/| /' conftest.
$ac_ext >&5
17937 ac_lo
=`expr '(' $ac_mid ')' + 1`
17939 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17942 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17943 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17944 See \`config.log' for more details." >&5
17945 echo "$as_me: error: cannot compute sizeof (long long), 77
17946 See \`config.log' for more details." >&2;}
17947 { (exit 1); exit 1; }; } ;;
17950 if test "$cross_compiling" = yes; then
17951 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17952 See \`config.log' for more details." >&5
17953 echo "$as_me: error: cannot run test program while cross compiling
17954 See \`config.log' for more details." >&2;}
17955 { (exit 1); exit 1; }; }
17957 cat >conftest.
$ac_ext <<_ACEOF
17960 cat confdefs.h
>>conftest.
$ac_ext
17961 cat >>conftest.
$ac_ext <<_ACEOF
17962 /* end confdefs.h. */
17963 $ac_includes_default
17964 long longval () { return (long) (sizeof (long long)); }
17965 unsigned long ulongval () { return (long) (sizeof (long long)); }
17967 #include <stdlib.h>
17972 FILE *f = fopen ("conftest.val", "w");
17975 if (((long) (sizeof (long long))) < 0)
17977 long i = longval ();
17978 if (i != ((long) (sizeof (long long))))
17980 fprintf (f, "%ld\n", i);
17984 unsigned long i = ulongval ();
17985 if (i != ((long) (sizeof (long long))))
17987 fprintf (f, "%lu\n", i);
17989 exit (ferror (f) || fclose (f) != 0);
17995 rm -f conftest
$ac_exeext
17996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17997 (eval $ac_link) 2>&5
17999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18000 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18002 (eval $ac_try) 2>&5
18004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18005 (exit $ac_status); }; }; then
18006 ac_cv_sizeof_long_long
=`cat conftest.val`
18008 echo "$as_me: program exited with status $ac_status" >&5
18009 echo "$as_me: failed program was:" >&5
18010 sed 's/^/| /' conftest.
$ac_ext >&5
18012 ( exit $ac_status )
18013 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18014 See \`config.log' for more details." >&5
18015 echo "$as_me: error: cannot compute sizeof (long long), 77
18016 See \`config.log' for more details." >&2;}
18017 { (exit 1); exit 1; }; }
18019 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18024 ac_cv_sizeof_long_long
=0
18027 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18028 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18029 cat >>confdefs.h
<<_ACEOF
18030 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18036 echo "$as_me:$LINENO: checking size of wchar_t" >&5
18037 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
18038 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
18039 echo $ECHO_N "(cached) $ECHO_C" >&6
18042 if test "$cross_compiling" = yes; then
18046 wx_cv_sizeof_wchar_t
=0
18049 wx_cv_sizeof_wchar_t
=4
18055 cat >conftest.
$ac_ext <<_ACEOF
18058 cat confdefs.h
>>conftest.
$ac_ext
18059 cat >>conftest.
$ac_ext <<_ACEOF
18060 /* end confdefs.h. */
18062 /* DJGPP only has fake wchar_t: */
18064 # error "fake wchar_t"
18066 #ifdef HAVE_WCHAR_H
18068 # include <stddef.h>
18070 # include <wchar.h>
18072 #ifdef HAVE_STDLIB_H
18073 # include <stdlib.h>
18078 FILE *f=fopen("conftestval", "w");
18080 fprintf(f, "%i", sizeof(wchar_t));
18085 rm -f conftest
$ac_exeext
18086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18087 (eval $ac_link) 2>&5
18089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18090 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18092 (eval $ac_try) 2>&5
18094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18095 (exit $ac_status); }; }; then
18096 wx_cv_sizeof_wchar_t
=`cat conftestval`
18098 echo "$as_me: program exited with status $ac_status" >&5
18099 echo "$as_me: failed program was:" >&5
18100 sed 's/^/| /' conftest.
$ac_ext >&5
18102 ( exit $ac_status )
18103 wx_cv_sizeof_wchar_t
=0
18105 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18109 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
18110 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
18112 cat >>confdefs.h
<<_ACEOF
18113 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
18117 # Check whether --enable-largefile or --disable-largefile was given.
18118 if test "${enable_largefile+set}" = set; then
18119 enableval
="$enable_largefile"
18122 if test "$enable_largefile" != no
; then
18125 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
18126 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
18127 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
18128 echo $ECHO_N "(cached) $ECHO_C" >&6
18131 cat >conftest.
$ac_ext <<_ACEOF
18134 cat confdefs.h
>>conftest.
$ac_ext
18135 cat >>conftest.
$ac_ext <<_ACEOF
18136 /* end confdefs.h. */
18137 #define _FILE_OFFSET_BITS 64
18138 #include <sys/types.h>
18143 unsigned int field: sizeof(off_t) == 8;
18150 rm -f conftest.
$ac_objext
18151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18152 (eval $ac_compile) 2>conftest.er1
18154 grep -v '^ *+' conftest.er1
>conftest.err
18156 cat conftest.err
>&5
18157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18158 (exit $ac_status); } &&
18159 { ac_try
='test -z "$ac_c_werror_flag"
18160 || test ! -s conftest.err'
18161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18162 (eval $ac_try) 2>&5
18164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18165 (exit $ac_status); }; } &&
18166 { ac_try
='test -s conftest.$ac_objext'
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_sys_file_offset_bits
=64
18174 echo "$as_me: failed program was:" >&5
18175 sed 's/^/| /' conftest.
$ac_ext >&5
18177 ac_cv_sys_file_offset_bits
=no
18179 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18183 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
18184 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
18186 if test "$ac_cv_sys_file_offset_bits" != no
; then
18188 cat >>confdefs.h
<<_ACEOF
18189 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18194 if test "x$wx_largefile" != "xyes"; then
18196 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
18197 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
18198 if test "${ac_cv_sys_large_files+set}" = set; then
18199 echo $ECHO_N "(cached) $ECHO_C" >&6
18202 cat >conftest.
$ac_ext <<_ACEOF
18205 cat confdefs.h
>>conftest.
$ac_ext
18206 cat >>conftest.
$ac_ext <<_ACEOF
18207 /* end confdefs.h. */
18208 #define _LARGE_FILES 1
18209 #include <sys/types.h>
18214 unsigned int field: sizeof(off_t) == 8;
18221 rm -f conftest.
$ac_objext
18222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18223 (eval $ac_compile) 2>conftest.er1
18225 grep -v '^ *+' conftest.er1
>conftest.err
18227 cat conftest.err
>&5
18228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18229 (exit $ac_status); } &&
18230 { ac_try
='test -z "$ac_c_werror_flag"
18231 || test ! -s conftest.err'
18232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18233 (eval $ac_try) 2>&5
18235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18236 (exit $ac_status); }; } &&
18237 { ac_try
='test -s conftest.$ac_objext'
18238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18239 (eval $ac_try) 2>&5
18241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18242 (exit $ac_status); }; }; then
18243 ac_cv_sys_large_files
=1
18245 echo "$as_me: failed program was:" >&5
18246 sed 's/^/| /' conftest.
$ac_ext >&5
18248 ac_cv_sys_large_files
=no
18250 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18254 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
18255 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
18257 if test "$ac_cv_sys_large_files" != no
; then
18259 cat >>confdefs.h
<<_ACEOF
18260 #define _LARGE_FILES $ac_cv_sys_large_files
18267 echo "$as_me:$LINENO: checking if large file support is available" >&5
18268 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
18269 if test "x$wx_largefile" = "xyes"; then
18270 cat >>confdefs.h
<<\_ACEOF
18271 #define HAVE_LARGEFILE_SUPPORT 1
18275 echo "$as_me:$LINENO: result: $wx_largefile" >&5
18276 echo "${ECHO_T}$wx_largefile" >&6
18280 if test "x$wx_largefile" = "xyes"; then
18281 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
18282 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
18284 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
18286 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
18289 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
18290 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
18291 if test "${ac_cv_c_bigendian+set}" = set; then
18292 echo $ECHO_N "(cached) $ECHO_C" >&6
18294 ac_cv_c_bigendian
=unknown
18295 # See if sys/param.h defines the BYTE_ORDER macro.
18296 cat >conftest.
$ac_ext <<_ACEOF
18299 cat confdefs.h
>>conftest.
$ac_ext
18300 cat >>conftest.
$ac_ext <<_ACEOF
18301 /* end confdefs.h. */
18302 #include <sys/types.h>
18303 #include <sys/param.h>
18308 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
18309 bogus endian macros
18315 rm -f conftest.
$ac_objext
18316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18317 (eval $ac_compile) 2>conftest.er1
18319 grep -v '^ *+' conftest.er1
>conftest.err
18321 cat conftest.err
>&5
18322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18323 (exit $ac_status); } &&
18324 { ac_try
='test -z "$ac_c_werror_flag"
18325 || test ! -s conftest.err'
18326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18327 (eval $ac_try) 2>&5
18329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18330 (exit $ac_status); }; } &&
18331 { ac_try
='test -s conftest.$ac_objext'
18332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18333 (eval $ac_try) 2>&5
18335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18336 (exit $ac_status); }; }; then
18337 # It does; now see whether it defined to BIG_ENDIAN or not.
18338 cat >conftest.
$ac_ext <<_ACEOF
18341 cat confdefs.h
>>conftest.
$ac_ext
18342 cat >>conftest.
$ac_ext <<_ACEOF
18343 /* end confdefs.h. */
18344 #include <sys/types.h>
18345 #include <sys/param.h>
18350 #if BYTE_ORDER != BIG_ENDIAN
18357 rm -f conftest.
$ac_objext
18358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18359 (eval $ac_compile) 2>conftest.er1
18361 grep -v '^ *+' conftest.er1
>conftest.err
18363 cat conftest.err
>&5
18364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18365 (exit $ac_status); } &&
18366 { ac_try
='test -z "$ac_c_werror_flag"
18367 || test ! -s conftest.err'
18368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18369 (eval $ac_try) 2>&5
18371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18372 (exit $ac_status); }; } &&
18373 { ac_try
='test -s conftest.$ac_objext'
18374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18375 (eval $ac_try) 2>&5
18377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18378 (exit $ac_status); }; }; then
18379 ac_cv_c_bigendian
=yes
18381 echo "$as_me: failed program was:" >&5
18382 sed 's/^/| /' conftest.
$ac_ext >&5
18384 ac_cv_c_bigendian
=no
18386 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18388 echo "$as_me: failed program was:" >&5
18389 sed 's/^/| /' conftest.
$ac_ext >&5
18392 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18393 if test $ac_cv_c_bigendian = unknown
; then
18394 if test "$cross_compiling" = yes; then
18395 ac_cv_c_bigendian
=unknown
18397 cat >conftest.
$ac_ext <<_ACEOF
18400 cat confdefs.h
>>conftest.
$ac_ext
18401 cat >>conftest.
$ac_ext <<_ACEOF
18402 /* end confdefs.h. */
18404 /* Are we little or big endian? From Harbison&Steele. */
18408 char c[sizeof (long)];
18411 exit (u.c[sizeof (long) - 1] == 1);
18414 rm -f conftest
$ac_exeext
18415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18416 (eval $ac_link) 2>&5
18418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18419 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18421 (eval $ac_try) 2>&5
18423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18424 (exit $ac_status); }; }; then
18425 ac_cv_c_bigendian
=no
18427 echo "$as_me: program exited with status $ac_status" >&5
18428 echo "$as_me: failed program was:" >&5
18429 sed 's/^/| /' conftest.
$ac_ext >&5
18431 ( exit $ac_status )
18432 ac_cv_c_bigendian
=yes
18434 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18438 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
18439 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
18440 if test $ac_cv_c_bigendian = unknown
; then
18441 { 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
18442 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;}
18444 if test $ac_cv_c_bigendian = yes; then
18445 cat >>confdefs.h
<<\_ACEOF
18446 #define WORDS_BIGENDIAN 1
18453 ac_cpp
='$CXXCPP $CPPFLAGS'
18454 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18455 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18456 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18457 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
18458 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
18459 if test -z "$CXXCPP"; then
18460 if test "${ac_cv_prog_CXXCPP+set}" = set; then
18461 echo $ECHO_N "(cached) $ECHO_C" >&6
18463 # Double quotes because CXXCPP needs to be expanded
18464 for CXXCPP
in "$CXX -E" "/lib/cpp"
18466 ac_preproc_ok
=false
18467 for ac_cxx_preproc_warn_flag
in '' yes
18469 # Use a header file that comes with gcc, so configuring glibc
18470 # with a fresh cross-compiler works.
18471 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18472 # <limits.h> exists even on freestanding compilers.
18473 # On the NeXT, cc -E runs the code through the compiler's parser,
18474 # not just through cpp. "Syntax error" is here to catch this case.
18475 cat >conftest.
$ac_ext <<_ACEOF
18478 cat confdefs.h
>>conftest.
$ac_ext
18479 cat >>conftest.
$ac_ext <<_ACEOF
18480 /* end confdefs.h. */
18482 # include <limits.h>
18484 # include <assert.h>
18488 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18489 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18491 grep -v '^ *+' conftest.er1
>conftest.err
18493 cat conftest.err
>&5
18494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18495 (exit $ac_status); } >/dev
/null
; then
18496 if test -s conftest.err
; then
18497 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18498 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18505 if test -z "$ac_cpp_err"; then
18508 echo "$as_me: failed program was:" >&5
18509 sed 's/^/| /' conftest.
$ac_ext >&5
18511 # Broken: fails on valid input.
18514 rm -f conftest.err conftest.
$ac_ext
18516 # OK, works on sane cases. Now check whether non-existent headers
18517 # can be detected and how.
18518 cat >conftest.
$ac_ext <<_ACEOF
18521 cat confdefs.h
>>conftest.
$ac_ext
18522 cat >>conftest.
$ac_ext <<_ACEOF
18523 /* end confdefs.h. */
18524 #include <ac_nonexistent.h>
18526 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18527 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18529 grep -v '^ *+' conftest.er1
>conftest.err
18531 cat conftest.err
>&5
18532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18533 (exit $ac_status); } >/dev
/null
; then
18534 if test -s conftest.err
; then
18535 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18536 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18543 if test -z "$ac_cpp_err"; then
18544 # Broken: success on invalid input.
18547 echo "$as_me: failed program was:" >&5
18548 sed 's/^/| /' conftest.
$ac_ext >&5
18550 # Passes both tests.
18554 rm -f conftest.err conftest.
$ac_ext
18557 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18558 rm -f conftest.err conftest.
$ac_ext
18559 if $ac_preproc_ok; then
18564 ac_cv_prog_CXXCPP
=$CXXCPP
18567 CXXCPP
=$ac_cv_prog_CXXCPP
18569 ac_cv_prog_CXXCPP
=$CXXCPP
18571 echo "$as_me:$LINENO: result: $CXXCPP" >&5
18572 echo "${ECHO_T}$CXXCPP" >&6
18573 ac_preproc_ok
=false
18574 for ac_cxx_preproc_warn_flag
in '' yes
18576 # Use a header file that comes with gcc, so configuring glibc
18577 # with a fresh cross-compiler works.
18578 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18579 # <limits.h> exists even on freestanding compilers.
18580 # On the NeXT, cc -E runs the code through the compiler's parser,
18581 # not just through cpp. "Syntax error" is here to catch this case.
18582 cat >conftest.
$ac_ext <<_ACEOF
18585 cat confdefs.h
>>conftest.
$ac_ext
18586 cat >>conftest.
$ac_ext <<_ACEOF
18587 /* end confdefs.h. */
18589 # include <limits.h>
18591 # include <assert.h>
18595 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18596 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18598 grep -v '^ *+' conftest.er1
>conftest.err
18600 cat conftest.err
>&5
18601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18602 (exit $ac_status); } >/dev
/null
; then
18603 if test -s conftest.err
; then
18604 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18605 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18612 if test -z "$ac_cpp_err"; then
18615 echo "$as_me: failed program was:" >&5
18616 sed 's/^/| /' conftest.
$ac_ext >&5
18618 # Broken: fails on valid input.
18621 rm -f conftest.err conftest.
$ac_ext
18623 # OK, works on sane cases. Now check whether non-existent headers
18624 # can be detected and how.
18625 cat >conftest.
$ac_ext <<_ACEOF
18628 cat confdefs.h
>>conftest.
$ac_ext
18629 cat >>conftest.
$ac_ext <<_ACEOF
18630 /* end confdefs.h. */
18631 #include <ac_nonexistent.h>
18633 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18634 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18636 grep -v '^ *+' conftest.er1
>conftest.err
18638 cat conftest.err
>&5
18639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18640 (exit $ac_status); } >/dev
/null
; then
18641 if test -s conftest.err
; then
18642 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18643 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18650 if test -z "$ac_cpp_err"; then
18651 # Broken: success on invalid input.
18654 echo "$as_me: failed program was:" >&5
18655 sed 's/^/| /' conftest.
$ac_ext >&5
18657 # Passes both tests.
18661 rm -f conftest.err conftest.
$ac_ext
18664 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18665 rm -f conftest.err conftest.
$ac_ext
18666 if $ac_preproc_ok; then
18669 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18670 See \`config.log' for more details." >&5
18671 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18672 See \`config.log' for more details." >&2;}
18673 { (exit 1); exit 1; }; }
18677 ac_cpp
='$CXXCPP $CPPFLAGS'
18678 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18679 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18680 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18687 ac_cpp
='$CXXCPP $CPPFLAGS'
18688 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18689 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18690 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18694 for ac_header
in iostream
18696 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18697 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18698 echo "$as_me:$LINENO: checking for $ac_header" >&5
18699 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18700 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18701 echo $ECHO_N "(cached) $ECHO_C" >&6
18703 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18704 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18706 # Is the header compilable?
18707 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18708 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18709 cat >conftest.
$ac_ext <<_ACEOF
18712 cat confdefs.h
>>conftest.
$ac_ext
18713 cat >>conftest.
$ac_ext <<_ACEOF
18714 /* end confdefs.h. */
18715 $ac_includes_default
18716 #include <$ac_header>
18718 rm -f conftest.
$ac_objext
18719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18720 (eval $ac_compile) 2>conftest.er1
18722 grep -v '^ *+' conftest.er1
>conftest.err
18724 cat conftest.err
>&5
18725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18726 (exit $ac_status); } &&
18727 { ac_try
='test -z "$ac_cxx_werror_flag"
18728 || test ! -s conftest.err'
18729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18730 (eval $ac_try) 2>&5
18732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18733 (exit $ac_status); }; } &&
18734 { ac_try
='test -s conftest.$ac_objext'
18735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18736 (eval $ac_try) 2>&5
18738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18739 (exit $ac_status); }; }; then
18740 ac_header_compiler
=yes
18742 echo "$as_me: failed program was:" >&5
18743 sed 's/^/| /' conftest.
$ac_ext >&5
18745 ac_header_compiler
=no
18747 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18748 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18749 echo "${ECHO_T}$ac_header_compiler" >&6
18751 # Is the header present?
18752 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18753 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18754 cat >conftest.
$ac_ext <<_ACEOF
18757 cat confdefs.h
>>conftest.
$ac_ext
18758 cat >>conftest.
$ac_ext <<_ACEOF
18759 /* end confdefs.h. */
18760 #include <$ac_header>
18762 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18763 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18765 grep -v '^ *+' conftest.er1
>conftest.err
18767 cat conftest.err
>&5
18768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18769 (exit $ac_status); } >/dev
/null
; then
18770 if test -s conftest.err
; then
18771 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18772 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18779 if test -z "$ac_cpp_err"; then
18780 ac_header_preproc
=yes
18782 echo "$as_me: failed program was:" >&5
18783 sed 's/^/| /' conftest.
$ac_ext >&5
18785 ac_header_preproc
=no
18787 rm -f conftest.err conftest.
$ac_ext
18788 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18789 echo "${ECHO_T}$ac_header_preproc" >&6
18791 # So? What about this header?
18792 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
18794 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18795 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18796 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18797 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18798 ac_header_preproc
=yes
18801 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18802 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18803 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18804 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18805 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18806 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18807 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18808 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18809 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18810 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18811 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18812 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18815 ## ----------------------------------------- ##
18816 ## Report this to wx-dev@lists.wxwindows.org ##
18817 ## ----------------------------------------- ##
18820 sed "s/^/$as_me: WARNING: /" >&2
18823 echo "$as_me:$LINENO: checking for $ac_header" >&5
18824 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18825 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18826 echo $ECHO_N "(cached) $ECHO_C" >&6
18828 eval "$as_ac_Header=\$ac_header_preproc"
18830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18831 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18834 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18835 cat >>confdefs.h
<<_ACEOF
18836 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18844 if test "$ac_cv_header_iostream" = "yes" ; then
18847 cat >>confdefs.h
<<\_ACEOF
18848 #define wxUSE_IOSTREAMH 1
18854 ac_cpp
='$CPP $CPPFLAGS'
18855 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18856 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18857 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18862 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
18863 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
18864 if test "${wx_cv_cpp_bool+set}" = set; then
18865 echo $ECHO_N "(cached) $ECHO_C" >&6
18871 ac_cpp
='$CXXCPP $CPPFLAGS'
18872 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18873 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18874 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18877 cat >conftest.
$ac_ext <<_ACEOF
18880 cat confdefs.h
>>conftest.
$ac_ext
18881 cat >>conftest.
$ac_ext <<_ACEOF
18882 /* end confdefs.h. */
18897 rm -f conftest.
$ac_objext
18898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18899 (eval $ac_compile) 2>conftest.er1
18901 grep -v '^ *+' conftest.er1
>conftest.err
18903 cat conftest.err
>&5
18904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18905 (exit $ac_status); } &&
18906 { ac_try
='test -z "$ac_cxx_werror_flag"
18907 || test ! -s conftest.err'
18908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18909 (eval $ac_try) 2>&5
18911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18912 (exit $ac_status); }; } &&
18913 { ac_try
='test -s conftest.$ac_objext'
18914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18915 (eval $ac_try) 2>&5
18917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18918 (exit $ac_status); }; }; then
18923 echo "$as_me: failed program was:" >&5
18924 sed 's/^/| /' conftest.
$ac_ext >&5
18931 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18934 ac_cpp
='$CPP $CPPFLAGS'
18935 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18936 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18937 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18941 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
18942 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
18944 if test "$wx_cv_cpp_bool" = "yes"; then
18945 cat >>confdefs.h
<<\_ACEOF
18946 #define HAVE_BOOL 1
18953 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
18954 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
18955 if test "${wx_cv_explicit+set}" = set; then
18956 echo $ECHO_N "(cached) $ECHO_C" >&6
18962 ac_cpp
='$CXXCPP $CPPFLAGS'
18963 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18964 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18965 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18968 cat >conftest.
$ac_ext <<_ACEOF
18971 cat confdefs.h
>>conftest.
$ac_ext
18972 cat >>conftest.
$ac_ext <<_ACEOF
18973 /* end confdefs.h. */
18975 class Foo { public: explicit Foo(int) {} };
18987 rm -f conftest.
$ac_objext
18988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18989 (eval $ac_compile) 2>conftest.er1
18991 grep -v '^ *+' conftest.er1
>conftest.err
18993 cat conftest.err
>&5
18994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18995 (exit $ac_status); } &&
18996 { ac_try
='test -z "$ac_cxx_werror_flag"
18997 || test ! -s conftest.err'
18998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18999 (eval $ac_try) 2>&5
19001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19002 (exit $ac_status); }; } &&
19003 { ac_try
='test -s conftest.$ac_objext'
19004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19005 (eval $ac_try) 2>&5
19007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19008 (exit $ac_status); }; }; then
19010 cat >conftest.
$ac_ext <<_ACEOF
19013 cat confdefs.h
>>conftest.
$ac_ext
19014 cat >>conftest.
$ac_ext <<_ACEOF
19015 /* end confdefs.h. */
19017 class Foo { public: explicit Foo(int) {} };
19018 static void TakeFoo(const Foo& foo) { }
19031 rm -f conftest.
$ac_objext
19032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19033 (eval $ac_compile) 2>conftest.er1
19035 grep -v '^ *+' conftest.er1
>conftest.err
19037 cat conftest.err
>&5
19038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19039 (exit $ac_status); } &&
19040 { ac_try
='test -z "$ac_cxx_werror_flag"
19041 || test ! -s conftest.err'
19042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19043 (eval $ac_try) 2>&5
19045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19046 (exit $ac_status); }; } &&
19047 { ac_try
='test -s conftest.$ac_objext'
19048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19049 (eval $ac_try) 2>&5
19051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19052 (exit $ac_status); }; }; then
19055 echo "$as_me: failed program was:" >&5
19056 sed 's/^/| /' conftest.
$ac_ext >&5
19061 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19064 echo "$as_me: failed program was:" >&5
19065 sed 's/^/| /' conftest.
$ac_ext >&5
19070 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19073 ac_cpp
='$CPP $CPPFLAGS'
19074 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19075 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19076 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19080 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
19081 echo "${ECHO_T}$wx_cv_explicit" >&6
19083 if test "$wx_cv_explicit" = "yes"; then
19084 cat >>confdefs.h
<<\_ACEOF
19085 #define HAVE_EXPLICIT 1
19091 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
19092 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
19093 if test "${ac_cv_cxx_const_cast+set}" = set; then
19094 echo $ECHO_N "(cached) $ECHO_C" >&6
19099 ac_cpp
='$CXXCPP $CPPFLAGS'
19100 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19101 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19102 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19104 cat >conftest.
$ac_ext <<_ACEOF
19107 cat confdefs.h
>>conftest.
$ac_ext
19108 cat >>conftest.
$ac_ext <<_ACEOF
19109 /* end confdefs.h. */
19114 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
19119 rm -f conftest.
$ac_objext
19120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19121 (eval $ac_compile) 2>conftest.er1
19123 grep -v '^ *+' conftest.er1
>conftest.err
19125 cat conftest.err
>&5
19126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19127 (exit $ac_status); } &&
19128 { ac_try
='test -z "$ac_cxx_werror_flag"
19129 || test ! -s conftest.err'
19130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19131 (eval $ac_try) 2>&5
19133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19134 (exit $ac_status); }; } &&
19135 { ac_try
='test -s conftest.$ac_objext'
19136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19137 (eval $ac_try) 2>&5
19139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19140 (exit $ac_status); }; }; then
19141 ac_cv_cxx_const_cast
=yes
19143 echo "$as_me: failed program was:" >&5
19144 sed 's/^/| /' conftest.
$ac_ext >&5
19146 ac_cv_cxx_const_cast
=no
19148 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19150 ac_cpp
='$CPP $CPPFLAGS'
19151 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19152 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19153 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19157 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
19158 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
19159 if test "$ac_cv_cxx_const_cast" = yes; then
19161 cat >>confdefs.h
<<\_ACEOF
19162 #define HAVE_CONST_CAST
19167 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
19168 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
19169 if test "${ac_cv_cxx_static_cast+set}" = set; then
19170 echo $ECHO_N "(cached) $ECHO_C" >&6
19175 ac_cpp
='$CXXCPP $CPPFLAGS'
19176 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19177 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19178 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19180 cat >conftest.
$ac_ext <<_ACEOF
19183 cat confdefs.h
>>conftest.
$ac_ext
19184 cat >>conftest.
$ac_ext <<_ACEOF
19185 /* end confdefs.h. */
19186 #include <typeinfo>
19187 class Base { public : Base () {} virtual void f () = 0; };
19188 class Derived : public Base { public : Derived () {} virtual void f () {} };
19189 int g (Derived&) { return 0; }
19194 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
19199 rm -f conftest.
$ac_objext
19200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19201 (eval $ac_compile) 2>conftest.er1
19203 grep -v '^ *+' conftest.er1
>conftest.err
19205 cat conftest.err
>&5
19206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19207 (exit $ac_status); } &&
19208 { ac_try
='test -z "$ac_cxx_werror_flag"
19209 || test ! -s conftest.err'
19210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19211 (eval $ac_try) 2>&5
19213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19214 (exit $ac_status); }; } &&
19215 { ac_try
='test -s conftest.$ac_objext'
19216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19217 (eval $ac_try) 2>&5
19219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19220 (exit $ac_status); }; }; then
19221 ac_cv_cxx_static_cast
=yes
19223 echo "$as_me: failed program was:" >&5
19224 sed 's/^/| /' conftest.
$ac_ext >&5
19226 ac_cv_cxx_static_cast
=no
19228 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19230 ac_cpp
='$CPP $CPPFLAGS'
19231 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19232 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19233 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19237 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
19238 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
19239 if test "$ac_cv_cxx_static_cast" = yes; then
19241 cat >>confdefs.h
<<\_ACEOF
19242 #define HAVE_STATIC_CAST
19248 if test "$wxUSE_STL" = "yes"; then
19250 ac_cpp
='$CXXCPP $CPPFLAGS'
19251 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19252 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19253 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19256 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
19257 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
19258 cat >conftest.
$ac_ext <<_ACEOF
19261 cat confdefs.h
>>conftest.
$ac_ext
19262 cat >>conftest.
$ac_ext <<_ACEOF
19263 /* end confdefs.h. */
19265 #include <functional>
19266 #include <algorithm>
19272 std::vector<int> moo;
19273 std::list<int> foo;
19274 std::vector<int>::iterator it =
19275 std::find_if(moo.begin(), moo.end(),
19276 std::bind2nd(std::less<int>(), 3));
19281 rm -f conftest.
$ac_objext
19282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19283 (eval $ac_compile) 2>conftest.er1
19285 grep -v '^ *+' conftest.er1
>conftest.err
19287 cat conftest.err
>&5
19288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19289 (exit $ac_status); } &&
19290 { ac_try
='test -z "$ac_cxx_werror_flag"
19291 || test ! -s conftest.err'
19292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19293 (eval $ac_try) 2>&5
19295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19296 (exit $ac_status); }; } &&
19297 { ac_try
='test -s conftest.$ac_objext'
19298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19299 (eval $ac_try) 2>&5
19301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19302 (exit $ac_status); }; }; then
19303 echo "$as_me:$LINENO: result: yes" >&5
19304 echo "${ECHO_T}yes" >&6
19306 echo "$as_me: failed program was:" >&5
19307 sed 's/^/| /' conftest.
$ac_ext >&5
19309 echo "$as_me:$LINENO: result: no" >&5
19310 echo "${ECHO_T}no" >&6
19311 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
19312 echo "$as_me: error: Basic STL functionality missing" >&2;}
19313 { (exit 1); exit 1; }; }
19315 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19317 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
19318 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
19319 cat >conftest.
$ac_ext <<_ACEOF
19322 cat confdefs.h
>>conftest.
$ac_ext
19323 cat >>conftest.
$ac_ext <<_ACEOF
19324 /* end confdefs.h. */
19334 rm -f conftest.
$ac_objext
19335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19336 (eval $ac_compile) 2>conftest.er1
19338 grep -v '^ *+' conftest.er1
>conftest.err
19340 cat conftest.err
>&5
19341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19342 (exit $ac_status); } &&
19343 { ac_try
='test -z "$ac_cxx_werror_flag"
19344 || test ! -s conftest.err'
19345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19346 (eval $ac_try) 2>&5
19348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19349 (exit $ac_status); }; } &&
19350 { ac_try
='test -s conftest.$ac_objext'
19351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19352 (eval $ac_try) 2>&5
19354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19355 (exit $ac_status); }; }; then
19356 echo "$as_me:$LINENO: result: yes" >&5
19357 echo "${ECHO_T}yes" >&6
19358 cat >>confdefs.h
<<\_ACEOF
19359 #define HAVE_STD_WSTRING 1
19363 echo "$as_me: failed program was:" >&5
19364 sed 's/^/| /' conftest.
$ac_ext >&5
19366 echo "$as_me:$LINENO: result: no" >&5
19367 echo "${ECHO_T}no" >&6
19369 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19371 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
19372 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
19373 cat >conftest.
$ac_ext <<_ACEOF
19376 cat confdefs.h
>>conftest.
$ac_ext
19377 cat >>conftest.
$ac_ext <<_ACEOF
19378 /* end confdefs.h. */
19383 std::string foo, bar;
19385 foo.compare(1, 1, bar);
19386 foo.compare(1, 1, bar, 1, 1);
19388 foo.compare(1, 1, "");
19389 foo.compare(1, 1, "", 2);
19394 rm -f conftest.
$ac_objext
19395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19396 (eval $ac_compile) 2>conftest.er1
19398 grep -v '^ *+' conftest.er1
>conftest.err
19400 cat conftest.err
>&5
19401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19402 (exit $ac_status); } &&
19403 { ac_try
='test -z "$ac_cxx_werror_flag"
19404 || test ! -s conftest.err'
19405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19406 (eval $ac_try) 2>&5
19408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19409 (exit $ac_status); }; } &&
19410 { ac_try
='test -s conftest.$ac_objext'
19411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19412 (eval $ac_try) 2>&5
19414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19415 (exit $ac_status); }; }; then
19416 echo "$as_me:$LINENO: result: yes" >&5
19417 echo "${ECHO_T}yes" >&6
19418 cat >>confdefs.h
<<\_ACEOF
19419 #define HAVE_STD_STRING_COMPARE 1
19423 echo "$as_me: failed program was:" >&5
19424 sed 's/^/| /' conftest.
$ac_ext >&5
19426 echo "$as_me:$LINENO: result: no" >&5
19427 echo "${ECHO_T}no" >&6
19429 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19432 ac_cpp
='$CPP $CPPFLAGS'
19433 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19434 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19435 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19441 /usr/local/include \
19443 /usr/Motif-2.1/include \
19444 /usr/Motif-1.2/include \
19445 /usr/include/Motif1.2 \
19446 /opt/xpm/include/X11 \
19447 /opt/GBxpm/include/ \
19448 /opt/GBxpm/X11/include/ \
19451 /usr/openwin/include \
19455 /usr/X11R6/include \
19456 /usr/X11R6.4/include \
19457 /usr/X11R5/include \
19458 /usr/X11R4/include \
19460 /usr/include/X11R6 \
19461 /usr/include/X11R5 \
19462 /usr/include/X11R4 \
19464 /usr/local/X11R6/include \
19465 /usr/local/X11R5/include \
19466 /usr/local/X11R4/include \
19468 /usr/local/include/X11R6 \
19469 /usr/local/include/X11R5 \
19470 /usr/local/include/X11R4 \
19474 /usr/local/X11/include \
19475 /usr/local/include/X11 \
19477 /usr/X386/include \
19478 /usr/x386/include \
19479 /usr/XFree86/include/X11 \
19481 X:/XFree86/include \
19482 X:/XFree86/include/X11 \
19485 /usr/local/include/gtk \
19486 /usr/include/glib \
19487 /usr/local/include/glib \
19490 /usr/local/include/qt \
19492 /usr/local/arm/3.3.2/include \
19494 /usr/include/windows \
19495 /usr/include/wine \
19496 /usr/local/include/wine \
19498 /usr/unsupported/include \
19499 /usr/athena/include \
19500 /usr/local/x11r5/include \
19501 /usr/lpp/Xamples/include \
19503 /usr/openwin/share/include"
19505 SEARCH_LIB
="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
19508 cat >confcache
<<\_ACEOF
19509 # This file is a shell script that caches the results of configure
19510 # tests run on this system so they can be shared between configure
19511 # scripts and configure runs, see configure's option --config-cache.
19512 # It is not useful on other systems. If it contains results you don't
19513 # want to keep, you may remove or edit it.
19515 # config.status only pays attention to the cache file if you give it
19516 # the --recheck option to rerun configure.
19518 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19519 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19520 # following values.
19524 # The following way of writing the cache mishandles newlines in values,
19525 # but we know of no workaround that is simple, portable, and efficient.
19526 # So, don't put newlines in cache variables' values.
19527 # Ultrix sh set writes to stderr and can't be redirected directly,
19528 # and sets the high bit in the cache file unless we assign to the vars.
19531 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19533 # `set' does not quote correctly, so add quotes (double-quote
19534 # substitution turns \\\\ into \\, and sed turns \\ into \).
19537 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19540 # `set' quotes correctly as required by POSIX, so do not add quotes.
19542 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19549 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19551 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19553 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
19554 if test -w $cache_file; then
19555 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
19556 cat confcache
>$cache_file
19558 echo "not updating unwritable cache $cache_file"
19563 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19564 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
19565 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
19566 if test "${wx_cv_lib_glibc21+set}" = set; then
19567 echo $ECHO_N "(cached) $ECHO_C" >&6
19570 cat >conftest.
$ac_ext <<_ACEOF
19573 cat confdefs.h
>>conftest.
$ac_ext
19574 cat >>conftest.
$ac_ext <<_ACEOF
19575 /* end confdefs.h. */
19576 #include <features.h>
19581 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
19582 #error not glibc2.1
19589 rm -f conftest.
$ac_objext
19590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19591 (eval $ac_compile) 2>conftest.er1
19593 grep -v '^ *+' conftest.er1
>conftest.err
19595 cat conftest.err
>&5
19596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19597 (exit $ac_status); } &&
19598 { ac_try
='test -z "$ac_c_werror_flag"
19599 || test ! -s conftest.err'
19600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19601 (eval $ac_try) 2>&5
19603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19604 (exit $ac_status); }; } &&
19605 { ac_try
='test -s conftest.$ac_objext'
19606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19607 (eval $ac_try) 2>&5
19609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19610 (exit $ac_status); }; }; then
19612 wx_cv_lib_glibc21
=yes
19615 echo "$as_me: failed program was:" >&5
19616 sed 's/^/| /' conftest.
$ac_ext >&5
19619 wx_cv_lib_glibc21
=no
19623 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19626 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
19627 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
19628 if test "$wx_cv_lib_glibc21" = "yes"; then
19629 cat >>confdefs.h
<<\_ACEOF
19630 #define wxHAVE_GLIBC2 1
19636 if test "x$wx_cv_lib_glibc21" = "xyes"; then
19637 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
19638 cat >>confdefs.h
<<\_ACEOF
19639 #define _GNU_SOURCE 1
19647 if test "$wxUSE_REGEX" != "no"; then
19648 cat >>confdefs.h
<<\_ACEOF
19649 #define wxUSE_REGEX 1
19653 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
19654 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
19655 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
19656 wxUSE_REGEX
=builtin
19659 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
19660 if test "${ac_cv_header_regex_h+set}" = set; then
19661 echo "$as_me:$LINENO: checking for regex.h" >&5
19662 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
19663 if test "${ac_cv_header_regex_h+set}" = set; then
19664 echo $ECHO_N "(cached) $ECHO_C" >&6
19666 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
19667 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
19669 # Is the header compilable?
19670 echo "$as_me:$LINENO: checking regex.h usability" >&5
19671 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
19672 cat >conftest.
$ac_ext <<_ACEOF
19675 cat confdefs.h
>>conftest.
$ac_ext
19676 cat >>conftest.
$ac_ext <<_ACEOF
19677 /* end confdefs.h. */
19678 $ac_includes_default
19681 rm -f conftest.
$ac_objext
19682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19683 (eval $ac_compile) 2>conftest.er1
19685 grep -v '^ *+' conftest.er1
>conftest.err
19687 cat conftest.err
>&5
19688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19689 (exit $ac_status); } &&
19690 { ac_try
='test -z "$ac_c_werror_flag"
19691 || test ! -s conftest.err'
19692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19693 (eval $ac_try) 2>&5
19695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19696 (exit $ac_status); }; } &&
19697 { ac_try
='test -s conftest.$ac_objext'
19698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19699 (eval $ac_try) 2>&5
19701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19702 (exit $ac_status); }; }; then
19703 ac_header_compiler
=yes
19705 echo "$as_me: failed program was:" >&5
19706 sed 's/^/| /' conftest.
$ac_ext >&5
19708 ac_header_compiler
=no
19710 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19711 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19712 echo "${ECHO_T}$ac_header_compiler" >&6
19714 # Is the header present?
19715 echo "$as_me:$LINENO: checking regex.h presence" >&5
19716 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
19717 cat >conftest.
$ac_ext <<_ACEOF
19720 cat confdefs.h
>>conftest.
$ac_ext
19721 cat >>conftest.
$ac_ext <<_ACEOF
19722 /* end confdefs.h. */
19725 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19726 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19728 grep -v '^ *+' conftest.er1
>conftest.err
19730 cat conftest.err
>&5
19731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19732 (exit $ac_status); } >/dev
/null
; then
19733 if test -s conftest.err
; then
19734 ac_cpp_err
=$ac_c_preproc_warn_flag
19735 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19742 if test -z "$ac_cpp_err"; then
19743 ac_header_preproc
=yes
19745 echo "$as_me: failed program was:" >&5
19746 sed 's/^/| /' conftest.
$ac_ext >&5
19748 ac_header_preproc
=no
19750 rm -f conftest.err conftest.
$ac_ext
19751 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19752 echo "${ECHO_T}$ac_header_preproc" >&6
19754 # So? What about this header?
19755 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19757 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
19758 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19759 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
19760 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
19761 ac_header_preproc
=yes
19764 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
19765 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
19766 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
19767 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
19768 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
19769 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
19770 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
19771 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
19772 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
19773 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
19774 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
19775 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
19778 ## ----------------------------------------- ##
19779 ## Report this to wx-dev@lists.wxwindows.org ##
19780 ## ----------------------------------------- ##
19783 sed "s/^/$as_me: WARNING: /" >&2
19786 echo "$as_me:$LINENO: checking for regex.h" >&5
19787 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
19788 if test "${ac_cv_header_regex_h+set}" = set; then
19789 echo $ECHO_N "(cached) $ECHO_C" >&6
19791 ac_cv_header_regex_h
=$ac_header_preproc
19793 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
19794 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
19797 if test $ac_cv_header_regex_h = yes; then
19799 for ac_func
in regcomp
19801 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19802 echo "$as_me:$LINENO: checking for $ac_func" >&5
19803 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19804 if eval "test \"\${$as_ac_var+set}\" = set"; then
19805 echo $ECHO_N "(cached) $ECHO_C" >&6
19807 cat >conftest.
$ac_ext <<_ACEOF
19810 cat confdefs.h
>>conftest.
$ac_ext
19811 cat >>conftest.
$ac_ext <<_ACEOF
19812 /* end confdefs.h. */
19813 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19814 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19815 #define $ac_func innocuous_$ac_func
19817 /* System header to define __stub macros and hopefully few prototypes,
19818 which can conflict with char $ac_func (); below.
19819 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19820 <limits.h> exists even on freestanding compilers. */
19823 # include <limits.h>
19825 # include <assert.h>
19830 /* Override any gcc2 internal prototype to avoid an error. */
19835 /* We use char because int might match the return type of a gcc2
19836 builtin and then its argument prototype would still apply. */
19838 /* The GNU C library defines this for functions which it implements
19839 to always fail with ENOSYS. Some functions are actually named
19840 something starting with __ and the normal name is an alias. */
19841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19844 char (*f) () = $ac_func;
19853 return f != $ac_func;
19858 rm -f conftest.
$ac_objext conftest
$ac_exeext
19859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19860 (eval $ac_link) 2>conftest.er1
19862 grep -v '^ *+' conftest.er1
>conftest.err
19864 cat conftest.err
>&5
19865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19866 (exit $ac_status); } &&
19867 { ac_try
='test -z "$ac_c_werror_flag"
19868 || test ! -s conftest.err'
19869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19870 (eval $ac_try) 2>&5
19872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19873 (exit $ac_status); }; } &&
19874 { ac_try
='test -s conftest$ac_exeext'
19875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19876 (eval $ac_try) 2>&5
19878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19879 (exit $ac_status); }; }; then
19880 eval "$as_ac_var=yes"
19882 echo "$as_me: failed program was:" >&5
19883 sed 's/^/| /' conftest.
$ac_ext >&5
19885 eval "$as_ac_var=no"
19887 rm -f conftest.err conftest.
$ac_objext \
19888 conftest
$ac_exeext conftest.
$ac_ext
19890 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19891 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19892 if test `eval echo '${'$as_ac_var'}'` = yes; then
19893 cat >>confdefs.h
<<_ACEOF
19894 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19904 if test "x$ac_cv_func_regcomp" != "xyes"; then
19905 if test "$wxUSE_REGEX" = "sys" ; then
19906 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
19907 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
19908 { (exit 1); exit 1; }; }
19910 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
19911 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
19912 wxUSE_REGEX
=builtin
19916 cat >>confdefs.h
<<\_ACEOF
19917 #define WX_NO_REGEX_ADVANCED 1
19926 if test "$wxUSE_ZLIB" != "no" ; then
19927 cat >>confdefs.h
<<\_ACEOF
19928 #define wxUSE_ZLIB 1
19932 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
19933 if test "$USE_DARWIN" = 1; then
19934 system_zlib_h_ok
="yes"
19936 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
19937 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
19938 if test "${ac_cv_header_zlib_h+set}" = set; then
19939 echo $ECHO_N "(cached) $ECHO_C" >&6
19941 if test "$cross_compiling" = yes; then
19942 unset ac_cv_header_zlib_h
19945 cat >conftest.
$ac_ext <<_ACEOF
19948 cat confdefs.h
>>conftest.
$ac_ext
19949 cat >>conftest.
$ac_ext <<_ACEOF
19950 /* end confdefs.h. */
19957 FILE *f=fopen("conftestval", "w");
19960 ZLIB_VERSION[0] == '1' &&
19961 (ZLIB_VERSION[2] > '1' ||
19962 (ZLIB_VERSION[2] == '1' &&
19963 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
19968 rm -f conftest
$ac_exeext
19969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19970 (eval $ac_link) 2>&5
19972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19973 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19975 (eval $ac_try) 2>&5
19977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19978 (exit $ac_status); }; }; then
19979 ac_cv_header_zlib_h
=`cat conftestval`
19981 echo "$as_me: program exited with status $ac_status" >&5
19982 echo "$as_me: failed program was:" >&5
19983 sed 's/^/| /' conftest.
$ac_ext >&5
19985 ( exit $ac_status )
19986 ac_cv_header_zlib_h
=no
19988 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19992 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
19993 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
19994 if test "${ac_cv_header_zlib_h+set}" = set; then
19995 echo "$as_me:$LINENO: checking for zlib.h" >&5
19996 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
19997 if test "${ac_cv_header_zlib_h+set}" = set; then
19998 echo $ECHO_N "(cached) $ECHO_C" >&6
20000 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20001 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20003 # Is the header compilable?
20004 echo "$as_me:$LINENO: checking zlib.h usability" >&5
20005 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
20006 cat >conftest.
$ac_ext <<_ACEOF
20009 cat confdefs.h
>>conftest.
$ac_ext
20010 cat >>conftest.
$ac_ext <<_ACEOF
20011 /* end confdefs.h. */
20012 $ac_includes_default
20015 rm -f conftest.
$ac_objext
20016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20017 (eval $ac_compile) 2>conftest.er1
20019 grep -v '^ *+' conftest.er1
>conftest.err
20021 cat conftest.err
>&5
20022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20023 (exit $ac_status); } &&
20024 { ac_try
='test -z "$ac_c_werror_flag"
20025 || test ! -s conftest.err'
20026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20027 (eval $ac_try) 2>&5
20029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20030 (exit $ac_status); }; } &&
20031 { ac_try
='test -s conftest.$ac_objext'
20032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20033 (eval $ac_try) 2>&5
20035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20036 (exit $ac_status); }; }; then
20037 ac_header_compiler
=yes
20039 echo "$as_me: failed program was:" >&5
20040 sed 's/^/| /' conftest.
$ac_ext >&5
20042 ac_header_compiler
=no
20044 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20045 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20046 echo "${ECHO_T}$ac_header_compiler" >&6
20048 # Is the header present?
20049 echo "$as_me:$LINENO: checking zlib.h presence" >&5
20050 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
20051 cat >conftest.
$ac_ext <<_ACEOF
20054 cat confdefs.h
>>conftest.
$ac_ext
20055 cat >>conftest.
$ac_ext <<_ACEOF
20056 /* end confdefs.h. */
20059 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20060 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20062 grep -v '^ *+' conftest.er1
>conftest.err
20064 cat conftest.err
>&5
20065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20066 (exit $ac_status); } >/dev
/null
; then
20067 if test -s conftest.err
; then
20068 ac_cpp_err
=$ac_c_preproc_warn_flag
20069 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20076 if test -z "$ac_cpp_err"; then
20077 ac_header_preproc
=yes
20079 echo "$as_me: failed program was:" >&5
20080 sed 's/^/| /' conftest.
$ac_ext >&5
20082 ac_header_preproc
=no
20084 rm -f conftest.err conftest.
$ac_ext
20085 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20086 echo "${ECHO_T}$ac_header_preproc" >&6
20088 # So? What about this header?
20089 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20091 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
20092 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20093 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
20094 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
20095 ac_header_preproc
=yes
20098 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
20099 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
20100 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
20101 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
20102 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
20103 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
20104 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
20105 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
20106 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
20107 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
20108 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
20109 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
20112 ## ----------------------------------------- ##
20113 ## Report this to wx-dev@lists.wxwindows.org ##
20114 ## ----------------------------------------- ##
20117 sed "s/^/$as_me: WARNING: /" >&2
20120 echo "$as_me:$LINENO: checking for zlib.h" >&5
20121 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20122 if test "${ac_cv_header_zlib_h+set}" = set; then
20123 echo $ECHO_N "(cached) $ECHO_C" >&6
20125 ac_cv_header_zlib_h
=$ac_header_preproc
20127 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20128 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20134 system_zlib_h_ok
=$ac_cv_header_zlib_h
20137 if test "$system_zlib_h_ok" = "yes"; then
20138 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
20139 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
20140 if test "${ac_cv_lib_z_deflate+set}" = set; then
20141 echo $ECHO_N "(cached) $ECHO_C" >&6
20143 ac_check_lib_save_LIBS
=$LIBS
20145 cat >conftest.
$ac_ext <<_ACEOF
20148 cat confdefs.h
>>conftest.
$ac_ext
20149 cat >>conftest.
$ac_ext <<_ACEOF
20150 /* end confdefs.h. */
20152 /* Override any gcc2 internal prototype to avoid an error. */
20156 /* We use char because int might match the return type of a gcc2
20157 builtin and then its argument prototype would still apply. */
20167 rm -f conftest.
$ac_objext conftest
$ac_exeext
20168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20169 (eval $ac_link) 2>conftest.er1
20171 grep -v '^ *+' conftest.er1
>conftest.err
20173 cat conftest.err
>&5
20174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20175 (exit $ac_status); } &&
20176 { ac_try
='test -z "$ac_c_werror_flag"
20177 || test ! -s conftest.err'
20178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20179 (eval $ac_try) 2>&5
20181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20182 (exit $ac_status); }; } &&
20183 { ac_try
='test -s conftest$ac_exeext'
20184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20185 (eval $ac_try) 2>&5
20187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20188 (exit $ac_status); }; }; then
20189 ac_cv_lib_z_deflate
=yes
20191 echo "$as_me: failed program was:" >&5
20192 sed 's/^/| /' conftest.
$ac_ext >&5
20194 ac_cv_lib_z_deflate
=no
20196 rm -f conftest.err conftest.
$ac_objext \
20197 conftest
$ac_exeext conftest.
$ac_ext
20198 LIBS
=$ac_check_lib_save_LIBS
20200 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
20201 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
20202 if test $ac_cv_lib_z_deflate = yes; then
20208 if test "x$ZLIB_LINK" = "x" ; then
20209 if test "$wxUSE_ZLIB" = "sys" ; then
20210 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
20211 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
20212 { (exit 1); exit 1; }; }
20214 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
20215 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
20226 if test "$wxUSE_LIBPNG" != "no" ; then
20227 cat >>confdefs.h
<<\_ACEOF
20228 #define wxUSE_LIBPNG 1
20232 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
20233 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
20234 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
20238 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
20239 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
20240 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
20241 wxUSE_LIBPNG
=builtin
20244 if test "$wxUSE_MGL" != 1 ; then
20245 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
20246 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
20247 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
20248 if test "${ac_cv_header_png_h+set}" = set; then
20249 echo $ECHO_N "(cached) $ECHO_C" >&6
20251 if test "$cross_compiling" = yes; then
20252 unset ac_cv_header_png_h
20255 cat >conftest.
$ac_ext <<_ACEOF
20258 cat confdefs.h
>>conftest.
$ac_ext
20259 cat >>conftest.
$ac_ext <<_ACEOF
20260 /* end confdefs.h. */
20267 FILE *f=fopen("conftestval", "w");
20270 PNG_LIBPNG_VER > 90 ? "yes" : "no");
20275 rm -f conftest
$ac_exeext
20276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20277 (eval $ac_link) 2>&5
20279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20280 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20282 (eval $ac_try) 2>&5
20284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20285 (exit $ac_status); }; }; then
20286 ac_cv_header_png_h
=`cat conftestval`
20288 echo "$as_me: program exited with status $ac_status" >&5
20289 echo "$as_me: failed program was:" >&5
20290 sed 's/^/| /' conftest.
$ac_ext >&5
20292 ( exit $ac_status )
20293 ac_cv_header_png_h
=no
20295 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20299 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20300 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20301 if test "${ac_cv_header_png_h+set}" = set; then
20302 echo "$as_me:$LINENO: checking for png.h" >&5
20303 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
20304 if test "${ac_cv_header_png_h+set}" = set; then
20305 echo $ECHO_N "(cached) $ECHO_C" >&6
20307 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20308 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20310 # Is the header compilable?
20311 echo "$as_me:$LINENO: checking png.h usability" >&5
20312 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
20313 cat >conftest.
$ac_ext <<_ACEOF
20316 cat confdefs.h
>>conftest.
$ac_ext
20317 cat >>conftest.
$ac_ext <<_ACEOF
20318 /* end confdefs.h. */
20319 $ac_includes_default
20322 rm -f conftest.
$ac_objext
20323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20324 (eval $ac_compile) 2>conftest.er1
20326 grep -v '^ *+' conftest.er1
>conftest.err
20328 cat conftest.err
>&5
20329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20330 (exit $ac_status); } &&
20331 { ac_try
='test -z "$ac_c_werror_flag"
20332 || test ! -s conftest.err'
20333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20334 (eval $ac_try) 2>&5
20336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20337 (exit $ac_status); }; } &&
20338 { ac_try
='test -s conftest.$ac_objext'
20339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20340 (eval $ac_try) 2>&5
20342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20343 (exit $ac_status); }; }; then
20344 ac_header_compiler
=yes
20346 echo "$as_me: failed program was:" >&5
20347 sed 's/^/| /' conftest.
$ac_ext >&5
20349 ac_header_compiler
=no
20351 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20352 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20353 echo "${ECHO_T}$ac_header_compiler" >&6
20355 # Is the header present?
20356 echo "$as_me:$LINENO: checking png.h presence" >&5
20357 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
20358 cat >conftest.
$ac_ext <<_ACEOF
20361 cat confdefs.h
>>conftest.
$ac_ext
20362 cat >>conftest.
$ac_ext <<_ACEOF
20363 /* end confdefs.h. */
20366 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20367 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20369 grep -v '^ *+' conftest.er1
>conftest.err
20371 cat conftest.err
>&5
20372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20373 (exit $ac_status); } >/dev
/null
; then
20374 if test -s conftest.err
; then
20375 ac_cpp_err
=$ac_c_preproc_warn_flag
20376 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20383 if test -z "$ac_cpp_err"; then
20384 ac_header_preproc
=yes
20386 echo "$as_me: failed program was:" >&5
20387 sed 's/^/| /' conftest.
$ac_ext >&5
20389 ac_header_preproc
=no
20391 rm -f conftest.err conftest.
$ac_ext
20392 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20393 echo "${ECHO_T}$ac_header_preproc" >&6
20395 # So? What about this header?
20396 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20398 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
20399 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20400 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
20401 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
20402 ac_header_preproc
=yes
20405 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
20406 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
20407 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
20408 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
20409 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
20410 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
20411 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
20412 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
20413 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
20414 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
20415 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
20416 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
20419 ## ----------------------------------------- ##
20420 ## Report this to wx-dev@lists.wxwindows.org ##
20421 ## ----------------------------------------- ##
20424 sed "s/^/$as_me: WARNING: /" >&2
20427 echo "$as_me:$LINENO: checking for png.h" >&5
20428 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
20429 if test "${ac_cv_header_png_h+set}" = set; then
20430 echo $ECHO_N "(cached) $ECHO_C" >&6
20432 ac_cv_header_png_h
=$ac_header_preproc
20434 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20435 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20441 if test "$ac_cv_header_png_h" = "yes"; then
20442 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
20443 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
20444 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
20445 echo $ECHO_N "(cached) $ECHO_C" >&6
20447 ac_check_lib_save_LIBS
=$LIBS
20448 LIBS
="-lpng -lz -lm $LIBS"
20449 cat >conftest.
$ac_ext <<_ACEOF
20452 cat confdefs.h
>>conftest.
$ac_ext
20453 cat >>conftest.
$ac_ext <<_ACEOF
20454 /* end confdefs.h. */
20456 /* Override any gcc2 internal prototype to avoid an error. */
20460 /* We use char because int might match the return type of a gcc2
20461 builtin and then its argument prototype would still apply. */
20462 char png_check_sig ();
20471 rm -f conftest.
$ac_objext conftest
$ac_exeext
20472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20473 (eval $ac_link) 2>conftest.er1
20475 grep -v '^ *+' conftest.er1
>conftest.err
20477 cat conftest.err
>&5
20478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20479 (exit $ac_status); } &&
20480 { ac_try
='test -z "$ac_c_werror_flag"
20481 || test ! -s conftest.err'
20482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20483 (eval $ac_try) 2>&5
20485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20486 (exit $ac_status); }; } &&
20487 { ac_try
='test -s conftest$ac_exeext'
20488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20489 (eval $ac_try) 2>&5
20491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20492 (exit $ac_status); }; }; then
20493 ac_cv_lib_png_png_check_sig
=yes
20495 echo "$as_me: failed program was:" >&5
20496 sed 's/^/| /' conftest.
$ac_ext >&5
20498 ac_cv_lib_png_png_check_sig
=no
20500 rm -f conftest.err conftest.
$ac_objext \
20501 conftest
$ac_exeext conftest.
$ac_ext
20502 LIBS
=$ac_check_lib_save_LIBS
20504 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
20505 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
20506 if test $ac_cv_lib_png_png_check_sig = yes; then
20507 PNG_LINK
=" -lpng -lz"
20512 if test "x$PNG_LINK" = "x" ; then
20513 if test "$wxUSE_LIBPNG" = "sys" ; then
20514 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
20515 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
20516 { (exit 1); exit 1; }; }
20518 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
20519 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
20520 wxUSE_LIBPNG
=builtin
20528 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
20533 if test "$wxUSE_LIBJPEG" != "no" ; then
20534 cat >>confdefs.h
<<\_ACEOF
20535 #define wxUSE_LIBJPEG 1
20539 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
20540 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
20541 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
20545 if test "$wxUSE_MGL" != 1 ; then
20546 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
20547 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
20548 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
20549 if test "${ac_cv_header_jpeglib_h+set}" = set; then
20550 echo $ECHO_N "(cached) $ECHO_C" >&6
20552 cat >conftest.
$ac_ext <<_ACEOF
20555 cat confdefs.h
>>conftest.
$ac_ext
20556 cat >>conftest.
$ac_ext <<_ACEOF
20557 /* end confdefs.h. */
20559 #undef HAVE_STDLIB_H
20561 #include <jpeglib.h>
20572 rm -f conftest.
$ac_objext
20573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20574 (eval $ac_compile) 2>conftest.er1
20576 grep -v '^ *+' conftest.er1
>conftest.err
20578 cat conftest.err
>&5
20579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20580 (exit $ac_status); } &&
20581 { ac_try
='test -z "$ac_c_werror_flag"
20582 || test ! -s conftest.err'
20583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20584 (eval $ac_try) 2>&5
20586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20587 (exit $ac_status); }; } &&
20588 { ac_try
='test -s conftest.$ac_objext'
20589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20590 (eval $ac_try) 2>&5
20592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20593 (exit $ac_status); }; }; then
20594 ac_cv_header_jpeglib_h
=yes
20596 echo "$as_me: failed program was:" >&5
20597 sed 's/^/| /' conftest.
$ac_ext >&5
20599 ac_cv_header_jpeglib_h
=no
20602 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20606 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
20607 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
20609 if test "$ac_cv_header_jpeglib_h" = "yes"; then
20610 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
20611 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
20612 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
20613 echo $ECHO_N "(cached) $ECHO_C" >&6
20615 ac_check_lib_save_LIBS
=$LIBS
20616 LIBS
="-ljpeg $LIBS"
20617 cat >conftest.
$ac_ext <<_ACEOF
20620 cat confdefs.h
>>conftest.
$ac_ext
20621 cat >>conftest.
$ac_ext <<_ACEOF
20622 /* end confdefs.h. */
20624 /* Override any gcc2 internal prototype to avoid an error. */
20628 /* We use char because int might match the return type of a gcc2
20629 builtin and then its argument prototype would still apply. */
20630 char jpeg_read_header ();
20634 jpeg_read_header ();
20639 rm -f conftest.
$ac_objext conftest
$ac_exeext
20640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20641 (eval $ac_link) 2>conftest.er1
20643 grep -v '^ *+' conftest.er1
>conftest.err
20645 cat conftest.err
>&5
20646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20647 (exit $ac_status); } &&
20648 { ac_try
='test -z "$ac_c_werror_flag"
20649 || test ! -s conftest.err'
20650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20651 (eval $ac_try) 2>&5
20653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20654 (exit $ac_status); }; } &&
20655 { ac_try
='test -s conftest$ac_exeext'
20656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20657 (eval $ac_try) 2>&5
20659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20660 (exit $ac_status); }; }; then
20661 ac_cv_lib_jpeg_jpeg_read_header
=yes
20663 echo "$as_me: failed program was:" >&5
20664 sed 's/^/| /' conftest.
$ac_ext >&5
20666 ac_cv_lib_jpeg_jpeg_read_header
=no
20668 rm -f conftest.err conftest.
$ac_objext \
20669 conftest
$ac_exeext conftest.
$ac_ext
20670 LIBS
=$ac_check_lib_save_LIBS
20672 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
20673 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
20674 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
20675 JPEG_LINK
=" -ljpeg"
20680 if test "x$JPEG_LINK" = "x" ; then
20681 if test "$wxUSE_LIBJPEG" = "sys" ; then
20682 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
20683 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
20684 { (exit 1); exit 1; }; }
20686 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
20687 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
20688 wxUSE_LIBJPEG
=builtin
20699 TIFF_PREREQ_LINKS
=-lm
20700 if test "$wxUSE_LIBTIFF" != "no" ; then
20701 cat >>confdefs.h
<<\_ACEOF
20702 #define wxUSE_LIBTIFF 1
20706 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
20707 if test "$wxUSE_LIBJPEG" = "sys"; then
20708 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
20710 if test "$wxUSE_ZLIB" = "sys"; then
20711 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
20713 if test "${ac_cv_header_tiffio_h+set}" = set; then
20714 echo "$as_me:$LINENO: checking for tiffio.h" >&5
20715 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
20716 if test "${ac_cv_header_tiffio_h+set}" = set; then
20717 echo $ECHO_N "(cached) $ECHO_C" >&6
20719 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
20720 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
20722 # Is the header compilable?
20723 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
20724 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
20725 cat >conftest.
$ac_ext <<_ACEOF
20728 cat confdefs.h
>>conftest.
$ac_ext
20729 cat >>conftest.
$ac_ext <<_ACEOF
20730 /* end confdefs.h. */
20731 $ac_includes_default
20732 #include <tiffio.h>
20734 rm -f conftest.
$ac_objext
20735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20736 (eval $ac_compile) 2>conftest.er1
20738 grep -v '^ *+' conftest.er1
>conftest.err
20740 cat conftest.err
>&5
20741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20742 (exit $ac_status); } &&
20743 { ac_try
='test -z "$ac_c_werror_flag"
20744 || test ! -s conftest.err'
20745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20746 (eval $ac_try) 2>&5
20748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20749 (exit $ac_status); }; } &&
20750 { ac_try
='test -s conftest.$ac_objext'
20751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20752 (eval $ac_try) 2>&5
20754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20755 (exit $ac_status); }; }; then
20756 ac_header_compiler
=yes
20758 echo "$as_me: failed program was:" >&5
20759 sed 's/^/| /' conftest.
$ac_ext >&5
20761 ac_header_compiler
=no
20763 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20764 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20765 echo "${ECHO_T}$ac_header_compiler" >&6
20767 # Is the header present?
20768 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
20769 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
20770 cat >conftest.
$ac_ext <<_ACEOF
20773 cat confdefs.h
>>conftest.
$ac_ext
20774 cat >>conftest.
$ac_ext <<_ACEOF
20775 /* end confdefs.h. */
20776 #include <tiffio.h>
20778 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20779 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20781 grep -v '^ *+' conftest.er1
>conftest.err
20783 cat conftest.err
>&5
20784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20785 (exit $ac_status); } >/dev
/null
; then
20786 if test -s conftest.err
; then
20787 ac_cpp_err
=$ac_c_preproc_warn_flag
20788 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20795 if test -z "$ac_cpp_err"; then
20796 ac_header_preproc
=yes
20798 echo "$as_me: failed program was:" >&5
20799 sed 's/^/| /' conftest.
$ac_ext >&5
20801 ac_header_preproc
=no
20803 rm -f conftest.err conftest.
$ac_ext
20804 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20805 echo "${ECHO_T}$ac_header_preproc" >&6
20807 # So? What about this header?
20808 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20810 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
20811 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20812 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
20813 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
20814 ac_header_preproc
=yes
20817 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
20818 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
20819 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
20820 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
20821 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
20822 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
20823 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
20824 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
20825 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
20826 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
20827 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
20828 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
20831 ## ----------------------------------------- ##
20832 ## Report this to wx-dev@lists.wxwindows.org ##
20833 ## ----------------------------------------- ##
20836 sed "s/^/$as_me: WARNING: /" >&2
20839 echo "$as_me:$LINENO: checking for tiffio.h" >&5
20840 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
20841 if test "${ac_cv_header_tiffio_h+set}" = set; then
20842 echo $ECHO_N "(cached) $ECHO_C" >&6
20844 ac_cv_header_tiffio_h
=$ac_header_preproc
20846 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
20847 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
20850 if test $ac_cv_header_tiffio_h = yes; then
20852 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
20853 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
20854 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
20855 echo $ECHO_N "(cached) $ECHO_C" >&6
20857 ac_check_lib_save_LIBS
=$LIBS
20858 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
20859 cat >conftest.
$ac_ext <<_ACEOF
20862 cat confdefs.h
>>conftest.
$ac_ext
20863 cat >>conftest.
$ac_ext <<_ACEOF
20864 /* end confdefs.h. */
20866 /* Override any gcc2 internal prototype to avoid an error. */
20870 /* We use char because int might match the return type of a gcc2
20871 builtin and then its argument prototype would still apply. */
20881 rm -f conftest.
$ac_objext conftest
$ac_exeext
20882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20883 (eval $ac_link) 2>conftest.er1
20885 grep -v '^ *+' conftest.er1
>conftest.err
20887 cat conftest.err
>&5
20888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20889 (exit $ac_status); } &&
20890 { ac_try
='test -z "$ac_c_werror_flag"
20891 || test ! -s conftest.err'
20892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20893 (eval $ac_try) 2>&5
20895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20896 (exit $ac_status); }; } &&
20897 { ac_try
='test -s conftest$ac_exeext'
20898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20899 (eval $ac_try) 2>&5
20901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20902 (exit $ac_status); }; }; then
20903 ac_cv_lib_tiff_TIFFError
=yes
20905 echo "$as_me: failed program was:" >&5
20906 sed 's/^/| /' conftest.
$ac_ext >&5
20908 ac_cv_lib_tiff_TIFFError
=no
20910 rm -f conftest.err conftest.
$ac_objext \
20911 conftest
$ac_exeext conftest.
$ac_ext
20912 LIBS
=$ac_check_lib_save_LIBS
20914 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
20915 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
20916 if test $ac_cv_lib_tiff_TIFFError = yes; then
20917 TIFF_LINK
=" -ltiff"
20926 if test "x$TIFF_LINK" = "x" ; then
20927 if test "$wxUSE_LIBTIFF" = "sys" ; then
20928 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
20929 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
20930 { (exit 1); exit 1; }; }
20932 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
20933 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
20934 wxUSE_LIBTIFF
=builtin
20943 if test "$wxUSE_EXPAT" != "no"; then
20945 cat >>confdefs.h
<<\_ACEOF
20946 #define wxUSE_EXPAT 1
20949 cat >>confdefs.h
<<\_ACEOF
20950 #define wxUSE_XML 1
20954 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
20955 if test "${ac_cv_header_expat_h+set}" = set; then
20956 echo "$as_me:$LINENO: checking for expat.h" >&5
20957 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
20958 if test "${ac_cv_header_expat_h+set}" = set; then
20959 echo $ECHO_N "(cached) $ECHO_C" >&6
20961 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
20962 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
20964 # Is the header compilable?
20965 echo "$as_me:$LINENO: checking expat.h usability" >&5
20966 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
20967 cat >conftest.
$ac_ext <<_ACEOF
20970 cat confdefs.h
>>conftest.
$ac_ext
20971 cat >>conftest.
$ac_ext <<_ACEOF
20972 /* end confdefs.h. */
20973 $ac_includes_default
20976 rm -f conftest.
$ac_objext
20977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20978 (eval $ac_compile) 2>conftest.er1
20980 grep -v '^ *+' conftest.er1
>conftest.err
20982 cat conftest.err
>&5
20983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20984 (exit $ac_status); } &&
20985 { ac_try
='test -z "$ac_c_werror_flag"
20986 || test ! -s conftest.err'
20987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20988 (eval $ac_try) 2>&5
20990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20991 (exit $ac_status); }; } &&
20992 { ac_try
='test -s conftest.$ac_objext'
20993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20994 (eval $ac_try) 2>&5
20996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20997 (exit $ac_status); }; }; then
20998 ac_header_compiler
=yes
21000 echo "$as_me: failed program was:" >&5
21001 sed 's/^/| /' conftest.
$ac_ext >&5
21003 ac_header_compiler
=no
21005 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21006 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21007 echo "${ECHO_T}$ac_header_compiler" >&6
21009 # Is the header present?
21010 echo "$as_me:$LINENO: checking expat.h presence" >&5
21011 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
21012 cat >conftest.
$ac_ext <<_ACEOF
21015 cat confdefs.h
>>conftest.
$ac_ext
21016 cat >>conftest.
$ac_ext <<_ACEOF
21017 /* end confdefs.h. */
21020 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21021 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21023 grep -v '^ *+' conftest.er1
>conftest.err
21025 cat conftest.err
>&5
21026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21027 (exit $ac_status); } >/dev
/null
; then
21028 if test -s conftest.err
; then
21029 ac_cpp_err
=$ac_c_preproc_warn_flag
21030 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21037 if test -z "$ac_cpp_err"; then
21038 ac_header_preproc
=yes
21040 echo "$as_me: failed program was:" >&5
21041 sed 's/^/| /' conftest.
$ac_ext >&5
21043 ac_header_preproc
=no
21045 rm -f conftest.err conftest.
$ac_ext
21046 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21047 echo "${ECHO_T}$ac_header_preproc" >&6
21049 # So? What about this header?
21050 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21052 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
21053 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21054 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
21055 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
21056 ac_header_preproc
=yes
21059 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
21060 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
21061 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
21062 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
21063 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
21064 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
21065 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
21066 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
21067 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
21068 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
21069 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
21070 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
21073 ## ----------------------------------------- ##
21074 ## Report this to wx-dev@lists.wxwindows.org ##
21075 ## ----------------------------------------- ##
21078 sed "s/^/$as_me: WARNING: /" >&2
21081 echo "$as_me:$LINENO: checking for expat.h" >&5
21082 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21083 if test "${ac_cv_header_expat_h+set}" = set; then
21084 echo $ECHO_N "(cached) $ECHO_C" >&6
21086 ac_cv_header_expat_h
=$ac_header_preproc
21088 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21089 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21092 if test $ac_cv_header_expat_h = yes; then
21097 if test "x$found_expat_h" = "x1"; then
21098 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
21099 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
21100 if test "${wx_cv_expat_is_not_broken+set}" = set; then
21101 echo $ECHO_N "(cached) $ECHO_C" >&6
21107 ac_cpp
='$CXXCPP $CPPFLAGS'
21108 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21109 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21110 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21112 cat >conftest.
$ac_ext <<_ACEOF
21115 cat confdefs.h
>>conftest.
$ac_ext
21116 cat >>conftest.
$ac_ext <<_ACEOF
21117 /* end confdefs.h. */
21127 rm -f conftest.
$ac_objext
21128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21129 (eval $ac_compile) 2>conftest.er1
21131 grep -v '^ *+' conftest.er1
>conftest.err
21133 cat conftest.err
>&5
21134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21135 (exit $ac_status); } &&
21136 { ac_try
='test -z "$ac_cxx_werror_flag"
21137 || test ! -s conftest.err'
21138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21139 (eval $ac_try) 2>&5
21141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21142 (exit $ac_status); }; } &&
21143 { ac_try
='test -s conftest.$ac_objext'
21144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21145 (eval $ac_try) 2>&5
21147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21148 (exit $ac_status); }; }; then
21149 wx_cv_expat_is_not_broken
=yes
21151 echo "$as_me: failed program was:" >&5
21152 sed 's/^/| /' conftest.
$ac_ext >&5
21154 wx_cv_expat_is_not_broken
=no
21157 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21159 ac_cpp
='$CPP $CPPFLAGS'
21160 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21161 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21162 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21167 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
21168 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
21169 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
21170 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
21171 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
21172 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
21173 echo $ECHO_N "(cached) $ECHO_C" >&6
21175 ac_check_lib_save_LIBS
=$LIBS
21176 LIBS
="-lexpat $LIBS"
21177 cat >conftest.
$ac_ext <<_ACEOF
21180 cat confdefs.h
>>conftest.
$ac_ext
21181 cat >>conftest.
$ac_ext <<_ACEOF
21182 /* end confdefs.h. */
21184 /* Override any gcc2 internal prototype to avoid an error. */
21188 /* We use char because int might match the return type of a gcc2
21189 builtin and then its argument prototype would still apply. */
21190 char XML_ParserCreate ();
21194 XML_ParserCreate ();
21199 rm -f conftest.
$ac_objext conftest
$ac_exeext
21200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21201 (eval $ac_link) 2>conftest.er1
21203 grep -v '^ *+' conftest.er1
>conftest.err
21205 cat conftest.err
>&5
21206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21207 (exit $ac_status); } &&
21208 { ac_try
='test -z "$ac_c_werror_flag"
21209 || test ! -s conftest.err'
21210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21211 (eval $ac_try) 2>&5
21213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21214 (exit $ac_status); }; } &&
21215 { ac_try
='test -s conftest$ac_exeext'
21216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21217 (eval $ac_try) 2>&5
21219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21220 (exit $ac_status); }; }; then
21221 ac_cv_lib_expat_XML_ParserCreate
=yes
21223 echo "$as_me: failed program was:" >&5
21224 sed 's/^/| /' conftest.
$ac_ext >&5
21226 ac_cv_lib_expat_XML_ParserCreate
=no
21228 rm -f conftest.err conftest.
$ac_objext \
21229 conftest
$ac_exeext conftest.
$ac_ext
21230 LIBS
=$ac_check_lib_save_LIBS
21232 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
21233 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
21234 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
21235 EXPAT_LINK
=" -lexpat"
21240 if test "x$EXPAT_LINK" = "x" ; then
21241 if test "$wxUSE_EXPAT" = "sys" ; then
21242 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
21243 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
21244 { (exit 1); exit 1; }; }
21246 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
21247 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
21248 wxUSE_EXPAT
=builtin
21254 if test "$wxUSE_EXPAT" = "builtin" ; then
21257 subdirs
="$subdirs src/expat"
21264 if test "$wxUSE_LIBMSPACK" != "no"; then
21266 if test "${ac_cv_header_mspack_h+set}" = set; then
21267 echo "$as_me:$LINENO: checking for mspack.h" >&5
21268 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21269 if test "${ac_cv_header_mspack_h+set}" = set; then
21270 echo $ECHO_N "(cached) $ECHO_C" >&6
21272 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21273 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21275 # Is the header compilable?
21276 echo "$as_me:$LINENO: checking mspack.h usability" >&5
21277 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
21278 cat >conftest.
$ac_ext <<_ACEOF
21281 cat confdefs.h
>>conftest.
$ac_ext
21282 cat >>conftest.
$ac_ext <<_ACEOF
21283 /* end confdefs.h. */
21284 $ac_includes_default
21285 #include <mspack.h>
21287 rm -f conftest.
$ac_objext
21288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21289 (eval $ac_compile) 2>conftest.er1
21291 grep -v '^ *+' conftest.er1
>conftest.err
21293 cat conftest.err
>&5
21294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21295 (exit $ac_status); } &&
21296 { ac_try
='test -z "$ac_c_werror_flag"
21297 || test ! -s conftest.err'
21298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21299 (eval $ac_try) 2>&5
21301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21302 (exit $ac_status); }; } &&
21303 { ac_try
='test -s conftest.$ac_objext'
21304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21305 (eval $ac_try) 2>&5
21307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21308 (exit $ac_status); }; }; then
21309 ac_header_compiler
=yes
21311 echo "$as_me: failed program was:" >&5
21312 sed 's/^/| /' conftest.
$ac_ext >&5
21314 ac_header_compiler
=no
21316 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21317 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21318 echo "${ECHO_T}$ac_header_compiler" >&6
21320 # Is the header present?
21321 echo "$as_me:$LINENO: checking mspack.h presence" >&5
21322 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
21323 cat >conftest.
$ac_ext <<_ACEOF
21326 cat confdefs.h
>>conftest.
$ac_ext
21327 cat >>conftest.
$ac_ext <<_ACEOF
21328 /* end confdefs.h. */
21329 #include <mspack.h>
21331 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21332 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21334 grep -v '^ *+' conftest.er1
>conftest.err
21336 cat conftest.err
>&5
21337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21338 (exit $ac_status); } >/dev
/null
; then
21339 if test -s conftest.err
; then
21340 ac_cpp_err
=$ac_c_preproc_warn_flag
21341 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21348 if test -z "$ac_cpp_err"; then
21349 ac_header_preproc
=yes
21351 echo "$as_me: failed program was:" >&5
21352 sed 's/^/| /' conftest.
$ac_ext >&5
21354 ac_header_preproc
=no
21356 rm -f conftest.err conftest.
$ac_ext
21357 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21358 echo "${ECHO_T}$ac_header_preproc" >&6
21360 # So? What about this header?
21361 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21363 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
21364 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21365 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
21366 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
21367 ac_header_preproc
=yes
21370 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
21371 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
21372 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
21373 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
21374 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
21375 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
21376 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
21377 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
21378 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
21379 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
21380 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
21381 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
21384 ## ----------------------------------------- ##
21385 ## Report this to wx-dev@lists.wxwindows.org ##
21386 ## ----------------------------------------- ##
21389 sed "s/^/$as_me: WARNING: /" >&2
21392 echo "$as_me:$LINENO: checking for mspack.h" >&5
21393 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21394 if test "${ac_cv_header_mspack_h+set}" = set; then
21395 echo $ECHO_N "(cached) $ECHO_C" >&6
21397 ac_cv_header_mspack_h
=$ac_header_preproc
21399 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21400 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21403 if test $ac_cv_header_mspack_h = yes; then
21408 if test "x$found_mspack_h" = "x1"; then
21409 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
21410 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
21411 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
21412 echo $ECHO_N "(cached) $ECHO_C" >&6
21414 ac_check_lib_save_LIBS
=$LIBS
21415 LIBS
="-lmspack $LIBS"
21416 cat >conftest.
$ac_ext <<_ACEOF
21419 cat confdefs.h
>>conftest.
$ac_ext
21420 cat >>conftest.
$ac_ext <<_ACEOF
21421 /* end confdefs.h. */
21423 /* Override any gcc2 internal prototype to avoid an error. */
21427 /* We use char because int might match the return type of a gcc2
21428 builtin and then its argument prototype would still apply. */
21429 char mspack_create_chm_decompressor ();
21433 mspack_create_chm_decompressor ();
21438 rm -f conftest.
$ac_objext conftest
$ac_exeext
21439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21440 (eval $ac_link) 2>conftest.er1
21442 grep -v '^ *+' conftest.er1
>conftest.err
21444 cat conftest.err
>&5
21445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21446 (exit $ac_status); } &&
21447 { ac_try
='test -z "$ac_c_werror_flag"
21448 || test ! -s conftest.err'
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); }; } &&
21454 { ac_try
='test -s conftest$ac_exeext'
21455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21456 (eval $ac_try) 2>&5
21458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21459 (exit $ac_status); }; }; then
21460 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
21462 echo "$as_me: failed program was:" >&5
21463 sed 's/^/| /' conftest.
$ac_ext >&5
21465 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
21467 rm -f conftest.err conftest.
$ac_objext \
21468 conftest
$ac_exeext conftest.
$ac_ext
21469 LIBS
=$ac_check_lib_save_LIBS
21471 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
21472 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
21473 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
21474 MSPACK_LINK
=" -lmspack"
21478 if test "x$MSPACK_LINK" = "x" ; then
21481 cat >>confdefs.h
<<\_ACEOF
21482 #define wxUSE_LIBMSPACK 1
21497 if test "$USE_WIN32" = 1 ; then
21499 for ac_header
in w32api.h
21501 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21502 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21503 echo "$as_me:$LINENO: checking for $ac_header" >&5
21504 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21505 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21506 echo $ECHO_N "(cached) $ECHO_C" >&6
21508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21509 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21511 # Is the header compilable?
21512 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21513 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21514 cat >conftest.
$ac_ext <<_ACEOF
21517 cat confdefs.h
>>conftest.
$ac_ext
21518 cat >>conftest.
$ac_ext <<_ACEOF
21519 /* end confdefs.h. */
21520 $ac_includes_default
21521 #include <$ac_header>
21523 rm -f conftest.
$ac_objext
21524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21525 (eval $ac_compile) 2>conftest.er1
21527 grep -v '^ *+' conftest.er1
>conftest.err
21529 cat conftest.err
>&5
21530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21531 (exit $ac_status); } &&
21532 { ac_try
='test -z "$ac_c_werror_flag"
21533 || test ! -s conftest.err'
21534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21535 (eval $ac_try) 2>&5
21537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21538 (exit $ac_status); }; } &&
21539 { ac_try
='test -s conftest.$ac_objext'
21540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21541 (eval $ac_try) 2>&5
21543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21544 (exit $ac_status); }; }; then
21545 ac_header_compiler
=yes
21547 echo "$as_me: failed program was:" >&5
21548 sed 's/^/| /' conftest.
$ac_ext >&5
21550 ac_header_compiler
=no
21552 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21553 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21554 echo "${ECHO_T}$ac_header_compiler" >&6
21556 # Is the header present?
21557 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21558 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21559 cat >conftest.
$ac_ext <<_ACEOF
21562 cat confdefs.h
>>conftest.
$ac_ext
21563 cat >>conftest.
$ac_ext <<_ACEOF
21564 /* end confdefs.h. */
21565 #include <$ac_header>
21567 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21568 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21570 grep -v '^ *+' conftest.er1
>conftest.err
21572 cat conftest.err
>&5
21573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21574 (exit $ac_status); } >/dev
/null
; then
21575 if test -s conftest.err
; then
21576 ac_cpp_err
=$ac_c_preproc_warn_flag
21577 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21584 if test -z "$ac_cpp_err"; then
21585 ac_header_preproc
=yes
21587 echo "$as_me: failed program was:" >&5
21588 sed 's/^/| /' conftest.
$ac_ext >&5
21590 ac_header_preproc
=no
21592 rm -f conftest.err conftest.
$ac_ext
21593 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21594 echo "${ECHO_T}$ac_header_preproc" >&6
21596 # So? What about this header?
21597 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21599 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21600 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21601 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21602 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21603 ac_header_preproc
=yes
21606 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21607 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21608 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21609 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21610 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21611 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21612 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21613 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21614 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21615 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21616 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21617 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21620 ## ----------------------------------------- ##
21621 ## Report this to wx-dev@lists.wxwindows.org ##
21622 ## ----------------------------------------- ##
21625 sed "s/^/$as_me: WARNING: /" >&2
21628 echo "$as_me:$LINENO: checking for $ac_header" >&5
21629 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21630 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21631 echo $ECHO_N "(cached) $ECHO_C" >&6
21633 eval "$as_ac_Header=\$ac_header_preproc"
21635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21636 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21639 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21640 cat >>confdefs.h
<<_ACEOF
21641 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21648 if test "${ac_cv_header_windows_h+set}" = set; then
21649 echo "$as_me:$LINENO: checking for windows.h" >&5
21650 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
21651 if test "${ac_cv_header_windows_h+set}" = set; then
21652 echo $ECHO_N "(cached) $ECHO_C" >&6
21654 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
21655 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
21657 # Is the header compilable?
21658 echo "$as_me:$LINENO: checking windows.h usability" >&5
21659 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
21660 cat >conftest.
$ac_ext <<_ACEOF
21663 cat confdefs.h
>>conftest.
$ac_ext
21664 cat >>conftest.
$ac_ext <<_ACEOF
21665 /* end confdefs.h. */
21666 $ac_includes_default
21667 #include <windows.h>
21669 rm -f conftest.
$ac_objext
21670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21671 (eval $ac_compile) 2>conftest.er1
21673 grep -v '^ *+' conftest.er1
>conftest.err
21675 cat conftest.err
>&5
21676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21677 (exit $ac_status); } &&
21678 { ac_try
='test -z "$ac_c_werror_flag"
21679 || test ! -s conftest.err'
21680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21681 (eval $ac_try) 2>&5
21683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21684 (exit $ac_status); }; } &&
21685 { ac_try
='test -s conftest.$ac_objext'
21686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21687 (eval $ac_try) 2>&5
21689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21690 (exit $ac_status); }; }; then
21691 ac_header_compiler
=yes
21693 echo "$as_me: failed program was:" >&5
21694 sed 's/^/| /' conftest.
$ac_ext >&5
21696 ac_header_compiler
=no
21698 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21699 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21700 echo "${ECHO_T}$ac_header_compiler" >&6
21702 # Is the header present?
21703 echo "$as_me:$LINENO: checking windows.h presence" >&5
21704 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
21705 cat >conftest.
$ac_ext <<_ACEOF
21708 cat confdefs.h
>>conftest.
$ac_ext
21709 cat >>conftest.
$ac_ext <<_ACEOF
21710 /* end confdefs.h. */
21711 #include <windows.h>
21713 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21714 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21716 grep -v '^ *+' conftest.er1
>conftest.err
21718 cat conftest.err
>&5
21719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21720 (exit $ac_status); } >/dev
/null
; then
21721 if test -s conftest.err
; then
21722 ac_cpp_err
=$ac_c_preproc_warn_flag
21723 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21730 if test -z "$ac_cpp_err"; then
21731 ac_header_preproc
=yes
21733 echo "$as_me: failed program was:" >&5
21734 sed 's/^/| /' conftest.
$ac_ext >&5
21736 ac_header_preproc
=no
21738 rm -f conftest.err conftest.
$ac_ext
21739 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21740 echo "${ECHO_T}$ac_header_preproc" >&6
21742 # So? What about this header?
21743 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21745 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
21746 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21747 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
21748 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
21749 ac_header_preproc
=yes
21752 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
21753 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
21754 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
21755 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
21756 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
21757 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
21758 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
21759 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
21760 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
21761 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
21762 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
21763 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
21766 ## ----------------------------------------- ##
21767 ## Report this to wx-dev@lists.wxwindows.org ##
21768 ## ----------------------------------------- ##
21771 sed "s/^/$as_me: WARNING: /" >&2
21774 echo "$as_me:$LINENO: checking for windows.h" >&5
21775 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
21776 if test "${ac_cv_header_windows_h+set}" = set; then
21777 echo $ECHO_N "(cached) $ECHO_C" >&6
21779 ac_cv_header_windows_h
=$ac_header_preproc
21781 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
21782 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
21785 if test $ac_cv_header_windows_h = yes; then
21789 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
21790 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
21791 { (exit 1); exit 1; }; }
21797 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
21799 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
21800 LIBS
="$LIBS -loleacc"
21805 LIBS
="$LIBS -lkernel32 -luser32"
21806 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
21809 if test "$wxUSE_ODBC" = "sys" ; then
21812 if test "$wxUSE_ODBC" = "yes" ; then
21813 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
21814 cat >>confdefs.h
<<\_ACEOF
21815 #define wxUSE_ODBC 1
21820 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
21821 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
21823 WIN32INSTALL
=win32install
21826 if test "$wxUSE_GUI" = "yes"; then
21836 if test "$wxUSE_MSW" = 1 ; then
21842 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
21846 if test "$wxUSE_GTK" = 1; then
21847 echo "$as_me:$LINENO: checking for GTK+ version" >&5
21848 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
21850 gtk_version_cached
=1
21851 if test "${wx_cv_lib_gtk+set}" = set; then
21852 echo $ECHO_N "(cached) $ECHO_C" >&6
21855 gtk_version_cached
=0
21856 echo "$as_me:$LINENO: result: " >&5
21857 echo "${ECHO_T}" >&6
21860 if test "$wxUSE_THREADS" = "yes"; then
21861 GTK_MODULES
=gthread
21865 if test "x$wxUSE_GTK2" = "xyes"; then
21866 # Check whether --enable-gtktest or --disable-gtktest was given.
21867 if test "${enable_gtktest+set}" = set; then
21868 enableval
="$enable_gtktest"
21874 pkg_config_args
=gtk
+-2.0
21875 for module
in .
$GTK_MODULES
21879 pkg_config_args
="$pkg_config_args gthread-2.0"
21886 # Extract the first word of "pkg-config", so it can be a program name with args.
21887 set dummy pkg
-config; ac_word
=$2
21888 echo "$as_me:$LINENO: checking for $ac_word" >&5
21889 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21890 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21891 echo $ECHO_N "(cached) $ECHO_C" >&6
21893 case $PKG_CONFIG in
21895 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21898 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21899 for as_dir
in $PATH
21902 test -z "$as_dir" && as_dir
=.
21903 for ac_exec_ext
in '' $ac_executable_extensions; do
21904 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21905 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21906 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21912 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21916 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21918 if test -n "$PKG_CONFIG"; then
21919 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21920 echo "${ECHO_T}$PKG_CONFIG" >&6
21922 echo "$as_me:$LINENO: result: no" >&5
21923 echo "${ECHO_T}no" >&6
21927 if test x
$PKG_CONFIG != xno
; then
21928 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
21931 echo "*** pkg-config too old; version 0.7 or better required."
21939 min_gtk_version
=2.0.0
21940 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
21941 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
21943 if test x
$PKG_CONFIG != xno
; then
21944 ## don't try to run the test against uninstalled libtool libs
21945 if $PKG_CONFIG --uninstalled $pkg_config_args; then
21946 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
21950 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
21957 if test x
"$no_gtk" = x
; then
21958 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
21959 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
21960 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
21961 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
21962 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
21963 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
21964 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
21965 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
21966 if test "x$enable_gtktest" = "xyes" ; then
21967 ac_save_CFLAGS
="$CFLAGS"
21968 ac_save_LIBS
="$LIBS"
21969 CFLAGS
="$CFLAGS $GTK_CFLAGS"
21970 LIBS
="$GTK_LIBS $LIBS"
21972 if test "$cross_compiling" = yes; then
21973 echo $ac_n "cross compiling; assumed OK... $ac_c"
21975 cat >conftest.
$ac_ext <<_ACEOF
21978 cat confdefs.h
>>conftest.
$ac_ext
21979 cat >>conftest.
$ac_ext <<_ACEOF
21980 /* end confdefs.h. */
21982 #include <gtk/gtk.h>
21984 #include <stdlib.h>
21989 int major, minor, micro;
21992 system ("touch conf.gtktest");
21994 /* HP/UX 9 (%@#!) writes to sscanf strings */
21995 tmp_version = g_strdup("$min_gtk_version");
21996 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
21997 printf("%s, bad version string\n", "$min_gtk_version");
22001 if ((gtk_major_version != $gtk_config_major_version) ||
22002 (gtk_minor_version != $gtk_config_minor_version) ||
22003 (gtk_micro_version != $gtk_config_micro_version))
22005 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22006 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22007 gtk_major_version, gtk_minor_version, gtk_micro_version);
22008 printf ("*** was found! If pkg-config was correct, then it is best\n");
22009 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22010 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22011 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22012 printf("*** required on your system.\n");
22013 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
22014 printf("*** to point to the correct configuration files\n");
22016 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22017 (gtk_minor_version != GTK_MINOR_VERSION) ||
22018 (gtk_micro_version != GTK_MICRO_VERSION))
22020 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22021 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22022 printf("*** library (version %d.%d.%d)\n",
22023 gtk_major_version, gtk_minor_version, gtk_micro_version);
22027 if ((gtk_major_version > major) ||
22028 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22029 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22035 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22036 gtk_major_version, gtk_minor_version, gtk_micro_version);
22037 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22038 major, minor, micro);
22039 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22041 printf("*** If you have already installed a sufficiently new version, this error\n");
22042 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
22043 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22044 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
22045 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
22046 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22047 printf("*** so that the correct libraries are found at run-time))\n");
22054 rm -f conftest
$ac_exeext
22055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22056 (eval $ac_link) 2>&5
22058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22059 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22061 (eval $ac_try) 2>&5
22063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22064 (exit $ac_status); }; }; then
22067 echo "$as_me: program exited with status $ac_status" >&5
22068 echo "$as_me: failed program was:" >&5
22069 sed 's/^/| /' conftest.
$ac_ext >&5
22071 ( exit $ac_status )
22074 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22076 CFLAGS
="$ac_save_CFLAGS"
22077 LIBS
="$ac_save_LIBS"
22080 if test "x$no_gtk" = x
; then
22081 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
22082 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
22085 echo "$as_me:$LINENO: result: no" >&5
22086 echo "${ECHO_T}no" >&6
22087 if test "$PKG_CONFIG" = "no" ; then
22088 echo "*** A new enough version of pkg-config was not found."
22089 echo "*** See http://pkgconfig.sourceforge.net"
22091 if test -f conf.gtktest
; then
22094 echo "*** Could not run GTK+ test program, checking why..."
22095 ac_save_CFLAGS
="$CFLAGS"
22096 ac_save_LIBS
="$LIBS"
22097 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22098 LIBS
="$LIBS $GTK_LIBS"
22099 cat >conftest.
$ac_ext <<_ACEOF
22102 cat confdefs.h
>>conftest.
$ac_ext
22103 cat >>conftest.
$ac_ext <<_ACEOF
22104 /* end confdefs.h. */
22106 #include <gtk/gtk.h>
22112 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22117 rm -f conftest.
$ac_objext conftest
$ac_exeext
22118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22119 (eval $ac_link) 2>conftest.er1
22121 grep -v '^ *+' conftest.er1
>conftest.err
22123 cat conftest.err
>&5
22124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22125 (exit $ac_status); } &&
22126 { ac_try
='test -z "$ac_c_werror_flag"
22127 || test ! -s conftest.err'
22128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22129 (eval $ac_try) 2>&5
22131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22132 (exit $ac_status); }; } &&
22133 { ac_try
='test -s conftest$ac_exeext'
22134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22135 (eval $ac_try) 2>&5
22137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22138 (exit $ac_status); }; }; then
22139 echo "*** The test program compiled, but did not run. This usually means"
22140 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
22141 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
22142 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22143 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22144 echo "*** is required on your system"
22146 echo "*** If you have an old version installed, it is best to remove it, although"
22147 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22149 echo "$as_me: failed program was:" >&5
22150 sed 's/^/| /' conftest.
$ac_ext >&5
22152 echo "*** The test program failed to compile or link. See the file config.log for the"
22153 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
22155 rm -f conftest.err conftest.
$ac_objext \
22156 conftest
$ac_exeext conftest.
$ac_ext
22157 CFLAGS
="$ac_save_CFLAGS"
22158 LIBS
="$ac_save_LIBS"
22171 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22172 if test "${with_gtk_prefix+set}" = set; then
22173 withval
="$with_gtk_prefix"
22174 gtk_config_prefix
="$withval"
22176 gtk_config_prefix
=""
22179 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22180 if test "${with_gtk_exec_prefix+set}" = set; then
22181 withval
="$with_gtk_exec_prefix"
22182 gtk_config_exec_prefix
="$withval"
22184 gtk_config_exec_prefix
=""
22186 # Check whether --enable-gtktest or --disable-gtktest was given.
22187 if test "${enable_gtktest+set}" = set; then
22188 enableval
="$enable_gtktest"
22194 for module
in .
$GTK_MODULES
22198 gtk_config_args
="$gtk_config_args gthread"
22203 if test x
$gtk_config_exec_prefix != x
; then
22204 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22205 if test x
${GTK_CONFIG+set} != xset
; then
22206 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
22209 if test x
$gtk_config_prefix != x
; then
22210 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
22211 if test x
${GTK_CONFIG+set} != xset
; then
22212 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
22216 # Extract the first word of "gtk-config", so it can be a program name with args.
22217 set dummy gtk
-config; ac_word
=$2
22218 echo "$as_me:$LINENO: checking for $ac_word" >&5
22219 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22220 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22221 echo $ECHO_N "(cached) $ECHO_C" >&6
22223 case $GTK_CONFIG in
22225 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
22228 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22229 for as_dir
in $PATH
22232 test -z "$as_dir" && as_dir
=.
22233 for ac_exec_ext
in '' $ac_executable_extensions; do
22234 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22235 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22236 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22242 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
22246 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
22248 if test -n "$GTK_CONFIG"; then
22249 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
22250 echo "${ECHO_T}$GTK_CONFIG" >&6
22252 echo "$as_me:$LINENO: result: no" >&5
22253 echo "${ECHO_T}no" >&6
22256 min_gtk_version
=1.2.7
22257 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
22258 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
22260 if test "$GTK_CONFIG" = "no" ; then
22263 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
22264 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
22265 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
22266 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22267 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
22268 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22269 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
22270 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22271 if test "x$enable_gtktest" = "xyes" ; then
22272 ac_save_CFLAGS
="$CFLAGS"
22273 ac_save_LIBS
="$LIBS"
22274 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22275 LIBS
="$GTK_LIBS $LIBS"
22277 if test "$cross_compiling" = yes; then
22278 echo $ac_n "cross compiling; assumed OK... $ac_c"
22280 cat >conftest.
$ac_ext <<_ACEOF
22283 cat confdefs.h
>>conftest.
$ac_ext
22284 cat >>conftest.
$ac_ext <<_ACEOF
22285 /* end confdefs.h. */
22287 #include <gtk/gtk.h>
22289 #include <stdlib.h>
22294 int major, minor, micro;
22297 system ("touch conf.gtktest");
22299 /* HP/UX 9 (%@#!) writes to sscanf strings */
22300 tmp_version = g_strdup("$min_gtk_version");
22301 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
22302 printf("%s, bad version string\n", "$min_gtk_version");
22306 if ((gtk_major_version != $gtk_config_major_version) ||
22307 (gtk_minor_version != $gtk_config_minor_version) ||
22308 (gtk_micro_version != $gtk_config_micro_version))
22310 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22311 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22312 gtk_major_version, gtk_minor_version, gtk_micro_version);
22313 printf ("*** was found! If gtk-config was correct, then it is best\n");
22314 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22315 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22316 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22317 printf("*** required on your system.\n");
22318 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
22319 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
22320 printf("*** before re-running configure\n");
22322 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
22323 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22324 (gtk_minor_version != GTK_MINOR_VERSION) ||
22325 (gtk_micro_version != GTK_MICRO_VERSION))
22327 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22328 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22329 printf("*** library (version %d.%d.%d)\n",
22330 gtk_major_version, gtk_minor_version, gtk_micro_version);
22332 #endif /* defined (GTK_MAJOR_VERSION) ... */
22335 if ((gtk_major_version > major) ||
22336 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22337 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22343 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22344 gtk_major_version, gtk_minor_version, gtk_micro_version);
22345 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22346 major, minor, micro);
22347 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22349 printf("*** If you have already installed a sufficiently new version, this error\n");
22350 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
22351 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22352 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
22353 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
22354 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22355 printf("*** so that the correct libraries are found at run-time))\n");
22362 rm -f conftest
$ac_exeext
22363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22364 (eval $ac_link) 2>&5
22366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22367 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22369 (eval $ac_try) 2>&5
22371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22372 (exit $ac_status); }; }; then
22375 echo "$as_me: program exited with status $ac_status" >&5
22376 echo "$as_me: failed program was:" >&5
22377 sed 's/^/| /' conftest.
$ac_ext >&5
22379 ( exit $ac_status )
22382 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22384 CFLAGS
="$ac_save_CFLAGS"
22385 LIBS
="$ac_save_LIBS"
22388 if test "x$no_gtk" = x
; then
22389 echo "$as_me:$LINENO: result: yes" >&5
22390 echo "${ECHO_T}yes" >&6
22391 wx_cv_lib_gtk
=1.2.7
22393 echo "$as_me:$LINENO: result: no" >&5
22394 echo "${ECHO_T}no" >&6
22395 if test "$GTK_CONFIG" = "no" ; then
22396 echo "*** The gtk-config script installed by GTK could not be found"
22397 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
22398 echo "*** your path, or set the GTK_CONFIG environment variable to the"
22399 echo "*** full path to gtk-config."
22401 if test -f conf.gtktest
; then
22404 echo "*** Could not run GTK test program, checking why..."
22405 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22406 LIBS
="$LIBS $GTK_LIBS"
22407 cat >conftest.
$ac_ext <<_ACEOF
22410 cat confdefs.h
>>conftest.
$ac_ext
22411 cat >>conftest.
$ac_ext <<_ACEOF
22412 /* end confdefs.h. */
22414 #include <gtk/gtk.h>
22420 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22425 rm -f conftest.
$ac_objext conftest
$ac_exeext
22426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22427 (eval $ac_link) 2>conftest.er1
22429 grep -v '^ *+' conftest.er1
>conftest.err
22431 cat conftest.err
>&5
22432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22433 (exit $ac_status); } &&
22434 { ac_try
='test -z "$ac_c_werror_flag"
22435 || test ! -s conftest.err'
22436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22437 (eval $ac_try) 2>&5
22439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22440 (exit $ac_status); }; } &&
22441 { ac_try
='test -s conftest$ac_exeext'
22442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22443 (eval $ac_try) 2>&5
22445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22446 (exit $ac_status); }; }; then
22447 echo "*** The test program compiled, but did not run. This usually means"
22448 echo "*** that the run-time linker is not finding GTK or finding the wrong"
22449 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
22450 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22451 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22452 echo "*** is required on your system"
22454 echo "*** If you have an old version installed, it is best to remove it, although"
22455 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22457 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
22458 echo "*** came with the system with the command"
22460 echo "*** rpm --erase --nodeps gtk gtk-devel"
22462 echo "$as_me: failed program was:" >&5
22463 sed 's/^/| /' conftest.
$ac_ext >&5
22465 echo "*** The test program failed to compile or link. See the file config.log for the"
22466 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
22467 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
22468 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
22470 rm -f conftest.err conftest.
$ac_objext \
22471 conftest
$ac_exeext conftest.
$ac_ext
22472 CFLAGS
="$ac_save_CFLAGS"
22473 LIBS
="$ac_save_LIBS"
22485 if test -z "$wx_cv_lib_gtk"; then
22487 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22488 if test "${with_gtk_prefix+set}" = set; then
22489 withval
="$with_gtk_prefix"
22490 gtk_config_prefix
="$withval"
22492 gtk_config_prefix
=""
22495 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22496 if test "${with_gtk_exec_prefix+set}" = set; then
22497 withval
="$with_gtk_exec_prefix"
22498 gtk_config_exec_prefix
="$withval"
22500 gtk_config_exec_prefix
=""
22502 # Check whether --enable-gtktest or --disable-gtktest was given.
22503 if test "${enable_gtktest+set}" = set; then
22504 enableval
="$enable_gtktest"
22510 for module
in .
$GTK_MODULES
22514 gtk_config_args
="$gtk_config_args gthread"
22519 if test x
$gtk_config_exec_prefix != x
; then
22520 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22521 if test x
${GTK_CONFIG+set} != xset
; then
22522 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
22525 if test x
$gtk_config_prefix != x
; then
22526 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
22527 if test x
${GTK_CONFIG+set} != xset
; then
22528 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
22532 # Extract the first word of "gtk-config", so it can be a program name with args.
22533 set dummy gtk
-config; ac_word
=$2
22534 echo "$as_me:$LINENO: checking for $ac_word" >&5
22535 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22536 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22537 echo $ECHO_N "(cached) $ECHO_C" >&6
22539 case $GTK_CONFIG in
22541 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
22544 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22545 for as_dir
in $PATH
22548 test -z "$as_dir" && as_dir
=.
22549 for ac_exec_ext
in '' $ac_executable_extensions; do
22550 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22551 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22552 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22558 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
22562 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
22564 if test -n "$GTK_CONFIG"; then
22565 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
22566 echo "${ECHO_T}$GTK_CONFIG" >&6
22568 echo "$as_me:$LINENO: result: no" >&5
22569 echo "${ECHO_T}no" >&6
22572 min_gtk_version
=1.2.3
22573 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
22574 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
22576 if test "$GTK_CONFIG" = "no" ; then
22579 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
22580 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
22581 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
22582 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22583 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
22584 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22585 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
22586 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22587 if test "x$enable_gtktest" = "xyes" ; then
22588 ac_save_CFLAGS
="$CFLAGS"
22589 ac_save_LIBS
="$LIBS"
22590 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22591 LIBS
="$GTK_LIBS $LIBS"
22593 if test "$cross_compiling" = yes; then
22594 echo $ac_n "cross compiling; assumed OK... $ac_c"
22596 cat >conftest.
$ac_ext <<_ACEOF
22599 cat confdefs.h
>>conftest.
$ac_ext
22600 cat >>conftest.
$ac_ext <<_ACEOF
22601 /* end confdefs.h. */
22603 #include <gtk/gtk.h>
22605 #include <stdlib.h>
22610 int major, minor, micro;
22613 system ("touch conf.gtktest");
22615 /* HP/UX 9 (%@#!) writes to sscanf strings */
22616 tmp_version = g_strdup("$min_gtk_version");
22617 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
22618 printf("%s, bad version string\n", "$min_gtk_version");
22622 if ((gtk_major_version != $gtk_config_major_version) ||
22623 (gtk_minor_version != $gtk_config_minor_version) ||
22624 (gtk_micro_version != $gtk_config_micro_version))
22626 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22627 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22628 gtk_major_version, gtk_minor_version, gtk_micro_version);
22629 printf ("*** was found! If gtk-config was correct, then it is best\n");
22630 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22631 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22632 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22633 printf("*** required on your system.\n");
22634 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
22635 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
22636 printf("*** before re-running configure\n");
22638 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
22639 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22640 (gtk_minor_version != GTK_MINOR_VERSION) ||
22641 (gtk_micro_version != GTK_MICRO_VERSION))
22643 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22644 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22645 printf("*** library (version %d.%d.%d)\n",
22646 gtk_major_version, gtk_minor_version, gtk_micro_version);
22648 #endif /* defined (GTK_MAJOR_VERSION) ... */
22651 if ((gtk_major_version > major) ||
22652 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22653 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22659 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22660 gtk_major_version, gtk_minor_version, gtk_micro_version);
22661 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22662 major, minor, micro);
22663 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22665 printf("*** If you have already installed a sufficiently new version, this error\n");
22666 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
22667 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22668 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
22669 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
22670 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22671 printf("*** so that the correct libraries are found at run-time))\n");
22678 rm -f conftest
$ac_exeext
22679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22680 (eval $ac_link) 2>&5
22682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22683 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22685 (eval $ac_try) 2>&5
22687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22688 (exit $ac_status); }; }; then
22691 echo "$as_me: program exited with status $ac_status" >&5
22692 echo "$as_me: failed program was:" >&5
22693 sed 's/^/| /' conftest.
$ac_ext >&5
22695 ( exit $ac_status )
22698 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22700 CFLAGS
="$ac_save_CFLAGS"
22701 LIBS
="$ac_save_LIBS"
22704 if test "x$no_gtk" = x
; then
22705 echo "$as_me:$LINENO: result: yes" >&5
22706 echo "${ECHO_T}yes" >&6
22707 wx_cv_lib_gtk
=1.2.3
22709 echo "$as_me:$LINENO: result: no" >&5
22710 echo "${ECHO_T}no" >&6
22711 if test "$GTK_CONFIG" = "no" ; then
22712 echo "*** The gtk-config script installed by GTK could not be found"
22713 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
22714 echo "*** your path, or set the GTK_CONFIG environment variable to the"
22715 echo "*** full path to gtk-config."
22717 if test -f conf.gtktest
; then
22720 echo "*** Could not run GTK test program, checking why..."
22721 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22722 LIBS
="$LIBS $GTK_LIBS"
22723 cat >conftest.
$ac_ext <<_ACEOF
22726 cat confdefs.h
>>conftest.
$ac_ext
22727 cat >>conftest.
$ac_ext <<_ACEOF
22728 /* end confdefs.h. */
22730 #include <gtk/gtk.h>
22736 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22741 rm -f conftest.
$ac_objext conftest
$ac_exeext
22742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22743 (eval $ac_link) 2>conftest.er1
22745 grep -v '^ *+' conftest.er1
>conftest.err
22747 cat conftest.err
>&5
22748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22749 (exit $ac_status); } &&
22750 { ac_try
='test -z "$ac_c_werror_flag"
22751 || test ! -s conftest.err'
22752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22753 (eval $ac_try) 2>&5
22755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22756 (exit $ac_status); }; } &&
22757 { ac_try
='test -s conftest$ac_exeext'
22758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22759 (eval $ac_try) 2>&5
22761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22762 (exit $ac_status); }; }; then
22763 echo "*** The test program compiled, but did not run. This usually means"
22764 echo "*** that the run-time linker is not finding GTK or finding the wrong"
22765 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
22766 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22767 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22768 echo "*** is required on your system"
22770 echo "*** If you have an old version installed, it is best to remove it, although"
22771 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22773 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
22774 echo "*** came with the system with the command"
22776 echo "*** rpm --erase --nodeps gtk gtk-devel"
22778 echo "$as_me: failed program was:" >&5
22779 sed 's/^/| /' conftest.
$ac_ext >&5
22781 echo "*** The test program failed to compile or link. See the file config.log for the"
22782 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
22783 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
22784 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
22786 rm -f conftest.err conftest.
$ac_objext \
22787 conftest
$ac_exeext conftest.
$ac_ext
22788 CFLAGS
="$ac_save_CFLAGS"
22789 LIBS
="$ac_save_LIBS"
22803 if test -z "$wx_cv_lib_gtk"; then
22806 wx_cv_cflags_gtk
=$GTK_CFLAGS
22807 wx_cv_libs_gtk
=$GTK_LIBS
22814 if test "$gtk_version_cached" = 1; then
22815 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
22816 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
22819 case "$wx_cv_lib_gtk" in
22828 *) { { echo "$as_me:$LINENO: error:
22829 Please check that gtk-config is in path, the directory
22830 where GTK+ libraries are installed (returned by
22831 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
22832 equivalent variable and GTK+ is version 1.2.3 or above.
22834 echo "$as_me: error:
22835 Please check that gtk-config is in path, the directory
22836 where GTK+ libraries are installed (returned by
22837 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
22838 equivalent variable and GTK+ is version 1.2.3 or above.
22840 { (exit 1); exit 1; }; }
22844 if test "$WXGTK20" = 1; then
22845 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
22849 if test -z "$PKG_CONFIG"; then
22850 # Extract the first word of "pkg-config", so it can be a program name with args.
22851 set dummy pkg
-config; ac_word
=$2
22852 echo "$as_me:$LINENO: checking for $ac_word" >&5
22853 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22854 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22855 echo $ECHO_N "(cached) $ECHO_C" >&6
22857 case $PKG_CONFIG in
22859 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22862 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22863 for as_dir
in $PATH
22866 test -z "$as_dir" && as_dir
=.
22867 for ac_exec_ext
in '' $ac_executable_extensions; do
22868 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22869 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22870 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22876 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22880 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22882 if test -n "$PKG_CONFIG"; then
22883 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22884 echo "${ECHO_T}$PKG_CONFIG" >&6
22886 echo "$as_me:$LINENO: result: no" >&5
22887 echo "${ECHO_T}no" >&6
22892 if test "$PKG_CONFIG" = "no" ; then
22893 echo "*** The pkg-config script could not be found. Make sure it is"
22894 echo "*** in your path, or set the PKG_CONFIG environment variable"
22895 echo "*** to the full path to pkg-config."
22896 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22898 PKG_CONFIG_MIN_VERSION
=0.9.0
22899 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22900 echo "$as_me:$LINENO: checking for pangoft2" >&5
22901 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22903 if $PKG_CONFIG --exists "pangoft2" ; then
22904 echo "$as_me:$LINENO: result: yes" >&5
22905 echo "${ECHO_T}yes" >&6
22908 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22909 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22910 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
22911 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22912 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22914 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22915 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22916 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
22917 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22918 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22922 ## If we have a custom action on failure, don't print errors, but
22923 ## do set a variable so people can do so.
22924 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22931 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22932 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22936 if test $succeeded = yes; then
22938 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
22939 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22943 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22944 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22945 wxUSE_PRINTING_ARCHITECTURE
="no"
22952 if test "$wxUSE_UNICODE" = "yes"; then
22953 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
22954 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
22959 if test "$USE_DARWIN" != 1; then
22961 for ac_func
in poll
22963 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22964 echo "$as_me:$LINENO: checking for $ac_func" >&5
22965 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22966 if eval "test \"\${$as_ac_var+set}\" = set"; then
22967 echo $ECHO_N "(cached) $ECHO_C" >&6
22969 cat >conftest.
$ac_ext <<_ACEOF
22972 cat confdefs.h
>>conftest.
$ac_ext
22973 cat >>conftest.
$ac_ext <<_ACEOF
22974 /* end confdefs.h. */
22975 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22976 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22977 #define $ac_func innocuous_$ac_func
22979 /* System header to define __stub macros and hopefully few prototypes,
22980 which can conflict with char $ac_func (); below.
22981 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22982 <limits.h> exists even on freestanding compilers. */
22985 # include <limits.h>
22987 # include <assert.h>
22992 /* Override any gcc2 internal prototype to avoid an error. */
22997 /* We use char because int might match the return type of a gcc2
22998 builtin and then its argument prototype would still apply. */
23000 /* The GNU C library defines this for functions which it implements
23001 to always fail with ENOSYS. Some functions are actually named
23002 something starting with __ and the normal name is an alias. */
23003 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23006 char (*f) () = $ac_func;
23015 return f != $ac_func;
23020 rm -f conftest.
$ac_objext conftest
$ac_exeext
23021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23022 (eval $ac_link) 2>conftest.er1
23024 grep -v '^ *+' conftest.er1
>conftest.err
23026 cat conftest.err
>&5
23027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23028 (exit $ac_status); } &&
23029 { ac_try
='test -z "$ac_c_werror_flag"
23030 || test ! -s conftest.err'
23031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23032 (eval $ac_try) 2>&5
23034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23035 (exit $ac_status); }; } &&
23036 { ac_try
='test -s conftest$ac_exeext'
23037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23038 (eval $ac_try) 2>&5
23040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23041 (exit $ac_status); }; }; then
23042 eval "$as_ac_var=yes"
23044 echo "$as_me: failed program was:" >&5
23045 sed 's/^/| /' conftest.
$ac_ext >&5
23047 eval "$as_ac_var=no"
23049 rm -f conftest.err conftest.
$ac_objext \
23050 conftest
$ac_exeext conftest.
$ac_ext
23052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23053 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23054 if test `eval echo '${'$as_ac_var'}'` = yes; then
23055 cat >>confdefs.h
<<_ACEOF
23056 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23064 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
23065 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
23067 AFMINSTALL
=afminstall
23071 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
23072 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
23073 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
23074 echo $ECHO_N "(cached) $ECHO_C" >&6
23076 ac_check_lib_save_LIBS
=$LIBS
23078 cat >conftest.
$ac_ext <<_ACEOF
23081 cat confdefs.h
>>conftest.
$ac_ext
23082 cat >>conftest.
$ac_ext <<_ACEOF
23083 /* end confdefs.h. */
23085 /* Override any gcc2 internal prototype to avoid an error. */
23089 /* We use char because int might match the return type of a gcc2
23090 builtin and then its argument prototype would still apply. */
23091 char gdk_im_open ();
23100 rm -f conftest.
$ac_objext conftest
$ac_exeext
23101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23102 (eval $ac_link) 2>conftest.er1
23104 grep -v '^ *+' conftest.er1
>conftest.err
23106 cat conftest.err
>&5
23107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23108 (exit $ac_status); } &&
23109 { ac_try
='test -z "$ac_c_werror_flag"
23110 || test ! -s conftest.err'
23111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23112 (eval $ac_try) 2>&5
23114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23115 (exit $ac_status); }; } &&
23116 { ac_try
='test -s conftest$ac_exeext'
23117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23118 (eval $ac_try) 2>&5
23120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23121 (exit $ac_status); }; }; then
23122 ac_cv_lib_gdk_gdk_im_open
=yes
23124 echo "$as_me: failed program was:" >&5
23125 sed 's/^/| /' conftest.
$ac_ext >&5
23127 ac_cv_lib_gdk_gdk_im_open
=no
23129 rm -f conftest.err conftest.
$ac_objext \
23130 conftest
$ac_exeext conftest.
$ac_ext
23131 LIBS
=$ac_check_lib_save_LIBS
23133 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
23134 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
23135 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
23136 cat >>confdefs.h
<<\_ACEOF
23144 if test "$wxUSE_GPE" = "yes"; then
23145 echo "$as_me:$LINENO: checking for gpewidget library" >&5
23146 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
23149 for ac_dir
in $SEARCH_LIB /usr
/lib
;
23151 for ac_extension
in a so sl dylib
; do
23152 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
23153 ac_find_libraries
=$ac_dir
23159 if test "$ac_find_libraries" != "" ; then
23161 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
23163 if test $result = 0; then
23166 ac_path_to_link
=" -L$ac_find_libraries"
23169 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
23171 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23172 echo "${ECHO_T}found at $ac_find_libraries" >&6
23174 echo "$as_me:$LINENO: result: not found" >&5
23175 echo "${ECHO_T}not found" >&6
23181 if test "$wxUSE_MGL" = 1; then
23182 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
23183 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
23184 if test "x$MGL_ROOT" = x
; then
23185 echo "$as_me:$LINENO: result: not found" >&5
23186 echo "${ECHO_T}not found" >&6
23187 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
23188 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
23189 { (exit 1); exit 1; }; }
23191 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
23192 echo "${ECHO_T}$MGL_ROOT" >&6
23195 echo "$as_me:$LINENO: checking for libmgl location" >&5
23196 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
23199 if test "x$wxUSE_SHARED" = xyes
; then
23200 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
23202 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
23206 mgl_os_candidates
="dos32/dj2"
23209 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
23210 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
23211 { (exit 1); exit 1; }; }
23217 for mgl_os_i
in $mgl_os_candidates ; do
23218 if test "x$mgl_os" = x
; then
23219 if test "$wxUSE_DEBUG_FLAG" = yes ; then
23220 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
23221 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
23226 if test "x$mgl_lib_type" = x
; then
23227 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
23228 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
23229 mgl_lib_type
=release
23236 if test "x$mgl_os" = x
; then
23237 echo "$as_me:$LINENO: result: not found" >&5
23238 echo "${ECHO_T}not found" >&6
23239 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
23240 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
23241 { (exit 1); exit 1; }; }
23243 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
23244 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
23246 wxUSE_UNIVERSAL
="yes"
23248 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
23249 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
23251 AFMINSTALL
=afminstall
23256 if test "$wxUSE_MICROWIN" = 1; then
23257 echo "$as_me:$LINENO: checking for MicroWindows" >&5
23258 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
23259 if test "x$MICROWINDOWS" = x
; then
23260 echo "$as_me:$LINENO: result: not found" >&5
23261 echo "${ECHO_T}not found" >&6
23262 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
23263 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
23264 { (exit 1); exit 1; }; }
23266 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
23267 echo "${ECHO_T}$MICROWINDOWS" >&6
23270 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
23271 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
23272 echo "${ECHO_T}MicroWindows' libraries found." >&6
23274 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
23275 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
23276 { (exit 1); exit 1; }; }
23279 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
23280 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
23282 wxUSE_UNIVERSAL
="yes"
23284 AFMINSTALL
=afminstall
23286 GUIDIST
=MICROWIN_DIST
23288 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
23291 if test "$wxUSE_X11" = 1; then
23292 echo "$as_me:$LINENO: checking for X" >&5
23293 echo $ECHO_N "checking for X... $ECHO_C" >&6
23296 # Check whether --with-x or --without-x was given.
23297 if test "${with_x+set}" = set; then
23301 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
23302 if test "x$with_x" = xno
; then
23303 # The user explicitly disabled X.
23306 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
23307 # Both variables are already set.
23310 if test "${ac_cv_have_x+set}" = set; then
23311 echo $ECHO_N "(cached) $ECHO_C" >&6
23313 # One or both of the vars are not set, and there is no cached value.
23314 ac_x_includes
=no ac_x_libraries
=no
23315 rm -fr conftest.dir
23316 if mkdir conftest.dir
; then
23318 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
23319 cat >Imakefile
<<'_ACEOF'
23321 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
23323 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
23324 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
23325 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
23326 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
23327 for ac_extension
in a so sl
; do
23328 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
23329 test -f $ac_im_libdir/libX11.
$ac_extension; then
23330 ac_im_usrlibdir
=$ac_im_libdir; break
23333 # Screen out bogus values from the imake configuration. They are
23334 # bogus both because they are the default anyway, and because
23335 # using them would break gcc on systems where it needs fixed includes.
23336 case $ac_im_incroot in
23338 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
23340 case $ac_im_usrlibdir in
23341 /usr
/lib
| /lib
) ;;
23342 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
23346 rm -fr conftest.dir
23349 # Standard set of common directories for X headers.
23350 # Check X11 before X11Rn because it is often a symlink to the current release.
23362 /usr/local/X11/include
23363 /usr/local/X11R6/include
23364 /usr/local/X11R5/include
23365 /usr/local/X11R4/include
23367 /usr/local/include/X11
23368 /usr/local/include/X11R6
23369 /usr/local/include/X11R5
23370 /usr/local/include/X11R4
23374 /usr/XFree86/include/X11
23378 /usr/unsupported/include
23379 /usr/athena/include
23380 /usr/local/x11r5/include
23381 /usr/lpp/Xamples/include
23383 /usr/openwin/include
23384 /usr/openwin/share/include'
23386 if test "$ac_x_includes" = no
; then
23387 # Guess where to find include files, by looking for Intrinsic.h.
23388 # First, try using that file with no special directory specified.
23389 cat >conftest.
$ac_ext <<_ACEOF
23392 cat confdefs.h
>>conftest.
$ac_ext
23393 cat >>conftest.
$ac_ext <<_ACEOF
23394 /* end confdefs.h. */
23395 #include <X11/Intrinsic.h>
23397 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23398 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23400 grep -v '^ *+' conftest.er1
>conftest.err
23402 cat conftest.err
>&5
23403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23404 (exit $ac_status); } >/dev
/null
; then
23405 if test -s conftest.err
; then
23406 ac_cpp_err
=$ac_c_preproc_warn_flag
23407 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23414 if test -z "$ac_cpp_err"; then
23415 # We can compile using X headers with no special include directory.
23418 echo "$as_me: failed program was:" >&5
23419 sed 's/^/| /' conftest.
$ac_ext >&5
23421 for ac_dir
in $ac_x_header_dirs; do
23422 if test -r "$ac_dir/X11/Intrinsic.h"; then
23423 ac_x_includes
=$ac_dir
23428 rm -f conftest.err conftest.
$ac_ext
23429 fi # $ac_x_includes = no
23431 if test "$ac_x_libraries" = no
; then
23432 # Check for the libraries.
23433 # See if we find them without any special options.
23434 # Don't add to $LIBS permanently.
23437 cat >conftest.
$ac_ext <<_ACEOF
23440 cat confdefs.h
>>conftest.
$ac_ext
23441 cat >>conftest.
$ac_ext <<_ACEOF
23442 /* end confdefs.h. */
23443 #include <X11/Intrinsic.h>
23452 rm -f conftest.
$ac_objext conftest
$ac_exeext
23453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23454 (eval $ac_link) 2>conftest.er1
23456 grep -v '^ *+' conftest.er1
>conftest.err
23458 cat conftest.err
>&5
23459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23460 (exit $ac_status); } &&
23461 { ac_try
='test -z "$ac_c_werror_flag"
23462 || test ! -s conftest.err'
23463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23464 (eval $ac_try) 2>&5
23466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23467 (exit $ac_status); }; } &&
23468 { ac_try
='test -s conftest$ac_exeext'
23469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23470 (eval $ac_try) 2>&5
23472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23473 (exit $ac_status); }; }; then
23475 # We can link X programs with no special library path.
23478 echo "$as_me: failed program was:" >&5
23479 sed 's/^/| /' conftest.
$ac_ext >&5
23482 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
23484 # Don't even attempt the hair of trying to link an X program!
23485 for ac_extension
in a so sl
; do
23486 if test -r $ac_dir/libXt.
$ac_extension; then
23487 ac_x_libraries
=$ac_dir
23493 rm -f conftest.err conftest.
$ac_objext \
23494 conftest
$ac_exeext conftest.
$ac_ext
23495 fi # $ac_x_libraries = no
23497 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
23498 # Didn't find X anywhere. Cache the known absence of X.
23499 ac_cv_have_x
="have_x=no"
23501 # Record where we found X for the cache.
23502 ac_cv_have_x
="have_x=yes \
23503 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
23508 eval "$ac_cv_have_x"
23511 if test "$have_x" != yes; then
23512 echo "$as_me:$LINENO: result: $have_x" >&5
23513 echo "${ECHO_T}$have_x" >&6
23516 # If each of the values was on the command line, it overrides each guess.
23517 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
23518 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
23519 # Update the cache value to reflect the command line values.
23520 ac_cv_have_x
="have_x=yes \
23521 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
23522 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
23523 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
23526 if test "$no_x" = yes; then
23527 # Not all programs may use this symbol, but it does not hurt to define it.
23529 cat >>confdefs.h
<<\_ACEOF
23530 #define X_DISPLAY_MISSING 1
23533 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
23535 if test -n "$x_includes"; then
23536 X_CFLAGS
="$X_CFLAGS -I$x_includes"
23539 # It would also be nice to do this for all -L options, not just this one.
23540 if test -n "$x_libraries"; then
23541 X_LIBS
="$X_LIBS -L$x_libraries"
23542 # For Solaris; some versions of Sun CC require a space after -R and
23543 # others require no space. Words are not sufficient . . . .
23544 case `(uname -sr) 2>/dev/null` in
23546 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
23547 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
23548 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
23549 cat >conftest.
$ac_ext <<_ACEOF
23552 cat confdefs.h
>>conftest.
$ac_ext
23553 cat >>conftest.
$ac_ext <<_ACEOF
23554 /* end confdefs.h. */
23564 rm -f conftest.
$ac_objext conftest
$ac_exeext
23565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23566 (eval $ac_link) 2>conftest.er1
23568 grep -v '^ *+' conftest.er1
>conftest.err
23570 cat conftest.err
>&5
23571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23572 (exit $ac_status); } &&
23573 { ac_try
='test -z "$ac_c_werror_flag"
23574 || test ! -s conftest.err'
23575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23576 (eval $ac_try) 2>&5
23578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23579 (exit $ac_status); }; } &&
23580 { ac_try
='test -s conftest$ac_exeext'
23581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23582 (eval $ac_try) 2>&5
23584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23585 (exit $ac_status); }; }; then
23588 echo "$as_me: failed program was:" >&5
23589 sed 's/^/| /' conftest.
$ac_ext >&5
23593 rm -f conftest.err conftest.
$ac_objext \
23594 conftest
$ac_exeext conftest.
$ac_ext
23595 if test $ac_R_nospace = yes; then
23596 echo "$as_me:$LINENO: result: no" >&5
23597 echo "${ECHO_T}no" >&6
23598 X_LIBS
="$X_LIBS -R$x_libraries"
23600 LIBS
="$ac_xsave_LIBS -R $x_libraries"
23601 cat >conftest.
$ac_ext <<_ACEOF
23604 cat confdefs.h
>>conftest.
$ac_ext
23605 cat >>conftest.
$ac_ext <<_ACEOF
23606 /* end confdefs.h. */
23616 rm -f conftest.
$ac_objext conftest
$ac_exeext
23617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23618 (eval $ac_link) 2>conftest.er1
23620 grep -v '^ *+' conftest.er1
>conftest.err
23622 cat conftest.err
>&5
23623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23624 (exit $ac_status); } &&
23625 { ac_try
='test -z "$ac_c_werror_flag"
23626 || test ! -s conftest.err'
23627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23628 (eval $ac_try) 2>&5
23630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23631 (exit $ac_status); }; } &&
23632 { ac_try
='test -s conftest$ac_exeext'
23633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23634 (eval $ac_try) 2>&5
23636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23637 (exit $ac_status); }; }; then
23640 echo "$as_me: failed program was:" >&5
23641 sed 's/^/| /' conftest.
$ac_ext >&5
23645 rm -f conftest.err conftest.
$ac_objext \
23646 conftest
$ac_exeext conftest.
$ac_ext
23647 if test $ac_R_space = yes; then
23648 echo "$as_me:$LINENO: result: yes" >&5
23649 echo "${ECHO_T}yes" >&6
23650 X_LIBS
="$X_LIBS -R $x_libraries"
23652 echo "$as_me:$LINENO: result: neither works" >&5
23653 echo "${ECHO_T}neither works" >&6
23656 LIBS
=$ac_xsave_LIBS
23660 # Check for system-dependent libraries X programs must link with.
23661 # Do this before checking for the system-independent R6 libraries
23662 # (-lICE), since we may need -lsocket or whatever for X linking.
23664 if test "$ISC" = yes; then
23665 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
23667 # Martyn Johnson says this is needed for Ultrix, if the X
23668 # libraries were built with DECnet support. And Karl Berry says
23669 # the Alpha needs dnet_stub (dnet does not exist).
23670 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
23671 cat >conftest.
$ac_ext <<_ACEOF
23674 cat confdefs.h
>>conftest.
$ac_ext
23675 cat >>conftest.
$ac_ext <<_ACEOF
23676 /* end confdefs.h. */
23678 /* Override any gcc2 internal prototype to avoid an error. */
23682 /* We use char because int might match the return type of a gcc2
23683 builtin and then its argument prototype would still apply. */
23684 char XOpenDisplay ();
23693 rm -f conftest.
$ac_objext conftest
$ac_exeext
23694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23695 (eval $ac_link) 2>conftest.er1
23697 grep -v '^ *+' conftest.er1
>conftest.err
23699 cat conftest.err
>&5
23700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23701 (exit $ac_status); } &&
23702 { ac_try
='test -z "$ac_c_werror_flag"
23703 || test ! -s conftest.err'
23704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23705 (eval $ac_try) 2>&5
23707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23708 (exit $ac_status); }; } &&
23709 { ac_try
='test -s conftest$ac_exeext'
23710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23711 (eval $ac_try) 2>&5
23713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23714 (exit $ac_status); }; }; then
23717 echo "$as_me: failed program was:" >&5
23718 sed 's/^/| /' conftest.
$ac_ext >&5
23720 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
23721 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
23722 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
23723 echo $ECHO_N "(cached) $ECHO_C" >&6
23725 ac_check_lib_save_LIBS
=$LIBS
23726 LIBS
="-ldnet $LIBS"
23727 cat >conftest.
$ac_ext <<_ACEOF
23730 cat confdefs.h
>>conftest.
$ac_ext
23731 cat >>conftest.
$ac_ext <<_ACEOF
23732 /* end confdefs.h. */
23734 /* Override any gcc2 internal prototype to avoid an error. */
23738 /* We use char because int might match the return type of a gcc2
23739 builtin and then its argument prototype would still apply. */
23749 rm -f conftest.
$ac_objext conftest
$ac_exeext
23750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23751 (eval $ac_link) 2>conftest.er1
23753 grep -v '^ *+' conftest.er1
>conftest.err
23755 cat conftest.err
>&5
23756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23757 (exit $ac_status); } &&
23758 { ac_try
='test -z "$ac_c_werror_flag"
23759 || test ! -s conftest.err'
23760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23761 (eval $ac_try) 2>&5
23763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23764 (exit $ac_status); }; } &&
23765 { ac_try
='test -s conftest$ac_exeext'
23766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23767 (eval $ac_try) 2>&5
23769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23770 (exit $ac_status); }; }; then
23771 ac_cv_lib_dnet_dnet_ntoa
=yes
23773 echo "$as_me: failed program was:" >&5
23774 sed 's/^/| /' conftest.
$ac_ext >&5
23776 ac_cv_lib_dnet_dnet_ntoa
=no
23778 rm -f conftest.err conftest.
$ac_objext \
23779 conftest
$ac_exeext conftest.
$ac_ext
23780 LIBS
=$ac_check_lib_save_LIBS
23782 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23783 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
23784 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23785 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
23788 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
23789 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23790 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
23791 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23792 echo $ECHO_N "(cached) $ECHO_C" >&6
23794 ac_check_lib_save_LIBS
=$LIBS
23795 LIBS
="-ldnet_stub $LIBS"
23796 cat >conftest.
$ac_ext <<_ACEOF
23799 cat confdefs.h
>>conftest.
$ac_ext
23800 cat >>conftest.
$ac_ext <<_ACEOF
23801 /* end confdefs.h. */
23803 /* Override any gcc2 internal prototype to avoid an error. */
23807 /* We use char because int might match the return type of a gcc2
23808 builtin and then its argument prototype would still apply. */
23818 rm -f conftest.
$ac_objext conftest
$ac_exeext
23819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23820 (eval $ac_link) 2>conftest.er1
23822 grep -v '^ *+' conftest.er1
>conftest.err
23824 cat conftest.err
>&5
23825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23826 (exit $ac_status); } &&
23827 { ac_try
='test -z "$ac_c_werror_flag"
23828 || test ! -s conftest.err'
23829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23830 (eval $ac_try) 2>&5
23832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23833 (exit $ac_status); }; } &&
23834 { ac_try
='test -s conftest$ac_exeext'
23835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23836 (eval $ac_try) 2>&5
23838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23839 (exit $ac_status); }; }; then
23840 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
23842 echo "$as_me: failed program was:" >&5
23843 sed 's/^/| /' conftest.
$ac_ext >&5
23845 ac_cv_lib_dnet_stub_dnet_ntoa
=no
23847 rm -f conftest.err conftest.
$ac_objext \
23848 conftest
$ac_exeext conftest.
$ac_ext
23849 LIBS
=$ac_check_lib_save_LIBS
23851 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23852 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23853 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23854 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
23859 rm -f conftest.err conftest.
$ac_objext \
23860 conftest
$ac_exeext conftest.
$ac_ext
23861 LIBS
="$ac_xsave_LIBS"
23863 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23864 # to get the SysV transport functions.
23865 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23867 # The nsl library prevents programs from opening the X display
23868 # on Irix 5.2, according to T.E. Dickey.
23869 # The functions gethostbyname, getservbyname, and inet_addr are
23870 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23871 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23872 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23873 if test "${ac_cv_func_gethostbyname+set}" = set; then
23874 echo $ECHO_N "(cached) $ECHO_C" >&6
23876 cat >conftest.
$ac_ext <<_ACEOF
23879 cat confdefs.h
>>conftest.
$ac_ext
23880 cat >>conftest.
$ac_ext <<_ACEOF
23881 /* end confdefs.h. */
23882 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
23883 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23884 #define gethostbyname innocuous_gethostbyname
23886 /* System header to define __stub macros and hopefully few prototypes,
23887 which can conflict with char gethostbyname (); below.
23888 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23889 <limits.h> exists even on freestanding compilers. */
23892 # include <limits.h>
23894 # include <assert.h>
23897 #undef gethostbyname
23899 /* Override any gcc2 internal prototype to avoid an error. */
23904 /* We use char because int might match the return type of a gcc2
23905 builtin and then its argument prototype would still apply. */
23906 char gethostbyname ();
23907 /* The GNU C library defines this for functions which it implements
23908 to always fail with ENOSYS. Some functions are actually named
23909 something starting with __ and the normal name is an alias. */
23910 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23913 char (*f) () = gethostbyname;
23922 return f != gethostbyname;
23927 rm -f conftest.
$ac_objext conftest
$ac_exeext
23928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23929 (eval $ac_link) 2>conftest.er1
23931 grep -v '^ *+' conftest.er1
>conftest.err
23933 cat conftest.err
>&5
23934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23935 (exit $ac_status); } &&
23936 { ac_try
='test -z "$ac_c_werror_flag"
23937 || test ! -s conftest.err'
23938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23939 (eval $ac_try) 2>&5
23941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23942 (exit $ac_status); }; } &&
23943 { ac_try
='test -s conftest$ac_exeext'
23944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23945 (eval $ac_try) 2>&5
23947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23948 (exit $ac_status); }; }; then
23949 ac_cv_func_gethostbyname
=yes
23951 echo "$as_me: failed program was:" >&5
23952 sed 's/^/| /' conftest.
$ac_ext >&5
23954 ac_cv_func_gethostbyname
=no
23956 rm -f conftest.err conftest.
$ac_objext \
23957 conftest
$ac_exeext conftest.
$ac_ext
23959 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23960 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23962 if test $ac_cv_func_gethostbyname = no
; then
23963 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23964 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23965 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23966 echo $ECHO_N "(cached) $ECHO_C" >&6
23968 ac_check_lib_save_LIBS
=$LIBS
23970 cat >conftest.
$ac_ext <<_ACEOF
23973 cat confdefs.h
>>conftest.
$ac_ext
23974 cat >>conftest.
$ac_ext <<_ACEOF
23975 /* end confdefs.h. */
23977 /* Override any gcc2 internal prototype to avoid an error. */
23981 /* We use char because int might match the return type of a gcc2
23982 builtin and then its argument prototype would still apply. */
23983 char gethostbyname ();
23992 rm -f conftest.
$ac_objext conftest
$ac_exeext
23993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23994 (eval $ac_link) 2>conftest.er1
23996 grep -v '^ *+' conftest.er1
>conftest.err
23998 cat conftest.err
>&5
23999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24000 (exit $ac_status); } &&
24001 { ac_try
='test -z "$ac_c_werror_flag"
24002 || test ! -s conftest.err'
24003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24004 (eval $ac_try) 2>&5
24006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24007 (exit $ac_status); }; } &&
24008 { ac_try
='test -s conftest$ac_exeext'
24009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24010 (eval $ac_try) 2>&5
24012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24013 (exit $ac_status); }; }; then
24014 ac_cv_lib_nsl_gethostbyname
=yes
24016 echo "$as_me: failed program was:" >&5
24017 sed 's/^/| /' conftest.
$ac_ext >&5
24019 ac_cv_lib_nsl_gethostbyname
=no
24021 rm -f conftest.err conftest.
$ac_objext \
24022 conftest
$ac_exeext conftest.
$ac_ext
24023 LIBS
=$ac_check_lib_save_LIBS
24025 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
24026 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
24027 if test $ac_cv_lib_nsl_gethostbyname = yes; then
24028 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
24031 if test $ac_cv_lib_nsl_gethostbyname = no
; then
24032 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
24033 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
24034 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
24035 echo $ECHO_N "(cached) $ECHO_C" >&6
24037 ac_check_lib_save_LIBS
=$LIBS
24039 cat >conftest.
$ac_ext <<_ACEOF
24042 cat confdefs.h
>>conftest.
$ac_ext
24043 cat >>conftest.
$ac_ext <<_ACEOF
24044 /* end confdefs.h. */
24046 /* Override any gcc2 internal prototype to avoid an error. */
24050 /* We use char because int might match the return type of a gcc2
24051 builtin and then its argument prototype would still apply. */
24052 char gethostbyname ();
24061 rm -f conftest.
$ac_objext conftest
$ac_exeext
24062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24063 (eval $ac_link) 2>conftest.er1
24065 grep -v '^ *+' conftest.er1
>conftest.err
24067 cat conftest.err
>&5
24068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24069 (exit $ac_status); } &&
24070 { ac_try
='test -z "$ac_c_werror_flag"
24071 || test ! -s conftest.err'
24072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24073 (eval $ac_try) 2>&5
24075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24076 (exit $ac_status); }; } &&
24077 { ac_try
='test -s conftest$ac_exeext'
24078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24079 (eval $ac_try) 2>&5
24081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24082 (exit $ac_status); }; }; then
24083 ac_cv_lib_bsd_gethostbyname
=yes
24085 echo "$as_me: failed program was:" >&5
24086 sed 's/^/| /' conftest.
$ac_ext >&5
24088 ac_cv_lib_bsd_gethostbyname
=no
24090 rm -f conftest.err conftest.
$ac_objext \
24091 conftest
$ac_exeext conftest.
$ac_ext
24092 LIBS
=$ac_check_lib_save_LIBS
24094 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
24095 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
24096 if test $ac_cv_lib_bsd_gethostbyname = yes; then
24097 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
24103 # lieder@skyler.mavd.honeywell.com says without -lsocket,
24104 # socket/setsockopt and other routines are undefined under SCO ODT
24105 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
24106 # on later versions), says Simon Leinen: it contains gethostby*
24107 # variants that don't use the name server (or something). -lsocket
24108 # must be given before -lnsl if both are needed. We assume that
24109 # if connect needs -lnsl, so does gethostbyname.
24110 echo "$as_me:$LINENO: checking for connect" >&5
24111 echo $ECHO_N "checking for connect... $ECHO_C" >&6
24112 if test "${ac_cv_func_connect+set}" = set; then
24113 echo $ECHO_N "(cached) $ECHO_C" >&6
24115 cat >conftest.
$ac_ext <<_ACEOF
24118 cat confdefs.h
>>conftest.
$ac_ext
24119 cat >>conftest.
$ac_ext <<_ACEOF
24120 /* end confdefs.h. */
24121 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
24122 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24123 #define connect innocuous_connect
24125 /* System header to define __stub macros and hopefully few prototypes,
24126 which can conflict with char connect (); below.
24127 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24128 <limits.h> exists even on freestanding compilers. */
24131 # include <limits.h>
24133 # include <assert.h>
24138 /* Override any gcc2 internal prototype to avoid an error. */
24143 /* We use char because int might match the return type of a gcc2
24144 builtin and then its argument prototype would still apply. */
24146 /* The GNU C library defines this for functions which it implements
24147 to always fail with ENOSYS. Some functions are actually named
24148 something starting with __ and the normal name is an alias. */
24149 #if defined (__stub_connect) || defined (__stub___connect)
24152 char (*f) () = connect;
24161 return f != connect;
24166 rm -f conftest.
$ac_objext conftest
$ac_exeext
24167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24168 (eval $ac_link) 2>conftest.er1
24170 grep -v '^ *+' conftest.er1
>conftest.err
24172 cat conftest.err
>&5
24173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24174 (exit $ac_status); } &&
24175 { ac_try
='test -z "$ac_c_werror_flag"
24176 || test ! -s conftest.err'
24177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24178 (eval $ac_try) 2>&5
24180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24181 (exit $ac_status); }; } &&
24182 { ac_try
='test -s conftest$ac_exeext'
24183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24184 (eval $ac_try) 2>&5
24186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24187 (exit $ac_status); }; }; then
24188 ac_cv_func_connect
=yes
24190 echo "$as_me: failed program was:" >&5
24191 sed 's/^/| /' conftest.
$ac_ext >&5
24193 ac_cv_func_connect
=no
24195 rm -f conftest.err conftest.
$ac_objext \
24196 conftest
$ac_exeext conftest.
$ac_ext
24198 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24199 echo "${ECHO_T}$ac_cv_func_connect" >&6
24201 if test $ac_cv_func_connect = no
; then
24202 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
24203 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
24204 if test "${ac_cv_lib_socket_connect+set}" = set; then
24205 echo $ECHO_N "(cached) $ECHO_C" >&6
24207 ac_check_lib_save_LIBS
=$LIBS
24208 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
24209 cat >conftest.
$ac_ext <<_ACEOF
24212 cat confdefs.h
>>conftest.
$ac_ext
24213 cat >>conftest.
$ac_ext <<_ACEOF
24214 /* end confdefs.h. */
24216 /* Override any gcc2 internal prototype to avoid an error. */
24220 /* We use char because int might match the return type of a gcc2
24221 builtin and then its argument prototype would still apply. */
24231 rm -f conftest.
$ac_objext conftest
$ac_exeext
24232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24233 (eval $ac_link) 2>conftest.er1
24235 grep -v '^ *+' conftest.er1
>conftest.err
24237 cat conftest.err
>&5
24238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24239 (exit $ac_status); } &&
24240 { ac_try
='test -z "$ac_c_werror_flag"
24241 || test ! -s conftest.err'
24242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24243 (eval $ac_try) 2>&5
24245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24246 (exit $ac_status); }; } &&
24247 { ac_try
='test -s conftest$ac_exeext'
24248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24249 (eval $ac_try) 2>&5
24251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24252 (exit $ac_status); }; }; then
24253 ac_cv_lib_socket_connect
=yes
24255 echo "$as_me: failed program was:" >&5
24256 sed 's/^/| /' conftest.
$ac_ext >&5
24258 ac_cv_lib_socket_connect
=no
24260 rm -f conftest.err conftest.
$ac_objext \
24261 conftest
$ac_exeext conftest.
$ac_ext
24262 LIBS
=$ac_check_lib_save_LIBS
24264 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
24265 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
24266 if test $ac_cv_lib_socket_connect = yes; then
24267 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
24272 # Guillermo Gomez says -lposix is necessary on A/UX.
24273 echo "$as_me:$LINENO: checking for remove" >&5
24274 echo $ECHO_N "checking for remove... $ECHO_C" >&6
24275 if test "${ac_cv_func_remove+set}" = set; then
24276 echo $ECHO_N "(cached) $ECHO_C" >&6
24278 cat >conftest.
$ac_ext <<_ACEOF
24281 cat confdefs.h
>>conftest.
$ac_ext
24282 cat >>conftest.
$ac_ext <<_ACEOF
24283 /* end confdefs.h. */
24284 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
24285 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24286 #define remove innocuous_remove
24288 /* System header to define __stub macros and hopefully few prototypes,
24289 which can conflict with char remove (); below.
24290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24291 <limits.h> exists even on freestanding compilers. */
24294 # include <limits.h>
24296 # include <assert.h>
24301 /* Override any gcc2 internal prototype to avoid an error. */
24306 /* We use char because int might match the return type of a gcc2
24307 builtin and then its argument prototype would still apply. */
24309 /* The GNU C library defines this for functions which it implements
24310 to always fail with ENOSYS. Some functions are actually named
24311 something starting with __ and the normal name is an alias. */
24312 #if defined (__stub_remove) || defined (__stub___remove)
24315 char (*f) () = remove;
24324 return f != remove;
24329 rm -f conftest.
$ac_objext conftest
$ac_exeext
24330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24331 (eval $ac_link) 2>conftest.er1
24333 grep -v '^ *+' conftest.er1
>conftest.err
24335 cat conftest.err
>&5
24336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24337 (exit $ac_status); } &&
24338 { ac_try
='test -z "$ac_c_werror_flag"
24339 || test ! -s conftest.err'
24340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24341 (eval $ac_try) 2>&5
24343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24344 (exit $ac_status); }; } &&
24345 { ac_try
='test -s conftest$ac_exeext'
24346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24347 (eval $ac_try) 2>&5
24349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24350 (exit $ac_status); }; }; then
24351 ac_cv_func_remove
=yes
24353 echo "$as_me: failed program was:" >&5
24354 sed 's/^/| /' conftest.
$ac_ext >&5
24356 ac_cv_func_remove
=no
24358 rm -f conftest.err conftest.
$ac_objext \
24359 conftest
$ac_exeext conftest.
$ac_ext
24361 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
24362 echo "${ECHO_T}$ac_cv_func_remove" >&6
24364 if test $ac_cv_func_remove = no
; then
24365 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
24366 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
24367 if test "${ac_cv_lib_posix_remove+set}" = set; then
24368 echo $ECHO_N "(cached) $ECHO_C" >&6
24370 ac_check_lib_save_LIBS
=$LIBS
24371 LIBS
="-lposix $LIBS"
24372 cat >conftest.
$ac_ext <<_ACEOF
24375 cat confdefs.h
>>conftest.
$ac_ext
24376 cat >>conftest.
$ac_ext <<_ACEOF
24377 /* end confdefs.h. */
24379 /* Override any gcc2 internal prototype to avoid an error. */
24383 /* We use char because int might match the return type of a gcc2
24384 builtin and then its argument prototype would still apply. */
24394 rm -f conftest.
$ac_objext conftest
$ac_exeext
24395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24396 (eval $ac_link) 2>conftest.er1
24398 grep -v '^ *+' conftest.er1
>conftest.err
24400 cat conftest.err
>&5
24401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24402 (exit $ac_status); } &&
24403 { ac_try
='test -z "$ac_c_werror_flag"
24404 || test ! -s conftest.err'
24405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24406 (eval $ac_try) 2>&5
24408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24409 (exit $ac_status); }; } &&
24410 { ac_try
='test -s conftest$ac_exeext'
24411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24412 (eval $ac_try) 2>&5
24414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24415 (exit $ac_status); }; }; then
24416 ac_cv_lib_posix_remove
=yes
24418 echo "$as_me: failed program was:" >&5
24419 sed 's/^/| /' conftest.
$ac_ext >&5
24421 ac_cv_lib_posix_remove
=no
24423 rm -f conftest.err conftest.
$ac_objext \
24424 conftest
$ac_exeext conftest.
$ac_ext
24425 LIBS
=$ac_check_lib_save_LIBS
24427 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
24428 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
24429 if test $ac_cv_lib_posix_remove = yes; then
24430 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
24435 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
24436 echo "$as_me:$LINENO: checking for shmat" >&5
24437 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
24438 if test "${ac_cv_func_shmat+set}" = set; then
24439 echo $ECHO_N "(cached) $ECHO_C" >&6
24441 cat >conftest.
$ac_ext <<_ACEOF
24444 cat confdefs.h
>>conftest.
$ac_ext
24445 cat >>conftest.
$ac_ext <<_ACEOF
24446 /* end confdefs.h. */
24447 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
24448 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24449 #define shmat innocuous_shmat
24451 /* System header to define __stub macros and hopefully few prototypes,
24452 which can conflict with char shmat (); below.
24453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24454 <limits.h> exists even on freestanding compilers. */
24457 # include <limits.h>
24459 # include <assert.h>
24464 /* Override any gcc2 internal prototype to avoid an error. */
24469 /* We use char because int might match the return type of a gcc2
24470 builtin and then its argument prototype would still apply. */
24472 /* The GNU C library defines this for functions which it implements
24473 to always fail with ENOSYS. Some functions are actually named
24474 something starting with __ and the normal name is an alias. */
24475 #if defined (__stub_shmat) || defined (__stub___shmat)
24478 char (*f) () = shmat;
24492 rm -f conftest.
$ac_objext conftest
$ac_exeext
24493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24494 (eval $ac_link) 2>conftest.er1
24496 grep -v '^ *+' conftest.er1
>conftest.err
24498 cat conftest.err
>&5
24499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24500 (exit $ac_status); } &&
24501 { ac_try
='test -z "$ac_c_werror_flag"
24502 || test ! -s conftest.err'
24503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24504 (eval $ac_try) 2>&5
24506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24507 (exit $ac_status); }; } &&
24508 { ac_try
='test -s conftest$ac_exeext'
24509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24510 (eval $ac_try) 2>&5
24512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24513 (exit $ac_status); }; }; then
24514 ac_cv_func_shmat
=yes
24516 echo "$as_me: failed program was:" >&5
24517 sed 's/^/| /' conftest.
$ac_ext >&5
24519 ac_cv_func_shmat
=no
24521 rm -f conftest.err conftest.
$ac_objext \
24522 conftest
$ac_exeext conftest.
$ac_ext
24524 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
24525 echo "${ECHO_T}$ac_cv_func_shmat" >&6
24527 if test $ac_cv_func_shmat = no
; then
24528 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
24529 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
24530 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
24531 echo $ECHO_N "(cached) $ECHO_C" >&6
24533 ac_check_lib_save_LIBS
=$LIBS
24535 cat >conftest.
$ac_ext <<_ACEOF
24538 cat confdefs.h
>>conftest.
$ac_ext
24539 cat >>conftest.
$ac_ext <<_ACEOF
24540 /* end confdefs.h. */
24542 /* Override any gcc2 internal prototype to avoid an error. */
24546 /* We use char because int might match the return type of a gcc2
24547 builtin and then its argument prototype would still apply. */
24557 rm -f conftest.
$ac_objext conftest
$ac_exeext
24558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24559 (eval $ac_link) 2>conftest.er1
24561 grep -v '^ *+' conftest.er1
>conftest.err
24563 cat conftest.err
>&5
24564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24565 (exit $ac_status); } &&
24566 { ac_try
='test -z "$ac_c_werror_flag"
24567 || test ! -s conftest.err'
24568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24569 (eval $ac_try) 2>&5
24571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24572 (exit $ac_status); }; } &&
24573 { ac_try
='test -s conftest$ac_exeext'
24574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24575 (eval $ac_try) 2>&5
24577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24578 (exit $ac_status); }; }; then
24579 ac_cv_lib_ipc_shmat
=yes
24581 echo "$as_me: failed program was:" >&5
24582 sed 's/^/| /' conftest.
$ac_ext >&5
24584 ac_cv_lib_ipc_shmat
=no
24586 rm -f conftest.err conftest.
$ac_objext \
24587 conftest
$ac_exeext conftest.
$ac_ext
24588 LIBS
=$ac_check_lib_save_LIBS
24590 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
24591 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
24592 if test $ac_cv_lib_ipc_shmat = yes; then
24593 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
24599 # Check for libraries that X11R6 Xt/Xaw programs need.
24600 ac_save_LDFLAGS
=$LDFLAGS
24601 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
24602 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
24603 # check for ICE first), but we must link in the order -lSM -lICE or
24604 # we get undefined symbols. So assume we have SM if we have ICE.
24605 # These have to be linked with before -lX11, unlike the other
24606 # libraries we check for below, so use a different variable.
24607 # John Interrante, Karl Berry
24608 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
24609 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
24610 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
24611 echo $ECHO_N "(cached) $ECHO_C" >&6
24613 ac_check_lib_save_LIBS
=$LIBS
24614 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
24615 cat >conftest.
$ac_ext <<_ACEOF
24618 cat confdefs.h
>>conftest.
$ac_ext
24619 cat >>conftest.
$ac_ext <<_ACEOF
24620 /* end confdefs.h. */
24622 /* Override any gcc2 internal prototype to avoid an error. */
24626 /* We use char because int might match the return type of a gcc2
24627 builtin and then its argument prototype would still apply. */
24628 char IceConnectionNumber ();
24632 IceConnectionNumber ();
24637 rm -f conftest.
$ac_objext conftest
$ac_exeext
24638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24639 (eval $ac_link) 2>conftest.er1
24641 grep -v '^ *+' conftest.er1
>conftest.err
24643 cat conftest.err
>&5
24644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24645 (exit $ac_status); } &&
24646 { ac_try
='test -z "$ac_c_werror_flag"
24647 || test ! -s conftest.err'
24648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24649 (eval $ac_try) 2>&5
24651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24652 (exit $ac_status); }; } &&
24653 { ac_try
='test -s conftest$ac_exeext'
24654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24655 (eval $ac_try) 2>&5
24657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24658 (exit $ac_status); }; }; then
24659 ac_cv_lib_ICE_IceConnectionNumber
=yes
24661 echo "$as_me: failed program was:" >&5
24662 sed 's/^/| /' conftest.
$ac_ext >&5
24664 ac_cv_lib_ICE_IceConnectionNumber
=no
24666 rm -f conftest.err conftest.
$ac_objext \
24667 conftest
$ac_exeext conftest.
$ac_ext
24668 LIBS
=$ac_check_lib_save_LIBS
24670 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
24671 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
24672 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
24673 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
24676 LDFLAGS
=$ac_save_LDFLAGS
24681 if test "$no_x" = "yes"; then
24682 { { echo "$as_me:$LINENO: error: X11 not found" >&5
24683 echo "$as_me: error: X11 not found" >&2;}
24684 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
24687 GUI_TK_LIBRARY
="$X_LIBS"
24688 TOOLKIT_INCLUDE
="$X_CFLAGS"
24689 AFMINSTALL
=afminstall
24690 COMPILED_X_PROGRAM
=0
24692 if test "$wxUSE_NANOX" = "yes"; then
24693 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
24694 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
24695 if test "x$MICROWIN" = x
; then
24696 echo "$as_me:$LINENO: result: not found" >&5
24697 echo "${ECHO_T}not found" >&6
24698 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
24699 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
24700 { (exit 1); exit 1; }; }
24702 echo "$as_me:$LINENO: result: $MICROWIN" >&5
24703 echo "${ECHO_T}$MICROWIN" >&6
24704 cat >>confdefs.h
<<\_ACEOF
24705 #define wxUSE_NANOX 1
24711 if test "$wxUSE_UNICODE" = "yes"; then
24715 if test -z "$PKG_CONFIG"; then
24716 # Extract the first word of "pkg-config", so it can be a program name with args.
24717 set dummy pkg
-config; ac_word
=$2
24718 echo "$as_me:$LINENO: checking for $ac_word" >&5
24719 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24720 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24721 echo $ECHO_N "(cached) $ECHO_C" >&6
24723 case $PKG_CONFIG in
24725 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24728 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24729 for as_dir
in $PATH
24732 test -z "$as_dir" && as_dir
=.
24733 for ac_exec_ext
in '' $ac_executable_extensions; do
24734 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24735 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24736 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24742 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24746 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24748 if test -n "$PKG_CONFIG"; then
24749 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24750 echo "${ECHO_T}$PKG_CONFIG" >&6
24752 echo "$as_me:$LINENO: result: no" >&5
24753 echo "${ECHO_T}no" >&6
24758 if test "$PKG_CONFIG" = "no" ; then
24759 echo "*** The pkg-config script could not be found. Make sure it is"
24760 echo "*** in your path, or set the PKG_CONFIG environment variable"
24761 echo "*** to the full path to pkg-config."
24762 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24764 PKG_CONFIG_MIN_VERSION
=0.9.0
24765 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24766 echo "$as_me:$LINENO: checking for pangox" >&5
24767 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
24769 if $PKG_CONFIG --exists "pangox" ; then
24770 echo "$as_me:$LINENO: result: yes" >&5
24771 echo "${ECHO_T}yes" >&6
24774 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
24775 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
24776 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
24777 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
24778 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
24780 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
24781 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
24782 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
24783 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
24784 echo "${ECHO_T}$PANGOX_LIBS" >&6
24788 ## If we have a custom action on failure, don't print errors, but
24789 ## do set a variable so people can do so.
24790 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
24797 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24798 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24802 if test $succeeded = yes; then
24804 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
24805 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
24809 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
24810 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
24811 { (exit 1); exit 1; }; }
24819 if test -z "$PKG_CONFIG"; then
24820 # Extract the first word of "pkg-config", so it can be a program name with args.
24821 set dummy pkg
-config; ac_word
=$2
24822 echo "$as_me:$LINENO: checking for $ac_word" >&5
24823 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24824 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24825 echo $ECHO_N "(cached) $ECHO_C" >&6
24827 case $PKG_CONFIG in
24829 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24832 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24833 for as_dir
in $PATH
24836 test -z "$as_dir" && as_dir
=.
24837 for ac_exec_ext
in '' $ac_executable_extensions; do
24838 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24839 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24840 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24846 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24850 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24852 if test -n "$PKG_CONFIG"; then
24853 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24854 echo "${ECHO_T}$PKG_CONFIG" >&6
24856 echo "$as_me:$LINENO: result: no" >&5
24857 echo "${ECHO_T}no" >&6
24862 if test "$PKG_CONFIG" = "no" ; then
24863 echo "*** The pkg-config script could not be found. Make sure it is"
24864 echo "*** in your path, or set the PKG_CONFIG environment variable"
24865 echo "*** to the full path to pkg-config."
24866 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24868 PKG_CONFIG_MIN_VERSION
=0.9.0
24869 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24870 echo "$as_me:$LINENO: checking for pangoft2" >&5
24871 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
24873 if $PKG_CONFIG --exists "pangoft2" ; then
24874 echo "$as_me:$LINENO: result: yes" >&5
24875 echo "${ECHO_T}yes" >&6
24878 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
24879 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
24880 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
24881 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
24882 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
24884 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
24885 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
24886 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
24887 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
24888 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
24892 ## If we have a custom action on failure, don't print errors, but
24893 ## do set a variable so people can do so.
24894 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
24901 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24902 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24906 if test $succeeded = yes; then
24908 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
24909 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
24913 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
24914 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
24915 wxUSE_PRINTING_ARCHITECTURE
="no"
24923 if test -z "$PKG_CONFIG"; then
24924 # Extract the first word of "pkg-config", so it can be a program name with args.
24925 set dummy pkg
-config; ac_word
=$2
24926 echo "$as_me:$LINENO: checking for $ac_word" >&5
24927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24928 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24929 echo $ECHO_N "(cached) $ECHO_C" >&6
24931 case $PKG_CONFIG in
24933 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24936 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24937 for as_dir
in $PATH
24940 test -z "$as_dir" && as_dir
=.
24941 for ac_exec_ext
in '' $ac_executable_extensions; do
24942 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24943 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24944 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24950 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24954 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24956 if test -n "$PKG_CONFIG"; then
24957 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24958 echo "${ECHO_T}$PKG_CONFIG" >&6
24960 echo "$as_me:$LINENO: result: no" >&5
24961 echo "${ECHO_T}no" >&6
24966 if test "$PKG_CONFIG" = "no" ; then
24967 echo "*** The pkg-config script could not be found. Make sure it is"
24968 echo "*** in your path, or set the PKG_CONFIG environment variable"
24969 echo "*** to the full path to pkg-config."
24970 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24972 PKG_CONFIG_MIN_VERSION
=0.9.0
24973 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24974 echo "$as_me:$LINENO: checking for pangoxft" >&5
24975 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
24977 if $PKG_CONFIG --exists "pangoxft" ; then
24978 echo "$as_me:$LINENO: result: yes" >&5
24979 echo "${ECHO_T}yes" >&6
24982 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
24983 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
24984 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
24985 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
24986 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
24988 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
24989 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
24990 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
24991 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
24992 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
24996 ## If we have a custom action on failure, don't print errors, but
24997 ## do set a variable so people can do so.
24998 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25005 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25006 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25010 if test $succeeded = yes; then
25012 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
25013 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25017 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25018 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25025 wxUSE_UNIVERSAL
="yes"
25027 if test "$wxUSE_NANOX" = "yes"; then
25028 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
25029 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"
25030 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
25032 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
25035 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
25040 if test "$wxUSE_MOTIF" = 1; then
25041 if test "$no_x" = yes; then
25042 # Not all programs may use this symbol, but it does not hurt to define it.
25044 cat >>confdefs.h
<<\_ACEOF
25045 #define X_DISPLAY_MISSING 1
25048 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
25050 if test -n "$x_includes"; then
25051 X_CFLAGS
="$X_CFLAGS -I$x_includes"
25054 # It would also be nice to do this for all -L options, not just this one.
25055 if test -n "$x_libraries"; then
25056 X_LIBS
="$X_LIBS -L$x_libraries"
25057 # For Solaris; some versions of Sun CC require a space after -R and
25058 # others require no space. Words are not sufficient . . . .
25059 case `(uname -sr) 2>/dev/null` in
25061 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
25062 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
25063 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
25064 cat >conftest.
$ac_ext <<_ACEOF
25067 cat confdefs.h
>>conftest.
$ac_ext
25068 cat >>conftest.
$ac_ext <<_ACEOF
25069 /* end confdefs.h. */
25079 rm -f conftest.
$ac_objext conftest
$ac_exeext
25080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25081 (eval $ac_link) 2>conftest.er1
25083 grep -v '^ *+' conftest.er1
>conftest.err
25085 cat conftest.err
>&5
25086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25087 (exit $ac_status); } &&
25088 { ac_try
='test -z "$ac_c_werror_flag"
25089 || test ! -s conftest.err'
25090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25091 (eval $ac_try) 2>&5
25093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25094 (exit $ac_status); }; } &&
25095 { ac_try
='test -s conftest$ac_exeext'
25096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25097 (eval $ac_try) 2>&5
25099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25100 (exit $ac_status); }; }; then
25103 echo "$as_me: failed program was:" >&5
25104 sed 's/^/| /' conftest.
$ac_ext >&5
25108 rm -f conftest.err conftest.
$ac_objext \
25109 conftest
$ac_exeext conftest.
$ac_ext
25110 if test $ac_R_nospace = yes; then
25111 echo "$as_me:$LINENO: result: no" >&5
25112 echo "${ECHO_T}no" >&6
25113 X_LIBS
="$X_LIBS -R$x_libraries"
25115 LIBS
="$ac_xsave_LIBS -R $x_libraries"
25116 cat >conftest.
$ac_ext <<_ACEOF
25119 cat confdefs.h
>>conftest.
$ac_ext
25120 cat >>conftest.
$ac_ext <<_ACEOF
25121 /* end confdefs.h. */
25131 rm -f conftest.
$ac_objext conftest
$ac_exeext
25132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25133 (eval $ac_link) 2>conftest.er1
25135 grep -v '^ *+' conftest.er1
>conftest.err
25137 cat conftest.err
>&5
25138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25139 (exit $ac_status); } &&
25140 { ac_try
='test -z "$ac_c_werror_flag"
25141 || test ! -s conftest.err'
25142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25143 (eval $ac_try) 2>&5
25145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25146 (exit $ac_status); }; } &&
25147 { ac_try
='test -s conftest$ac_exeext'
25148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25149 (eval $ac_try) 2>&5
25151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25152 (exit $ac_status); }; }; then
25155 echo "$as_me: failed program was:" >&5
25156 sed 's/^/| /' conftest.
$ac_ext >&5
25160 rm -f conftest.err conftest.
$ac_objext \
25161 conftest
$ac_exeext conftest.
$ac_ext
25162 if test $ac_R_space = yes; then
25163 echo "$as_me:$LINENO: result: yes" >&5
25164 echo "${ECHO_T}yes" >&6
25165 X_LIBS
="$X_LIBS -R $x_libraries"
25167 echo "$as_me:$LINENO: result: neither works" >&5
25168 echo "${ECHO_T}neither works" >&6
25171 LIBS
=$ac_xsave_LIBS
25175 # Check for system-dependent libraries X programs must link with.
25176 # Do this before checking for the system-independent R6 libraries
25177 # (-lICE), since we may need -lsocket or whatever for X linking.
25179 if test "$ISC" = yes; then
25180 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
25182 # Martyn Johnson says this is needed for Ultrix, if the X
25183 # libraries were built with DECnet support. And Karl Berry says
25184 # the Alpha needs dnet_stub (dnet does not exist).
25185 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
25186 cat >conftest.
$ac_ext <<_ACEOF
25189 cat confdefs.h
>>conftest.
$ac_ext
25190 cat >>conftest.
$ac_ext <<_ACEOF
25191 /* end confdefs.h. */
25193 /* Override any gcc2 internal prototype to avoid an error. */
25197 /* We use char because int might match the return type of a gcc2
25198 builtin and then its argument prototype would still apply. */
25199 char XOpenDisplay ();
25208 rm -f conftest.
$ac_objext conftest
$ac_exeext
25209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25210 (eval $ac_link) 2>conftest.er1
25212 grep -v '^ *+' conftest.er1
>conftest.err
25214 cat conftest.err
>&5
25215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25216 (exit $ac_status); } &&
25217 { ac_try
='test -z "$ac_c_werror_flag"
25218 || test ! -s conftest.err'
25219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25220 (eval $ac_try) 2>&5
25222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25223 (exit $ac_status); }; } &&
25224 { ac_try
='test -s conftest$ac_exeext'
25225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25226 (eval $ac_try) 2>&5
25228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25229 (exit $ac_status); }; }; then
25232 echo "$as_me: failed program was:" >&5
25233 sed 's/^/| /' conftest.
$ac_ext >&5
25235 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
25236 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
25237 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
25238 echo $ECHO_N "(cached) $ECHO_C" >&6
25240 ac_check_lib_save_LIBS
=$LIBS
25241 LIBS
="-ldnet $LIBS"
25242 cat >conftest.
$ac_ext <<_ACEOF
25245 cat confdefs.h
>>conftest.
$ac_ext
25246 cat >>conftest.
$ac_ext <<_ACEOF
25247 /* end confdefs.h. */
25249 /* Override any gcc2 internal prototype to avoid an error. */
25253 /* We use char because int might match the return type of a gcc2
25254 builtin and then its argument prototype would still apply. */
25264 rm -f conftest.
$ac_objext conftest
$ac_exeext
25265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25266 (eval $ac_link) 2>conftest.er1
25268 grep -v '^ *+' conftest.er1
>conftest.err
25270 cat conftest.err
>&5
25271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25272 (exit $ac_status); } &&
25273 { ac_try
='test -z "$ac_c_werror_flag"
25274 || test ! -s conftest.err'
25275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25276 (eval $ac_try) 2>&5
25278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25279 (exit $ac_status); }; } &&
25280 { ac_try
='test -s conftest$ac_exeext'
25281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25282 (eval $ac_try) 2>&5
25284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25285 (exit $ac_status); }; }; then
25286 ac_cv_lib_dnet_dnet_ntoa
=yes
25288 echo "$as_me: failed program was:" >&5
25289 sed 's/^/| /' conftest.
$ac_ext >&5
25291 ac_cv_lib_dnet_dnet_ntoa
=no
25293 rm -f conftest.err conftest.
$ac_objext \
25294 conftest
$ac_exeext conftest.
$ac_ext
25295 LIBS
=$ac_check_lib_save_LIBS
25297 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25298 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
25299 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
25300 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
25303 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
25304 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
25305 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
25306 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
25307 echo $ECHO_N "(cached) $ECHO_C" >&6
25309 ac_check_lib_save_LIBS
=$LIBS
25310 LIBS
="-ldnet_stub $LIBS"
25311 cat >conftest.
$ac_ext <<_ACEOF
25314 cat confdefs.h
>>conftest.
$ac_ext
25315 cat >>conftest.
$ac_ext <<_ACEOF
25316 /* end confdefs.h. */
25318 /* Override any gcc2 internal prototype to avoid an error. */
25322 /* We use char because int might match the return type of a gcc2
25323 builtin and then its argument prototype would still apply. */
25333 rm -f conftest.
$ac_objext conftest
$ac_exeext
25334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25335 (eval $ac_link) 2>conftest.er1
25337 grep -v '^ *+' conftest.er1
>conftest.err
25339 cat conftest.err
>&5
25340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25341 (exit $ac_status); } &&
25342 { ac_try
='test -z "$ac_c_werror_flag"
25343 || test ! -s conftest.err'
25344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25345 (eval $ac_try) 2>&5
25347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25348 (exit $ac_status); }; } &&
25349 { ac_try
='test -s conftest$ac_exeext'
25350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25351 (eval $ac_try) 2>&5
25353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25354 (exit $ac_status); }; }; then
25355 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
25357 echo "$as_me: failed program was:" >&5
25358 sed 's/^/| /' conftest.
$ac_ext >&5
25360 ac_cv_lib_dnet_stub_dnet_ntoa
=no
25362 rm -f conftest.err conftest.
$ac_objext \
25363 conftest
$ac_exeext conftest.
$ac_ext
25364 LIBS
=$ac_check_lib_save_LIBS
25366 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25367 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
25368 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
25369 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
25374 rm -f conftest.err conftest.
$ac_objext \
25375 conftest
$ac_exeext conftest.
$ac_ext
25376 LIBS
="$ac_xsave_LIBS"
25378 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25379 # to get the SysV transport functions.
25380 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25382 # The nsl library prevents programs from opening the X display
25383 # on Irix 5.2, according to T.E. Dickey.
25384 # The functions gethostbyname, getservbyname, and inet_addr are
25385 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25386 echo "$as_me:$LINENO: checking for gethostbyname" >&5
25387 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
25388 if test "${ac_cv_func_gethostbyname+set}" = set; then
25389 echo $ECHO_N "(cached) $ECHO_C" >&6
25391 cat >conftest.
$ac_ext <<_ACEOF
25394 cat confdefs.h
>>conftest.
$ac_ext
25395 cat >>conftest.
$ac_ext <<_ACEOF
25396 /* end confdefs.h. */
25397 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
25398 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25399 #define gethostbyname innocuous_gethostbyname
25401 /* System header to define __stub macros and hopefully few prototypes,
25402 which can conflict with char gethostbyname (); below.
25403 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25404 <limits.h> exists even on freestanding compilers. */
25407 # include <limits.h>
25409 # include <assert.h>
25412 #undef gethostbyname
25414 /* Override any gcc2 internal prototype to avoid an error. */
25419 /* We use char because int might match the return type of a gcc2
25420 builtin and then its argument prototype would still apply. */
25421 char gethostbyname ();
25422 /* The GNU C library defines this for functions which it implements
25423 to always fail with ENOSYS. Some functions are actually named
25424 something starting with __ and the normal name is an alias. */
25425 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
25428 char (*f) () = gethostbyname;
25437 return f != gethostbyname;
25442 rm -f conftest.
$ac_objext conftest
$ac_exeext
25443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25444 (eval $ac_link) 2>conftest.er1
25446 grep -v '^ *+' conftest.er1
>conftest.err
25448 cat conftest.err
>&5
25449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25450 (exit $ac_status); } &&
25451 { ac_try
='test -z "$ac_c_werror_flag"
25452 || test ! -s conftest.err'
25453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25454 (eval $ac_try) 2>&5
25456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25457 (exit $ac_status); }; } &&
25458 { ac_try
='test -s conftest$ac_exeext'
25459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25460 (eval $ac_try) 2>&5
25462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25463 (exit $ac_status); }; }; then
25464 ac_cv_func_gethostbyname
=yes
25466 echo "$as_me: failed program was:" >&5
25467 sed 's/^/| /' conftest.
$ac_ext >&5
25469 ac_cv_func_gethostbyname
=no
25471 rm -f conftest.err conftest.
$ac_objext \
25472 conftest
$ac_exeext conftest.
$ac_ext
25474 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
25475 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
25477 if test $ac_cv_func_gethostbyname = no
; then
25478 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
25479 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
25480 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
25481 echo $ECHO_N "(cached) $ECHO_C" >&6
25483 ac_check_lib_save_LIBS
=$LIBS
25485 cat >conftest.
$ac_ext <<_ACEOF
25488 cat confdefs.h
>>conftest.
$ac_ext
25489 cat >>conftest.
$ac_ext <<_ACEOF
25490 /* end confdefs.h. */
25492 /* Override any gcc2 internal prototype to avoid an error. */
25496 /* We use char because int might match the return type of a gcc2
25497 builtin and then its argument prototype would still apply. */
25498 char gethostbyname ();
25507 rm -f conftest.
$ac_objext conftest
$ac_exeext
25508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25509 (eval $ac_link) 2>conftest.er1
25511 grep -v '^ *+' conftest.er1
>conftest.err
25513 cat conftest.err
>&5
25514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25515 (exit $ac_status); } &&
25516 { ac_try
='test -z "$ac_c_werror_flag"
25517 || test ! -s conftest.err'
25518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25519 (eval $ac_try) 2>&5
25521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25522 (exit $ac_status); }; } &&
25523 { ac_try
='test -s conftest$ac_exeext'
25524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25525 (eval $ac_try) 2>&5
25527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25528 (exit $ac_status); }; }; then
25529 ac_cv_lib_nsl_gethostbyname
=yes
25531 echo "$as_me: failed program was:" >&5
25532 sed 's/^/| /' conftest.
$ac_ext >&5
25534 ac_cv_lib_nsl_gethostbyname
=no
25536 rm -f conftest.err conftest.
$ac_objext \
25537 conftest
$ac_exeext conftest.
$ac_ext
25538 LIBS
=$ac_check_lib_save_LIBS
25540 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
25541 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
25542 if test $ac_cv_lib_nsl_gethostbyname = yes; then
25543 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
25546 if test $ac_cv_lib_nsl_gethostbyname = no
; then
25547 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
25548 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
25549 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
25550 echo $ECHO_N "(cached) $ECHO_C" >&6
25552 ac_check_lib_save_LIBS
=$LIBS
25554 cat >conftest.
$ac_ext <<_ACEOF
25557 cat confdefs.h
>>conftest.
$ac_ext
25558 cat >>conftest.
$ac_ext <<_ACEOF
25559 /* end confdefs.h. */
25561 /* Override any gcc2 internal prototype to avoid an error. */
25565 /* We use char because int might match the return type of a gcc2
25566 builtin and then its argument prototype would still apply. */
25567 char gethostbyname ();
25576 rm -f conftest.
$ac_objext conftest
$ac_exeext
25577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25578 (eval $ac_link) 2>conftest.er1
25580 grep -v '^ *+' conftest.er1
>conftest.err
25582 cat conftest.err
>&5
25583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25584 (exit $ac_status); } &&
25585 { ac_try
='test -z "$ac_c_werror_flag"
25586 || test ! -s conftest.err'
25587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25588 (eval $ac_try) 2>&5
25590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25591 (exit $ac_status); }; } &&
25592 { ac_try
='test -s conftest$ac_exeext'
25593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25594 (eval $ac_try) 2>&5
25596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25597 (exit $ac_status); }; }; then
25598 ac_cv_lib_bsd_gethostbyname
=yes
25600 echo "$as_me: failed program was:" >&5
25601 sed 's/^/| /' conftest.
$ac_ext >&5
25603 ac_cv_lib_bsd_gethostbyname
=no
25605 rm -f conftest.err conftest.
$ac_objext \
25606 conftest
$ac_exeext conftest.
$ac_ext
25607 LIBS
=$ac_check_lib_save_LIBS
25609 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
25610 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
25611 if test $ac_cv_lib_bsd_gethostbyname = yes; then
25612 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
25618 # lieder@skyler.mavd.honeywell.com says without -lsocket,
25619 # socket/setsockopt and other routines are undefined under SCO ODT
25620 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
25621 # on later versions), says Simon Leinen: it contains gethostby*
25622 # variants that don't use the name server (or something). -lsocket
25623 # must be given before -lnsl if both are needed. We assume that
25624 # if connect needs -lnsl, so does gethostbyname.
25625 echo "$as_me:$LINENO: checking for connect" >&5
25626 echo $ECHO_N "checking for connect... $ECHO_C" >&6
25627 if test "${ac_cv_func_connect+set}" = set; then
25628 echo $ECHO_N "(cached) $ECHO_C" >&6
25630 cat >conftest.
$ac_ext <<_ACEOF
25633 cat confdefs.h
>>conftest.
$ac_ext
25634 cat >>conftest.
$ac_ext <<_ACEOF
25635 /* end confdefs.h. */
25636 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
25637 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25638 #define connect innocuous_connect
25640 /* System header to define __stub macros and hopefully few prototypes,
25641 which can conflict with char connect (); below.
25642 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25643 <limits.h> exists even on freestanding compilers. */
25646 # include <limits.h>
25648 # include <assert.h>
25653 /* Override any gcc2 internal prototype to avoid an error. */
25658 /* We use char because int might match the return type of a gcc2
25659 builtin and then its argument prototype would still apply. */
25661 /* The GNU C library defines this for functions which it implements
25662 to always fail with ENOSYS. Some functions are actually named
25663 something starting with __ and the normal name is an alias. */
25664 #if defined (__stub_connect) || defined (__stub___connect)
25667 char (*f) () = connect;
25676 return f != connect;
25681 rm -f conftest.
$ac_objext conftest
$ac_exeext
25682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25683 (eval $ac_link) 2>conftest.er1
25685 grep -v '^ *+' conftest.er1
>conftest.err
25687 cat conftest.err
>&5
25688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25689 (exit $ac_status); } &&
25690 { ac_try
='test -z "$ac_c_werror_flag"
25691 || test ! -s conftest.err'
25692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25693 (eval $ac_try) 2>&5
25695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25696 (exit $ac_status); }; } &&
25697 { ac_try
='test -s conftest$ac_exeext'
25698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25699 (eval $ac_try) 2>&5
25701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25702 (exit $ac_status); }; }; then
25703 ac_cv_func_connect
=yes
25705 echo "$as_me: failed program was:" >&5
25706 sed 's/^/| /' conftest.
$ac_ext >&5
25708 ac_cv_func_connect
=no
25710 rm -f conftest.err conftest.
$ac_objext \
25711 conftest
$ac_exeext conftest.
$ac_ext
25713 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
25714 echo "${ECHO_T}$ac_cv_func_connect" >&6
25716 if test $ac_cv_func_connect = no
; then
25717 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
25718 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
25719 if test "${ac_cv_lib_socket_connect+set}" = set; then
25720 echo $ECHO_N "(cached) $ECHO_C" >&6
25722 ac_check_lib_save_LIBS
=$LIBS
25723 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
25724 cat >conftest.
$ac_ext <<_ACEOF
25727 cat confdefs.h
>>conftest.
$ac_ext
25728 cat >>conftest.
$ac_ext <<_ACEOF
25729 /* end confdefs.h. */
25731 /* Override any gcc2 internal prototype to avoid an error. */
25735 /* We use char because int might match the return type of a gcc2
25736 builtin and then its argument prototype would still apply. */
25746 rm -f conftest.
$ac_objext conftest
$ac_exeext
25747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25748 (eval $ac_link) 2>conftest.er1
25750 grep -v '^ *+' conftest.er1
>conftest.err
25752 cat conftest.err
>&5
25753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25754 (exit $ac_status); } &&
25755 { ac_try
='test -z "$ac_c_werror_flag"
25756 || test ! -s conftest.err'
25757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25758 (eval $ac_try) 2>&5
25760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25761 (exit $ac_status); }; } &&
25762 { ac_try
='test -s conftest$ac_exeext'
25763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25764 (eval $ac_try) 2>&5
25766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25767 (exit $ac_status); }; }; then
25768 ac_cv_lib_socket_connect
=yes
25770 echo "$as_me: failed program was:" >&5
25771 sed 's/^/| /' conftest.
$ac_ext >&5
25773 ac_cv_lib_socket_connect
=no
25775 rm -f conftest.err conftest.
$ac_objext \
25776 conftest
$ac_exeext conftest.
$ac_ext
25777 LIBS
=$ac_check_lib_save_LIBS
25779 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
25780 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
25781 if test $ac_cv_lib_socket_connect = yes; then
25782 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
25787 # Guillermo Gomez says -lposix is necessary on A/UX.
25788 echo "$as_me:$LINENO: checking for remove" >&5
25789 echo $ECHO_N "checking for remove... $ECHO_C" >&6
25790 if test "${ac_cv_func_remove+set}" = set; then
25791 echo $ECHO_N "(cached) $ECHO_C" >&6
25793 cat >conftest.
$ac_ext <<_ACEOF
25796 cat confdefs.h
>>conftest.
$ac_ext
25797 cat >>conftest.
$ac_ext <<_ACEOF
25798 /* end confdefs.h. */
25799 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
25800 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25801 #define remove innocuous_remove
25803 /* System header to define __stub macros and hopefully few prototypes,
25804 which can conflict with char remove (); below.
25805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25806 <limits.h> exists even on freestanding compilers. */
25809 # include <limits.h>
25811 # include <assert.h>
25816 /* Override any gcc2 internal prototype to avoid an error. */
25821 /* We use char because int might match the return type of a gcc2
25822 builtin and then its argument prototype would still apply. */
25824 /* The GNU C library defines this for functions which it implements
25825 to always fail with ENOSYS. Some functions are actually named
25826 something starting with __ and the normal name is an alias. */
25827 #if defined (__stub_remove) || defined (__stub___remove)
25830 char (*f) () = remove;
25839 return f != remove;
25844 rm -f conftest.
$ac_objext conftest
$ac_exeext
25845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25846 (eval $ac_link) 2>conftest.er1
25848 grep -v '^ *+' conftest.er1
>conftest.err
25850 cat conftest.err
>&5
25851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25852 (exit $ac_status); } &&
25853 { ac_try
='test -z "$ac_c_werror_flag"
25854 || test ! -s conftest.err'
25855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25856 (eval $ac_try) 2>&5
25858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25859 (exit $ac_status); }; } &&
25860 { ac_try
='test -s conftest$ac_exeext'
25861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25862 (eval $ac_try) 2>&5
25864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25865 (exit $ac_status); }; }; then
25866 ac_cv_func_remove
=yes
25868 echo "$as_me: failed program was:" >&5
25869 sed 's/^/| /' conftest.
$ac_ext >&5
25871 ac_cv_func_remove
=no
25873 rm -f conftest.err conftest.
$ac_objext \
25874 conftest
$ac_exeext conftest.
$ac_ext
25876 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
25877 echo "${ECHO_T}$ac_cv_func_remove" >&6
25879 if test $ac_cv_func_remove = no
; then
25880 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
25881 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
25882 if test "${ac_cv_lib_posix_remove+set}" = set; then
25883 echo $ECHO_N "(cached) $ECHO_C" >&6
25885 ac_check_lib_save_LIBS
=$LIBS
25886 LIBS
="-lposix $LIBS"
25887 cat >conftest.
$ac_ext <<_ACEOF
25890 cat confdefs.h
>>conftest.
$ac_ext
25891 cat >>conftest.
$ac_ext <<_ACEOF
25892 /* end confdefs.h. */
25894 /* Override any gcc2 internal prototype to avoid an error. */
25898 /* We use char because int might match the return type of a gcc2
25899 builtin and then its argument prototype would still apply. */
25909 rm -f conftest.
$ac_objext conftest
$ac_exeext
25910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25911 (eval $ac_link) 2>conftest.er1
25913 grep -v '^ *+' conftest.er1
>conftest.err
25915 cat conftest.err
>&5
25916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25917 (exit $ac_status); } &&
25918 { ac_try
='test -z "$ac_c_werror_flag"
25919 || test ! -s conftest.err'
25920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25921 (eval $ac_try) 2>&5
25923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25924 (exit $ac_status); }; } &&
25925 { ac_try
='test -s conftest$ac_exeext'
25926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25927 (eval $ac_try) 2>&5
25929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25930 (exit $ac_status); }; }; then
25931 ac_cv_lib_posix_remove
=yes
25933 echo "$as_me: failed program was:" >&5
25934 sed 's/^/| /' conftest.
$ac_ext >&5
25936 ac_cv_lib_posix_remove
=no
25938 rm -f conftest.err conftest.
$ac_objext \
25939 conftest
$ac_exeext conftest.
$ac_ext
25940 LIBS
=$ac_check_lib_save_LIBS
25942 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
25943 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
25944 if test $ac_cv_lib_posix_remove = yes; then
25945 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
25950 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25951 echo "$as_me:$LINENO: checking for shmat" >&5
25952 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
25953 if test "${ac_cv_func_shmat+set}" = set; then
25954 echo $ECHO_N "(cached) $ECHO_C" >&6
25956 cat >conftest.
$ac_ext <<_ACEOF
25959 cat confdefs.h
>>conftest.
$ac_ext
25960 cat >>conftest.
$ac_ext <<_ACEOF
25961 /* end confdefs.h. */
25962 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
25963 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25964 #define shmat innocuous_shmat
25966 /* System header to define __stub macros and hopefully few prototypes,
25967 which can conflict with char shmat (); below.
25968 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25969 <limits.h> exists even on freestanding compilers. */
25972 # include <limits.h>
25974 # include <assert.h>
25979 /* Override any gcc2 internal prototype to avoid an error. */
25984 /* We use char because int might match the return type of a gcc2
25985 builtin and then its argument prototype would still apply. */
25987 /* The GNU C library defines this for functions which it implements
25988 to always fail with ENOSYS. Some functions are actually named
25989 something starting with __ and the normal name is an alias. */
25990 #if defined (__stub_shmat) || defined (__stub___shmat)
25993 char (*f) () = shmat;
26007 rm -f conftest.
$ac_objext conftest
$ac_exeext
26008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26009 (eval $ac_link) 2>conftest.er1
26011 grep -v '^ *+' conftest.er1
>conftest.err
26013 cat conftest.err
>&5
26014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26015 (exit $ac_status); } &&
26016 { ac_try
='test -z "$ac_c_werror_flag"
26017 || test ! -s conftest.err'
26018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26019 (eval $ac_try) 2>&5
26021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26022 (exit $ac_status); }; } &&
26023 { ac_try
='test -s conftest$ac_exeext'
26024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26025 (eval $ac_try) 2>&5
26027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26028 (exit $ac_status); }; }; then
26029 ac_cv_func_shmat
=yes
26031 echo "$as_me: failed program was:" >&5
26032 sed 's/^/| /' conftest.
$ac_ext >&5
26034 ac_cv_func_shmat
=no
26036 rm -f conftest.err conftest.
$ac_objext \
26037 conftest
$ac_exeext conftest.
$ac_ext
26039 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
26040 echo "${ECHO_T}$ac_cv_func_shmat" >&6
26042 if test $ac_cv_func_shmat = no
; then
26043 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
26044 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
26045 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
26046 echo $ECHO_N "(cached) $ECHO_C" >&6
26048 ac_check_lib_save_LIBS
=$LIBS
26050 cat >conftest.
$ac_ext <<_ACEOF
26053 cat confdefs.h
>>conftest.
$ac_ext
26054 cat >>conftest.
$ac_ext <<_ACEOF
26055 /* end confdefs.h. */
26057 /* Override any gcc2 internal prototype to avoid an error. */
26061 /* We use char because int might match the return type of a gcc2
26062 builtin and then its argument prototype would still apply. */
26072 rm -f conftest.
$ac_objext conftest
$ac_exeext
26073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26074 (eval $ac_link) 2>conftest.er1
26076 grep -v '^ *+' conftest.er1
>conftest.err
26078 cat conftest.err
>&5
26079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26080 (exit $ac_status); } &&
26081 { ac_try
='test -z "$ac_c_werror_flag"
26082 || test ! -s conftest.err'
26083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26084 (eval $ac_try) 2>&5
26086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26087 (exit $ac_status); }; } &&
26088 { ac_try
='test -s conftest$ac_exeext'
26089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26090 (eval $ac_try) 2>&5
26092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26093 (exit $ac_status); }; }; then
26094 ac_cv_lib_ipc_shmat
=yes
26096 echo "$as_me: failed program was:" >&5
26097 sed 's/^/| /' conftest.
$ac_ext >&5
26099 ac_cv_lib_ipc_shmat
=no
26101 rm -f conftest.err conftest.
$ac_objext \
26102 conftest
$ac_exeext conftest.
$ac_ext
26103 LIBS
=$ac_check_lib_save_LIBS
26105 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
26106 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
26107 if test $ac_cv_lib_ipc_shmat = yes; then
26108 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
26114 # Check for libraries that X11R6 Xt/Xaw programs need.
26115 ac_save_LDFLAGS
=$LDFLAGS
26116 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
26117 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
26118 # check for ICE first), but we must link in the order -lSM -lICE or
26119 # we get undefined symbols. So assume we have SM if we have ICE.
26120 # These have to be linked with before -lX11, unlike the other
26121 # libraries we check for below, so use a different variable.
26122 # John Interrante, Karl Berry
26123 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
26124 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
26125 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
26126 echo $ECHO_N "(cached) $ECHO_C" >&6
26128 ac_check_lib_save_LIBS
=$LIBS
26129 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
26130 cat >conftest.
$ac_ext <<_ACEOF
26133 cat confdefs.h
>>conftest.
$ac_ext
26134 cat >>conftest.
$ac_ext <<_ACEOF
26135 /* end confdefs.h. */
26137 /* Override any gcc2 internal prototype to avoid an error. */
26141 /* We use char because int might match the return type of a gcc2
26142 builtin and then its argument prototype would still apply. */
26143 char IceConnectionNumber ();
26147 IceConnectionNumber ();
26152 rm -f conftest.
$ac_objext conftest
$ac_exeext
26153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26154 (eval $ac_link) 2>conftest.er1
26156 grep -v '^ *+' conftest.er1
>conftest.err
26158 cat conftest.err
>&5
26159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26160 (exit $ac_status); } &&
26161 { ac_try
='test -z "$ac_c_werror_flag"
26162 || test ! -s conftest.err'
26163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26164 (eval $ac_try) 2>&5
26166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26167 (exit $ac_status); }; } &&
26168 { ac_try
='test -s conftest$ac_exeext'
26169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26170 (eval $ac_try) 2>&5
26172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26173 (exit $ac_status); }; }; then
26174 ac_cv_lib_ICE_IceConnectionNumber
=yes
26176 echo "$as_me: failed program was:" >&5
26177 sed 's/^/| /' conftest.
$ac_ext >&5
26179 ac_cv_lib_ICE_IceConnectionNumber
=no
26181 rm -f conftest.err conftest.
$ac_objext \
26182 conftest
$ac_exeext conftest.
$ac_ext
26183 LIBS
=$ac_check_lib_save_LIBS
26185 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
26186 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
26187 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
26188 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
26191 LDFLAGS
=$ac_save_LDFLAGS
26196 if test "$no_x" = "yes"; then
26197 { { echo "$as_me:$LINENO: error: X11 not found" >&5
26198 echo "$as_me: error: X11 not found" >&2;}
26199 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
26202 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//'`
26203 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
26204 AFMINSTALL
=afminstall
26205 COMPILED_X_PROGRAM
=0
26207 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
26208 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
26211 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
26213 if test -f "$ac_dir/Xm/Xm.h"; then
26214 ac_find_includes
=$ac_dir
26219 if test "$ac_find_includes" != "" ; then
26220 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
26221 echo "${ECHO_T}found in $ac_find_includes" >&6
26223 if test "x$ac_find_includes" = "x/usr/include"; then
26224 ac_path_to_include
=""
26226 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
26228 if test $result = 0; then
26229 ac_path_to_include
=""
26231 ac_path_to_include
=" -I$ac_find_includes"
26235 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
26237 cat >conftest.
$ac_ext <<_ACEOF
26240 cat confdefs.h
>>conftest.
$ac_ext
26241 cat >>conftest.
$ac_ext <<_ACEOF
26242 /* end confdefs.h. */
26251 version = xmUseVersion;
26257 rm -f conftest.
$ac_objext
26258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26259 (eval $ac_compile) 2>conftest.er1
26261 grep -v '^ *+' conftest.er1
>conftest.err
26263 cat conftest.err
>&5
26264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26265 (exit $ac_status); } &&
26266 { ac_try
='test -z "$ac_c_werror_flag"
26267 || test ! -s conftest.err'
26268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26269 (eval $ac_try) 2>&5
26271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26272 (exit $ac_status); }; } &&
26273 { ac_try
='test -s conftest.$ac_objext'
26274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26275 (eval $ac_try) 2>&5
26277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26278 (exit $ac_status); }; }; then
26280 echo "$as_me:$LINENO: result: found in default search path" >&5
26281 echo "${ECHO_T}found in default search path" >&6
26282 COMPILED_X_PROGRAM
=1
26285 echo "$as_me: failed program was:" >&5
26286 sed 's/^/| /' conftest.
$ac_ext >&5
26289 echo "$as_me:$LINENO: result: no" >&5
26290 echo "${ECHO_T}no" >&6
26291 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
26292 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
26293 { (exit 1); exit 1; }; }
26297 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26300 if test "$COMPILED_X_PROGRAM" = 0; then
26301 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
26302 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
26305 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26307 for ac_extension
in a so sl dylib
; do
26308 if test -f "$ac_dir/libXm.$ac_extension"; then
26309 ac_find_libraries
=$ac_dir
26315 if test "$ac_find_libraries" != "" ; then
26316 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26317 echo "${ECHO_T}found at $ac_find_libraries" >&6
26320 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26322 if test $result = 0; then
26325 ac_path_to_link
=" -L$ac_find_libraries"
26328 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26330 save_CFLAGS
=$CFLAGS
26331 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26333 cat >conftest.
$ac_ext <<_ACEOF
26336 cat confdefs.h
>>conftest.
$ac_ext
26337 cat >>conftest.
$ac_ext <<_ACEOF
26338 /* end confdefs.h. */
26347 version = xmUseVersion;
26353 rm -f conftest.
$ac_objext
26354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26355 (eval $ac_compile) 2>conftest.er1
26357 grep -v '^ *+' conftest.er1
>conftest.err
26359 cat conftest.err
>&5
26360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26361 (exit $ac_status); } &&
26362 { ac_try
='test -z "$ac_c_werror_flag"
26363 || test ! -s conftest.err'
26364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26365 (eval $ac_try) 2>&5
26367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26368 (exit $ac_status); }; } &&
26369 { ac_try
='test -s conftest.$ac_objext'
26370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26371 (eval $ac_try) 2>&5
26373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26374 (exit $ac_status); }; }; then
26376 echo "$as_me:$LINENO: result: found in default search path" >&5
26377 echo "${ECHO_T}found in default search path" >&6
26378 COMPILED_X_PROGRAM
=1
26381 echo "$as_me: failed program was:" >&5
26382 sed 's/^/| /' conftest.
$ac_ext >&5
26385 echo "$as_me:$LINENO: result: no" >&5
26386 echo "${ECHO_T}no" >&6
26387 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
26388 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
26389 { (exit 1); exit 1; }; }
26393 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26395 CFLAGS
=$save_CFLAGS
26399 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
26400 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
26404 for libp
in "" " -lXp"; do
26405 if test "$libs_found" = "0"; then
26406 for libsm_ice
in "" " -lSM -lICE"; do
26407 if test "$libs_found" = "0"; then
26409 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26410 save_CFLAGS
=$CFLAGS
26411 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26413 cat >conftest.
$ac_ext <<_ACEOF
26416 cat confdefs.h
>>conftest.
$ac_ext
26417 cat >>conftest.
$ac_ext <<_ACEOF
26418 /* end confdefs.h. */
26421 #include <Xm/List.h>
26427 XmString string = NULL;
26430 XmListAddItem(w, string, position);
26436 rm -f conftest.
$ac_objext conftest
$ac_exeext
26437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26438 (eval $ac_link) 2>conftest.er1
26440 grep -v '^ *+' conftest.er1
>conftest.err
26442 cat conftest.err
>&5
26443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26444 (exit $ac_status); } &&
26445 { ac_try
='test -z "$ac_c_werror_flag"
26446 || test ! -s conftest.err'
26447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26448 (eval $ac_try) 2>&5
26450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26451 (exit $ac_status); }; } &&
26452 { ac_try
='test -s conftest$ac_exeext'
26453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26454 (eval $ac_try) 2>&5
26456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26457 (exit $ac_status); }; }; then
26460 libsm_ice_link
="$libsm_ice"
26461 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
26462 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
26466 echo "$as_me: failed program was:" >&5
26467 sed 's/^/| /' conftest.
$ac_ext >&5
26472 rm -f conftest.err conftest.
$ac_objext \
26473 conftest
$ac_exeext conftest.
$ac_ext
26476 CFLAGS
=$save_CFLAGS
26482 if test "$libs_found" = "0"; then
26483 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
26484 echo "${ECHO_T}can't find the right libraries" >&6
26485 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
26486 echo "$as_me: error: can't link a simple motif program" >&2;}
26487 { (exit 1); exit 1; }; }
26490 save_CFLAGS
=$CFLAGS
26491 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26492 echo "$as_me:$LINENO: checking for Motif 2" >&5
26493 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
26494 cat >conftest.
$ac_ext <<_ACEOF
26497 cat confdefs.h
>>conftest.
$ac_ext
26498 cat >>conftest.
$ac_ext <<_ACEOF
26499 /* end confdefs.h. */
26507 #if XmVersion < 2000
26508 #error "Not Motif 2"
26515 rm -f conftest.
$ac_objext
26516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26517 (eval $ac_compile) 2>conftest.er1
26519 grep -v '^ *+' conftest.er1
>conftest.err
26521 cat conftest.err
>&5
26522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26523 (exit $ac_status); } &&
26524 { ac_try
='test -z "$ac_c_werror_flag"
26525 || test ! -s conftest.err'
26526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26527 (eval $ac_try) 2>&5
26529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26530 (exit $ac_status); }; } &&
26531 { ac_try
='test -s conftest.$ac_objext'
26532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26533 (eval $ac_try) 2>&5
26535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26536 (exit $ac_status); }; }; then
26538 cat >>confdefs.h
<<\_ACEOF
26539 #define __WXMOTIF20__ 1
26542 echo "$as_me:$LINENO: result: found" >&5
26543 echo "${ECHO_T}found" >&6
26546 echo "$as_me: failed program was:" >&5
26547 sed 's/^/| /' conftest.
$ac_ext >&5
26550 cat >>confdefs.h
<<\_ACEOF
26551 #define __WXMOTIF20__ 0
26554 echo "$as_me:$LINENO: result: not found" >&5
26555 echo "${ECHO_T}not found" >&6
26558 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26559 CFLAGS
=$save_CFLAGS
26561 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26562 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
26567 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26568 if test "$wxUSE_LIBXPM" = "sys"; then
26569 echo "$as_me:$LINENO: checking for Xpm library" >&5
26570 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
26573 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26575 for ac_extension
in a so sl dylib
; do
26576 if test -f "$ac_dir/libXpm.$ac_extension"; then
26577 ac_find_libraries
=$ac_dir
26583 if test "$ac_find_libraries" != "" ; then
26585 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26587 if test $result = 0; then
26590 ac_path_to_link
=" -L$ac_find_libraries"
26593 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26594 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26595 echo "${ECHO_T}found at $ac_find_libraries" >&6
26597 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
26598 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
26599 if test "${wx_cv_x11_xpm_h+set}" = set; then
26600 echo $ECHO_N "(cached) $ECHO_C" >&6
26603 save_CFLAGS
=$CFLAGS
26604 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26606 cat >conftest.
$ac_ext <<_ACEOF
26609 cat confdefs.h
>>conftest.
$ac_ext
26610 cat >>conftest.
$ac_ext <<_ACEOF
26611 /* end confdefs.h. */
26613 #include <X11/xpm.h>
26620 version = XpmLibraryVersion();
26626 rm -f conftest.
$ac_objext
26627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26628 (eval $ac_compile) 2>conftest.er1
26630 grep -v '^ *+' conftest.er1
>conftest.err
26632 cat conftest.err
>&5
26633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26634 (exit $ac_status); } &&
26635 { ac_try
='test -z "$ac_c_werror_flag"
26636 || test ! -s conftest.err'
26637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26638 (eval $ac_try) 2>&5
26640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26641 (exit $ac_status); }; } &&
26642 { ac_try
='test -s conftest.$ac_objext'
26643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26644 (eval $ac_try) 2>&5
26646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26647 (exit $ac_status); }; }; then
26648 wx_cv_x11_xpm_h
=yes
26650 echo "$as_me: failed program was:" >&5
26651 sed 's/^/| /' conftest.
$ac_ext >&5
26656 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26658 CFLAGS
=$save_CFLAGS
26662 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
26663 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
26665 if test $wx_cv_x11_xpm_h = "yes"; then
26666 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
26667 cat >>confdefs.h
<<\_ACEOF
26668 #define wxHAVE_LIB_XPM 1
26672 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
26673 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26679 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
26680 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
26681 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
26682 echo $ECHO_N "(cached) $ECHO_C" >&6
26684 ac_check_lib_save_LIBS
=$LIBS
26685 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26686 cat >conftest.
$ac_ext <<_ACEOF
26689 cat confdefs.h
>>conftest.
$ac_ext
26690 cat >>conftest.
$ac_ext <<_ACEOF
26691 /* end confdefs.h. */
26693 /* Override any gcc2 internal prototype to avoid an error. */
26697 /* We use char because int might match the return type of a gcc2
26698 builtin and then its argument prototype would still apply. */
26699 char XShapeQueryExtension ();
26703 XShapeQueryExtension ();
26708 rm -f conftest.
$ac_objext conftest
$ac_exeext
26709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26710 (eval $ac_link) 2>conftest.er1
26712 grep -v '^ *+' conftest.er1
>conftest.err
26714 cat conftest.err
>&5
26715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26716 (exit $ac_status); } &&
26717 { ac_try
='test -z "$ac_c_werror_flag"
26718 || test ! -s conftest.err'
26719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26720 (eval $ac_try) 2>&5
26722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26723 (exit $ac_status); }; } &&
26724 { ac_try
='test -s conftest$ac_exeext'
26725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26726 (eval $ac_try) 2>&5
26728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26729 (exit $ac_status); }; }; then
26730 ac_cv_lib_Xext_XShapeQueryExtension
=yes
26732 echo "$as_me: failed program was:" >&5
26733 sed 's/^/| /' conftest.
$ac_ext >&5
26735 ac_cv_lib_Xext_XShapeQueryExtension
=no
26737 rm -f conftest.err conftest.
$ac_objext \
26738 conftest
$ac_exeext conftest.
$ac_ext
26739 LIBS
=$ac_check_lib_save_LIBS
26741 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26742 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
26743 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
26745 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
26751 if test "$wxHAVE_XEXT_LIB" = 1; then
26752 save_CFLAGS
="$CFLAGS"
26753 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26755 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
26756 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
26757 cat >conftest.
$ac_ext <<_ACEOF
26760 cat confdefs.h
>>conftest.
$ac_ext
26761 cat >>conftest.
$ac_ext <<_ACEOF
26762 /* end confdefs.h. */
26764 #include <X11/Xlib.h>
26765 #include <X11/extensions/shape.h>
26771 int dummy1, dummy2;
26772 XShapeQueryExtension((Display*)NULL,
26773 (int*)NULL, (int*)NULL);
26779 rm -f conftest.
$ac_objext
26780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26781 (eval $ac_compile) 2>conftest.er1
26783 grep -v '^ *+' conftest.er1
>conftest.err
26785 cat conftest.err
>&5
26786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26787 (exit $ac_status); } &&
26788 { ac_try
='test -z "$ac_c_werror_flag"
26789 || test ! -s conftest.err'
26790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26791 (eval $ac_try) 2>&5
26793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26794 (exit $ac_status); }; } &&
26795 { ac_try
='test -s conftest.$ac_objext'
26796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26797 (eval $ac_try) 2>&5
26799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26800 (exit $ac_status); }; }; then
26802 cat >>confdefs.h
<<\_ACEOF
26803 #define HAVE_XSHAPE 1
26806 echo "$as_me:$LINENO: result: found" >&5
26807 echo "${ECHO_T}found" >&6
26810 echo "$as_me: failed program was:" >&5
26811 sed 's/^/| /' conftest.
$ac_ext >&5
26814 echo "$as_me:$LINENO: result: not found" >&5
26815 echo "${ECHO_T}not found" >&6
26818 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26819 CFLAGS
="$save_CFLAGS"
26824 if test "$wxUSE_MAC" = 1; then
26825 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
26826 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
26827 if test "$GCC" = yes; then
26828 echo "$as_me:$LINENO: result: gcc" >&5
26829 echo "${ECHO_T}gcc" >&6
26830 CPPFLAGS_PASCAL
="-fpascal-strings"
26831 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26832 echo "$as_me:$LINENO: result: xlc" >&5
26833 echo "${ECHO_T}xlc" >&6
26834 CPPFLAGS_PASCAL
="-qmacpstr"
26836 echo "$as_me:$LINENO: result: none" >&5
26837 echo "${ECHO_T}none" >&6
26840 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
26842 TOOLKIT_VPATH
="\${top_srcdir}/src/mac/carbon${PATH_IFS}\${top_srcdir}/src/mac/carbon/morefilex"
26845 WXBASEPORT
="_carbon"
26848 if test "$wxUSE_COCOA" = 1; then
26849 TOOLKIT_VPATH
="\${top_srcdir}/src/cocoa"
26854 if test "$wxUSE_PM" = 1; then
26859 if test "$TOOLKIT" = "PM" ; then
26862 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
26865 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
26867 if test "$wxUSE_UNIVERSAL" = "yes"; then
26868 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
26870 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
26871 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
26873 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
26874 if test "$wxUSE_X11" = 1; then
26875 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
26877 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
26879 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26882 ALL_OBJECTS
="\$(GUIOBJS)"
26883 ALL_SOURCES
="\$(ALL_SOURCES)"
26884 ALL_HEADERS
="\$(ALL_HEADERS)"
26887 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
26889 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
26890 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
26893 if test "$wxUSE_HTML" = "yes"; then
26894 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
26897 if test "$wxUSE_LIBJPEG" = "builtin" ; then
26898 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
26900 if test "$wxUSE_LIBTIFF" = "builtin" ; then
26901 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
26903 if test "$wxUSE_LIBPNG" = "builtin" ; then
26904 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
26907 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26908 DISTDIR
="wx\$(TOOLKIT)"
26914 if test "$USE_WIN32" = 1 ; then
26915 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
26916 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
26920 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
26921 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
26924 ALL_SOURCES
="\$(ALL_SOURCES)"
26925 ALL_HEADERS
="\$(ALL_HEADERS)"
26927 PORT_FILES
="\${top_srcdir}/src/files.lst"
26929 GUIDIST
="BASE_DIST"
26939 if test "$TOOLKIT" != "MSW" ; then
26941 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
26943 if test "${ac_cv_header_sql_h+set}" = set; then
26944 echo "$as_me:$LINENO: checking for sql.h" >&5
26945 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26946 if test "${ac_cv_header_sql_h+set}" = set; then
26947 echo $ECHO_N "(cached) $ECHO_C" >&6
26949 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26950 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26952 # Is the header compilable?
26953 echo "$as_me:$LINENO: checking sql.h usability" >&5
26954 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
26955 cat >conftest.
$ac_ext <<_ACEOF
26958 cat confdefs.h
>>conftest.
$ac_ext
26959 cat >>conftest.
$ac_ext <<_ACEOF
26960 /* end confdefs.h. */
26961 $ac_includes_default
26964 rm -f conftest.
$ac_objext
26965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26966 (eval $ac_compile) 2>conftest.er1
26968 grep -v '^ *+' conftest.er1
>conftest.err
26970 cat conftest.err
>&5
26971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26972 (exit $ac_status); } &&
26973 { ac_try
='test -z "$ac_c_werror_flag"
26974 || test ! -s conftest.err'
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); }; } &&
26980 { ac_try
='test -s conftest.$ac_objext'
26981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26982 (eval $ac_try) 2>&5
26984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26985 (exit $ac_status); }; }; then
26986 ac_header_compiler
=yes
26988 echo "$as_me: failed program was:" >&5
26989 sed 's/^/| /' conftest.
$ac_ext >&5
26991 ac_header_compiler
=no
26993 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26994 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26995 echo "${ECHO_T}$ac_header_compiler" >&6
26997 # Is the header present?
26998 echo "$as_me:$LINENO: checking sql.h presence" >&5
26999 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
27000 cat >conftest.
$ac_ext <<_ACEOF
27003 cat confdefs.h
>>conftest.
$ac_ext
27004 cat >>conftest.
$ac_ext <<_ACEOF
27005 /* end confdefs.h. */
27008 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27009 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27011 grep -v '^ *+' conftest.er1
>conftest.err
27013 cat conftest.err
>&5
27014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27015 (exit $ac_status); } >/dev
/null
; then
27016 if test -s conftest.err
; then
27017 ac_cpp_err
=$ac_c_preproc_warn_flag
27018 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27025 if test -z "$ac_cpp_err"; then
27026 ac_header_preproc
=yes
27028 echo "$as_me: failed program was:" >&5
27029 sed 's/^/| /' conftest.
$ac_ext >&5
27031 ac_header_preproc
=no
27033 rm -f conftest.err conftest.
$ac_ext
27034 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27035 echo "${ECHO_T}$ac_header_preproc" >&6
27037 # So? What about this header?
27038 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27040 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
27041 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27042 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
27043 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
27044 ac_header_preproc
=yes
27047 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
27048 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
27049 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
27050 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
27051 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
27052 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
27053 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
27054 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
27055 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
27056 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
27057 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
27058 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
27061 ## ----------------------------------------- ##
27062 ## Report this to wx-dev@lists.wxwindows.org ##
27063 ## ----------------------------------------- ##
27066 sed "s/^/$as_me: WARNING: /" >&2
27069 echo "$as_me:$LINENO: checking for sql.h" >&5
27070 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
27071 if test "${ac_cv_header_sql_h+set}" = set; then
27072 echo $ECHO_N "(cached) $ECHO_C" >&6
27074 ac_cv_header_sql_h
=$ac_header_preproc
27076 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
27077 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
27080 if test $ac_cv_header_sql_h = yes; then
27085 if test "x$found_sql_h" = "x1" ; then
27086 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
27087 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
27088 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
27089 echo $ECHO_N "(cached) $ECHO_C" >&6
27091 ac_check_lib_save_LIBS
=$LIBS
27092 LIBS
="-liodbc $LIBS"
27093 cat >conftest.
$ac_ext <<_ACEOF
27096 cat confdefs.h
>>conftest.
$ac_ext
27097 cat >>conftest.
$ac_ext <<_ACEOF
27098 /* end confdefs.h. */
27100 /* Override any gcc2 internal prototype to avoid an error. */
27104 /* We use char because int might match the return type of a gcc2
27105 builtin and then its argument prototype would still apply. */
27106 char SQLAllocEnv ();
27115 rm -f conftest.
$ac_objext conftest
$ac_exeext
27116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27117 (eval $ac_link) 2>conftest.er1
27119 grep -v '^ *+' conftest.er1
>conftest.err
27121 cat conftest.err
>&5
27122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27123 (exit $ac_status); } &&
27124 { ac_try
='test -z "$ac_c_werror_flag"
27125 || test ! -s conftest.err'
27126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27127 (eval $ac_try) 2>&5
27129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27130 (exit $ac_status); }; } &&
27131 { ac_try
='test -s conftest$ac_exeext'
27132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27133 (eval $ac_try) 2>&5
27135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27136 (exit $ac_status); }; }; then
27137 ac_cv_lib_iodbc_SQLAllocEnv
=yes
27139 echo "$as_me: failed program was:" >&5
27140 sed 's/^/| /' conftest.
$ac_ext >&5
27142 ac_cv_lib_iodbc_SQLAllocEnv
=no
27144 rm -f conftest.err conftest.
$ac_objext \
27145 conftest
$ac_exeext conftest.
$ac_ext
27146 LIBS
=$ac_check_lib_save_LIBS
27148 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
27149 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
27150 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
27151 ODBC_LINK
=" -liodbc"
27154 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
27155 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
27156 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
27157 echo $ECHO_N "(cached) $ECHO_C" >&6
27159 ac_check_lib_save_LIBS
=$LIBS
27160 LIBS
="-lunixodbc $LIBS"
27161 cat >conftest.
$ac_ext <<_ACEOF
27164 cat confdefs.h
>>conftest.
$ac_ext
27165 cat >>conftest.
$ac_ext <<_ACEOF
27166 /* end confdefs.h. */
27168 /* Override any gcc2 internal prototype to avoid an error. */
27172 /* We use char because int might match the return type of a gcc2
27173 builtin and then its argument prototype would still apply. */
27174 char SQLAllocEnv ();
27183 rm -f conftest.
$ac_objext conftest
$ac_exeext
27184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27185 (eval $ac_link) 2>conftest.er1
27187 grep -v '^ *+' conftest.er1
>conftest.err
27189 cat conftest.err
>&5
27190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27191 (exit $ac_status); } &&
27192 { ac_try
='test -z "$ac_c_werror_flag"
27193 || test ! -s conftest.err'
27194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27195 (eval $ac_try) 2>&5
27197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27198 (exit $ac_status); }; } &&
27199 { ac_try
='test -s conftest$ac_exeext'
27200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27201 (eval $ac_try) 2>&5
27203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27204 (exit $ac_status); }; }; then
27205 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
27207 echo "$as_me: failed program was:" >&5
27208 sed 's/^/| /' conftest.
$ac_ext >&5
27210 ac_cv_lib_unixodbc_SQLAllocEnv
=no
27212 rm -f conftest.err conftest.
$ac_objext \
27213 conftest
$ac_exeext conftest.
$ac_ext
27214 LIBS
=$ac_check_lib_save_LIBS
27216 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
27217 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
27218 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
27219 ODBC_LINK
=" -lunixodbc"
27222 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
27223 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
27224 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
27225 echo $ECHO_N "(cached) $ECHO_C" >&6
27227 ac_check_lib_save_LIBS
=$LIBS
27228 LIBS
="-lodbc $LIBS"
27229 cat >conftest.
$ac_ext <<_ACEOF
27232 cat confdefs.h
>>conftest.
$ac_ext
27233 cat >>conftest.
$ac_ext <<_ACEOF
27234 /* end confdefs.h. */
27236 /* Override any gcc2 internal prototype to avoid an error. */
27240 /* We use char because int might match the return type of a gcc2
27241 builtin and then its argument prototype would still apply. */
27242 char SQLAllocEnv ();
27251 rm -f conftest.
$ac_objext conftest
$ac_exeext
27252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27253 (eval $ac_link) 2>conftest.er1
27255 grep -v '^ *+' conftest.er1
>conftest.err
27257 cat conftest.err
>&5
27258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27259 (exit $ac_status); } &&
27260 { ac_try
='test -z "$ac_c_werror_flag"
27261 || test ! -s conftest.err'
27262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27263 (eval $ac_try) 2>&5
27265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27266 (exit $ac_status); }; } &&
27267 { ac_try
='test -s conftest$ac_exeext'
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 ac_cv_lib_odbc_SQLAllocEnv
=yes
27275 echo "$as_me: failed program was:" >&5
27276 sed 's/^/| /' conftest.
$ac_ext >&5
27278 ac_cv_lib_odbc_SQLAllocEnv
=no
27280 rm -f conftest.err conftest.
$ac_objext \
27281 conftest
$ac_exeext conftest.
$ac_ext
27282 LIBS
=$ac_check_lib_save_LIBS
27284 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
27285 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
27286 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
27287 ODBC_LINK
=" -lodbc"
27297 if test "x$ODBC_LINK" = "x" ; then
27298 if test "$wxUSE_ODBC" = "sys" ; then
27299 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
27300 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
27301 { (exit 1); exit 1; }; }
27303 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
27304 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
27311 if test "$wxUSE_ODBC" != "no" ; then
27312 cat >>confdefs.h
<<\_ACEOF
27313 #define wxUSE_ODBC 1
27316 if test "$wxUSE_ODBC" = "builtin" ; then
27317 cat >>confdefs.h
<<\_ACEOF
27318 #define wxUSE_BUILTIN_IODBC 1
27322 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
27324 WXODBCFLAG
="-D_IODBC_"
27328 if test "$wxUSE_REGEX" = "builtin" ; then
27329 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
27331 if test "$wxUSE_ZLIB" = "builtin" ; then
27332 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
27335 if test "$wxUSE_DISPLAY" = "yes"; then
27336 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1; then
27337 echo "$as_me:$LINENO: checking for Xinerama" >&5
27338 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
27341 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27343 for ac_extension
in a so sl dylib
; do
27344 if test -f "$ac_dir/libXinerama.$ac_extension"; then
27345 ac_find_libraries
=$ac_dir
27351 if test "$ac_find_libraries" != "" ; then
27353 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27355 if test $result = 0; then
27358 ac_path_to_link
=" -L$ac_find_libraries"
27361 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27362 LDFLAGS
="$LDFLAGS $ac_path_to_link"
27364 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
27365 echo "$as_me:$LINENO: result: yes" >&5
27366 echo "${ECHO_T}yes" >&6
27368 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
27369 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
27372 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27374 for ac_extension
in a so sl dylib
; do
27375 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27376 ac_find_libraries
=$ac_dir
27382 if test "$ac_find_libraries" != "" ; then
27383 echo "$as_me:$LINENO: result: yes" >&5
27384 echo "${ECHO_T}yes" >&6
27386 for ac_header
in X
11/extensions
/xf86vmode.h
27388 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27389 echo "$as_me:$LINENO: checking for $ac_header" >&5
27390 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27391 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27392 echo $ECHO_N "(cached) $ECHO_C" >&6
27394 cat >conftest.
$ac_ext <<_ACEOF
27397 cat confdefs.h
>>conftest.
$ac_ext
27398 cat >>conftest.
$ac_ext <<_ACEOF
27399 /* end confdefs.h. */
27401 #if HAVE_X11_XLIB_H
27402 #include <X11/Xlib.h>
27406 #include <$ac_header>
27408 rm -f conftest.
$ac_objext
27409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27410 (eval $ac_compile) 2>conftest.er1
27412 grep -v '^ *+' conftest.er1
>conftest.err
27414 cat conftest.err
>&5
27415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27416 (exit $ac_status); } &&
27417 { ac_try
='test -z "$ac_c_werror_flag"
27418 || test ! -s conftest.err'
27419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27420 (eval $ac_try) 2>&5
27422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27423 (exit $ac_status); }; } &&
27424 { ac_try
='test -s conftest.$ac_objext'
27425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27426 (eval $ac_try) 2>&5
27428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27429 (exit $ac_status); }; }; then
27430 eval "$as_ac_Header=yes"
27432 echo "$as_me: failed program was:" >&5
27433 sed 's/^/| /' conftest.
$ac_ext >&5
27435 eval "$as_ac_Header=no"
27437 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27440 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27441 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27442 cat >>confdefs.h
<<_ACEOF
27443 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27446 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
27453 echo "$as_me:$LINENO: result: no" >&5
27454 echo "${ECHO_T}no" >&6
27458 echo "$as_me:$LINENO: result: no" >&5
27459 echo "${ECHO_T}no" >&6
27460 { echo "$as_me:$LINENO: WARNING: \"*** Xinerama not found; disabling wxDisplay\"" >&5
27461 echo "$as_me: WARNING: \"*** Xinerama not found; disabling wxDisplay\"" >&2;}
27469 if test "$wxUSE_OPENGL" = "yes"; then
27470 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27471 OPENGL_LIBS
="-framework OpenGL -framework AGL"
27472 elif test "$wxUSE_MSW" = 1; then
27473 OPENGL_LIBS
="-lopengl32 -lglu32"
27478 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
27480 if test -f "$ac_dir/GL/gl.h"; then
27481 ac_find_includes
=$ac_dir
27486 if test "$ac_find_includes" != "" ; then
27487 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27488 echo "${ECHO_T}found in $ac_find_includes" >&6
27490 if test "x$ac_find_includes" = "x/usr/include"; then
27491 ac_path_to_include
=""
27493 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
27495 if test $result = 0; then
27496 ac_path_to_include
=""
27498 ac_path_to_include
=" -I$ac_find_includes"
27502 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
27505 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27506 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27507 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27508 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27509 echo $ECHO_N "(cached) $ECHO_C" >&6
27511 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27512 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27514 # Is the header compilable?
27515 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
27516 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
27517 cat >conftest.
$ac_ext <<_ACEOF
27520 cat confdefs.h
>>conftest.
$ac_ext
27521 cat >>conftest.
$ac_ext <<_ACEOF
27522 /* end confdefs.h. */
27523 $ac_includes_default
27526 rm -f conftest.
$ac_objext
27527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27528 (eval $ac_compile) 2>conftest.er1
27530 grep -v '^ *+' conftest.er1
>conftest.err
27532 cat conftest.err
>&5
27533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27534 (exit $ac_status); } &&
27535 { ac_try
='test -z "$ac_c_werror_flag"
27536 || test ! -s conftest.err'
27537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27538 (eval $ac_try) 2>&5
27540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27541 (exit $ac_status); }; } &&
27542 { ac_try
='test -s conftest.$ac_objext'
27543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27544 (eval $ac_try) 2>&5
27546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27547 (exit $ac_status); }; }; then
27548 ac_header_compiler
=yes
27550 echo "$as_me: failed program was:" >&5
27551 sed 's/^/| /' conftest.
$ac_ext >&5
27553 ac_header_compiler
=no
27555 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27556 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27557 echo "${ECHO_T}$ac_header_compiler" >&6
27559 # Is the header present?
27560 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
27561 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
27562 cat >conftest.
$ac_ext <<_ACEOF
27565 cat confdefs.h
>>conftest.
$ac_ext
27566 cat >>conftest.
$ac_ext <<_ACEOF
27567 /* end confdefs.h. */
27570 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27571 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27573 grep -v '^ *+' conftest.er1
>conftest.err
27575 cat conftest.err
>&5
27576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27577 (exit $ac_status); } >/dev
/null
; then
27578 if test -s conftest.err
; then
27579 ac_cpp_err
=$ac_c_preproc_warn_flag
27580 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27587 if test -z "$ac_cpp_err"; then
27588 ac_header_preproc
=yes
27590 echo "$as_me: failed program was:" >&5
27591 sed 's/^/| /' conftest.
$ac_ext >&5
27593 ac_header_preproc
=no
27595 rm -f conftest.err conftest.
$ac_ext
27596 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27597 echo "${ECHO_T}$ac_header_preproc" >&6
27599 # So? What about this header?
27600 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27602 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
27603 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27604 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
27605 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
27606 ac_header_preproc
=yes
27609 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
27610 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
27611 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
27612 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
27613 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
27614 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
27615 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
27616 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
27617 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
27618 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
27619 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
27620 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
27623 ## ----------------------------------------- ##
27624 ## Report this to wx-dev@lists.wxwindows.org ##
27625 ## ----------------------------------------- ##
27628 sed "s/^/$as_me: WARNING: /" >&2
27631 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27632 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27633 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27634 echo $ECHO_N "(cached) $ECHO_C" >&6
27636 ac_cv_header_GL_gl_h
=$ac_header_preproc
27638 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27639 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27642 if test $ac_cv_header_GL_gl_h = yes; then
27646 echo "$as_me:$LINENO: checking for -lGL" >&5
27647 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
27650 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27652 for ac_extension
in a so sl dylib
; do
27653 if test -f "$ac_dir/libGL.$ac_extension"; then
27654 ac_find_libraries
=$ac_dir
27660 if test "$ac_find_libraries" != "" ; then
27662 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27664 if test $result = 0; then
27667 ac_path_to_link
=" -L$ac_find_libraries"
27670 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27671 LDFLAGS_GL
="$ac_path_to_link"
27676 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27678 for ac_extension
in a so sl dylib
; do
27679 if test -f "$ac_dir/libGLU.$ac_extension"; then
27680 ac_find_libraries
=$ac_dir
27686 if test "$ac_find_libraries" != "" ; then
27688 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27690 if test $result = 0; then
27693 ac_path_to_link
=" -L$ac_find_libraries"
27696 if test "$ac_path_to_link" != " -L/usr/lib" -a \
27697 "$ac_path_to_link" != "$LDFLAGS_GL"; then
27698 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
27702 OPENGL_LIBS
="-lGL -lGLU"
27703 echo "$as_me:$LINENO: result: yes" >&5
27704 echo "${ECHO_T}yes" >&6
27708 if test "$found_gl" != 1; then
27709 echo "$as_me:$LINENO: result: no" >&5
27710 echo "${ECHO_T}no" >&6
27711 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
27712 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
27715 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27717 for ac_extension
in a so sl dylib
; do
27718 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
27719 ac_find_libraries
=$ac_dir
27725 if test "$ac_find_libraries" != "" ; then
27727 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27729 if test $result = 0; then
27732 ac_path_to_link
=" -L$ac_find_libraries"
27735 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
27736 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
27737 echo "$as_me:$LINENO: result: yes" >&5
27738 echo "${ECHO_T}yes" >&6
27740 echo "$as_me:$LINENO: result: no" >&5
27741 echo "${ECHO_T}no" >&6
27749 if test "x$OPENGL_LIBS" = "x"; then
27750 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
27751 echo "$as_me: error: OpenGL libraries not available" >&2;}
27752 { (exit 1); exit 1; }; }
27756 if test "$wxUSE_OPENGL" = "yes"; then
27758 cat >>confdefs.h
<<\_ACEOF
27759 #define wxUSE_OPENGL 1
27762 cat >>confdefs.h
<<\_ACEOF
27763 #define wxUSE_GLCANVAS 1
27766 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
27770 if test -z "$TOOLKIT_VPATH" ; then
27771 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
27774 if test -n "$TOOLKIT" ; then
27775 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
27779 lib_unicode_suffix
=
27780 if test "$wxUSE_UNICODE" = "yes"; then
27781 lib_unicode_suffix
=u
27787 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
27793 if test "$wxUSE_DEBUG_INFO" = "yes"; then
27797 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
27799 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
27800 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
27802 if test "$cross_compiling" = "yes"; then
27803 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
27804 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
27805 HOST_SUFFIX
="-${host_alias}"
27808 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
27809 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
27810 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
27811 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
27813 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
27814 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
27816 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
27817 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
27818 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
27819 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27822 *-*-cygwin* | *-*-mingw32* )
27823 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
27824 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27829 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
27830 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
27832 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
27833 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
27834 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
27835 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27837 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27838 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.${WX_CURRENT}.r"
27839 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
27844 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
27845 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
27847 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
27848 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
27850 if test "$wxUSE_OPENGL" = "yes"; then
27851 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
27852 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
27857 if test "$wxUSE_SHARED" = "yes"; then
27861 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
27862 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
27868 if test "$wxUSE_SHARED" = "yes"; then
27872 found_versioning
=no
27875 if test $found_versioning = no
; then
27876 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
27877 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
27878 if test "${wx_cv_version_script+set}" = set; then
27879 echo $ECHO_N "(cached) $ECHO_C" >&6
27882 echo "VER_1 { *; };" >conftest.sym
27883 echo "int main() { return 0; }" >conftest.cpp
27886 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
27887 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
27888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27889 (eval $ac_try) 2>&5
27891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27892 (exit $ac_status); }; } ; then
27893 if test -s conftest.stderr
; then
27894 wx_cv_version_script
=no
27896 wx_cv_version_script
=yes
27899 wx_cv_version_script
=no
27901 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
27904 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
27905 echo "${ECHO_T}$wx_cv_version_script" >&6
27906 if test $wx_cv_version_script = yes ; then
27907 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
27913 *-*-linux* | *-*-gnu* )
27914 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
27918 if test "$GCC" = yes ; then
27919 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
27921 saveLdflags
="$LDFLAGS"
27922 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
27923 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
27924 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
27925 cat >conftest.
$ac_ext <<_ACEOF
27928 cat confdefs.h
>>conftest.
$ac_ext
27929 cat >>conftest.
$ac_ext <<_ACEOF
27930 /* end confdefs.h. */
27940 rm -f conftest.
$ac_objext conftest
$ac_exeext
27941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27942 (eval $ac_link) 2>conftest.er1
27944 grep -v '^ *+' conftest.er1
>conftest.err
27946 cat conftest.err
>&5
27947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27948 (exit $ac_status); } &&
27949 { ac_try
='test -z "$ac_c_werror_flag"
27950 || test ! -s conftest.err'
27951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27952 (eval $ac_try) 2>&5
27954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27955 (exit $ac_status); }; } &&
27956 { ac_try
='test -s conftest$ac_exeext'
27957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27958 (eval $ac_try) 2>&5
27960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27961 (exit $ac_status); }; }; then
27963 echo "$as_me:$LINENO: result: yes" >&5
27964 echo "${ECHO_T}yes" >&6
27965 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
27968 echo "$as_me: failed program was:" >&5
27969 sed 's/^/| /' conftest.
$ac_ext >&5
27972 echo "$as_me:$LINENO: result: no" >&5
27973 echo "${ECHO_T}no" >&6
27974 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
27975 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
27976 LDFLAGS
="$saveLdflags -Wl,-R,/"
27977 cat >conftest.
$ac_ext <<_ACEOF
27980 cat confdefs.h
>>conftest.
$ac_ext
27981 cat >>conftest.
$ac_ext <<_ACEOF
27982 /* end confdefs.h. */
27992 rm -f conftest.
$ac_objext conftest
$ac_exeext
27993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27994 (eval $ac_link) 2>conftest.er1
27996 grep -v '^ *+' conftest.er1
>conftest.err
27998 cat conftest.err
>&5
27999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28000 (exit $ac_status); } &&
28001 { ac_try
='test -z "$ac_c_werror_flag"
28002 || test ! -s conftest.err'
28003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28004 (eval $ac_try) 2>&5
28006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28007 (exit $ac_status); }; } &&
28008 { ac_try
='test -s conftest$ac_exeext'
28009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28010 (eval $ac_try) 2>&5
28012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28013 (exit $ac_status); }; }; then
28015 echo "$as_me:$LINENO: result: yes" >&5
28016 echo "${ECHO_T}yes" >&6
28017 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
28019 echo "$as_me: failed program was:" >&5
28020 sed 's/^/| /' conftest.
$ac_ext >&5
28023 echo "$as_me:$LINENO: result: no" >&5
28024 echo "${ECHO_T}no" >&6
28027 rm -f conftest.err conftest.
$ac_objext \
28028 conftest
$ac_exeext conftest.
$ac_ext
28031 rm -f conftest.err conftest.
$ac_objext \
28032 conftest
$ac_exeext conftest.
$ac_ext
28033 LDFLAGS
="$saveLdflags"
28035 SHARED_LD
="${CXX} -G -o"
28037 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
28041 powerpc
-*-darwin* )
28042 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
28043 cat <<EOF >change-install-names
28045 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
28046 inst_cmd="install_name_tool "
28047 for i in \${libnames} ; do
28048 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
28052 chmod +x change
-install-names
28055 *-*-cygwin* | *-*-mingw32* )
28056 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
28061 if test "x$WX_TARGET_LIBRARY" = "x"; then
28062 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
28063 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
28066 WX_TARGET_LIBRARY_TYPE
="so"
28067 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
28070 if test "$wxUSE_SHARED" = "no"; then
28072 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
28073 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
28076 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
28077 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
28080 if test "$wxUSE_OPENGL" = "yes"; then
28081 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
28082 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
28084 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
28087 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
28088 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
28090 WX_TARGET_LIBRARY_TYPE
="a"
28091 INSTALL_LIBRARY
='$(INSTALL_DATA)'
28098 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
28099 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
28100 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
28101 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
28103 # Extract the first word of "Rez", so it can be a program name with args.
28104 set dummy Rez
; ac_word
=$2
28105 echo "$as_me:$LINENO: checking for $ac_word" >&5
28106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28107 if test "${ac_cv_prog_RESCOMP+set}" = set; then
28108 echo $ECHO_N "(cached) $ECHO_C" >&6
28110 if test -n "$RESCOMP"; then
28111 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
28113 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28114 for as_dir
in $PATH
28117 test -z "$as_dir" && as_dir
=.
28118 for ac_exec_ext
in '' $ac_executable_extensions; do
28119 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28120 ac_cv_prog_RESCOMP
="Rez"
28121 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28127 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
28130 RESCOMP
=$ac_cv_prog_RESCOMP
28131 if test -n "$RESCOMP"; then
28132 echo "$as_me:$LINENO: result: $RESCOMP" >&5
28133 echo "${ECHO_T}$RESCOMP" >&6
28135 echo "$as_me:$LINENO: result: no" >&5
28136 echo "${ECHO_T}no" >&6
28139 # Extract the first word of "DeRez", so it can be a program name with args.
28140 set dummy DeRez
; ac_word
=$2
28141 echo "$as_me:$LINENO: checking for $ac_word" >&5
28142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28143 if test "${ac_cv_prog_DEREZ+set}" = set; then
28144 echo $ECHO_N "(cached) $ECHO_C" >&6
28146 if test -n "$DEREZ"; then
28147 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
28149 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28150 for as_dir
in $PATH
28153 test -z "$as_dir" && as_dir
=.
28154 for ac_exec_ext
in '' $ac_executable_extensions; do
28155 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28156 ac_cv_prog_DEREZ
="DeRez"
28157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28163 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
28166 DEREZ
=$ac_cv_prog_DEREZ
28167 if test -n "$DEREZ"; then
28168 echo "$as_me:$LINENO: result: $DEREZ" >&5
28169 echo "${ECHO_T}$DEREZ" >&6
28171 echo "$as_me:$LINENO: result: no" >&5
28172 echo "${ECHO_T}no" >&6
28175 # Extract the first word of "SetFile", so it can be a program name with args.
28176 set dummy SetFile
; ac_word
=$2
28177 echo "$as_me:$LINENO: checking for $ac_word" >&5
28178 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28179 if test "${ac_cv_prog_SETFILE+set}" = set; then
28180 echo $ECHO_N "(cached) $ECHO_C" >&6
28182 if test -n "$SETFILE"; then
28183 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
28185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28186 for as_dir
in $PATH
28189 test -z "$as_dir" && as_dir
=.
28190 for ac_exec_ext
in '' $ac_executable_extensions; do
28191 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28192 ac_cv_prog_SETFILE
="SetFile"
28193 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28199 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
28202 SETFILE
=$ac_cv_prog_SETFILE
28203 if test -n "$SETFILE"; then
28204 echo "$as_me:$LINENO: result: $SETFILE" >&5
28205 echo "${ECHO_T}$SETFILE" >&6
28207 echo "$as_me:$LINENO: result: no" >&5
28208 echo "${ECHO_T}no" >&6
28212 MACSETFILE
="\$(SETFILE)"
28214 if test "$wxUSE_MAC" = 1; then
28215 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
28217 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28219 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
28220 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28226 if test "$wxUSE_PM" = 1; then
28227 MACRESCOMP
="emxbind -ep"
28235 echo "$as_me:$LINENO: checking for mode_t" >&5
28236 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
28237 if test "${ac_cv_type_mode_t+set}" = set; then
28238 echo $ECHO_N "(cached) $ECHO_C" >&6
28240 cat >conftest.
$ac_ext <<_ACEOF
28243 cat confdefs.h
>>conftest.
$ac_ext
28244 cat >>conftest.
$ac_ext <<_ACEOF
28245 /* end confdefs.h. */
28246 $ac_includes_default
28252 if (sizeof (mode_t))
28258 rm -f conftest.
$ac_objext
28259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28260 (eval $ac_compile) 2>conftest.er1
28262 grep -v '^ *+' conftest.er1
>conftest.err
28264 cat conftest.err
>&5
28265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28266 (exit $ac_status); } &&
28267 { ac_try
='test -z "$ac_c_werror_flag"
28268 || test ! -s conftest.err'
28269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28270 (eval $ac_try) 2>&5
28272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28273 (exit $ac_status); }; } &&
28274 { ac_try
='test -s conftest.$ac_objext'
28275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28276 (eval $ac_try) 2>&5
28278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28279 (exit $ac_status); }; }; then
28280 ac_cv_type_mode_t
=yes
28282 echo "$as_me: failed program was:" >&5
28283 sed 's/^/| /' conftest.
$ac_ext >&5
28285 ac_cv_type_mode_t
=no
28287 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28289 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
28290 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
28291 if test $ac_cv_type_mode_t = yes; then
28295 cat >>confdefs.h
<<_ACEOF
28301 echo "$as_me:$LINENO: checking for off_t" >&5
28302 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
28303 if test "${ac_cv_type_off_t+set}" = set; then
28304 echo $ECHO_N "(cached) $ECHO_C" >&6
28306 cat >conftest.
$ac_ext <<_ACEOF
28309 cat confdefs.h
>>conftest.
$ac_ext
28310 cat >>conftest.
$ac_ext <<_ACEOF
28311 /* end confdefs.h. */
28312 $ac_includes_default
28318 if (sizeof (off_t))
28324 rm -f conftest.
$ac_objext
28325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28326 (eval $ac_compile) 2>conftest.er1
28328 grep -v '^ *+' conftest.er1
>conftest.err
28330 cat conftest.err
>&5
28331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28332 (exit $ac_status); } &&
28333 { ac_try
='test -z "$ac_c_werror_flag"
28334 || test ! -s conftest.err'
28335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28336 (eval $ac_try) 2>&5
28338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28339 (exit $ac_status); }; } &&
28340 { ac_try
='test -s conftest.$ac_objext'
28341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28342 (eval $ac_try) 2>&5
28344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28345 (exit $ac_status); }; }; then
28346 ac_cv_type_off_t
=yes
28348 echo "$as_me: failed program was:" >&5
28349 sed 's/^/| /' conftest.
$ac_ext >&5
28351 ac_cv_type_off_t
=no
28353 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28355 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
28356 echo "${ECHO_T}$ac_cv_type_off_t" >&6
28357 if test $ac_cv_type_off_t = yes; then
28361 cat >>confdefs.h
<<_ACEOF
28367 echo "$as_me:$LINENO: checking for pid_t" >&5
28368 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
28369 if test "${ac_cv_type_pid_t+set}" = set; then
28370 echo $ECHO_N "(cached) $ECHO_C" >&6
28372 cat >conftest.
$ac_ext <<_ACEOF
28375 cat confdefs.h
>>conftest.
$ac_ext
28376 cat >>conftest.
$ac_ext <<_ACEOF
28377 /* end confdefs.h. */
28378 $ac_includes_default
28384 if (sizeof (pid_t))
28390 rm -f conftest.
$ac_objext
28391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28392 (eval $ac_compile) 2>conftest.er1
28394 grep -v '^ *+' conftest.er1
>conftest.err
28396 cat conftest.err
>&5
28397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28398 (exit $ac_status); } &&
28399 { ac_try
='test -z "$ac_c_werror_flag"
28400 || test ! -s conftest.err'
28401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28402 (eval $ac_try) 2>&5
28404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28405 (exit $ac_status); }; } &&
28406 { ac_try
='test -s conftest.$ac_objext'
28407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28408 (eval $ac_try) 2>&5
28410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28411 (exit $ac_status); }; }; then
28412 ac_cv_type_pid_t
=yes
28414 echo "$as_me: failed program was:" >&5
28415 sed 's/^/| /' conftest.
$ac_ext >&5
28417 ac_cv_type_pid_t
=no
28419 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28421 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
28422 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
28423 if test $ac_cv_type_pid_t = yes; then
28427 cat >>confdefs.h
<<_ACEOF
28433 echo "$as_me:$LINENO: checking for size_t" >&5
28434 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
28435 if test "${ac_cv_type_size_t+set}" = set; then
28436 echo $ECHO_N "(cached) $ECHO_C" >&6
28438 cat >conftest.
$ac_ext <<_ACEOF
28441 cat confdefs.h
>>conftest.
$ac_ext
28442 cat >>conftest.
$ac_ext <<_ACEOF
28443 /* end confdefs.h. */
28444 $ac_includes_default
28450 if (sizeof (size_t))
28456 rm -f conftest.
$ac_objext
28457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28458 (eval $ac_compile) 2>conftest.er1
28460 grep -v '^ *+' conftest.er1
>conftest.err
28462 cat conftest.err
>&5
28463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28464 (exit $ac_status); } &&
28465 { ac_try
='test -z "$ac_c_werror_flag"
28466 || test ! -s conftest.err'
28467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28468 (eval $ac_try) 2>&5
28470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28471 (exit $ac_status); }; } &&
28472 { ac_try
='test -s conftest.$ac_objext'
28473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28474 (eval $ac_try) 2>&5
28476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28477 (exit $ac_status); }; }; then
28478 ac_cv_type_size_t
=yes
28480 echo "$as_me: failed program was:" >&5
28481 sed 's/^/| /' conftest.
$ac_ext >&5
28483 ac_cv_type_size_t
=no
28485 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28487 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
28488 echo "${ECHO_T}$ac_cv_type_size_t" >&6
28489 if test $ac_cv_type_size_t = yes; then
28493 cat >>confdefs.h
<<_ACEOF
28494 #define size_t unsigned
28499 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
28500 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
28501 if test "${ac_cv_type_uid_t+set}" = set; then
28502 echo $ECHO_N "(cached) $ECHO_C" >&6
28504 cat >conftest.
$ac_ext <<_ACEOF
28507 cat confdefs.h
>>conftest.
$ac_ext
28508 cat >>conftest.
$ac_ext <<_ACEOF
28509 /* end confdefs.h. */
28510 #include <sys/types.h>
28513 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28514 $EGREP "uid_t" >/dev
/null
2>&1; then
28515 ac_cv_type_uid_t
=yes
28517 ac_cv_type_uid_t
=no
28522 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
28523 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
28524 if test $ac_cv_type_uid_t = no
; then
28526 cat >>confdefs.h
<<\_ACEOF
28531 cat >>confdefs.h
<<\_ACEOF
28541 ac_cpp
='$CXXCPP $CPPFLAGS'
28542 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28543 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28544 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28546 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
28547 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
28548 if test "${wx_cv_size_t_is_uint+set}" = set; then
28549 echo $ECHO_N "(cached) $ECHO_C" >&6
28552 cat >conftest.
$ac_ext <<_ACEOF
28555 cat confdefs.h
>>conftest.
$ac_ext
28556 cat >>conftest.
$ac_ext <<_ACEOF
28557 /* end confdefs.h. */
28558 #include <stddef.h>
28565 struct Foo { void foo(size_t); void foo(unsigned int); };
28573 rm -f conftest.
$ac_objext
28574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28575 (eval $ac_compile) 2>conftest.er1
28577 grep -v '^ *+' conftest.er1
>conftest.err
28579 cat conftest.err
>&5
28580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28581 (exit $ac_status); } &&
28582 { ac_try
='test -z "$ac_cxx_werror_flag"
28583 || test ! -s conftest.err'
28584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28585 (eval $ac_try) 2>&5
28587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28588 (exit $ac_status); }; } &&
28589 { ac_try
='test -s conftest.$ac_objext'
28590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28591 (eval $ac_try) 2>&5
28593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28594 (exit $ac_status); }; }; then
28595 wx_cv_size_t_is_uint
=no
28597 echo "$as_me: failed program was:" >&5
28598 sed 's/^/| /' conftest.
$ac_ext >&5
28600 wx_cv_size_t_is_uint
=yes
28603 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28607 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
28608 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
28610 if test "$wx_cv_size_t_is_uint" = "yes"; then
28611 cat >>confdefs.h
<<\_ACEOF
28612 #define wxSIZE_T_IS_UINT 1
28616 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
28617 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
28618 if test "${wx_cv_size_t_is_ulong+set}" = set; then
28619 echo $ECHO_N "(cached) $ECHO_C" >&6
28621 cat >conftest.
$ac_ext <<_ACEOF
28624 cat confdefs.h
>>conftest.
$ac_ext
28625 cat >>conftest.
$ac_ext <<_ACEOF
28626 /* end confdefs.h. */
28627 #include <stddef.h>
28634 struct Foo { void foo(size_t); void foo(unsigned long); };
28642 rm -f conftest.
$ac_objext
28643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28644 (eval $ac_compile) 2>conftest.er1
28646 grep -v '^ *+' conftest.er1
>conftest.err
28648 cat conftest.err
>&5
28649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28650 (exit $ac_status); } &&
28651 { ac_try
='test -z "$ac_cxx_werror_flag"
28652 || test ! -s conftest.err'
28653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28654 (eval $ac_try) 2>&5
28656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28657 (exit $ac_status); }; } &&
28658 { ac_try
='test -s conftest.$ac_objext'
28659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28660 (eval $ac_try) 2>&5
28662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28663 (exit $ac_status); }; }; then
28664 wx_cv_size_t_is_ulong
=no
28666 echo "$as_me: failed program was:" >&5
28667 sed 's/^/| /' conftest.
$ac_ext >&5
28669 wx_cv_size_t_is_ulong
=yes
28672 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28675 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
28676 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
28678 if test "$wx_cv_size_t_is_ulong" = "yes"; then
28679 cat >>confdefs.h
<<\_ACEOF
28680 #define wxSIZE_T_IS_ULONG 1
28687 ac_cpp
='$CPP $CPPFLAGS'
28688 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28689 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28690 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28694 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
28695 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
28696 if test "${wx_cv_struct_pw_gecos+set}" = set; then
28697 echo $ECHO_N "(cached) $ECHO_C" >&6
28700 cat >conftest.
$ac_ext <<_ACEOF
28703 cat confdefs.h
>>conftest.
$ac_ext
28704 cat >>conftest.
$ac_ext <<_ACEOF
28705 /* end confdefs.h. */
28719 rm -f conftest.
$ac_objext
28720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28721 (eval $ac_compile) 2>conftest.er1
28723 grep -v '^ *+' conftest.er1
>conftest.err
28725 cat conftest.err
>&5
28726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28727 (exit $ac_status); } &&
28728 { ac_try
='test -z "$ac_c_werror_flag"
28729 || test ! -s conftest.err'
28730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28731 (eval $ac_try) 2>&5
28733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28734 (exit $ac_status); }; } &&
28735 { ac_try
='test -s conftest.$ac_objext'
28736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28737 (eval $ac_try) 2>&5
28739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28740 (exit $ac_status); }; }; then
28742 wx_cv_struct_pw_gecos
=yes
28745 echo "$as_me: failed program was:" >&5
28746 sed 's/^/| /' conftest.
$ac_ext >&5
28749 wx_cv_struct_pw_gecos
=no
28753 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28757 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
28758 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
28760 if test "$wx_cv_struct_pw_gecos" = "yes"; then
28761 cat >>confdefs.h
<<\_ACEOF
28762 #define HAVE_PW_GECOS 1
28768 if test "$wx_cv_sizeof_wchar_t" != "0"; then
28769 cat >>confdefs.h
<<\_ACEOF
28770 #define wxUSE_WCHAR_T 1
28777 for ac_func
in wcslen
28779 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28780 echo "$as_me:$LINENO: checking for $ac_func" >&5
28781 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28782 if eval "test \"\${$as_ac_var+set}\" = set"; then
28783 echo $ECHO_N "(cached) $ECHO_C" >&6
28785 cat >conftest.
$ac_ext <<_ACEOF
28788 cat confdefs.h
>>conftest.
$ac_ext
28789 cat >>conftest.
$ac_ext <<_ACEOF
28790 /* end confdefs.h. */
28791 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28793 #define $ac_func innocuous_$ac_func
28795 /* System header to define __stub macros and hopefully few prototypes,
28796 which can conflict with char $ac_func (); below.
28797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28798 <limits.h> exists even on freestanding compilers. */
28801 # include <limits.h>
28803 # include <assert.h>
28808 /* Override any gcc2 internal prototype to avoid an error. */
28813 /* We use char because int might match the return type of a gcc2
28814 builtin and then its argument prototype would still apply. */
28816 /* The GNU C library defines this for functions which it implements
28817 to always fail with ENOSYS. Some functions are actually named
28818 something starting with __ and the normal name is an alias. */
28819 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28822 char (*f) () = $ac_func;
28831 return f != $ac_func;
28836 rm -f conftest.
$ac_objext conftest
$ac_exeext
28837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28838 (eval $ac_link) 2>conftest.er1
28840 grep -v '^ *+' conftest.er1
>conftest.err
28842 cat conftest.err
>&5
28843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28844 (exit $ac_status); } &&
28845 { ac_try
='test -z "$ac_c_werror_flag"
28846 || test ! -s conftest.err'
28847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28848 (eval $ac_try) 2>&5
28850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28851 (exit $ac_status); }; } &&
28852 { ac_try
='test -s conftest$ac_exeext'
28853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28854 (eval $ac_try) 2>&5
28856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28857 (exit $ac_status); }; }; then
28858 eval "$as_ac_var=yes"
28860 echo "$as_me: failed program was:" >&5
28861 sed 's/^/| /' conftest.
$ac_ext >&5
28863 eval "$as_ac_var=no"
28865 rm -f conftest.err conftest.
$ac_objext \
28866 conftest
$ac_exeext conftest.
$ac_ext
28868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28869 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28870 if test `eval echo '${'$as_ac_var'}'` = yes; then
28871 cat >>confdefs.h
<<_ACEOF
28872 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28879 if test "$WCSLEN_FOUND" = 0; then
28880 if test "$TOOLKIT" = "MSW"; then
28881 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
28882 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
28883 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
28884 echo $ECHO_N "(cached) $ECHO_C" >&6
28886 ac_check_lib_save_LIBS
=$LIBS
28887 LIBS
="-lmsvcrt $LIBS"
28888 cat >conftest.
$ac_ext <<_ACEOF
28891 cat confdefs.h
>>conftest.
$ac_ext
28892 cat >>conftest.
$ac_ext <<_ACEOF
28893 /* end confdefs.h. */
28895 /* Override any gcc2 internal prototype to avoid an error. */
28899 /* We use char because int might match the return type of a gcc2
28900 builtin and then its argument prototype would still apply. */
28910 rm -f conftest.
$ac_objext conftest
$ac_exeext
28911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28912 (eval $ac_link) 2>conftest.er1
28914 grep -v '^ *+' conftest.er1
>conftest.err
28916 cat conftest.err
>&5
28917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28918 (exit $ac_status); } &&
28919 { ac_try
='test -z "$ac_c_werror_flag"
28920 || test ! -s conftest.err'
28921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28922 (eval $ac_try) 2>&5
28924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28925 (exit $ac_status); }; } &&
28926 { ac_try
='test -s conftest$ac_exeext'
28927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28928 (eval $ac_try) 2>&5
28930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28931 (exit $ac_status); }; }; then
28932 ac_cv_lib_msvcrt_wcslen
=yes
28934 echo "$as_me: failed program was:" >&5
28935 sed 's/^/| /' conftest.
$ac_ext >&5
28937 ac_cv_lib_msvcrt_wcslen
=no
28939 rm -f conftest.err conftest.
$ac_objext \
28940 conftest
$ac_exeext conftest.
$ac_ext
28941 LIBS
=$ac_check_lib_save_LIBS
28943 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
28944 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
28945 if test $ac_cv_lib_msvcrt_wcslen = yes; then
28950 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
28951 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
28952 if test "${ac_cv_lib_w_wcslen+set}" = set; then
28953 echo $ECHO_N "(cached) $ECHO_C" >&6
28955 ac_check_lib_save_LIBS
=$LIBS
28957 cat >conftest.
$ac_ext <<_ACEOF
28960 cat confdefs.h
>>conftest.
$ac_ext
28961 cat >>conftest.
$ac_ext <<_ACEOF
28962 /* end confdefs.h. */
28964 /* Override any gcc2 internal prototype to avoid an error. */
28968 /* We use char because int might match the return type of a gcc2
28969 builtin and then its argument prototype would still apply. */
28979 rm -f conftest.
$ac_objext conftest
$ac_exeext
28980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28981 (eval $ac_link) 2>conftest.er1
28983 grep -v '^ *+' conftest.er1
>conftest.err
28985 cat conftest.err
>&5
28986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28987 (exit $ac_status); } &&
28988 { ac_try
='test -z "$ac_c_werror_flag"
28989 || test ! -s conftest.err'
28990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28991 (eval $ac_try) 2>&5
28993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28994 (exit $ac_status); }; } &&
28995 { ac_try
='test -s conftest$ac_exeext'
28996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28997 (eval $ac_try) 2>&5
28999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29000 (exit $ac_status); }; }; then
29001 ac_cv_lib_w_wcslen
=yes
29003 echo "$as_me: failed program was:" >&5
29004 sed 's/^/| /' conftest.
$ac_ext >&5
29006 ac_cv_lib_w_wcslen
=no
29008 rm -f conftest.err conftest.
$ac_objext \
29009 conftest
$ac_exeext conftest.
$ac_ext
29010 LIBS
=$ac_check_lib_save_LIBS
29012 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
29013 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
29014 if test $ac_cv_lib_w_wcslen = yes; then
29024 if test "$WCSLEN_FOUND" = 1; then
29025 cat >>confdefs.h
<<\_ACEOF
29026 #define HAVE_WCSLEN 1
29032 for ac_func
in wcsrtombs
29034 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29035 echo "$as_me:$LINENO: checking for $ac_func" >&5
29036 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29037 if eval "test \"\${$as_ac_var+set}\" = set"; then
29038 echo $ECHO_N "(cached) $ECHO_C" >&6
29040 cat >conftest.
$ac_ext <<_ACEOF
29043 cat confdefs.h
>>conftest.
$ac_ext
29044 cat >>conftest.
$ac_ext <<_ACEOF
29045 /* end confdefs.h. */
29046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29048 #define $ac_func innocuous_$ac_func
29050 /* System header to define __stub macros and hopefully few prototypes,
29051 which can conflict with char $ac_func (); below.
29052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29053 <limits.h> exists even on freestanding compilers. */
29056 # include <limits.h>
29058 # include <assert.h>
29063 /* Override any gcc2 internal prototype to avoid an error. */
29068 /* We use char because int might match the return type of a gcc2
29069 builtin and then its argument prototype would still apply. */
29071 /* The GNU C library defines this for functions which it implements
29072 to always fail with ENOSYS. Some functions are actually named
29073 something starting with __ and the normal name is an alias. */
29074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29077 char (*f) () = $ac_func;
29086 return f != $ac_func;
29091 rm -f conftest.
$ac_objext conftest
$ac_exeext
29092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29093 (eval $ac_link) 2>conftest.er1
29095 grep -v '^ *+' conftest.er1
>conftest.err
29097 cat conftest.err
>&5
29098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29099 (exit $ac_status); } &&
29100 { ac_try
='test -z "$ac_c_werror_flag"
29101 || test ! -s conftest.err'
29102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29103 (eval $ac_try) 2>&5
29105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29106 (exit $ac_status); }; } &&
29107 { ac_try
='test -s conftest$ac_exeext'
29108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29109 (eval $ac_try) 2>&5
29111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29112 (exit $ac_status); }; }; then
29113 eval "$as_ac_var=yes"
29115 echo "$as_me: failed program was:" >&5
29116 sed 's/^/| /' conftest.
$ac_ext >&5
29118 eval "$as_ac_var=no"
29120 rm -f conftest.err conftest.
$ac_objext \
29121 conftest
$ac_exeext conftest.
$ac_ext
29123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29124 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29125 if test `eval echo '${'$as_ac_var'}'` = yes; then
29126 cat >>confdefs.h
<<_ACEOF
29127 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29134 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
29135 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
29141 ac_cpp
='$CXXCPP $CPPFLAGS'
29142 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29143 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29144 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29148 for ac_func
in vsnprintf
29150 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29151 echo "$as_me:$LINENO: checking for $ac_func" >&5
29152 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29153 if eval "test \"\${$as_ac_var+set}\" = set"; then
29154 echo $ECHO_N "(cached) $ECHO_C" >&6
29156 cat >conftest.
$ac_ext <<_ACEOF
29159 cat confdefs.h
>>conftest.
$ac_ext
29160 cat >>conftest.
$ac_ext <<_ACEOF
29161 /* end confdefs.h. */
29162 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29163 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29164 #define $ac_func innocuous_$ac_func
29166 /* System header to define __stub macros and hopefully few prototypes,
29167 which can conflict with char $ac_func (); below.
29168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29169 <limits.h> exists even on freestanding compilers. */
29172 # include <limits.h>
29174 # include <assert.h>
29179 /* Override any gcc2 internal prototype to avoid an error. */
29184 /* We use char because int might match the return type of a gcc2
29185 builtin and then its argument prototype would still apply. */
29187 /* The GNU C library defines this for functions which it implements
29188 to always fail with ENOSYS. Some functions are actually named
29189 something starting with __ and the normal name is an alias. */
29190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29193 char (*f) () = $ac_func;
29202 return f != $ac_func;
29207 rm -f conftest.
$ac_objext conftest
$ac_exeext
29208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29209 (eval $ac_link) 2>conftest.er1
29211 grep -v '^ *+' conftest.er1
>conftest.err
29213 cat conftest.err
>&5
29214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29215 (exit $ac_status); } &&
29216 { ac_try
='test -z "$ac_cxx_werror_flag"
29217 || test ! -s conftest.err'
29218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29219 (eval $ac_try) 2>&5
29221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29222 (exit $ac_status); }; } &&
29223 { ac_try
='test -s conftest$ac_exeext'
29224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29225 (eval $ac_try) 2>&5
29227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29228 (exit $ac_status); }; }; then
29229 eval "$as_ac_var=yes"
29231 echo "$as_me: failed program was:" >&5
29232 sed 's/^/| /' conftest.
$ac_ext >&5
29234 eval "$as_ac_var=no"
29236 rm -f conftest.err conftest.
$ac_objext \
29237 conftest
$ac_exeext conftest.
$ac_ext
29239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29240 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29241 if test `eval echo '${'$as_ac_var'}'` = yes; then
29242 cat >>confdefs.h
<<_ACEOF
29243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29250 if test "$ac_cv_func_vsnprintf" = "yes"; then
29251 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
29252 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
29253 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
29254 echo $ECHO_N "(cached) $ECHO_C" >&6
29257 cat >conftest.
$ac_ext <<_ACEOF
29260 cat confdefs.h
>>conftest.
$ac_ext
29261 cat >>conftest.
$ac_ext <<_ACEOF
29262 /* end confdefs.h. */
29265 #include <stdarg.h>
29273 vsnprintf(buf, 10u, "%s", ap);
29279 rm -f conftest.
$ac_objext
29280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29281 (eval $ac_compile) 2>conftest.er1
29283 grep -v '^ *+' conftest.er1
>conftest.err
29285 cat conftest.err
>&5
29286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29287 (exit $ac_status); } &&
29288 { ac_try
='test -z "$ac_cxx_werror_flag"
29289 || test ! -s conftest.err'
29290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29291 (eval $ac_try) 2>&5
29293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29294 (exit $ac_status); }; } &&
29295 { ac_try
='test -s conftest.$ac_objext'
29296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29297 (eval $ac_try) 2>&5
29299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29300 (exit $ac_status); }; }; then
29301 wx_cv_func_vsnprintf_decl
=yes
29303 echo "$as_me: failed program was:" >&5
29304 sed 's/^/| /' conftest.
$ac_ext >&5
29306 wx_cv_func_vsnprintf_decl
=no
29309 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29313 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
29314 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
29316 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29317 cat >>confdefs.h
<<\_ACEOF
29318 #define HAVE_VSNPRINTF_DECL 1
29324 if test "$wxUSE_UNICODE" = yes; then
29328 for ac_func
in fputwc wprintf vswprintf
29330 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29331 echo "$as_me:$LINENO: checking for $ac_func" >&5
29332 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29333 if eval "test \"\${$as_ac_var+set}\" = set"; then
29334 echo $ECHO_N "(cached) $ECHO_C" >&6
29336 cat >conftest.
$ac_ext <<_ACEOF
29339 cat confdefs.h
>>conftest.
$ac_ext
29340 cat >>conftest.
$ac_ext <<_ACEOF
29341 /* end confdefs.h. */
29342 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29343 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29344 #define $ac_func innocuous_$ac_func
29346 /* System header to define __stub macros and hopefully few prototypes,
29347 which can conflict with char $ac_func (); below.
29348 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29349 <limits.h> exists even on freestanding compilers. */
29352 # include <limits.h>
29354 # include <assert.h>
29359 /* Override any gcc2 internal prototype to avoid an error. */
29364 /* We use char because int might match the return type of a gcc2
29365 builtin and then its argument prototype would still apply. */
29367 /* The GNU C library defines this for functions which it implements
29368 to always fail with ENOSYS. Some functions are actually named
29369 something starting with __ and the normal name is an alias. */
29370 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29373 char (*f) () = $ac_func;
29382 return f != $ac_func;
29387 rm -f conftest.
$ac_objext conftest
$ac_exeext
29388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29389 (eval $ac_link) 2>conftest.er1
29391 grep -v '^ *+' conftest.er1
>conftest.err
29393 cat conftest.err
>&5
29394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29395 (exit $ac_status); } &&
29396 { ac_try
='test -z "$ac_cxx_werror_flag"
29397 || test ! -s conftest.err'
29398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29399 (eval $ac_try) 2>&5
29401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29402 (exit $ac_status); }; } &&
29403 { ac_try
='test -s conftest$ac_exeext'
29404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29405 (eval $ac_try) 2>&5
29407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29408 (exit $ac_status); }; }; then
29409 eval "$as_ac_var=yes"
29411 echo "$as_me: failed program was:" >&5
29412 sed 's/^/| /' conftest.
$ac_ext >&5
29414 eval "$as_ac_var=no"
29416 rm -f conftest.err conftest.
$ac_objext \
29417 conftest
$ac_exeext conftest.
$ac_ext
29419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29420 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29421 if test `eval echo '${'$as_ac_var'}'` = yes; then
29422 cat >>confdefs.h
<<_ACEOF
29423 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29430 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
29431 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
29432 cat >conftest.
$ac_ext <<_ACEOF
29435 cat confdefs.h
>>conftest.
$ac_ext
29436 cat >>conftest.
$ac_ext <<_ACEOF
29437 /* end confdefs.h. */
29447 rm -f conftest.
$ac_objext
29448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29449 (eval $ac_compile) 2>conftest.er1
29451 grep -v '^ *+' conftest.er1
>conftest.err
29453 cat conftest.err
>&5
29454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29455 (exit $ac_status); } &&
29456 { ac_try
='test -z "$ac_cxx_werror_flag"
29457 || test ! -s conftest.err'
29458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29459 (eval $ac_try) 2>&5
29461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29462 (exit $ac_status); }; } &&
29463 { ac_try
='test -s conftest.$ac_objext'
29464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29465 (eval $ac_try) 2>&5
29467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29468 (exit $ac_status); }; }; then
29469 echo "$as_me:$LINENO: result: yes" >&5
29470 echo "${ECHO_T}yes" >&6
29471 cat >>confdefs.h
<<\_ACEOF
29472 #define HAVE__VSNWPRINTF 1
29476 echo "$as_me: failed program was:" >&5
29477 sed 's/^/| /' conftest.
$ac_ext >&5
29479 echo "$as_me:$LINENO: result: no" >&5
29480 echo "${ECHO_T}no" >&6
29482 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
29486 ac_cpp
='$CPP $CPPFLAGS'
29487 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29488 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29489 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29494 if test "$TOOLKIT" != "MSW"; then
29500 ac_cpp
='$CXXCPP $CPPFLAGS'
29501 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29502 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29503 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29508 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
29509 if test "${with_libiconv_prefix+set}" = set; then
29510 withval
="$with_libiconv_prefix"
29512 for dir
in `echo "$withval" | tr : ' '`; do
29513 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
29514 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
29519 echo "$as_me:$LINENO: checking for iconv" >&5
29520 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
29521 if test "${am_cv_func_iconv+set}" = set; then
29522 echo $ECHO_N "(cached) $ECHO_C" >&6
29525 am_cv_func_iconv
="no, consider installing GNU libiconv"
29527 cat >conftest.
$ac_ext <<_ACEOF
29530 cat confdefs.h
>>conftest.
$ac_ext
29531 cat >>conftest.
$ac_ext <<_ACEOF
29532 /* end confdefs.h. */
29533 #include <stdlib.h>
29538 iconv_t cd = iconv_open("","");
29539 iconv(cd,NULL,NULL,NULL,NULL);
29545 rm -f conftest.
$ac_objext conftest
$ac_exeext
29546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29547 (eval $ac_link) 2>conftest.er1
29549 grep -v '^ *+' conftest.er1
>conftest.err
29551 cat conftest.err
>&5
29552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29553 (exit $ac_status); } &&
29554 { ac_try
='test -z "$ac_cxx_werror_flag"
29555 || test ! -s conftest.err'
29556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29557 (eval $ac_try) 2>&5
29559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29560 (exit $ac_status); }; } &&
29561 { ac_try
='test -s conftest$ac_exeext'
29562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29563 (eval $ac_try) 2>&5
29565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29566 (exit $ac_status); }; }; then
29567 am_cv_func_iconv
=yes
29569 echo "$as_me: failed program was:" >&5
29570 sed 's/^/| /' conftest.
$ac_ext >&5
29573 rm -f conftest.err conftest.
$ac_objext \
29574 conftest
$ac_exeext conftest.
$ac_ext
29575 if test "$am_cv_func_iconv" != yes; then
29576 am_save_LIBS
="$LIBS"
29577 LIBS
="$LIBS -liconv"
29578 cat >conftest.
$ac_ext <<_ACEOF
29581 cat confdefs.h
>>conftest.
$ac_ext
29582 cat >>conftest.
$ac_ext <<_ACEOF
29583 /* end confdefs.h. */
29584 #include <stdlib.h>
29589 iconv_t cd = iconv_open("","");
29590 iconv(cd,NULL,NULL,NULL,NULL);
29596 rm -f conftest.
$ac_objext conftest
$ac_exeext
29597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29598 (eval $ac_link) 2>conftest.er1
29600 grep -v '^ *+' conftest.er1
>conftest.err
29602 cat conftest.err
>&5
29603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29604 (exit $ac_status); } &&
29605 { ac_try
='test -z "$ac_cxx_werror_flag"
29606 || test ! -s conftest.err'
29607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29608 (eval $ac_try) 2>&5
29610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29611 (exit $ac_status); }; } &&
29612 { ac_try
='test -s conftest$ac_exeext'
29613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29614 (eval $ac_try) 2>&5
29616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29617 (exit $ac_status); }; }; then
29618 am_cv_lib_iconv
=yes
29619 am_cv_func_iconv
=yes
29621 echo "$as_me: failed program was:" >&5
29622 sed 's/^/| /' conftest.
$ac_ext >&5
29625 rm -f conftest.err conftest.
$ac_objext \
29626 conftest
$ac_exeext conftest.
$ac_ext
29627 LIBS
="$am_save_LIBS"
29631 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
29632 echo "${ECHO_T}$am_cv_func_iconv" >&6
29633 if test "$am_cv_func_iconv" = yes; then
29635 cat >>confdefs.h
<<\_ACEOF
29636 #define HAVE_ICONV 1
29639 echo "$as_me:$LINENO: checking if iconv needs const" >&5
29640 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
29641 if test "${wx_cv_func_iconv_const+set}" = set; then
29642 echo $ECHO_N "(cached) $ECHO_C" >&6
29644 cat >conftest.
$ac_ext <<_ACEOF
29647 cat confdefs.h
>>conftest.
$ac_ext
29648 cat >>conftest.
$ac_ext <<_ACEOF
29649 /* end confdefs.h. */
29651 #include <stdlib.h>
29657 #if defined(__STDC__) || defined(__cplusplus)
29658 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29671 rm -f conftest.
$ac_objext
29672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29673 (eval $ac_compile) 2>conftest.er1
29675 grep -v '^ *+' conftest.er1
>conftest.err
29677 cat conftest.err
>&5
29678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29679 (exit $ac_status); } &&
29680 { ac_try
='test -z "$ac_cxx_werror_flag"
29681 || test ! -s conftest.err'
29682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29683 (eval $ac_try) 2>&5
29685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29686 (exit $ac_status); }; } &&
29687 { ac_try
='test -s conftest.$ac_objext'
29688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29689 (eval $ac_try) 2>&5
29691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29692 (exit $ac_status); }; }; then
29693 wx_cv_func_iconv_const
="no"
29695 echo "$as_me: failed program was:" >&5
29696 sed 's/^/| /' conftest.
$ac_ext >&5
29698 wx_cv_func_iconv_const
="yes"
29701 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29704 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
29705 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
29708 if test "x$wx_cv_func_iconv_const" = "xyes"; then
29709 iconv_const
="const"
29713 cat >>confdefs.h
<<_ACEOF
29714 #define ICONV_CONST $iconv_const
29719 if test "$am_cv_lib_iconv" = yes; then
29724 LIBS
="$LIBICONV $LIBS"
29726 ac_cpp
='$CPP $CPPFLAGS'
29727 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29728 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29729 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29732 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
29734 for ac_func
in sigaction
29736 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29737 echo "$as_me:$LINENO: checking for $ac_func" >&5
29738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29739 if eval "test \"\${$as_ac_var+set}\" = set"; then
29740 echo $ECHO_N "(cached) $ECHO_C" >&6
29742 cat >conftest.
$ac_ext <<_ACEOF
29745 cat confdefs.h
>>conftest.
$ac_ext
29746 cat >>conftest.
$ac_ext <<_ACEOF
29747 /* end confdefs.h. */
29748 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29749 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29750 #define $ac_func innocuous_$ac_func
29752 /* System header to define __stub macros and hopefully few prototypes,
29753 which can conflict with char $ac_func (); below.
29754 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29755 <limits.h> exists even on freestanding compilers. */
29758 # include <limits.h>
29760 # include <assert.h>
29765 /* Override any gcc2 internal prototype to avoid an error. */
29770 /* We use char because int might match the return type of a gcc2
29771 builtin and then its argument prototype would still apply. */
29773 /* The GNU C library defines this for functions which it implements
29774 to always fail with ENOSYS. Some functions are actually named
29775 something starting with __ and the normal name is an alias. */
29776 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29779 char (*f) () = $ac_func;
29788 return f != $ac_func;
29793 rm -f conftest.
$ac_objext conftest
$ac_exeext
29794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29795 (eval $ac_link) 2>conftest.er1
29797 grep -v '^ *+' conftest.er1
>conftest.err
29799 cat conftest.err
>&5
29800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29801 (exit $ac_status); } &&
29802 { ac_try
='test -z "$ac_c_werror_flag"
29803 || test ! -s conftest.err'
29804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29805 (eval $ac_try) 2>&5
29807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29808 (exit $ac_status); }; } &&
29809 { ac_try
='test -s conftest$ac_exeext'
29810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29811 (eval $ac_try) 2>&5
29813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29814 (exit $ac_status); }; }; then
29815 eval "$as_ac_var=yes"
29817 echo "$as_me: failed program was:" >&5
29818 sed 's/^/| /' conftest.
$ac_ext >&5
29820 eval "$as_ac_var=no"
29822 rm -f conftest.err conftest.
$ac_objext \
29823 conftest
$ac_exeext conftest.
$ac_ext
29825 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29826 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29827 if test `eval echo '${'$as_ac_var'}'` = yes; then
29828 cat >>confdefs.h
<<_ACEOF
29829 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29836 if test "$ac_cv_func_sigaction" = "no"; then
29837 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
29838 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
29839 wxUSE_ON_FATAL_EXCEPTION
=no
29842 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
29846 ac_cpp
='$CXXCPP $CPPFLAGS'
29847 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29848 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29849 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29852 echo "$as_me:$LINENO: checking for sa_handler type" >&5
29853 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
29854 if test "${wx_cv_type_sa_handler+set}" = set; then
29855 echo $ECHO_N "(cached) $ECHO_C" >&6
29858 cat >conftest.
$ac_ext <<_ACEOF
29861 cat confdefs.h
>>conftest.
$ac_ext
29862 cat >>conftest.
$ac_ext <<_ACEOF
29863 /* end confdefs.h. */
29864 #include <signal.h>
29869 extern void testSigHandler(int);
29871 struct sigaction sa;
29872 sa.sa_handler = testSigHandler;
29878 rm -f conftest.
$ac_objext
29879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29880 (eval $ac_compile) 2>conftest.er1
29882 grep -v '^ *+' conftest.er1
>conftest.err
29884 cat conftest.err
>&5
29885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29886 (exit $ac_status); } &&
29887 { ac_try
='test -z "$ac_cxx_werror_flag"
29888 || test ! -s conftest.err'
29889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29890 (eval $ac_try) 2>&5
29892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29893 (exit $ac_status); }; } &&
29894 { ac_try
='test -s conftest.$ac_objext'
29895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29896 (eval $ac_try) 2>&5
29898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29899 (exit $ac_status); }; }; then
29901 wx_cv_type_sa_handler
=int
29904 echo "$as_me: failed program was:" >&5
29905 sed 's/^/| /' conftest.
$ac_ext >&5
29908 wx_cv_type_sa_handler
=void
29911 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29914 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
29915 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
29918 ac_cpp
='$CPP $CPPFLAGS'
29919 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29920 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29921 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29924 cat >>confdefs.h
<<_ACEOF
29925 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
29933 for ac_func
in mkstemp mktemp
29935 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29936 echo "$as_me:$LINENO: checking for $ac_func" >&5
29937 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29938 if eval "test \"\${$as_ac_var+set}\" = set"; then
29939 echo $ECHO_N "(cached) $ECHO_C" >&6
29941 cat >conftest.
$ac_ext <<_ACEOF
29944 cat confdefs.h
>>conftest.
$ac_ext
29945 cat >>conftest.
$ac_ext <<_ACEOF
29946 /* end confdefs.h. */
29947 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29948 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29949 #define $ac_func innocuous_$ac_func
29951 /* System header to define __stub macros and hopefully few prototypes,
29952 which can conflict with char $ac_func (); below.
29953 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29954 <limits.h> exists even on freestanding compilers. */
29957 # include <limits.h>
29959 # include <assert.h>
29964 /* Override any gcc2 internal prototype to avoid an error. */
29969 /* We use char because int might match the return type of a gcc2
29970 builtin and then its argument prototype would still apply. */
29972 /* The GNU C library defines this for functions which it implements
29973 to always fail with ENOSYS. Some functions are actually named
29974 something starting with __ and the normal name is an alias. */
29975 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29978 char (*f) () = $ac_func;
29987 return f != $ac_func;
29992 rm -f conftest.
$ac_objext conftest
$ac_exeext
29993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29994 (eval $ac_link) 2>conftest.er1
29996 grep -v '^ *+' conftest.er1
>conftest.err
29998 cat conftest.err
>&5
29999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30000 (exit $ac_status); } &&
30001 { ac_try
='test -z "$ac_c_werror_flag"
30002 || test ! -s conftest.err'
30003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30004 (eval $ac_try) 2>&5
30006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30007 (exit $ac_status); }; } &&
30008 { ac_try
='test -s conftest$ac_exeext'
30009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30010 (eval $ac_try) 2>&5
30012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30013 (exit $ac_status); }; }; then
30014 eval "$as_ac_var=yes"
30016 echo "$as_me: failed program was:" >&5
30017 sed 's/^/| /' conftest.
$ac_ext >&5
30019 eval "$as_ac_var=no"
30021 rm -f conftest.err conftest.
$ac_objext \
30022 conftest
$ac_exeext conftest.
$ac_ext
30024 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30025 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30026 if test `eval echo '${'$as_ac_var'}'` = yes; then
30027 cat >>confdefs.h
<<_ACEOF
30028 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30035 echo "$as_me:$LINENO: checking for statfs" >&5
30036 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
30037 if test "${wx_cv_func_statfs+set}" = set; then
30038 echo $ECHO_N "(cached) $ECHO_C" >&6
30040 cat >conftest.
$ac_ext <<_ACEOF
30043 cat confdefs.h
>>conftest.
$ac_ext
30044 cat >>conftest.
$ac_ext <<_ACEOF
30045 /* end confdefs.h. */
30047 #if defined(__BSD__)
30048 #include <sys/param.h>
30049 #include <sys/mount.h>
30051 #include <sys/vfs.h>
30069 rm -f conftest.
$ac_objext
30070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30071 (eval $ac_compile) 2>conftest.er1
30073 grep -v '^ *+' conftest.er1
>conftest.err
30075 cat conftest.err
>&5
30076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30077 (exit $ac_status); } &&
30078 { ac_try
='test -z "$ac_c_werror_flag"
30079 || test ! -s conftest.err'
30080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30081 (eval $ac_try) 2>&5
30083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30084 (exit $ac_status); }; } &&
30085 { ac_try
='test -s conftest.$ac_objext'
30086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30087 (eval $ac_try) 2>&5
30089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30090 (exit $ac_status); }; }; then
30092 wx_cv_func_statfs
=yes
30095 echo "$as_me: failed program was:" >&5
30096 sed 's/^/| /' conftest.
$ac_ext >&5
30099 wx_cv_func_statfs
=no
30103 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30106 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
30107 echo "${ECHO_T}$wx_cv_func_statfs" >&6
30109 if test "$wx_cv_func_statfs" = "yes"; then
30110 wx_cv_type_statvfs_t
="struct statfs"
30111 cat >>confdefs.h
<<\_ACEOF
30112 #define HAVE_STATFS 1
30116 echo "$as_me:$LINENO: checking for statvfs" >&5
30117 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
30118 if test "${wx_cv_func_statvfs+set}" = set; then
30119 echo $ECHO_N "(cached) $ECHO_C" >&6
30121 cat >conftest.
$ac_ext <<_ACEOF
30124 cat confdefs.h
>>conftest.
$ac_ext
30125 cat >>conftest.
$ac_ext <<_ACEOF
30126 /* end confdefs.h. */
30128 #include <stddef.h>
30129 #include <sys/statvfs.h>
30135 statvfs("/", NULL);
30141 rm -f conftest.
$ac_objext
30142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30143 (eval $ac_compile) 2>conftest.er1
30145 grep -v '^ *+' conftest.er1
>conftest.err
30147 cat conftest.err
>&5
30148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30149 (exit $ac_status); } &&
30150 { ac_try
='test -z "$ac_c_werror_flag"
30151 || test ! -s conftest.err'
30152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30153 (eval $ac_try) 2>&5
30155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30156 (exit $ac_status); }; } &&
30157 { ac_try
='test -s conftest.$ac_objext'
30158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30159 (eval $ac_try) 2>&5
30161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30162 (exit $ac_status); }; }; then
30163 wx_cv_func_statvfs
=yes
30165 echo "$as_me: failed program was:" >&5
30166 sed 's/^/| /' conftest.
$ac_ext >&5
30168 wx_cv_func_statvfs
=no
30171 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30174 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
30175 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
30177 if test "$wx_cv_func_statvfs" = "yes"; then
30181 ac_cpp
='$CXXCPP $CPPFLAGS'
30182 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30183 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30184 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30187 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
30188 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
30189 if test "${wx_cv_type_statvfs_t+set}" = set; then
30190 echo $ECHO_N "(cached) $ECHO_C" >&6
30192 cat >conftest.
$ac_ext <<_ACEOF
30195 cat confdefs.h
>>conftest.
$ac_ext
30196 cat >>conftest.
$ac_ext <<_ACEOF
30197 /* end confdefs.h. */
30199 #include <sys/statvfs.h>
30216 rm -f conftest.
$ac_objext
30217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30218 (eval $ac_compile) 2>conftest.er1
30220 grep -v '^ *+' conftest.er1
>conftest.err
30222 cat conftest.err
>&5
30223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30224 (exit $ac_status); } &&
30225 { ac_try
='test -z "$ac_cxx_werror_flag"
30226 || test ! -s conftest.err'
30227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30228 (eval $ac_try) 2>&5
30230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30231 (exit $ac_status); }; } &&
30232 { ac_try
='test -s conftest.$ac_objext'
30233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30234 (eval $ac_try) 2>&5
30236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30237 (exit $ac_status); }; }; then
30238 wx_cv_type_statvfs_t
=statvfs_t
30240 echo "$as_me: failed program was:" >&5
30241 sed 's/^/| /' conftest.
$ac_ext >&5
30244 cat >conftest.
$ac_ext <<_ACEOF
30247 cat confdefs.h
>>conftest.
$ac_ext
30248 cat >>conftest.
$ac_ext <<_ACEOF
30249 /* end confdefs.h. */
30251 #include <sys/statvfs.h>
30268 rm -f conftest.
$ac_objext
30269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30270 (eval $ac_compile) 2>conftest.er1
30272 grep -v '^ *+' conftest.er1
>conftest.err
30274 cat conftest.err
>&5
30275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30276 (exit $ac_status); } &&
30277 { ac_try
='test -z "$ac_cxx_werror_flag"
30278 || test ! -s conftest.err'
30279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30280 (eval $ac_try) 2>&5
30282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30283 (exit $ac_status); }; } &&
30284 { ac_try
='test -s conftest.$ac_objext'
30285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30286 (eval $ac_try) 2>&5
30288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30289 (exit $ac_status); }; }; then
30290 wx_cv_type_statvfs_t
="struct statvfs"
30292 echo "$as_me: failed program was:" >&5
30293 sed 's/^/| /' conftest.
$ac_ext >&5
30295 wx_cv_type_statvfs_t
="unknown"
30298 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30302 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30305 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
30306 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
30309 ac_cpp
='$CPP $CPPFLAGS'
30310 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30311 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30312 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30315 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30316 cat >>confdefs.h
<<\_ACEOF
30317 #define HAVE_STATVFS 1
30322 wx_cv_type_statvfs_t
="unknown"
30326 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30327 cat >>confdefs.h
<<_ACEOF
30328 #define WX_STATFS_T $wx_cv_type_statvfs_t
30332 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30333 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30336 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30339 for ac_func
in fcntl flock
30341 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30342 echo "$as_me:$LINENO: checking for $ac_func" >&5
30343 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30344 if eval "test \"\${$as_ac_var+set}\" = set"; then
30345 echo $ECHO_N "(cached) $ECHO_C" >&6
30347 cat >conftest.
$ac_ext <<_ACEOF
30350 cat confdefs.h
>>conftest.
$ac_ext
30351 cat >>conftest.
$ac_ext <<_ACEOF
30352 /* end confdefs.h. */
30353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30355 #define $ac_func innocuous_$ac_func
30357 /* System header to define __stub macros and hopefully few prototypes,
30358 which can conflict with char $ac_func (); below.
30359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30360 <limits.h> exists even on freestanding compilers. */
30363 # include <limits.h>
30365 # include <assert.h>
30370 /* Override any gcc2 internal prototype to avoid an error. */
30375 /* We use char because int might match the return type of a gcc2
30376 builtin and then its argument prototype would still apply. */
30378 /* The GNU C library defines this for functions which it implements
30379 to always fail with ENOSYS. Some functions are actually named
30380 something starting with __ and the normal name is an alias. */
30381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30384 char (*f) () = $ac_func;
30393 return f != $ac_func;
30398 rm -f conftest.
$ac_objext conftest
$ac_exeext
30399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30400 (eval $ac_link) 2>conftest.er1
30402 grep -v '^ *+' conftest.er1
>conftest.err
30404 cat conftest.err
>&5
30405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30406 (exit $ac_status); } &&
30407 { ac_try
='test -z "$ac_c_werror_flag"
30408 || test ! -s conftest.err'
30409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30410 (eval $ac_try) 2>&5
30412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30413 (exit $ac_status); }; } &&
30414 { ac_try
='test -s conftest$ac_exeext'
30415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30416 (eval $ac_try) 2>&5
30418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30419 (exit $ac_status); }; }; then
30420 eval "$as_ac_var=yes"
30422 echo "$as_me: failed program was:" >&5
30423 sed 's/^/| /' conftest.
$ac_ext >&5
30425 eval "$as_ac_var=no"
30427 rm -f conftest.err conftest.
$ac_objext \
30428 conftest
$ac_exeext conftest.
$ac_ext
30430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30431 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30432 if test `eval echo '${'$as_ac_var'}'` = yes; then
30433 cat >>confdefs.h
<<_ACEOF
30434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30441 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30442 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
30443 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30444 wxUSE_SNGLINST_CHECKER
=no
30449 for ac_func
in timegm
30451 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30452 echo "$as_me:$LINENO: checking for $ac_func" >&5
30453 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30454 if eval "test \"\${$as_ac_var+set}\" = set"; then
30455 echo $ECHO_N "(cached) $ECHO_C" >&6
30457 cat >conftest.
$ac_ext <<_ACEOF
30460 cat confdefs.h
>>conftest.
$ac_ext
30461 cat >>conftest.
$ac_ext <<_ACEOF
30462 /* end confdefs.h. */
30463 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30464 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30465 #define $ac_func innocuous_$ac_func
30467 /* System header to define __stub macros and hopefully few prototypes,
30468 which can conflict with char $ac_func (); below.
30469 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30470 <limits.h> exists even on freestanding compilers. */
30473 # include <limits.h>
30475 # include <assert.h>
30480 /* Override any gcc2 internal prototype to avoid an error. */
30485 /* We use char because int might match the return type of a gcc2
30486 builtin and then its argument prototype would still apply. */
30488 /* The GNU C library defines this for functions which it implements
30489 to always fail with ENOSYS. Some functions are actually named
30490 something starting with __ and the normal name is an alias. */
30491 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30494 char (*f) () = $ac_func;
30503 return f != $ac_func;
30508 rm -f conftest.
$ac_objext conftest
$ac_exeext
30509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30510 (eval $ac_link) 2>conftest.er1
30512 grep -v '^ *+' conftest.er1
>conftest.err
30514 cat conftest.err
>&5
30515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30516 (exit $ac_status); } &&
30517 { ac_try
='test -z "$ac_c_werror_flag"
30518 || test ! -s conftest.err'
30519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30520 (eval $ac_try) 2>&5
30522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30523 (exit $ac_status); }; } &&
30524 { ac_try
='test -s conftest$ac_exeext'
30525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30526 (eval $ac_try) 2>&5
30528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30529 (exit $ac_status); }; }; then
30530 eval "$as_ac_var=yes"
30532 echo "$as_me: failed program was:" >&5
30533 sed 's/^/| /' conftest.
$ac_ext >&5
30535 eval "$as_ac_var=no"
30537 rm -f conftest.err conftest.
$ac_objext \
30538 conftest
$ac_exeext conftest.
$ac_ext
30540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30541 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30542 if test `eval echo '${'$as_ac_var'}'` = yes; then
30543 cat >>confdefs.h
<<_ACEOF
30544 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30553 for ac_func
in putenv setenv
30555 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30556 echo "$as_me:$LINENO: checking for $ac_func" >&5
30557 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30558 if eval "test \"\${$as_ac_var+set}\" = set"; then
30559 echo $ECHO_N "(cached) $ECHO_C" >&6
30561 cat >conftest.
$ac_ext <<_ACEOF
30564 cat confdefs.h
>>conftest.
$ac_ext
30565 cat >>conftest.
$ac_ext <<_ACEOF
30566 /* end confdefs.h. */
30567 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30568 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30569 #define $ac_func innocuous_$ac_func
30571 /* System header to define __stub macros and hopefully few prototypes,
30572 which can conflict with char $ac_func (); below.
30573 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30574 <limits.h> exists even on freestanding compilers. */
30577 # include <limits.h>
30579 # include <assert.h>
30584 /* Override any gcc2 internal prototype to avoid an error. */
30589 /* We use char because int might match the return type of a gcc2
30590 builtin and then its argument prototype would still apply. */
30592 /* The GNU C library defines this for functions which it implements
30593 to always fail with ENOSYS. Some functions are actually named
30594 something starting with __ and the normal name is an alias. */
30595 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30598 char (*f) () = $ac_func;
30607 return f != $ac_func;
30612 rm -f conftest.
$ac_objext conftest
$ac_exeext
30613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30614 (eval $ac_link) 2>conftest.er1
30616 grep -v '^ *+' conftest.er1
>conftest.err
30618 cat conftest.err
>&5
30619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30620 (exit $ac_status); } &&
30621 { ac_try
='test -z "$ac_c_werror_flag"
30622 || test ! -s conftest.err'
30623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30624 (eval $ac_try) 2>&5
30626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30627 (exit $ac_status); }; } &&
30628 { ac_try
='test -s conftest$ac_exeext'
30629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30630 (eval $ac_try) 2>&5
30632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30633 (exit $ac_status); }; }; then
30634 eval "$as_ac_var=yes"
30636 echo "$as_me: failed program was:" >&5
30637 sed 's/^/| /' conftest.
$ac_ext >&5
30639 eval "$as_ac_var=no"
30641 rm -f conftest.err conftest.
$ac_objext \
30642 conftest
$ac_exeext conftest.
$ac_ext
30644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30645 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30646 if test `eval echo '${'$as_ac_var'}'` = yes; then
30647 cat >>confdefs.h
<<_ACEOF
30648 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30655 HAVE_SOME_SLEEP_FUNC
=0
30656 if test "$USE_BEOS" = 1; then
30657 cat >>confdefs.h
<<\_ACEOF
30658 #define HAVE_SLEEP 1
30661 HAVE_SOME_SLEEP_FUNC
=1
30664 if test "$USE_DARWIN" = 1; then
30665 cat >>confdefs.h
<<\_ACEOF
30666 #define HAVE_USLEEP 1
30669 HAVE_SOME_SLEEP_FUNC
=1
30672 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30675 for ac_func
in nanosleep
30677 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30678 echo "$as_me:$LINENO: checking for $ac_func" >&5
30679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30680 if eval "test \"\${$as_ac_var+set}\" = set"; then
30681 echo $ECHO_N "(cached) $ECHO_C" >&6
30683 cat >conftest.
$ac_ext <<_ACEOF
30686 cat confdefs.h
>>conftest.
$ac_ext
30687 cat >>conftest.
$ac_ext <<_ACEOF
30688 /* end confdefs.h. */
30689 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30690 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30691 #define $ac_func innocuous_$ac_func
30693 /* System header to define __stub macros and hopefully few prototypes,
30694 which can conflict with char $ac_func (); below.
30695 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30696 <limits.h> exists even on freestanding compilers. */
30699 # include <limits.h>
30701 # include <assert.h>
30706 /* Override any gcc2 internal prototype to avoid an error. */
30711 /* We use char because int might match the return type of a gcc2
30712 builtin and then its argument prototype would still apply. */
30714 /* The GNU C library defines this for functions which it implements
30715 to always fail with ENOSYS. Some functions are actually named
30716 something starting with __ and the normal name is an alias. */
30717 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30720 char (*f) () = $ac_func;
30729 return f != $ac_func;
30734 rm -f conftest.
$ac_objext conftest
$ac_exeext
30735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30736 (eval $ac_link) 2>conftest.er1
30738 grep -v '^ *+' conftest.er1
>conftest.err
30740 cat conftest.err
>&5
30741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30742 (exit $ac_status); } &&
30743 { ac_try
='test -z "$ac_c_werror_flag"
30744 || test ! -s conftest.err'
30745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30746 (eval $ac_try) 2>&5
30748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30749 (exit $ac_status); }; } &&
30750 { ac_try
='test -s conftest$ac_exeext'
30751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30752 (eval $ac_try) 2>&5
30754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30755 (exit $ac_status); }; }; then
30756 eval "$as_ac_var=yes"
30758 echo "$as_me: failed program was:" >&5
30759 sed 's/^/| /' conftest.
$ac_ext >&5
30761 eval "$as_ac_var=no"
30763 rm -f conftest.err conftest.
$ac_objext \
30764 conftest
$ac_exeext conftest.
$ac_ext
30766 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30767 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30768 if test `eval echo '${'$as_ac_var'}'` = yes; then
30769 cat >>confdefs.h
<<_ACEOF
30770 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30772 cat >>confdefs.h
<<\_ACEOF
30773 #define HAVE_NANOSLEEP 1
30778 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
30779 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
30780 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
30781 echo $ECHO_N "(cached) $ECHO_C" >&6
30783 ac_check_lib_save_LIBS
=$LIBS
30784 LIBS
="-lposix4 $LIBS"
30785 cat >conftest.
$ac_ext <<_ACEOF
30788 cat confdefs.h
>>conftest.
$ac_ext
30789 cat >>conftest.
$ac_ext <<_ACEOF
30790 /* end confdefs.h. */
30792 /* Override any gcc2 internal prototype to avoid an error. */
30796 /* We use char because int might match the return type of a gcc2
30797 builtin and then its argument prototype would still apply. */
30807 rm -f conftest.
$ac_objext conftest
$ac_exeext
30808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30809 (eval $ac_link) 2>conftest.er1
30811 grep -v '^ *+' conftest.er1
>conftest.err
30813 cat conftest.err
>&5
30814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30815 (exit $ac_status); } &&
30816 { ac_try
='test -z "$ac_c_werror_flag"
30817 || test ! -s conftest.err'
30818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30819 (eval $ac_try) 2>&5
30821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30822 (exit $ac_status); }; } &&
30823 { ac_try
='test -s conftest$ac_exeext'
30824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30825 (eval $ac_try) 2>&5
30827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30828 (exit $ac_status); }; }; then
30829 ac_cv_lib_posix4_nanosleep
=yes
30831 echo "$as_me: failed program was:" >&5
30832 sed 's/^/| /' conftest.
$ac_ext >&5
30834 ac_cv_lib_posix4_nanosleep
=no
30836 rm -f conftest.err conftest.
$ac_objext \
30837 conftest
$ac_exeext conftest.
$ac_ext
30838 LIBS
=$ac_check_lib_save_LIBS
30840 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
30841 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
30842 if test $ac_cv_lib_posix4_nanosleep = yes; then
30844 cat >>confdefs.h
<<\_ACEOF
30845 #define HAVE_NANOSLEEP 1
30848 POSIX4_LINK
=" -lposix4"
30853 for ac_func
in usleep
30855 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30856 echo "$as_me:$LINENO: checking for $ac_func" >&5
30857 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30858 if eval "test \"\${$as_ac_var+set}\" = set"; then
30859 echo $ECHO_N "(cached) $ECHO_C" >&6
30861 cat >conftest.
$ac_ext <<_ACEOF
30864 cat confdefs.h
>>conftest.
$ac_ext
30865 cat >>conftest.
$ac_ext <<_ACEOF
30866 /* end confdefs.h. */
30867 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30868 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30869 #define $ac_func innocuous_$ac_func
30871 /* System header to define __stub macros and hopefully few prototypes,
30872 which can conflict with char $ac_func (); below.
30873 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30874 <limits.h> exists even on freestanding compilers. */
30877 # include <limits.h>
30879 # include <assert.h>
30884 /* Override any gcc2 internal prototype to avoid an error. */
30889 /* We use char because int might match the return type of a gcc2
30890 builtin and then its argument prototype would still apply. */
30892 /* The GNU C library defines this for functions which it implements
30893 to always fail with ENOSYS. Some functions are actually named
30894 something starting with __ and the normal name is an alias. */
30895 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30898 char (*f) () = $ac_func;
30907 return f != $ac_func;
30912 rm -f conftest.
$ac_objext conftest
$ac_exeext
30913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30914 (eval $ac_link) 2>conftest.er1
30916 grep -v '^ *+' conftest.er1
>conftest.err
30918 cat conftest.err
>&5
30919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30920 (exit $ac_status); } &&
30921 { ac_try
='test -z "$ac_c_werror_flag"
30922 || test ! -s conftest.err'
30923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30924 (eval $ac_try) 2>&5
30926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30927 (exit $ac_status); }; } &&
30928 { ac_try
='test -s conftest$ac_exeext'
30929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30930 (eval $ac_try) 2>&5
30932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30933 (exit $ac_status); }; }; then
30934 eval "$as_ac_var=yes"
30936 echo "$as_me: failed program was:" >&5
30937 sed 's/^/| /' conftest.
$ac_ext >&5
30939 eval "$as_ac_var=no"
30941 rm -f conftest.err conftest.
$ac_objext \
30942 conftest
$ac_exeext conftest.
$ac_ext
30944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30945 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30946 if test `eval echo '${'$as_ac_var'}'` = yes; then
30947 cat >>confdefs.h
<<_ACEOF
30948 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30950 cat >>confdefs.h
<<\_ACEOF
30951 #define HAVE_USLEEP 1
30955 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
30956 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
30974 for ac_func
in uname gethostname
30976 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30977 echo "$as_me:$LINENO: checking for $ac_func" >&5
30978 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30979 if eval "test \"\${$as_ac_var+set}\" = set"; then
30980 echo $ECHO_N "(cached) $ECHO_C" >&6
30982 cat >conftest.
$ac_ext <<_ACEOF
30985 cat confdefs.h
>>conftest.
$ac_ext
30986 cat >>conftest.
$ac_ext <<_ACEOF
30987 /* end confdefs.h. */
30988 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30989 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30990 #define $ac_func innocuous_$ac_func
30992 /* System header to define __stub macros and hopefully few prototypes,
30993 which can conflict with char $ac_func (); below.
30994 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30995 <limits.h> exists even on freestanding compilers. */
30998 # include <limits.h>
31000 # include <assert.h>
31005 /* Override any gcc2 internal prototype to avoid an error. */
31010 /* We use char because int might match the return type of a gcc2
31011 builtin and then its argument prototype would still apply. */
31013 /* The GNU C library defines this for functions which it implements
31014 to always fail with ENOSYS. Some functions are actually named
31015 something starting with __ and the normal name is an alias. */
31016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31019 char (*f) () = $ac_func;
31028 return f != $ac_func;
31033 rm -f conftest.
$ac_objext conftest
$ac_exeext
31034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31035 (eval $ac_link) 2>conftest.er1
31037 grep -v '^ *+' conftest.er1
>conftest.err
31039 cat conftest.err
>&5
31040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31041 (exit $ac_status); } &&
31042 { ac_try
='test -z "$ac_c_werror_flag"
31043 || test ! -s conftest.err'
31044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31045 (eval $ac_try) 2>&5
31047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31048 (exit $ac_status); }; } &&
31049 { ac_try
='test -s conftest$ac_exeext'
31050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31051 (eval $ac_try) 2>&5
31053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31054 (exit $ac_status); }; }; then
31055 eval "$as_ac_var=yes"
31057 echo "$as_me: failed program was:" >&5
31058 sed 's/^/| /' conftest.
$ac_ext >&5
31060 eval "$as_ac_var=no"
31062 rm -f conftest.err conftest.
$ac_objext \
31063 conftest
$ac_exeext conftest.
$ac_ext
31065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31066 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31067 if test `eval echo '${'$as_ac_var'}'` = yes; then
31068 cat >>confdefs.h
<<_ACEOF
31069 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31079 ac_cpp
='$CXXCPP $CPPFLAGS'
31080 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31081 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31082 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31086 for ac_func
in strtok_r
31088 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31089 echo "$as_me:$LINENO: checking for $ac_func" >&5
31090 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31091 if eval "test \"\${$as_ac_var+set}\" = set"; then
31092 echo $ECHO_N "(cached) $ECHO_C" >&6
31094 cat >conftest.
$ac_ext <<_ACEOF
31097 cat confdefs.h
>>conftest.
$ac_ext
31098 cat >>conftest.
$ac_ext <<_ACEOF
31099 /* end confdefs.h. */
31100 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31101 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31102 #define $ac_func innocuous_$ac_func
31104 /* System header to define __stub macros and hopefully few prototypes,
31105 which can conflict with char $ac_func (); below.
31106 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31107 <limits.h> exists even on freestanding compilers. */
31110 # include <limits.h>
31112 # include <assert.h>
31117 /* Override any gcc2 internal prototype to avoid an error. */
31122 /* We use char because int might match the return type of a gcc2
31123 builtin and then its argument prototype would still apply. */
31125 /* The GNU C library defines this for functions which it implements
31126 to always fail with ENOSYS. Some functions are actually named
31127 something starting with __ and the normal name is an alias. */
31128 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31131 char (*f) () = $ac_func;
31140 return f != $ac_func;
31145 rm -f conftest.
$ac_objext conftest
$ac_exeext
31146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31147 (eval $ac_link) 2>conftest.er1
31149 grep -v '^ *+' conftest.er1
>conftest.err
31151 cat conftest.err
>&5
31152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31153 (exit $ac_status); } &&
31154 { ac_try
='test -z "$ac_cxx_werror_flag"
31155 || test ! -s conftest.err'
31156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31157 (eval $ac_try) 2>&5
31159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31160 (exit $ac_status); }; } &&
31161 { ac_try
='test -s conftest$ac_exeext'
31162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31163 (eval $ac_try) 2>&5
31165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31166 (exit $ac_status); }; }; then
31167 eval "$as_ac_var=yes"
31169 echo "$as_me: failed program was:" >&5
31170 sed 's/^/| /' conftest.
$ac_ext >&5
31172 eval "$as_ac_var=no"
31174 rm -f conftest.err conftest.
$ac_objext \
31175 conftest
$ac_exeext conftest.
$ac_ext
31177 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31178 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31179 if test `eval echo '${'$as_ac_var'}'` = yes; then
31180 cat >>confdefs.h
<<_ACEOF
31181 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31189 ac_cpp
='$CPP $CPPFLAGS'
31190 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31191 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31192 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31197 for ac_func
in inet_addr
31199 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31200 echo "$as_me:$LINENO: checking for $ac_func" >&5
31201 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31202 if eval "test \"\${$as_ac_var+set}\" = set"; then
31203 echo $ECHO_N "(cached) $ECHO_C" >&6
31205 cat >conftest.
$ac_ext <<_ACEOF
31208 cat confdefs.h
>>conftest.
$ac_ext
31209 cat >>conftest.
$ac_ext <<_ACEOF
31210 /* end confdefs.h. */
31211 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31213 #define $ac_func innocuous_$ac_func
31215 /* System header to define __stub macros and hopefully few prototypes,
31216 which can conflict with char $ac_func (); below.
31217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31218 <limits.h> exists even on freestanding compilers. */
31221 # include <limits.h>
31223 # include <assert.h>
31228 /* Override any gcc2 internal prototype to avoid an error. */
31233 /* We use char because int might match the return type of a gcc2
31234 builtin and then its argument prototype would still apply. */
31236 /* The GNU C library defines this for functions which it implements
31237 to always fail with ENOSYS. Some functions are actually named
31238 something starting with __ and the normal name is an alias. */
31239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31242 char (*f) () = $ac_func;
31251 return f != $ac_func;
31256 rm -f conftest.
$ac_objext conftest
$ac_exeext
31257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31258 (eval $ac_link) 2>conftest.er1
31260 grep -v '^ *+' conftest.er1
>conftest.err
31262 cat conftest.err
>&5
31263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31264 (exit $ac_status); } &&
31265 { ac_try
='test -z "$ac_c_werror_flag"
31266 || test ! -s conftest.err'
31267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31268 (eval $ac_try) 2>&5
31270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31271 (exit $ac_status); }; } &&
31272 { ac_try
='test -s conftest$ac_exeext'
31273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31274 (eval $ac_try) 2>&5
31276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31277 (exit $ac_status); }; }; then
31278 eval "$as_ac_var=yes"
31280 echo "$as_me: failed program was:" >&5
31281 sed 's/^/| /' conftest.
$ac_ext >&5
31283 eval "$as_ac_var=no"
31285 rm -f conftest.err conftest.
$ac_objext \
31286 conftest
$ac_exeext conftest.
$ac_ext
31288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31290 if test `eval echo '${'$as_ac_var'}'` = yes; then
31291 cat >>confdefs.h
<<_ACEOF
31292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31294 cat >>confdefs.h
<<\_ACEOF
31295 #define HAVE_INET_ADDR 1
31300 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
31301 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
31302 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
31303 echo $ECHO_N "(cached) $ECHO_C" >&6
31305 ac_check_lib_save_LIBS
=$LIBS
31307 cat >conftest.
$ac_ext <<_ACEOF
31310 cat confdefs.h
>>conftest.
$ac_ext
31311 cat >>conftest.
$ac_ext <<_ACEOF
31312 /* end confdefs.h. */
31314 /* Override any gcc2 internal prototype to avoid an error. */
31318 /* We use char because int might match the return type of a gcc2
31319 builtin and then its argument prototype would still apply. */
31329 rm -f conftest.
$ac_objext conftest
$ac_exeext
31330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31331 (eval $ac_link) 2>conftest.er1
31333 grep -v '^ *+' conftest.er1
>conftest.err
31335 cat conftest.err
>&5
31336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31337 (exit $ac_status); } &&
31338 { ac_try
='test -z "$ac_c_werror_flag"
31339 || test ! -s conftest.err'
31340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31341 (eval $ac_try) 2>&5
31343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31344 (exit $ac_status); }; } &&
31345 { ac_try
='test -s conftest$ac_exeext'
31346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31347 (eval $ac_try) 2>&5
31349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31350 (exit $ac_status); }; }; then
31351 ac_cv_lib_nsl_inet_addr
=yes
31353 echo "$as_me: failed program was:" >&5
31354 sed 's/^/| /' conftest.
$ac_ext >&5
31356 ac_cv_lib_nsl_inet_addr
=no
31358 rm -f conftest.err conftest.
$ac_objext \
31359 conftest
$ac_exeext conftest.
$ac_ext
31360 LIBS
=$ac_check_lib_save_LIBS
31362 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
31363 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
31364 if test $ac_cv_lib_nsl_inet_addr = yes; then
31368 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
31369 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
31370 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
31371 echo $ECHO_N "(cached) $ECHO_C" >&6
31373 ac_check_lib_save_LIBS
=$LIBS
31374 LIBS
="-lresolv $LIBS"
31375 cat >conftest.
$ac_ext <<_ACEOF
31378 cat confdefs.h
>>conftest.
$ac_ext
31379 cat >>conftest.
$ac_ext <<_ACEOF
31380 /* end confdefs.h. */
31382 /* Override any gcc2 internal prototype to avoid an error. */
31386 /* We use char because int might match the return type of a gcc2
31387 builtin and then its argument prototype would still apply. */
31397 rm -f conftest.
$ac_objext conftest
$ac_exeext
31398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31399 (eval $ac_link) 2>conftest.er1
31401 grep -v '^ *+' conftest.er1
>conftest.err
31403 cat conftest.err
>&5
31404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31405 (exit $ac_status); } &&
31406 { ac_try
='test -z "$ac_c_werror_flag"
31407 || test ! -s conftest.err'
31408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31409 (eval $ac_try) 2>&5
31411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31412 (exit $ac_status); }; } &&
31413 { ac_try
='test -s conftest$ac_exeext'
31414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31415 (eval $ac_try) 2>&5
31417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31418 (exit $ac_status); }; }; then
31419 ac_cv_lib_resolv_inet_addr
=yes
31421 echo "$as_me: failed program was:" >&5
31422 sed 's/^/| /' conftest.
$ac_ext >&5
31424 ac_cv_lib_resolv_inet_addr
=no
31426 rm -f conftest.err conftest.
$ac_objext \
31427 conftest
$ac_exeext conftest.
$ac_ext
31428 LIBS
=$ac_check_lib_save_LIBS
31430 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
31431 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
31432 if test $ac_cv_lib_resolv_inet_addr = yes; then
31436 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
31437 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
31438 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
31439 echo $ECHO_N "(cached) $ECHO_C" >&6
31441 ac_check_lib_save_LIBS
=$LIBS
31442 LIBS
="-lsocket $LIBS"
31443 cat >conftest.
$ac_ext <<_ACEOF
31446 cat confdefs.h
>>conftest.
$ac_ext
31447 cat >>conftest.
$ac_ext <<_ACEOF
31448 /* end confdefs.h. */
31450 /* Override any gcc2 internal prototype to avoid an error. */
31454 /* We use char because int might match the return type of a gcc2
31455 builtin and then its argument prototype would still apply. */
31465 rm -f conftest.
$ac_objext conftest
$ac_exeext
31466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31467 (eval $ac_link) 2>conftest.er1
31469 grep -v '^ *+' conftest.er1
>conftest.err
31471 cat conftest.err
>&5
31472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31473 (exit $ac_status); } &&
31474 { ac_try
='test -z "$ac_c_werror_flag"
31475 || test ! -s conftest.err'
31476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31477 (eval $ac_try) 2>&5
31479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31480 (exit $ac_status); }; } &&
31481 { ac_try
='test -s conftest$ac_exeext'
31482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31483 (eval $ac_try) 2>&5
31485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31486 (exit $ac_status); }; }; then
31487 ac_cv_lib_socket_inet_addr
=yes
31489 echo "$as_me: failed program was:" >&5
31490 sed 's/^/| /' conftest.
$ac_ext >&5
31492 ac_cv_lib_socket_inet_addr
=no
31494 rm -f conftest.err conftest.
$ac_objext \
31495 conftest
$ac_exeext conftest.
$ac_ext
31496 LIBS
=$ac_check_lib_save_LIBS
31498 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
31499 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
31500 if test $ac_cv_lib_socket_inet_addr = yes; then
31520 for ac_func
in inet_aton
31522 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31523 echo "$as_me:$LINENO: checking for $ac_func" >&5
31524 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31525 if eval "test \"\${$as_ac_var+set}\" = set"; then
31526 echo $ECHO_N "(cached) $ECHO_C" >&6
31528 cat >conftest.
$ac_ext <<_ACEOF
31531 cat confdefs.h
>>conftest.
$ac_ext
31532 cat >>conftest.
$ac_ext <<_ACEOF
31533 /* end confdefs.h. */
31534 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31535 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31536 #define $ac_func innocuous_$ac_func
31538 /* System header to define __stub macros and hopefully few prototypes,
31539 which can conflict with char $ac_func (); below.
31540 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31541 <limits.h> exists even on freestanding compilers. */
31544 # include <limits.h>
31546 # include <assert.h>
31551 /* Override any gcc2 internal prototype to avoid an error. */
31556 /* We use char because int might match the return type of a gcc2
31557 builtin and then its argument prototype would still apply. */
31559 /* The GNU C library defines this for functions which it implements
31560 to always fail with ENOSYS. Some functions are actually named
31561 something starting with __ and the normal name is an alias. */
31562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31565 char (*f) () = $ac_func;
31574 return f != $ac_func;
31579 rm -f conftest.
$ac_objext conftest
$ac_exeext
31580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31581 (eval $ac_link) 2>conftest.er1
31583 grep -v '^ *+' conftest.er1
>conftest.err
31585 cat conftest.err
>&5
31586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31587 (exit $ac_status); } &&
31588 { ac_try
='test -z "$ac_c_werror_flag"
31589 || test ! -s conftest.err'
31590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31591 (eval $ac_try) 2>&5
31593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31594 (exit $ac_status); }; } &&
31595 { ac_try
='test -s conftest$ac_exeext'
31596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31597 (eval $ac_try) 2>&5
31599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31600 (exit $ac_status); }; }; then
31601 eval "$as_ac_var=yes"
31603 echo "$as_me: failed program was:" >&5
31604 sed 's/^/| /' conftest.
$ac_ext >&5
31606 eval "$as_ac_var=no"
31608 rm -f conftest.err conftest.
$ac_objext \
31609 conftest
$ac_exeext conftest.
$ac_ext
31611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31612 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31613 if test `eval echo '${'$as_ac_var'}'` = yes; then
31614 cat >>confdefs.h
<<_ACEOF
31615 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31617 cat >>confdefs.h
<<\_ACEOF
31618 #define HAVE_INET_ATON 1
31623 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31624 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
31625 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
31626 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
31627 echo $ECHO_N "(cached) $ECHO_C" >&6
31629 ac_check_lib_save_LIBS
=$LIBS
31630 LIBS
="-l$INET_LINK $LIBS"
31631 cat >conftest.
$ac_ext <<_ACEOF
31634 cat confdefs.h
>>conftest.
$ac_ext
31635 cat >>conftest.
$ac_ext <<_ACEOF
31636 /* end confdefs.h. */
31638 /* Override any gcc2 internal prototype to avoid an error. */
31642 /* We use char because int might match the return type of a gcc2
31643 builtin and then its argument prototype would still apply. */
31653 rm -f conftest.
$ac_objext conftest
$ac_exeext
31654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31655 (eval $ac_link) 2>conftest.er1
31657 grep -v '^ *+' conftest.er1
>conftest.err
31659 cat conftest.err
>&5
31660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31661 (exit $ac_status); } &&
31662 { ac_try
='test -z "$ac_c_werror_flag"
31663 || test ! -s conftest.err'
31664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31665 (eval $ac_try) 2>&5
31667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31668 (exit $ac_status); }; } &&
31669 { ac_try
='test -s conftest$ac_exeext'
31670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31671 (eval $ac_try) 2>&5
31673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31674 (exit $ac_status); }; }; then
31675 eval "$as_ac_Lib=yes"
31677 echo "$as_me: failed program was:" >&5
31678 sed 's/^/| /' conftest.
$ac_ext >&5
31680 eval "$as_ac_Lib=no"
31682 rm -f conftest.err conftest.
$ac_objext \
31683 conftest
$ac_exeext conftest.
$ac_ext
31684 LIBS
=$ac_check_lib_save_LIBS
31686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
31687 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
31688 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
31689 cat >>confdefs.h
<<\_ACEOF
31690 #define HAVE_INET_ATON 1
31700 if test "x$INET_LINK" != "x"; then
31701 cat >>confdefs.h
<<\_ACEOF
31702 #define HAVE_INET_ADDR 1
31705 INET_LINK
=" -l$INET_LINK"
31713 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
31714 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
31715 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
31716 echo $ECHO_N "(cached) $ECHO_C" >&6
31718 ac_check_lib_save_LIBS
=$LIBS
31720 cat >conftest.
$ac_ext <<_ACEOF
31723 cat confdefs.h
>>conftest.
$ac_ext
31724 cat >>conftest.
$ac_ext <<_ACEOF
31725 /* end confdefs.h. */
31727 /* Override any gcc2 internal prototype to avoid an error. */
31731 /* We use char because int might match the return type of a gcc2
31732 builtin and then its argument prototype would still apply. */
31742 rm -f conftest.
$ac_objext conftest
$ac_exeext
31743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31744 (eval $ac_link) 2>conftest.er1
31746 grep -v '^ *+' conftest.er1
>conftest.err
31748 cat conftest.err
>&5
31749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31750 (exit $ac_status); } &&
31751 { ac_try
='test -z "$ac_c_werror_flag"
31752 || test ! -s conftest.err'
31753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31754 (eval $ac_try) 2>&5
31756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31757 (exit $ac_status); }; } &&
31758 { ac_try
='test -s conftest$ac_exeext'
31759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31760 (eval $ac_try) 2>&5
31762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31763 (exit $ac_status); }; }; then
31764 ac_cv_lib_esd_esd_close
=yes
31766 echo "$as_me: failed program was:" >&5
31767 sed 's/^/| /' conftest.
$ac_ext >&5
31769 ac_cv_lib_esd_esd_close
=no
31771 rm -f conftest.err conftest.
$ac_objext \
31772 conftest
$ac_exeext conftest.
$ac_ext
31773 LIBS
=$ac_check_lib_save_LIBS
31775 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
31776 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
31777 if test $ac_cv_lib_esd_esd_close = yes; then
31780 for ac_header
in esd.h
31782 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31783 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31784 echo "$as_me:$LINENO: checking for $ac_header" >&5
31785 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31786 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31787 echo $ECHO_N "(cached) $ECHO_C" >&6
31789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31790 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31792 # Is the header compilable?
31793 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31794 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31795 cat >conftest.
$ac_ext <<_ACEOF
31798 cat confdefs.h
>>conftest.
$ac_ext
31799 cat >>conftest.
$ac_ext <<_ACEOF
31800 /* end confdefs.h. */
31801 $ac_includes_default
31802 #include <$ac_header>
31804 rm -f conftest.
$ac_objext
31805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31806 (eval $ac_compile) 2>conftest.er1
31808 grep -v '^ *+' conftest.er1
>conftest.err
31810 cat conftest.err
>&5
31811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31812 (exit $ac_status); } &&
31813 { ac_try
='test -z "$ac_c_werror_flag"
31814 || test ! -s conftest.err'
31815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31816 (eval $ac_try) 2>&5
31818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31819 (exit $ac_status); }; } &&
31820 { ac_try
='test -s conftest.$ac_objext'
31821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31822 (eval $ac_try) 2>&5
31824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31825 (exit $ac_status); }; }; then
31826 ac_header_compiler
=yes
31828 echo "$as_me: failed program was:" >&5
31829 sed 's/^/| /' conftest.
$ac_ext >&5
31831 ac_header_compiler
=no
31833 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31834 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31835 echo "${ECHO_T}$ac_header_compiler" >&6
31837 # Is the header present?
31838 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31839 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31840 cat >conftest.
$ac_ext <<_ACEOF
31843 cat confdefs.h
>>conftest.
$ac_ext
31844 cat >>conftest.
$ac_ext <<_ACEOF
31845 /* end confdefs.h. */
31846 #include <$ac_header>
31848 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31849 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31851 grep -v '^ *+' conftest.er1
>conftest.err
31853 cat conftest.err
>&5
31854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31855 (exit $ac_status); } >/dev
/null
; then
31856 if test -s conftest.err
; then
31857 ac_cpp_err
=$ac_c_preproc_warn_flag
31858 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
31865 if test -z "$ac_cpp_err"; then
31866 ac_header_preproc
=yes
31868 echo "$as_me: failed program was:" >&5
31869 sed 's/^/| /' conftest.
$ac_ext >&5
31871 ac_header_preproc
=no
31873 rm -f conftest.err conftest.
$ac_ext
31874 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31875 echo "${ECHO_T}$ac_header_preproc" >&6
31877 # So? What about this header?
31878 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31880 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31881 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31882 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31883 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31884 ac_header_preproc
=yes
31887 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31888 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31889 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31890 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31891 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31892 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31893 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31894 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31895 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31896 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31897 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31898 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31901 ## ----------------------------------------- ##
31902 ## Report this to wx-dev@lists.wxwindows.org ##
31903 ## ----------------------------------------- ##
31906 sed "s/^/$as_me: WARNING: /" >&2
31909 echo "$as_me:$LINENO: checking for $ac_header" >&5
31910 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31911 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31912 echo $ECHO_N "(cached) $ECHO_C" >&6
31914 eval "$as_ac_Header=\$ac_header_preproc"
31916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31917 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31920 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31921 cat >>confdefs.h
<<_ACEOF
31922 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31925 EXTRALIBS_ESD
="-lesd"
31936 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
31937 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
31938 cat >conftest.
$ac_ext <<_ACEOF
31941 cat confdefs.h
>>conftest.
$ac_ext
31942 cat >>conftest.
$ac_ext <<_ACEOF
31943 /* end confdefs.h. */
31945 #include <linux/cdrom.h>
31948 #include <sys/cdio.h>
31954 struct cdrom_tocentry entry, old_entry;
31959 rm -f conftest.
$ac_objext
31960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31961 (eval $ac_compile) 2>conftest.er1
31963 grep -v '^ *+' conftest.er1
>conftest.err
31965 cat conftest.err
>&5
31966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31967 (exit $ac_status); } &&
31968 { ac_try
='test -z "$ac_c_werror_flag"
31969 || test ! -s conftest.err'
31970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31971 (eval $ac_try) 2>&5
31973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31974 (exit $ac_status); }; } &&
31975 { ac_try
='test -s conftest.$ac_objext'
31976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31977 (eval $ac_try) 2>&5
31979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31980 (exit $ac_status); }; }; then
31981 echo "$as_me:$LINENO: result: yes" >&5
31982 echo "${ECHO_T}yes" >&6
31983 cat >>confdefs.h
<<\_ACEOF
31984 #define HAVE_KNOWN_CDROM_INTERFACE 1
31988 echo "$as_me: failed program was:" >&5
31989 sed 's/^/| /' conftest.
$ac_ext >&5
31991 echo "$as_me:$LINENO: result: no" >&5
31992 echo "${ECHO_T}no" >&6
31994 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31997 cat >confcache
<<\_ACEOF
31998 # This file is a shell script that caches the results of configure
31999 # tests run on this system so they can be shared between configure
32000 # scripts and configure runs, see configure's option --config-cache.
32001 # It is not useful on other systems. If it contains results you don't
32002 # want to keep, you may remove or edit it.
32004 # config.status only pays attention to the cache file if you give it
32005 # the --recheck option to rerun configure.
32007 # `ac_cv_env_foo' variables (set or unset) will be overridden when
32008 # loading this file, other *unset* `ac_cv_foo' will be assigned the
32009 # following values.
32013 # The following way of writing the cache mishandles newlines in values,
32014 # but we know of no workaround that is simple, portable, and efficient.
32015 # So, don't put newlines in cache variables' values.
32016 # Ultrix sh set writes to stderr and can't be redirected directly,
32017 # and sets the high bit in the cache file unless we assign to the vars.
32020 case `(ac_space=' '; set | grep ac_space) 2>&1` in
32022 # `set' does not quote correctly, so add quotes (double-quote
32023 # substitution turns \\\\ into \\, and sed turns \\ into \).
32026 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
32029 # `set' quotes correctly as required by POSIX, so do not add quotes.
32031 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
32038 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
32040 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
32042 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
32043 if test -w $cache_file; then
32044 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
32045 cat confcache
>$cache_file
32047 echo "not updating unwritable cache $cache_file"
32054 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
32060 if test "$wxUSE_THREADS" = "yes" ; then
32061 if test "$USE_BEOS" = 1; then
32062 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
32063 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
32068 if test "$wxUSE_THREADS" = "yes" ; then
32071 THREAD_OPTS
="-pthread"
32073 *-*-solaris2* | *-*-sunos4* )
32074 if test "x$GCC" = "xyes"; then
32075 THREAD_OPTS
="-pthreads $THREAD_OPTS"
32077 THREAD_OPTS
="-mt $THREAD_OPTS"
32081 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
32083 *-*-darwin* | *-*-cygwin* )
32087 THREAD_OPTS
="pthreads"
32090 if test "x$GCC" != "xyes"; then
32096 if test "x$GCC" = "xyes"; then
32102 if test "x$GCC" != "xyes"; then
32103 THREAD_OPTS
="-Ethread"
32108 THREAD_OPTS
="$THREAD_OPTS pthread none"
32111 for flag
in $THREAD_OPTS; do
32114 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
32115 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
32119 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
32120 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
32121 THREADS_CFLAGS
="$flag"
32125 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
32126 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
32127 THREADS_LINK
="-l$flag"
32132 save_CFLAGS
="$CFLAGS"
32133 LIBS
="$THREADS_LINK $LIBS"
32134 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
32136 cat >conftest.
$ac_ext <<_ACEOF
32139 cat confdefs.h
>>conftest.
$ac_ext
32140 cat >>conftest.
$ac_ext <<_ACEOF
32141 /* end confdefs.h. */
32142 #include <pthread.h>
32146 pthread_create(0,0,0,0);
32151 rm -f conftest.
$ac_objext conftest
$ac_exeext
32152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32153 (eval $ac_link) 2>conftest.er1
32155 grep -v '^ *+' conftest.er1
>conftest.err
32157 cat conftest.err
>&5
32158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32159 (exit $ac_status); } &&
32160 { ac_try
='test -z "$ac_c_werror_flag"
32161 || test ! -s conftest.err'
32162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32163 (eval $ac_try) 2>&5
32165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32166 (exit $ac_status); }; } &&
32167 { ac_try
='test -s conftest$ac_exeext'
32168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32169 (eval $ac_try) 2>&5
32171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32172 (exit $ac_status); }; }; then
32175 echo "$as_me: failed program was:" >&5
32176 sed 's/^/| /' conftest.
$ac_ext >&5
32179 rm -f conftest.err conftest.
$ac_objext \
32180 conftest
$ac_exeext conftest.
$ac_ext
32183 CFLAGS
="$save_CFLAGS"
32185 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
32186 echo "${ECHO_T}$THREADS_OK" >&6
32187 if test "x$THREADS_OK" = "xyes"; then
32195 if test "x$THREADS_OK" != "xyes"; then
32197 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
32198 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
32200 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
32201 LIBS
="$THREADS_LINK $LIBS"
32203 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
32204 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
32208 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
32209 flag
="-D_THREAD_SAFE"
32212 flag
="-D_THREAD_SAFE"
32215 flag
="-D_REENTRANT"
32216 if test "x$GCC" != "xyes"; then
32217 flag
="$flag -D_RWSTD_MULTI_THREAD"
32220 *solaris
* | alpha
*-osf*)
32221 flag
="-D_REENTRANT"
32224 echo "$as_me:$LINENO: result: ${flag}" >&5
32225 echo "${ECHO_T}${flag}" >&6
32226 if test "x$flag" != xno
; then
32227 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
32230 if test "x$THREADS_CFLAGS" != "x"; then
32231 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
32232 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
32237 if test "$wxUSE_THREADS" = "yes" ; then
32239 for ac_func
in thr_setconcurrency
32241 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32242 echo "$as_me:$LINENO: checking for $ac_func" >&5
32243 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32244 if eval "test \"\${$as_ac_var+set}\" = set"; then
32245 echo $ECHO_N "(cached) $ECHO_C" >&6
32247 cat >conftest.
$ac_ext <<_ACEOF
32250 cat confdefs.h
>>conftest.
$ac_ext
32251 cat >>conftest.
$ac_ext <<_ACEOF
32252 /* end confdefs.h. */
32253 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32254 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32255 #define $ac_func innocuous_$ac_func
32257 /* System header to define __stub macros and hopefully few prototypes,
32258 which can conflict with char $ac_func (); below.
32259 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32260 <limits.h> exists even on freestanding compilers. */
32263 # include <limits.h>
32265 # include <assert.h>
32270 /* Override any gcc2 internal prototype to avoid an error. */
32275 /* We use char because int might match the return type of a gcc2
32276 builtin and then its argument prototype would still apply. */
32278 /* The GNU C library defines this for functions which it implements
32279 to always fail with ENOSYS. Some functions are actually named
32280 something starting with __ and the normal name is an alias. */
32281 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32284 char (*f) () = $ac_func;
32293 return f != $ac_func;
32298 rm -f conftest.
$ac_objext conftest
$ac_exeext
32299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32300 (eval $ac_link) 2>conftest.er1
32302 grep -v '^ *+' conftest.er1
>conftest.err
32304 cat conftest.err
>&5
32305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32306 (exit $ac_status); } &&
32307 { ac_try
='test -z "$ac_c_werror_flag"
32308 || test ! -s conftest.err'
32309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32310 (eval $ac_try) 2>&5
32312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32313 (exit $ac_status); }; } &&
32314 { ac_try
='test -s conftest$ac_exeext'
32315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32316 (eval $ac_try) 2>&5
32318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32319 (exit $ac_status); }; }; then
32320 eval "$as_ac_var=yes"
32322 echo "$as_me: failed program was:" >&5
32323 sed 's/^/| /' conftest.
$ac_ext >&5
32325 eval "$as_ac_var=no"
32327 rm -f conftest.err conftest.
$ac_objext \
32328 conftest
$ac_exeext conftest.
$ac_ext
32330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32331 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32332 if test `eval echo '${'$as_ac_var'}'` = yes; then
32333 cat >>confdefs.h
<<_ACEOF
32334 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32342 for ac_header
in sched.h
32344 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32345 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32346 echo "$as_me:$LINENO: checking for $ac_header" >&5
32347 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32348 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32349 echo $ECHO_N "(cached) $ECHO_C" >&6
32351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32352 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32354 # Is the header compilable?
32355 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32356 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32357 cat >conftest.
$ac_ext <<_ACEOF
32360 cat confdefs.h
>>conftest.
$ac_ext
32361 cat >>conftest.
$ac_ext <<_ACEOF
32362 /* end confdefs.h. */
32363 $ac_includes_default
32364 #include <$ac_header>
32366 rm -f conftest.
$ac_objext
32367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32368 (eval $ac_compile) 2>conftest.er1
32370 grep -v '^ *+' conftest.er1
>conftest.err
32372 cat conftest.err
>&5
32373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32374 (exit $ac_status); } &&
32375 { ac_try
='test -z "$ac_c_werror_flag"
32376 || test ! -s conftest.err'
32377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32378 (eval $ac_try) 2>&5
32380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32381 (exit $ac_status); }; } &&
32382 { ac_try
='test -s conftest.$ac_objext'
32383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32384 (eval $ac_try) 2>&5
32386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32387 (exit $ac_status); }; }; then
32388 ac_header_compiler
=yes
32390 echo "$as_me: failed program was:" >&5
32391 sed 's/^/| /' conftest.
$ac_ext >&5
32393 ac_header_compiler
=no
32395 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32396 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32397 echo "${ECHO_T}$ac_header_compiler" >&6
32399 # Is the header present?
32400 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32401 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32402 cat >conftest.
$ac_ext <<_ACEOF
32405 cat confdefs.h
>>conftest.
$ac_ext
32406 cat >>conftest.
$ac_ext <<_ACEOF
32407 /* end confdefs.h. */
32408 #include <$ac_header>
32410 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32411 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32413 grep -v '^ *+' conftest.er1
>conftest.err
32415 cat conftest.err
>&5
32416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32417 (exit $ac_status); } >/dev
/null
; then
32418 if test -s conftest.err
; then
32419 ac_cpp_err
=$ac_c_preproc_warn_flag
32420 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
32427 if test -z "$ac_cpp_err"; then
32428 ac_header_preproc
=yes
32430 echo "$as_me: failed program was:" >&5
32431 sed 's/^/| /' conftest.
$ac_ext >&5
32433 ac_header_preproc
=no
32435 rm -f conftest.err conftest.
$ac_ext
32436 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32437 echo "${ECHO_T}$ac_header_preproc" >&6
32439 # So? What about this header?
32440 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32442 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32443 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32444 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32445 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32446 ac_header_preproc
=yes
32449 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32450 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32451 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32452 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32453 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32454 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32455 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32456 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32457 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32458 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32459 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32460 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32463 ## ----------------------------------------- ##
32464 ## Report this to wx-dev@lists.wxwindows.org ##
32465 ## ----------------------------------------- ##
32468 sed "s/^/$as_me: WARNING: /" >&2
32471 echo "$as_me:$LINENO: checking for $ac_header" >&5
32472 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32473 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32474 echo $ECHO_N "(cached) $ECHO_C" >&6
32476 eval "$as_ac_Header=\$ac_header_preproc"
32478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32479 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32482 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32483 cat >>confdefs.h
<<_ACEOF
32484 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32491 if test "$ac_cv_header_sched_h" = "yes"; then
32492 echo "$as_me:$LINENO: checking for sched_yield" >&5
32493 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
32494 if test "${ac_cv_func_sched_yield+set}" = set; then
32495 echo $ECHO_N "(cached) $ECHO_C" >&6
32497 cat >conftest.
$ac_ext <<_ACEOF
32500 cat confdefs.h
>>conftest.
$ac_ext
32501 cat >>conftest.
$ac_ext <<_ACEOF
32502 /* end confdefs.h. */
32503 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
32504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32505 #define sched_yield innocuous_sched_yield
32507 /* System header to define __stub macros and hopefully few prototypes,
32508 which can conflict with char sched_yield (); below.
32509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32510 <limits.h> exists even on freestanding compilers. */
32513 # include <limits.h>
32515 # include <assert.h>
32520 /* Override any gcc2 internal prototype to avoid an error. */
32525 /* We use char because int might match the return type of a gcc2
32526 builtin and then its argument prototype would still apply. */
32527 char sched_yield ();
32528 /* The GNU C library defines this for functions which it implements
32529 to always fail with ENOSYS. Some functions are actually named
32530 something starting with __ and the normal name is an alias. */
32531 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
32534 char (*f) () = sched_yield;
32543 return f != sched_yield;
32548 rm -f conftest.
$ac_objext conftest
$ac_exeext
32549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32550 (eval $ac_link) 2>conftest.er1
32552 grep -v '^ *+' conftest.er1
>conftest.err
32554 cat conftest.err
>&5
32555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32556 (exit $ac_status); } &&
32557 { ac_try
='test -z "$ac_c_werror_flag"
32558 || test ! -s conftest.err'
32559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32560 (eval $ac_try) 2>&5
32562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32563 (exit $ac_status); }; } &&
32564 { ac_try
='test -s conftest$ac_exeext'
32565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32566 (eval $ac_try) 2>&5
32568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32569 (exit $ac_status); }; }; then
32570 ac_cv_func_sched_yield
=yes
32572 echo "$as_me: failed program was:" >&5
32573 sed 's/^/| /' conftest.
$ac_ext >&5
32575 ac_cv_func_sched_yield
=no
32577 rm -f conftest.err conftest.
$ac_objext \
32578 conftest
$ac_exeext conftest.
$ac_ext
32580 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
32581 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
32582 if test $ac_cv_func_sched_yield = yes; then
32583 cat >>confdefs.h
<<\_ACEOF
32584 #define HAVE_SCHED_YIELD 1
32589 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
32590 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
32591 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
32592 echo $ECHO_N "(cached) $ECHO_C" >&6
32594 ac_check_lib_save_LIBS
=$LIBS
32595 LIBS
="-lposix4 $LIBS"
32596 cat >conftest.
$ac_ext <<_ACEOF
32599 cat confdefs.h
>>conftest.
$ac_ext
32600 cat >>conftest.
$ac_ext <<_ACEOF
32601 /* end confdefs.h. */
32603 /* Override any gcc2 internal prototype to avoid an error. */
32607 /* We use char because int might match the return type of a gcc2
32608 builtin and then its argument prototype would still apply. */
32609 char sched_yield ();
32618 rm -f conftest.
$ac_objext conftest
$ac_exeext
32619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32620 (eval $ac_link) 2>conftest.er1
32622 grep -v '^ *+' conftest.er1
>conftest.err
32624 cat conftest.err
>&5
32625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32626 (exit $ac_status); } &&
32627 { ac_try
='test -z "$ac_c_werror_flag"
32628 || test ! -s conftest.err'
32629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32630 (eval $ac_try) 2>&5
32632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32633 (exit $ac_status); }; } &&
32634 { ac_try
='test -s conftest$ac_exeext'
32635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32636 (eval $ac_try) 2>&5
32638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32639 (exit $ac_status); }; }; then
32640 ac_cv_lib_posix4_sched_yield
=yes
32642 echo "$as_me: failed program was:" >&5
32643 sed 's/^/| /' conftest.
$ac_ext >&5
32645 ac_cv_lib_posix4_sched_yield
=no
32647 rm -f conftest.err conftest.
$ac_objext \
32648 conftest
$ac_exeext conftest.
$ac_ext
32649 LIBS
=$ac_check_lib_save_LIBS
32651 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
32652 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
32653 if test $ac_cv_lib_posix4_sched_yield = yes; then
32654 cat >>confdefs.h
<<\_ACEOF
32655 #define HAVE_SCHED_YIELD 1
32657 POSIX4_LINK
=" -lposix4"
32659 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
32660 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32671 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
32672 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
32673 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
32674 echo $ECHO_N "(cached) $ECHO_C" >&6
32676 cat >conftest.
$ac_ext <<_ACEOF
32679 cat confdefs.h
>>conftest.
$ac_ext
32680 cat >>conftest.
$ac_ext <<_ACEOF
32681 /* end confdefs.h. */
32682 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
32683 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32684 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
32686 /* System header to define __stub macros and hopefully few prototypes,
32687 which can conflict with char pthread_attr_getschedpolicy (); below.
32688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32689 <limits.h> exists even on freestanding compilers. */
32692 # include <limits.h>
32694 # include <assert.h>
32697 #undef pthread_attr_getschedpolicy
32699 /* Override any gcc2 internal prototype to avoid an error. */
32704 /* We use char because int might match the return type of a gcc2
32705 builtin and then its argument prototype would still apply. */
32706 char pthread_attr_getschedpolicy ();
32707 /* The GNU C library defines this for functions which it implements
32708 to always fail with ENOSYS. Some functions are actually named
32709 something starting with __ and the normal name is an alias. */
32710 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
32713 char (*f) () = pthread_attr_getschedpolicy;
32722 return f != pthread_attr_getschedpolicy;
32727 rm -f conftest.
$ac_objext conftest
$ac_exeext
32728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32729 (eval $ac_link) 2>conftest.er1
32731 grep -v '^ *+' conftest.er1
>conftest.err
32733 cat conftest.err
>&5
32734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32735 (exit $ac_status); } &&
32736 { ac_try
='test -z "$ac_c_werror_flag"
32737 || test ! -s conftest.err'
32738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32739 (eval $ac_try) 2>&5
32741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32742 (exit $ac_status); }; } &&
32743 { ac_try
='test -s conftest$ac_exeext'
32744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32745 (eval $ac_try) 2>&5
32747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32748 (exit $ac_status); }; }; then
32749 ac_cv_func_pthread_attr_getschedpolicy
=yes
32751 echo "$as_me: failed program was:" >&5
32752 sed 's/^/| /' conftest.
$ac_ext >&5
32754 ac_cv_func_pthread_attr_getschedpolicy
=no
32756 rm -f conftest.err conftest.
$ac_objext \
32757 conftest
$ac_exeext conftest.
$ac_ext
32759 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
32760 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
32761 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
32762 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
32763 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
32764 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
32765 echo $ECHO_N "(cached) $ECHO_C" >&6
32767 cat >conftest.
$ac_ext <<_ACEOF
32770 cat confdefs.h
>>conftest.
$ac_ext
32771 cat >>conftest.
$ac_ext <<_ACEOF
32772 /* end confdefs.h. */
32773 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
32774 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32775 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
32777 /* System header to define __stub macros and hopefully few prototypes,
32778 which can conflict with char pthread_attr_setschedparam (); below.
32779 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32780 <limits.h> exists even on freestanding compilers. */
32783 # include <limits.h>
32785 # include <assert.h>
32788 #undef pthread_attr_setschedparam
32790 /* Override any gcc2 internal prototype to avoid an error. */
32795 /* We use char because int might match the return type of a gcc2
32796 builtin and then its argument prototype would still apply. */
32797 char pthread_attr_setschedparam ();
32798 /* The GNU C library defines this for functions which it implements
32799 to always fail with ENOSYS. Some functions are actually named
32800 something starting with __ and the normal name is an alias. */
32801 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
32804 char (*f) () = pthread_attr_setschedparam;
32813 return f != pthread_attr_setschedparam;
32818 rm -f conftest.
$ac_objext conftest
$ac_exeext
32819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32820 (eval $ac_link) 2>conftest.er1
32822 grep -v '^ *+' conftest.er1
>conftest.err
32824 cat conftest.err
>&5
32825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32826 (exit $ac_status); } &&
32827 { ac_try
='test -z "$ac_c_werror_flag"
32828 || test ! -s conftest.err'
32829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32830 (eval $ac_try) 2>&5
32832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32833 (exit $ac_status); }; } &&
32834 { ac_try
='test -s conftest$ac_exeext'
32835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32836 (eval $ac_try) 2>&5
32838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32839 (exit $ac_status); }; }; then
32840 ac_cv_func_pthread_attr_setschedparam
=yes
32842 echo "$as_me: failed program was:" >&5
32843 sed 's/^/| /' conftest.
$ac_ext >&5
32845 ac_cv_func_pthread_attr_setschedparam
=no
32847 rm -f conftest.err conftest.
$ac_objext \
32848 conftest
$ac_exeext conftest.
$ac_ext
32850 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
32851 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
32852 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
32853 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
32854 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
32855 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
32856 echo $ECHO_N "(cached) $ECHO_C" >&6
32858 cat >conftest.
$ac_ext <<_ACEOF
32861 cat confdefs.h
>>conftest.
$ac_ext
32862 cat >>conftest.
$ac_ext <<_ACEOF
32863 /* end confdefs.h. */
32864 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
32865 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32866 #define sched_get_priority_max innocuous_sched_get_priority_max
32868 /* System header to define __stub macros and hopefully few prototypes,
32869 which can conflict with char sched_get_priority_max (); below.
32870 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32871 <limits.h> exists even on freestanding compilers. */
32874 # include <limits.h>
32876 # include <assert.h>
32879 #undef sched_get_priority_max
32881 /* Override any gcc2 internal prototype to avoid an error. */
32886 /* We use char because int might match the return type of a gcc2
32887 builtin and then its argument prototype would still apply. */
32888 char sched_get_priority_max ();
32889 /* The GNU C library defines this for functions which it implements
32890 to always fail with ENOSYS. Some functions are actually named
32891 something starting with __ and the normal name is an alias. */
32892 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
32895 char (*f) () = sched_get_priority_max;
32904 return f != sched_get_priority_max;
32909 rm -f conftest.
$ac_objext conftest
$ac_exeext
32910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32911 (eval $ac_link) 2>conftest.er1
32913 grep -v '^ *+' conftest.er1
>conftest.err
32915 cat conftest.err
>&5
32916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32917 (exit $ac_status); } &&
32918 { ac_try
='test -z "$ac_c_werror_flag"
32919 || test ! -s conftest.err'
32920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32921 (eval $ac_try) 2>&5
32923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32924 (exit $ac_status); }; } &&
32925 { ac_try
='test -s conftest$ac_exeext'
32926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32927 (eval $ac_try) 2>&5
32929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32930 (exit $ac_status); }; }; then
32931 ac_cv_func_sched_get_priority_max
=yes
32933 echo "$as_me: failed program was:" >&5
32934 sed 's/^/| /' conftest.
$ac_ext >&5
32936 ac_cv_func_sched_get_priority_max
=no
32938 rm -f conftest.err conftest.
$ac_objext \
32939 conftest
$ac_exeext conftest.
$ac_ext
32941 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
32942 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
32943 if test $ac_cv_func_sched_get_priority_max = yes; then
32946 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
32947 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
32948 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
32949 echo $ECHO_N "(cached) $ECHO_C" >&6
32951 ac_check_lib_save_LIBS
=$LIBS
32952 LIBS
="-lposix4 $LIBS"
32953 cat >conftest.
$ac_ext <<_ACEOF
32956 cat confdefs.h
>>conftest.
$ac_ext
32957 cat >>conftest.
$ac_ext <<_ACEOF
32958 /* end confdefs.h. */
32960 /* Override any gcc2 internal prototype to avoid an error. */
32964 /* We use char because int might match the return type of a gcc2
32965 builtin and then its argument prototype would still apply. */
32966 char sched_get_priority_max ();
32970 sched_get_priority_max ();
32975 rm -f conftest.
$ac_objext conftest
$ac_exeext
32976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32977 (eval $ac_link) 2>conftest.er1
32979 grep -v '^ *+' conftest.er1
>conftest.err
32981 cat conftest.err
>&5
32982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32983 (exit $ac_status); } &&
32984 { ac_try
='test -z "$ac_c_werror_flag"
32985 || test ! -s conftest.err'
32986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32987 (eval $ac_try) 2>&5
32989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32990 (exit $ac_status); }; } &&
32991 { ac_try
='test -s conftest$ac_exeext'
32992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32993 (eval $ac_try) 2>&5
32995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32996 (exit $ac_status); }; }; then
32997 ac_cv_lib_posix4_sched_get_priority_max
=yes
32999 echo "$as_me: failed program was:" >&5
33000 sed 's/^/| /' conftest.
$ac_ext >&5
33002 ac_cv_lib_posix4_sched_get_priority_max
=no
33004 rm -f conftest.err conftest.
$ac_objext \
33005 conftest
$ac_exeext conftest.
$ac_ext
33006 LIBS
=$ac_check_lib_save_LIBS
33008 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
33009 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
33010 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
33013 POSIX4_LINK
=" -lposix4"
33027 if test "$HAVE_PRIOR_FUNCS" = 1; then
33028 cat >>confdefs.h
<<\_ACEOF
33029 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
33033 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
33034 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
33037 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
33038 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
33039 if test "${ac_cv_func_pthread_cancel+set}" = set; then
33040 echo $ECHO_N "(cached) $ECHO_C" >&6
33042 cat >conftest.
$ac_ext <<_ACEOF
33045 cat confdefs.h
>>conftest.
$ac_ext
33046 cat >>conftest.
$ac_ext <<_ACEOF
33047 /* end confdefs.h. */
33048 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
33049 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33050 #define pthread_cancel innocuous_pthread_cancel
33052 /* System header to define __stub macros and hopefully few prototypes,
33053 which can conflict with char pthread_cancel (); below.
33054 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33055 <limits.h> exists even on freestanding compilers. */
33058 # include <limits.h>
33060 # include <assert.h>
33063 #undef pthread_cancel
33065 /* Override any gcc2 internal prototype to avoid an error. */
33070 /* We use char because int might match the return type of a gcc2
33071 builtin and then its argument prototype would still apply. */
33072 char pthread_cancel ();
33073 /* The GNU C library defines this for functions which it implements
33074 to always fail with ENOSYS. Some functions are actually named
33075 something starting with __ and the normal name is an alias. */
33076 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
33079 char (*f) () = pthread_cancel;
33088 return f != pthread_cancel;
33093 rm -f conftest.
$ac_objext conftest
$ac_exeext
33094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33095 (eval $ac_link) 2>conftest.er1
33097 grep -v '^ *+' conftest.er1
>conftest.err
33099 cat conftest.err
>&5
33100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33101 (exit $ac_status); } &&
33102 { ac_try
='test -z "$ac_c_werror_flag"
33103 || test ! -s conftest.err'
33104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33105 (eval $ac_try) 2>&5
33107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33108 (exit $ac_status); }; } &&
33109 { ac_try
='test -s conftest$ac_exeext'
33110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33111 (eval $ac_try) 2>&5
33113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33114 (exit $ac_status); }; }; then
33115 ac_cv_func_pthread_cancel
=yes
33117 echo "$as_me: failed program was:" >&5
33118 sed 's/^/| /' conftest.
$ac_ext >&5
33120 ac_cv_func_pthread_cancel
=no
33122 rm -f conftest.err conftest.
$ac_objext \
33123 conftest
$ac_exeext conftest.
$ac_ext
33125 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
33126 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
33127 if test $ac_cv_func_pthread_cancel = yes; then
33128 cat >>confdefs.h
<<\_ACEOF
33129 #define HAVE_PTHREAD_CANCEL 1
33133 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
33134 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
33140 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
33141 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
33142 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
33143 echo $ECHO_N "(cached) $ECHO_C" >&6
33146 cat >conftest.
$ac_ext <<_ACEOF
33149 cat confdefs.h
>>conftest.
$ac_ext
33150 cat >>conftest.
$ac_ext <<_ACEOF
33151 /* end confdefs.h. */
33152 #include <pthread.h>
33157 pthread_mutexattr_t attr;
33158 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
33164 rm -f conftest.
$ac_objext
33165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33166 (eval $ac_compile) 2>conftest.er1
33168 grep -v '^ *+' conftest.er1
>conftest.err
33170 cat conftest.err
>&5
33171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33172 (exit $ac_status); } &&
33173 { ac_try
='test -z "$ac_c_werror_flag"
33174 || test ! -s conftest.err'
33175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33176 (eval $ac_try) 2>&5
33178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33179 (exit $ac_status); }; } &&
33180 { ac_try
='test -s conftest.$ac_objext'
33181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33182 (eval $ac_try) 2>&5
33184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33185 (exit $ac_status); }; }; then
33187 wx_cv_type_pthread_mutexattr_t
=yes
33190 echo "$as_me: failed program was:" >&5
33191 sed 's/^/| /' conftest.
$ac_ext >&5
33194 wx_cv_type_pthread_mutexattr_t
=no
33198 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33201 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
33202 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
33204 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
33205 cat >>confdefs.h
<<\_ACEOF
33206 #define HAVE_PTHREAD_MUTEXATTR_T 1
33210 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
33211 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
33212 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
33213 echo $ECHO_N "(cached) $ECHO_C" >&6
33216 cat >conftest.
$ac_ext <<_ACEOF
33219 cat confdefs.h
>>conftest.
$ac_ext
33220 cat >>conftest.
$ac_ext <<_ACEOF
33221 /* end confdefs.h. */
33222 #include <pthread.h>
33227 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
33233 rm -f conftest.
$ac_objext
33234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33235 (eval $ac_compile) 2>conftest.er1
33237 grep -v '^ *+' conftest.er1
>conftest.err
33239 cat conftest.err
>&5
33240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33241 (exit $ac_status); } &&
33242 { ac_try
='test -z "$ac_c_werror_flag"
33243 || test ! -s conftest.err'
33244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33245 (eval $ac_try) 2>&5
33247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33248 (exit $ac_status); }; } &&
33249 { ac_try
='test -s conftest.$ac_objext'
33250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33251 (eval $ac_try) 2>&5
33253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33254 (exit $ac_status); }; }; then
33256 wx_cv_type_pthread_rec_mutex_init
=yes
33259 echo "$as_me: failed program was:" >&5
33260 sed 's/^/| /' conftest.
$ac_ext >&5
33263 wx_cv_type_pthread_rec_mutex_init
=no
33267 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33270 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
33271 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
33272 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
33273 cat >>confdefs.h
<<\_ACEOF
33274 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
33278 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
33279 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
33285 if test "$wxUSE_THREADS" = "yes" ; then
33288 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
33289 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
33290 if test "${wx_cv_cflags_mthread+set}" = set; then
33291 echo $ECHO_N "(cached) $ECHO_C" >&6
33294 CFLAGS_OLD
="$CFLAGS"
33295 CFLAGS
="$CFLAGS -mthreads"
33296 cat >conftest.
$ac_ext <<_ACEOF
33299 cat confdefs.h
>>conftest.
$ac_ext
33300 cat >>conftest.
$ac_ext <<_ACEOF
33301 /* end confdefs.h. */
33311 rm -f conftest.
$ac_objext
33312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33313 (eval $ac_compile) 2>conftest.er1
33315 grep -v '^ *+' conftest.er1
>conftest.err
33317 cat conftest.err
>&5
33318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33319 (exit $ac_status); } &&
33320 { ac_try
='test -z "$ac_c_werror_flag"
33321 || test ! -s conftest.err'
33322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33323 (eval $ac_try) 2>&5
33325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33326 (exit $ac_status); }; } &&
33327 { ac_try
='test -s conftest.$ac_objext'
33328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33329 (eval $ac_try) 2>&5
33331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33332 (exit $ac_status); }; }; then
33333 wx_cv_cflags_mthread
=yes
33335 echo "$as_me: failed program was:" >&5
33336 sed 's/^/| /' conftest.
$ac_ext >&5
33338 wx_cv_cflags_mthread
=no
33341 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33345 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
33346 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
33348 if test "$wx_cv_cflags_mthread" = "yes"; then
33349 CXXFLAGS
="$CXXFLAGS -mthreads"
33350 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
33351 LDFLAGS
="$LDFLAGS -mthreads"
33353 CFLAGS
="$CFLAGS_OLD"
33357 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
33358 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
33359 LDFLAGS
="$LDFLAGS -Zmt"
33365 if test "$wxUSE_THREADS" = "yes"; then
33366 cat >>confdefs.h
<<\_ACEOF
33367 #define wxUSE_THREADS 1
33371 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
33373 if test "$ac_cv_func_strtok_r" = "yes"; then
33374 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
33375 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
33376 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
33377 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
33378 echo "$as_me:$LINENO: result: yes" >&5
33379 echo "${ECHO_T}yes" >&6
33381 echo "$as_me:$LINENO: result: no" >&5
33382 echo "${ECHO_T}no" >&6
33387 if test "$WXGTK20" = 1 ; then
33388 cat >>confdefs.h
<<_ACEOF
33389 #define __WXGTK20__ $WXGTK20
33395 if test "$WXGTK12" = 1 ; then
33396 cat >>confdefs.h
<<_ACEOF
33397 #define __WXGTK12__ $WXGTK12
33402 if test "$WXGTK127" = 1 ; then
33403 cat >>confdefs.h
<<_ACEOF
33404 #define __WXGTK127__ $WXGTK127
33409 if test "$WXGPE" = 1 ; then
33410 cat >>confdefs.h
<<_ACEOF
33411 #define __WXGPE__ $WXGPE
33418 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
33423 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
33424 wxUSE_DEBUG_INFO
=yes
33428 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
33429 cat >>confdefs.h
<<\_ACEOF
33433 WXDEBUG_DEFINE
="-D__WXDEBUG__"
33435 if test "$wxUSE_GTK" = 1 ; then
33436 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
33440 if test "$wxUSE_MEM_TRACING" = "yes" ; then
33441 cat >>confdefs.h
<<\_ACEOF
33442 #define wxUSE_MEMORY_TRACING 1
33445 cat >>confdefs.h
<<\_ACEOF
33446 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
33449 cat >>confdefs.h
<<\_ACEOF
33450 #define wxUSE_DEBUG_NEW_ALWAYS 1
33453 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
33456 if test "$wxUSE_DMALLOC" = "yes" ; then
33457 DMALLOC_LIBS
="-ldmalloc"
33461 if test "$wxUSE_PROFILE" = "yes" ; then
33466 CODE_GEN_FLAGS_CXX
=
33467 if test "$GCC" = "yes" ; then
33468 if test "$wxUSE_NO_RTTI" = "yes" ; then
33469 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
33471 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33472 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
33474 if test "$wxUSE_PERMISSIVE" = "yes" ; then
33475 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
33480 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
33483 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
33489 if test "$wxUSE_OPTIMISE" = "no" ; then
33490 if test "$GCC" = yes ; then
33494 if test "$GCC" = yes ; then
33498 i586
-*-*|i686
-*-* )
33499 OPTIMISE
="${OPTIMISE} "
33508 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
33509 cat >>confdefs.h
<<\_ACEOF
33510 #define WXWIN_COMPATIBILITY_2_2 1
33514 WXWIN_COMPATIBILITY_2_4
="yes"
33517 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
33518 cat >>confdefs.h
<<\_ACEOF
33519 #define WXWIN_COMPATIBILITY_2_4 1
33525 if test "$wxUSE_GUI" = "yes"; then
33526 cat >>confdefs.h
<<\_ACEOF
33527 #define wxUSE_GUI 1
33532 cat >>confdefs.h
<<\_ACEOF
33533 #define wxUSE_NOGUI 1
33539 if test "$wxUSE_UNIX" = "yes"; then
33540 cat >>confdefs.h
<<\_ACEOF
33541 #define wxUSE_UNIX 1
33547 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33551 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33552 if test "$USE_DARWIN" = 1; then
33556 for ac_func
in dlopen
33558 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33559 echo "$as_me:$LINENO: checking for $ac_func" >&5
33560 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33561 if eval "test \"\${$as_ac_var+set}\" = set"; then
33562 echo $ECHO_N "(cached) $ECHO_C" >&6
33564 cat >conftest.
$ac_ext <<_ACEOF
33567 cat confdefs.h
>>conftest.
$ac_ext
33568 cat >>conftest.
$ac_ext <<_ACEOF
33569 /* end confdefs.h. */
33570 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33571 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33572 #define $ac_func innocuous_$ac_func
33574 /* System header to define __stub macros and hopefully few prototypes,
33575 which can conflict with char $ac_func (); below.
33576 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33577 <limits.h> exists even on freestanding compilers. */
33580 # include <limits.h>
33582 # include <assert.h>
33587 /* Override any gcc2 internal prototype to avoid an error. */
33592 /* We use char because int might match the return type of a gcc2
33593 builtin and then its argument prototype would still apply. */
33595 /* The GNU C library defines this for functions which it implements
33596 to always fail with ENOSYS. Some functions are actually named
33597 something starting with __ and the normal name is an alias. */
33598 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33601 char (*f) () = $ac_func;
33610 return f != $ac_func;
33615 rm -f conftest.
$ac_objext conftest
$ac_exeext
33616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33617 (eval $ac_link) 2>conftest.er1
33619 grep -v '^ *+' conftest.er1
>conftest.err
33621 cat conftest.err
>&5
33622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33623 (exit $ac_status); } &&
33624 { ac_try
='test -z "$ac_c_werror_flag"
33625 || test ! -s conftest.err'
33626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33627 (eval $ac_try) 2>&5
33629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33630 (exit $ac_status); }; } &&
33631 { ac_try
='test -s conftest$ac_exeext'
33632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33633 (eval $ac_try) 2>&5
33635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33636 (exit $ac_status); }; }; then
33637 eval "$as_ac_var=yes"
33639 echo "$as_me: failed program was:" >&5
33640 sed 's/^/| /' conftest.
$ac_ext >&5
33642 eval "$as_ac_var=no"
33644 rm -f conftest.err conftest.
$ac_objext \
33645 conftest
$ac_exeext conftest.
$ac_ext
33647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33648 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33649 if test `eval echo '${'$as_ac_var'}'` = yes; then
33650 cat >>confdefs.h
<<_ACEOF
33651 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33654 cat >>confdefs.h
<<\_ACEOF
33655 #define HAVE_DLOPEN 1
33662 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
33663 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
33664 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
33665 echo $ECHO_N "(cached) $ECHO_C" >&6
33667 ac_check_lib_save_LIBS
=$LIBS
33669 cat >conftest.
$ac_ext <<_ACEOF
33672 cat confdefs.h
>>conftest.
$ac_ext
33673 cat >>conftest.
$ac_ext <<_ACEOF
33674 /* end confdefs.h. */
33676 /* Override any gcc2 internal prototype to avoid an error. */
33680 /* We use char because int might match the return type of a gcc2
33681 builtin and then its argument prototype would still apply. */
33691 rm -f conftest.
$ac_objext conftest
$ac_exeext
33692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33693 (eval $ac_link) 2>conftest.er1
33695 grep -v '^ *+' conftest.er1
>conftest.err
33697 cat conftest.err
>&5
33698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33699 (exit $ac_status); } &&
33700 { ac_try
='test -z "$ac_c_werror_flag"
33701 || test ! -s conftest.err'
33702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33703 (eval $ac_try) 2>&5
33705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33706 (exit $ac_status); }; } &&
33707 { ac_try
='test -s conftest$ac_exeext'
33708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33709 (eval $ac_try) 2>&5
33711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33712 (exit $ac_status); }; }; then
33713 ac_cv_lib_dl_dlopen
=yes
33715 echo "$as_me: failed program was:" >&5
33716 sed 's/^/| /' conftest.
$ac_ext >&5
33718 ac_cv_lib_dl_dlopen
=no
33720 rm -f conftest.err conftest.
$ac_objext \
33721 conftest
$ac_exeext conftest.
$ac_ext
33722 LIBS
=$ac_check_lib_save_LIBS
33724 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
33725 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
33726 if test $ac_cv_lib_dl_dlopen = yes; then
33728 cat >>confdefs.h
<<\_ACEOF
33729 #define HAVE_DLOPEN 1
33733 DL_LINK
=" -ldl$DL_LINK"
33738 for ac_func
in shl_load
33740 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33741 echo "$as_me:$LINENO: checking for $ac_func" >&5
33742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33743 if eval "test \"\${$as_ac_var+set}\" = set"; then
33744 echo $ECHO_N "(cached) $ECHO_C" >&6
33746 cat >conftest.
$ac_ext <<_ACEOF
33749 cat confdefs.h
>>conftest.
$ac_ext
33750 cat >>conftest.
$ac_ext <<_ACEOF
33751 /* end confdefs.h. */
33752 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33753 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33754 #define $ac_func innocuous_$ac_func
33756 /* System header to define __stub macros and hopefully few prototypes,
33757 which can conflict with char $ac_func (); below.
33758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33759 <limits.h> exists even on freestanding compilers. */
33762 # include <limits.h>
33764 # include <assert.h>
33769 /* Override any gcc2 internal prototype to avoid an error. */
33774 /* We use char because int might match the return type of a gcc2
33775 builtin and then its argument prototype would still apply. */
33777 /* The GNU C library defines this for functions which it implements
33778 to always fail with ENOSYS. Some functions are actually named
33779 something starting with __ and the normal name is an alias. */
33780 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33783 char (*f) () = $ac_func;
33792 return f != $ac_func;
33797 rm -f conftest.
$ac_objext conftest
$ac_exeext
33798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33799 (eval $ac_link) 2>conftest.er1
33801 grep -v '^ *+' conftest.er1
>conftest.err
33803 cat conftest.err
>&5
33804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33805 (exit $ac_status); } &&
33806 { ac_try
='test -z "$ac_c_werror_flag"
33807 || test ! -s conftest.err'
33808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33809 (eval $ac_try) 2>&5
33811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33812 (exit $ac_status); }; } &&
33813 { ac_try
='test -s conftest$ac_exeext'
33814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33815 (eval $ac_try) 2>&5
33817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33818 (exit $ac_status); }; }; then
33819 eval "$as_ac_var=yes"
33821 echo "$as_me: failed program was:" >&5
33822 sed 's/^/| /' conftest.
$ac_ext >&5
33824 eval "$as_ac_var=no"
33826 rm -f conftest.err conftest.
$ac_objext \
33827 conftest
$ac_exeext conftest.
$ac_ext
33829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33830 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33831 if test `eval echo '${'$as_ac_var'}'` = yes; then
33832 cat >>confdefs.h
<<_ACEOF
33833 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33836 cat >>confdefs.h
<<\_ACEOF
33837 #define HAVE_SHL_LOAD 1
33844 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
33845 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
33846 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
33847 echo $ECHO_N "(cached) $ECHO_C" >&6
33849 ac_check_lib_save_LIBS
=$LIBS
33850 LIBS
="-lshl_load $LIBS"
33851 cat >conftest.
$ac_ext <<_ACEOF
33854 cat confdefs.h
>>conftest.
$ac_ext
33855 cat >>conftest.
$ac_ext <<_ACEOF
33856 /* end confdefs.h. */
33858 /* Override any gcc2 internal prototype to avoid an error. */
33862 /* We use char because int might match the return type of a gcc2
33863 builtin and then its argument prototype would still apply. */
33873 rm -f conftest.
$ac_objext conftest
$ac_exeext
33874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33875 (eval $ac_link) 2>conftest.er1
33877 grep -v '^ *+' conftest.er1
>conftest.err
33879 cat conftest.err
>&5
33880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33881 (exit $ac_status); } &&
33882 { ac_try
='test -z "$ac_c_werror_flag"
33883 || test ! -s conftest.err'
33884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33885 (eval $ac_try) 2>&5
33887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33888 (exit $ac_status); }; } &&
33889 { ac_try
='test -s conftest$ac_exeext'
33890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33891 (eval $ac_try) 2>&5
33893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33894 (exit $ac_status); }; }; then
33895 ac_cv_lib_shl_load_dld
=yes
33897 echo "$as_me: failed program was:" >&5
33898 sed 's/^/| /' conftest.
$ac_ext >&5
33900 ac_cv_lib_shl_load_dld
=no
33902 rm -f conftest.err conftest.
$ac_objext \
33903 conftest
$ac_exeext conftest.
$ac_ext
33904 LIBS
=$ac_check_lib_save_LIBS
33906 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
33907 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
33908 if test $ac_cv_lib_shl_load_dld = yes; then
33911 DL_LINK
=" -ldld$DL_LINK"
33927 if test "$HAVE_DL_FUNCS" = 1; then
33929 for ac_func
in dlerror
33931 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33932 echo "$as_me:$LINENO: checking for $ac_func" >&5
33933 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33934 if eval "test \"\${$as_ac_var+set}\" = set"; then
33935 echo $ECHO_N "(cached) $ECHO_C" >&6
33937 cat >conftest.
$ac_ext <<_ACEOF
33940 cat confdefs.h
>>conftest.
$ac_ext
33941 cat >>conftest.
$ac_ext <<_ACEOF
33942 /* end confdefs.h. */
33943 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33944 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33945 #define $ac_func innocuous_$ac_func
33947 /* System header to define __stub macros and hopefully few prototypes,
33948 which can conflict with char $ac_func (); below.
33949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33950 <limits.h> exists even on freestanding compilers. */
33953 # include <limits.h>
33955 # include <assert.h>
33960 /* Override any gcc2 internal prototype to avoid an error. */
33965 /* We use char because int might match the return type of a gcc2
33966 builtin and then its argument prototype would still apply. */
33968 /* The GNU C library defines this for functions which it implements
33969 to always fail with ENOSYS. Some functions are actually named
33970 something starting with __ and the normal name is an alias. */
33971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33974 char (*f) () = $ac_func;
33983 return f != $ac_func;
33988 rm -f conftest.
$ac_objext conftest
$ac_exeext
33989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33990 (eval $ac_link) 2>conftest.er1
33992 grep -v '^ *+' conftest.er1
>conftest.err
33994 cat conftest.err
>&5
33995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33996 (exit $ac_status); } &&
33997 { ac_try
='test -z "$ac_c_werror_flag"
33998 || test ! -s conftest.err'
33999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34000 (eval $ac_try) 2>&5
34002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34003 (exit $ac_status); }; } &&
34004 { ac_try
='test -s conftest$ac_exeext'
34005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34006 (eval $ac_try) 2>&5
34008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34009 (exit $ac_status); }; }; then
34010 eval "$as_ac_var=yes"
34012 echo "$as_me: failed program was:" >&5
34013 sed 's/^/| /' conftest.
$ac_ext >&5
34015 eval "$as_ac_var=no"
34017 rm -f conftest.err conftest.
$ac_objext \
34018 conftest
$ac_exeext conftest.
$ac_ext
34020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34021 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34022 if test `eval echo '${'$as_ac_var'}'` = yes; then
34023 cat >>confdefs.h
<<_ACEOF
34024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34026 cat >>confdefs.h
<<\_ACEOF
34027 #define HAVE_DLERROR 1
34032 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
34033 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
34034 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
34035 echo $ECHO_N "(cached) $ECHO_C" >&6
34037 ac_check_lib_save_LIBS
=$LIBS
34039 cat >conftest.
$ac_ext <<_ACEOF
34042 cat confdefs.h
>>conftest.
$ac_ext
34043 cat >>conftest.
$ac_ext <<_ACEOF
34044 /* end confdefs.h. */
34046 /* Override any gcc2 internal prototype to avoid an error. */
34050 /* We use char because int might match the return type of a gcc2
34051 builtin and then its argument prototype would still apply. */
34061 rm -f conftest.
$ac_objext conftest
$ac_exeext
34062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34063 (eval $ac_link) 2>conftest.er1
34065 grep -v '^ *+' conftest.er1
>conftest.err
34067 cat conftest.err
>&5
34068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34069 (exit $ac_status); } &&
34070 { ac_try
='test -z "$ac_c_werror_flag"
34071 || test ! -s conftest.err'
34072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34073 (eval $ac_try) 2>&5
34075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34076 (exit $ac_status); }; } &&
34077 { ac_try
='test -s conftest$ac_exeext'
34078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34079 (eval $ac_try) 2>&5
34081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34082 (exit $ac_status); }; }; then
34083 ac_cv_lib_dl_dlerror
=yes
34085 echo "$as_me: failed program was:" >&5
34086 sed 's/^/| /' conftest.
$ac_ext >&5
34088 ac_cv_lib_dl_dlerror
=no
34090 rm -f conftest.err conftest.
$ac_objext \
34091 conftest
$ac_exeext conftest.
$ac_ext
34092 LIBS
=$ac_check_lib_save_LIBS
34094 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
34095 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
34096 if test $ac_cv_lib_dl_dlerror = yes; then
34097 cat >>confdefs.h
<<\_ACEOF
34098 #define HAVE_DLERROR 1
34111 if test "$HAVE_DL_FUNCS" = 0; then
34112 if test "$HAVE_SHL_FUNCS" = 0; then
34113 if test "$USE_UNIX" = 1; then
34114 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
34115 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
34116 wxUSE_DYNAMIC_LOADER
=no
34117 wxUSE_DYNLIB_CLASS
=no
34119 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
34120 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
34127 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
34128 cat >>confdefs.h
<<\_ACEOF
34129 #define wxUSE_DYNAMIC_LOADER 1
34133 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
34134 cat >>confdefs.h
<<\_ACEOF
34135 #define wxUSE_DYNLIB_CLASS 1
34142 if test "$wxUSE_PLUGINS" = "yes" ; then
34143 if test "$wxUSE_SHARED" = "no" ; then
34144 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
34145 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
34148 if test "$wxUSE_MONOLITHIC" = "yes" ; then
34149 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
34150 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
34153 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
34154 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
34155 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
34158 if test "$wxUSE_PLUGINS" = "yes" ; then
34159 cat >>confdefs.h
<<\_ACEOF
34160 #define wxUSE_PLUGINS 1
34167 if test "$wxUSE_STL" = "yes"; then
34168 cat >>confdefs.h
<<\_ACEOF
34169 #define wxUSE_STL 1
34174 if test "$wxUSE_APPLE_IEEE" = "yes"; then
34175 cat >>confdefs.h
<<\_ACEOF
34176 #define wxUSE_APPLE_IEEE 1
34181 if test "$wxUSE_TIMER" = "yes"; then
34182 cat >>confdefs.h
<<\_ACEOF
34183 #define wxUSE_TIMER 1
34189 if test "$wxUSE_SOUND" = "yes"; then
34190 if test "$USE_UNIX" = "1" ; then
34192 for ac_header
in sys
/soundcard.h
34194 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34195 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34196 echo "$as_me:$LINENO: checking for $ac_header" >&5
34197 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34198 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34199 echo $ECHO_N "(cached) $ECHO_C" >&6
34201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34202 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34204 # Is the header compilable?
34205 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34206 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34207 cat >conftest.
$ac_ext <<_ACEOF
34210 cat confdefs.h
>>conftest.
$ac_ext
34211 cat >>conftest.
$ac_ext <<_ACEOF
34212 /* end confdefs.h. */
34213 $ac_includes_default
34214 #include <$ac_header>
34216 rm -f conftest.
$ac_objext
34217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34218 (eval $ac_compile) 2>conftest.er1
34220 grep -v '^ *+' conftest.er1
>conftest.err
34222 cat conftest.err
>&5
34223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34224 (exit $ac_status); } &&
34225 { ac_try
='test -z "$ac_c_werror_flag"
34226 || test ! -s conftest.err'
34227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34228 (eval $ac_try) 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 ac_header_compiler
=yes
34240 echo "$as_me: failed program was:" >&5
34241 sed 's/^/| /' conftest.
$ac_ext >&5
34243 ac_header_compiler
=no
34245 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34246 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34247 echo "${ECHO_T}$ac_header_compiler" >&6
34249 # Is the header present?
34250 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34251 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34252 cat >conftest.
$ac_ext <<_ACEOF
34255 cat confdefs.h
>>conftest.
$ac_ext
34256 cat >>conftest.
$ac_ext <<_ACEOF
34257 /* end confdefs.h. */
34258 #include <$ac_header>
34260 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34261 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
34263 grep -v '^ *+' conftest.er1
>conftest.err
34265 cat conftest.err
>&5
34266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34267 (exit $ac_status); } >/dev
/null
; then
34268 if test -s conftest.err
; then
34269 ac_cpp_err
=$ac_c_preproc_warn_flag
34270 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
34277 if test -z "$ac_cpp_err"; then
34278 ac_header_preproc
=yes
34280 echo "$as_me: failed program was:" >&5
34281 sed 's/^/| /' conftest.
$ac_ext >&5
34283 ac_header_preproc
=no
34285 rm -f conftest.err conftest.
$ac_ext
34286 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34287 echo "${ECHO_T}$ac_header_preproc" >&6
34289 # So? What about this header?
34290 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34292 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34293 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34294 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34295 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34296 ac_header_preproc
=yes
34299 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34300 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34301 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34302 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34303 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34304 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34305 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34306 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34307 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34308 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34309 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34310 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34313 ## ----------------------------------------- ##
34314 ## Report this to wx-dev@lists.wxwindows.org ##
34315 ## ----------------------------------------- ##
34318 sed "s/^/$as_me: WARNING: /" >&2
34321 echo "$as_me:$LINENO: checking for $ac_header" >&5
34322 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34323 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34324 echo $ECHO_N "(cached) $ECHO_C" >&6
34326 eval "$as_ac_Header=\$ac_header_preproc"
34328 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34329 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34332 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34333 cat >>confdefs.h
<<_ACEOF
34334 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34342 if test "$wxUSE_LIBSDL" != "no"; then
34344 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
34345 if test "${with_sdl_prefix+set}" = set; then
34346 withval
="$with_sdl_prefix"
34347 sdl_prefix
="$withval"
34352 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
34353 if test "${with_sdl_exec_prefix+set}" = set; then
34354 withval
="$with_sdl_exec_prefix"
34355 sdl_exec_prefix
="$withval"
34359 # Check whether --enable-sdltest or --disable-sdltest was given.
34360 if test "${enable_sdltest+set}" = set; then
34361 enableval
="$enable_sdltest"
34367 if test x
$sdl_exec_prefix != x
; then
34368 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
34369 if test x
${SDL_CONFIG+set} != xset
; then
34370 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
34373 if test x
$sdl_prefix != x
; then
34374 sdl_args
="$sdl_args --prefix=$sdl_prefix"
34375 if test x
${SDL_CONFIG+set} != xset
; then
34376 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
34381 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
34382 # Extract the first word of "sdl-config", so it can be a program name with args.
34383 set dummy sdl
-config; ac_word
=$2
34384 echo "$as_me:$LINENO: checking for $ac_word" >&5
34385 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34386 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
34387 echo $ECHO_N "(cached) $ECHO_C" >&6
34389 case $SDL_CONFIG in
34391 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
34394 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34395 for as_dir
in $PATH
34398 test -z "$as_dir" && as_dir
=.
34399 for ac_exec_ext
in '' $ac_executable_extensions; do
34400 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34401 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
34402 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34408 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
34412 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
34414 if test -n "$SDL_CONFIG"; then
34415 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
34416 echo "${ECHO_T}$SDL_CONFIG" >&6
34418 echo "$as_me:$LINENO: result: no" >&5
34419 echo "${ECHO_T}no" >&6
34422 min_sdl_version
=1.2.0
34423 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
34424 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
34426 if test "$SDL_CONFIG" = "no" ; then
34429 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
34430 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
34432 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
34433 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
34434 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
34435 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
34436 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
34437 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
34438 if test "x$enable_sdltest" = "xyes" ; then
34439 ac_save_CFLAGS
="$CFLAGS"
34440 ac_save_LIBS
="$LIBS"
34441 CFLAGS
="$CFLAGS $SDL_CFLAGS"
34442 LIBS
="$LIBS $SDL_LIBS"
34444 if test "$cross_compiling" = yes; then
34445 echo $ac_n "cross compiling; assumed OK... $ac_c"
34447 cat >conftest.
$ac_ext <<_ACEOF
34450 cat confdefs.h
>>conftest.
$ac_ext
34451 cat >>conftest.
$ac_ext <<_ACEOF
34452 /* end confdefs.h. */
34455 #include <stdlib.h>
34456 #include <string.h>
34460 my_strdup (char *str)
34466 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
34467 strcpy (new_str, str);
34475 int main (int argc, char *argv[])
34477 int major, minor, micro;
34480 /* This hangs on some systems (?)
34481 system ("touch conf.sdltest");
34483 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
34485 /* HP/UX 9 (%@#!) writes to sscanf strings */
34486 tmp_version = my_strdup("$min_sdl_version");
34487 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
34488 printf("%s, bad version string\n", "$min_sdl_version");
34492 if (($sdl_major_version > major) ||
34493 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
34494 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
34500 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
34501 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
34502 printf("*** best to upgrade to the required version.\n");
34503 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
34504 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
34505 printf("*** config.cache before re-running configure\n");
34512 rm -f conftest
$ac_exeext
34513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34514 (eval $ac_link) 2>&5
34516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34517 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
34518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34519 (eval $ac_try) 2>&5
34521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34522 (exit $ac_status); }; }; then
34525 echo "$as_me: program exited with status $ac_status" >&5
34526 echo "$as_me: failed program was:" >&5
34527 sed 's/^/| /' conftest.
$ac_ext >&5
34529 ( exit $ac_status )
34532 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
34534 CFLAGS
="$ac_save_CFLAGS"
34535 LIBS
="$ac_save_LIBS"
34538 if test "x$no_sdl" = x
; then
34539 echo "$as_me:$LINENO: result: yes" >&5
34540 echo "${ECHO_T}yes" >&6
34542 EXTRALIBS_SDL
="$SDL_LIBS"
34543 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
34544 cat >>confdefs.h
<<\_ACEOF
34545 #define wxUSE_LIBSDL 1
34550 echo "$as_me:$LINENO: result: no" >&5
34551 echo "${ECHO_T}no" >&6
34552 if test "$SDL_CONFIG" = "no" ; then
34553 echo "*** The sdl-config script installed by SDL could not be found"
34554 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
34555 echo "*** your path, or set the SDL_CONFIG environment variable to the"
34556 echo "*** full path to sdl-config."
34558 if test -f conf.sdltest
; then
34561 echo "*** Could not run SDL test program, checking why..."
34562 CFLAGS
="$CFLAGS $SDL_CFLAGS"
34563 LIBS
="$LIBS $SDL_LIBS"
34564 cat >conftest.
$ac_ext <<_ACEOF
34567 cat confdefs.h
>>conftest.
$ac_ext
34568 cat >>conftest.
$ac_ext <<_ACEOF
34569 /* end confdefs.h. */
34574 int main(int argc, char *argv[])
34577 #define main K_and_R_C_main
34587 rm -f conftest.
$ac_objext conftest
$ac_exeext
34588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34589 (eval $ac_link) 2>conftest.er1
34591 grep -v '^ *+' conftest.er1
>conftest.err
34593 cat conftest.err
>&5
34594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34595 (exit $ac_status); } &&
34596 { ac_try
='test -z "$ac_c_werror_flag"
34597 || test ! -s conftest.err'
34598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34599 (eval $ac_try) 2>&5
34601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34602 (exit $ac_status); }; } &&
34603 { ac_try
='test -s conftest$ac_exeext'
34604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34605 (eval $ac_try) 2>&5
34607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34608 (exit $ac_status); }; }; then
34609 echo "*** The test program compiled, but did not run. This usually means"
34610 echo "*** that the run-time linker is not finding SDL or finding the wrong"
34611 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
34612 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
34613 echo "*** to the installed location Also, make sure you have run ldconfig if that"
34614 echo "*** is required on your system"
34616 echo "*** If you have an old version installed, it is best to remove it, although"
34617 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
34619 echo "$as_me: failed program was:" >&5
34620 sed 's/^/| /' conftest.
$ac_ext >&5
34622 echo "*** The test program failed to compile or link. See the file config.log for the"
34623 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
34624 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
34625 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
34627 rm -f conftest.err conftest.
$ac_objext \
34628 conftest
$ac_exeext conftest.
$ac_ext
34629 CFLAGS
="$ac_save_CFLAGS"
34630 LIBS
="$ac_save_LIBS"
34641 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
34647 cat >>confdefs.h
<<\_ACEOF
34648 #define wxUSE_SOUND 1
34651 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
34654 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34655 cat >>confdefs.h
<<\_ACEOF
34656 #define wxUSE_CMDLINE_PARSER 1
34661 if test "$wxUSE_STOPWATCH" = "yes"; then
34662 cat >>confdefs.h
<<\_ACEOF
34663 #define wxUSE_STOPWATCH 1
34668 if test "$wxUSE_DATETIME" = "yes"; then
34669 cat >>confdefs.h
<<\_ACEOF
34670 #define wxUSE_DATETIME 1
34675 if test "$wxUSE_FILE" = "yes"; then
34676 cat >>confdefs.h
<<\_ACEOF
34677 #define wxUSE_FILE 1
34682 if test "$wxUSE_FFILE" = "yes"; then
34683 cat >>confdefs.h
<<\_ACEOF
34684 #define wxUSE_FFILE 1
34689 if test "$wxUSE_FILESYSTEM" = "yes"; then
34690 cat >>confdefs.h
<<\_ACEOF
34691 #define wxUSE_FILESYSTEM 1
34696 if test "$wxUSE_FS_ZIP" = "yes"; then
34697 cat >>confdefs.h
<<\_ACEOF
34698 #define wxUSE_FS_ZIP 1
34703 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34704 cat >>confdefs.h
<<\_ACEOF
34705 #define wxUSE_ZIPSTREAM 1
34710 if test "$wxUSE_GZSTREAM" = "yes"; then
34711 cat >>confdefs.h
<<\_ACEOF
34712 #define wxUSE_GZSTREAM 1
34717 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34718 cat >>confdefs.h
<<\_ACEOF
34719 #define wxUSE_ON_FATAL_EXCEPTION 1
34724 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34725 cat >>confdefs.h
<<\_ACEOF
34726 #define wxUSE_SNGLINST_CHECKER 1
34731 if test "$wxUSE_BUSYINFO" = "yes"; then
34732 cat >>confdefs.h
<<\_ACEOF
34733 #define wxUSE_BUSYINFO 1
34738 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34739 cat >>confdefs.h
<<\_ACEOF
34740 #define wxUSE_STD_IOSTREAM 1
34745 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34746 cat >>confdefs.h
<<\_ACEOF
34747 #define wxUSE_TEXTBUFFER 1
34752 if test "$wxUSE_TEXTFILE" = "yes"; then
34753 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34754 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34755 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34757 cat >>confdefs.h
<<\_ACEOF
34758 #define wxUSE_TEXTFILE 1
34764 if test "$wxUSE_CONFIG" = "yes" ; then
34765 if test "$wxUSE_TEXTFILE" != "yes"; then
34766 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
34767 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34769 cat >>confdefs.h
<<\_ACEOF
34770 #define wxUSE_CONFIG 1
34773 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
34777 if test "$wxUSE_INTL" = "yes" ; then
34778 if test "$wxUSE_FILE" != "yes"; then
34779 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
34780 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34782 cat >>confdefs.h
<<\_ACEOF
34783 #define wxUSE_INTL 1
34786 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
34787 GUIDIST
="$GUIDIST INTL_DIST"
34791 if test "$wxUSE_LOG" = "yes"; then
34792 cat >>confdefs.h
<<\_ACEOF
34793 #define wxUSE_LOG 1
34797 if test "$wxUSE_LOGGUI" = "yes"; then
34798 cat >>confdefs.h
<<\_ACEOF
34799 #define wxUSE_LOGGUI 1
34804 if test "$wxUSE_LOGWINDOW" = "yes"; then
34805 cat >>confdefs.h
<<\_ACEOF
34806 #define wxUSE_LOGWINDOW 1
34811 if test "$wxUSE_LOGDIALOG" = "yes"; then
34812 cat >>confdefs.h
<<\_ACEOF
34813 #define wxUSE_LOG_DIALOG 1
34819 if test "$wxUSE_LONGLONG" = "yes"; then
34820 cat >>confdefs.h
<<\_ACEOF
34821 #define wxUSE_LONGLONG 1
34826 if test "$wxUSE_GEOMETRY" = "yes"; then
34827 cat >>confdefs.h
<<\_ACEOF
34828 #define wxUSE_GEOMETRY 1
34833 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
34834 cat >>confdefs.h
<<\_ACEOF
34835 #define wxUSE_DIALUP_MANAGER 1
34838 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
34841 if test "$wxUSE_STREAMS" = "yes" ; then
34842 cat >>confdefs.h
<<\_ACEOF
34843 #define wxUSE_STREAMS 1
34849 if test "$wxUSE_DATETIME" = "yes"; then
34851 for ac_func
in strptime
34853 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34854 echo "$as_me:$LINENO: checking for $ac_func" >&5
34855 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34856 if eval "test \"\${$as_ac_var+set}\" = set"; then
34857 echo $ECHO_N "(cached) $ECHO_C" >&6
34859 cat >conftest.
$ac_ext <<_ACEOF
34862 cat confdefs.h
>>conftest.
$ac_ext
34863 cat >>conftest.
$ac_ext <<_ACEOF
34864 /* end confdefs.h. */
34865 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34867 #define $ac_func innocuous_$ac_func
34869 /* System header to define __stub macros and hopefully few prototypes,
34870 which can conflict with char $ac_func (); below.
34871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34872 <limits.h> exists even on freestanding compilers. */
34875 # include <limits.h>
34877 # include <assert.h>
34882 /* Override any gcc2 internal prototype to avoid an error. */
34887 /* We use char because int might match the return type of a gcc2
34888 builtin and then its argument prototype would still apply. */
34890 /* The GNU C library defines this for functions which it implements
34891 to always fail with ENOSYS. Some functions are actually named
34892 something starting with __ and the normal name is an alias. */
34893 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34896 char (*f) () = $ac_func;
34905 return f != $ac_func;
34910 rm -f conftest.
$ac_objext conftest
$ac_exeext
34911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34912 (eval $ac_link) 2>conftest.er1
34914 grep -v '^ *+' conftest.er1
>conftest.err
34916 cat conftest.err
>&5
34917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34918 (exit $ac_status); } &&
34919 { ac_try
='test -z "$ac_c_werror_flag"
34920 || test ! -s conftest.err'
34921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34922 (eval $ac_try) 2>&5
34924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34925 (exit $ac_status); }; } &&
34926 { ac_try
='test -s conftest$ac_exeext'
34927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34928 (eval $ac_try) 2>&5
34930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34931 (exit $ac_status); }; }; then
34932 eval "$as_ac_var=yes"
34934 echo "$as_me: failed program was:" >&5
34935 sed 's/^/| /' conftest.
$ac_ext >&5
34937 eval "$as_ac_var=no"
34939 rm -f conftest.err conftest.
$ac_objext \
34940 conftest
$ac_exeext conftest.
$ac_ext
34942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34943 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34944 if test `eval echo '${'$as_ac_var'}'` = yes; then
34945 cat >>confdefs.h
<<_ACEOF
34946 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34953 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
34954 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
34955 if test "${wx_cv_var_timezone+set}" = set; then
34956 echo $ECHO_N "(cached) $ECHO_C" >&6
34959 cat >conftest.
$ac_ext <<_ACEOF
34962 cat confdefs.h
>>conftest.
$ac_ext
34963 cat >>conftest.
$ac_ext <<_ACEOF
34964 /* end confdefs.h. */
34979 rm -f conftest.
$ac_objext
34980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34981 (eval $ac_compile) 2>conftest.er1
34983 grep -v '^ *+' conftest.er1
>conftest.err
34985 cat conftest.err
>&5
34986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34987 (exit $ac_status); } &&
34988 { ac_try
='test -z "$ac_c_werror_flag"
34989 || test ! -s conftest.err'
34990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34991 (eval $ac_try) 2>&5
34993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34994 (exit $ac_status); }; } &&
34995 { ac_try
='test -s conftest.$ac_objext'
34996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34997 (eval $ac_try) 2>&5
34999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35000 (exit $ac_status); }; }; then
35002 wx_cv_var_timezone
=timezone
35005 echo "$as_me: failed program was:" >&5
35006 sed 's/^/| /' conftest.
$ac_ext >&5
35009 cat >conftest.
$ac_ext <<_ACEOF
35012 cat confdefs.h
>>conftest.
$ac_ext
35013 cat >>conftest.
$ac_ext <<_ACEOF
35014 /* end confdefs.h. */
35029 rm -f conftest.
$ac_objext
35030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35031 (eval $ac_compile) 2>conftest.er1
35033 grep -v '^ *+' conftest.er1
>conftest.err
35035 cat conftest.err
>&5
35036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35037 (exit $ac_status); } &&
35038 { ac_try
='test -z "$ac_c_werror_flag"
35039 || test ! -s conftest.err'
35040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35041 (eval $ac_try) 2>&5
35043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35044 (exit $ac_status); }; } &&
35045 { ac_try
='test -s conftest.$ac_objext'
35046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35047 (eval $ac_try) 2>&5
35049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35050 (exit $ac_status); }; }; then
35052 wx_cv_var_timezone
=_timezone
35055 echo "$as_me: failed program was:" >&5
35056 sed 's/^/| /' conftest.
$ac_ext >&5
35059 cat >conftest.
$ac_ext <<_ACEOF
35062 cat confdefs.h
>>conftest.
$ac_ext
35063 cat >>conftest.
$ac_ext <<_ACEOF
35064 /* end confdefs.h. */
35079 rm -f conftest.
$ac_objext
35080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35081 (eval $ac_compile) 2>conftest.er1
35083 grep -v '^ *+' conftest.er1
>conftest.err
35085 cat conftest.err
>&5
35086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35087 (exit $ac_status); } &&
35088 { ac_try
='test -z "$ac_c_werror_flag"
35089 || test ! -s conftest.err'
35090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35091 (eval $ac_try) 2>&5
35093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35094 (exit $ac_status); }; } &&
35095 { ac_try
='test -s conftest.$ac_objext'
35096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35097 (eval $ac_try) 2>&5
35099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35100 (exit $ac_status); }; }; then
35102 wx_cv_var_timezone
=__timezone
35105 echo "$as_me: failed program was:" >&5
35106 sed 's/^/| /' conftest.
$ac_ext >&5
35109 if test "$USE_DOS" = 0 ; then
35110 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
35111 echo "$as_me: WARNING: no timezone variable" >&2;}
35116 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35120 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35124 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35128 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
35129 echo "${ECHO_T}$wx_cv_var_timezone" >&6
35131 if test "x$wx_cv_var_timezone" != x
; then
35132 cat >>confdefs.h
<<_ACEOF
35133 #define WX_TIMEZONE $wx_cv_var_timezone
35139 for ac_func
in localtime
35141 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35142 echo "$as_me:$LINENO: checking for $ac_func" >&5
35143 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35144 if eval "test \"\${$as_ac_var+set}\" = set"; then
35145 echo $ECHO_N "(cached) $ECHO_C" >&6
35147 cat >conftest.
$ac_ext <<_ACEOF
35150 cat confdefs.h
>>conftest.
$ac_ext
35151 cat >>conftest.
$ac_ext <<_ACEOF
35152 /* end confdefs.h. */
35153 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35154 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35155 #define $ac_func innocuous_$ac_func
35157 /* System header to define __stub macros and hopefully few prototypes,
35158 which can conflict with char $ac_func (); below.
35159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35160 <limits.h> exists even on freestanding compilers. */
35163 # include <limits.h>
35165 # include <assert.h>
35170 /* Override any gcc2 internal prototype to avoid an error. */
35175 /* We use char because int might match the return type of a gcc2
35176 builtin and then its argument prototype would still apply. */
35178 /* The GNU C library defines this for functions which it implements
35179 to always fail with ENOSYS. Some functions are actually named
35180 something starting with __ and the normal name is an alias. */
35181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35184 char (*f) () = $ac_func;
35193 return f != $ac_func;
35198 rm -f conftest.
$ac_objext conftest
$ac_exeext
35199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35200 (eval $ac_link) 2>conftest.er1
35202 grep -v '^ *+' conftest.er1
>conftest.err
35204 cat conftest.err
>&5
35205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35206 (exit $ac_status); } &&
35207 { ac_try
='test -z "$ac_c_werror_flag"
35208 || test ! -s conftest.err'
35209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35210 (eval $ac_try) 2>&5
35212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35213 (exit $ac_status); }; } &&
35214 { ac_try
='test -s conftest$ac_exeext'
35215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35216 (eval $ac_try) 2>&5
35218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35219 (exit $ac_status); }; }; then
35220 eval "$as_ac_var=yes"
35222 echo "$as_me: failed program was:" >&5
35223 sed 's/^/| /' conftest.
$ac_ext >&5
35225 eval "$as_ac_var=no"
35227 rm -f conftest.err conftest.
$ac_objext \
35228 conftest
$ac_exeext conftest.
$ac_ext
35230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35231 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35232 if test `eval echo '${'$as_ac_var'}'` = yes; then
35233 cat >>confdefs.h
<<_ACEOF
35234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35241 if test "$ac_cv_func_localtime" = "yes"; then
35242 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
35243 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
35244 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
35245 echo $ECHO_N "(cached) $ECHO_C" >&6
35248 cat >conftest.
$ac_ext <<_ACEOF
35251 cat confdefs.h
>>conftest.
$ac_ext
35252 cat >>conftest.
$ac_ext <<_ACEOF
35253 /* end confdefs.h. */
35268 rm -f conftest.
$ac_objext
35269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35270 (eval $ac_compile) 2>conftest.er1
35272 grep -v '^ *+' conftest.er1
>conftest.err
35274 cat conftest.err
>&5
35275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35276 (exit $ac_status); } &&
35277 { ac_try
='test -z "$ac_c_werror_flag"
35278 || test ! -s conftest.err'
35279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35280 (eval $ac_try) 2>&5
35282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35283 (exit $ac_status); }; } &&
35284 { ac_try
='test -s conftest.$ac_objext'
35285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35286 (eval $ac_try) 2>&5
35288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35289 (exit $ac_status); }; }; then
35291 wx_cv_struct_tm_has_gmtoff
=yes
35294 echo "$as_me: failed program was:" >&5
35295 sed 's/^/| /' conftest.
$ac_ext >&5
35297 wx_cv_struct_tm_has_gmtoff
=no
35300 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35303 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
35304 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
35307 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35308 cat >>confdefs.h
<<\_ACEOF
35309 #define WX_GMTOFF_IN_TM 1
35316 for ac_func
in gettimeofday ftime
35318 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35319 echo "$as_me:$LINENO: checking for $ac_func" >&5
35320 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35321 if eval "test \"\${$as_ac_var+set}\" = set"; then
35322 echo $ECHO_N "(cached) $ECHO_C" >&6
35324 cat >conftest.
$ac_ext <<_ACEOF
35327 cat confdefs.h
>>conftest.
$ac_ext
35328 cat >>conftest.
$ac_ext <<_ACEOF
35329 /* end confdefs.h. */
35330 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35331 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35332 #define $ac_func innocuous_$ac_func
35334 /* System header to define __stub macros and hopefully few prototypes,
35335 which can conflict with char $ac_func (); below.
35336 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35337 <limits.h> exists even on freestanding compilers. */
35340 # include <limits.h>
35342 # include <assert.h>
35347 /* Override any gcc2 internal prototype to avoid an error. */
35352 /* We use char because int might match the return type of a gcc2
35353 builtin and then its argument prototype would still apply. */
35355 /* The GNU C library defines this for functions which it implements
35356 to always fail with ENOSYS. Some functions are actually named
35357 something starting with __ and the normal name is an alias. */
35358 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35361 char (*f) () = $ac_func;
35370 return f != $ac_func;
35375 rm -f conftest.
$ac_objext conftest
$ac_exeext
35376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35377 (eval $ac_link) 2>conftest.er1
35379 grep -v '^ *+' conftest.er1
>conftest.err
35381 cat conftest.err
>&5
35382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35383 (exit $ac_status); } &&
35384 { ac_try
='test -z "$ac_c_werror_flag"
35385 || test ! -s conftest.err'
35386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35387 (eval $ac_try) 2>&5
35389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35390 (exit $ac_status); }; } &&
35391 { ac_try
='test -s conftest$ac_exeext'
35392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35393 (eval $ac_try) 2>&5
35395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35396 (exit $ac_status); }; }; then
35397 eval "$as_ac_var=yes"
35399 echo "$as_me: failed program was:" >&5
35400 sed 's/^/| /' conftest.
$ac_ext >&5
35402 eval "$as_ac_var=no"
35404 rm -f conftest.err conftest.
$ac_objext \
35405 conftest
$ac_exeext conftest.
$ac_ext
35407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35408 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35409 if test `eval echo '${'$as_ac_var'}'` = yes; then
35410 cat >>confdefs.h
<<_ACEOF
35411 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35418 if test "$ac_cv_func_gettimeofday" = "yes"; then
35419 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
35420 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
35421 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
35422 echo $ECHO_N "(cached) $ECHO_C" >&6
35428 ac_cpp
='$CXXCPP $CPPFLAGS'
35429 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35430 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35431 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35434 cat >conftest.
$ac_ext <<_ACEOF
35437 cat confdefs.h
>>conftest.
$ac_ext
35438 cat >>conftest.
$ac_ext <<_ACEOF
35439 /* end confdefs.h. */
35441 #include <sys/time.h>
35442 #include <unistd.h>
35449 gettimeofday(&tv, NULL);
35455 rm -f conftest.
$ac_objext
35456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35457 (eval $ac_compile) 2>conftest.er1
35459 grep -v '^ *+' conftest.er1
>conftest.err
35461 cat conftest.err
>&5
35462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35463 (exit $ac_status); } &&
35464 { ac_try
='test -z "$ac_cxx_werror_flag"
35465 || test ! -s conftest.err'
35466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35467 (eval $ac_try) 2>&5
35469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35470 (exit $ac_status); }; } &&
35471 { ac_try
='test -s conftest.$ac_objext'
35472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35473 (eval $ac_try) 2>&5
35475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35476 (exit $ac_status); }; }; then
35477 wx_cv_func_gettimeofday_has_2_args
=yes
35479 echo "$as_me: failed program was:" >&5
35480 sed 's/^/| /' conftest.
$ac_ext >&5
35482 cat >conftest.
$ac_ext <<_ACEOF
35485 cat confdefs.h
>>conftest.
$ac_ext
35486 cat >>conftest.
$ac_ext <<_ACEOF
35487 /* end confdefs.h. */
35489 #include <sys/time.h>
35490 #include <unistd.h>
35503 rm -f conftest.
$ac_objext
35504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35505 (eval $ac_compile) 2>conftest.er1
35507 grep -v '^ *+' conftest.er1
>conftest.err
35509 cat conftest.err
>&5
35510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35511 (exit $ac_status); } &&
35512 { ac_try
='test -z "$ac_cxx_werror_flag"
35513 || test ! -s conftest.err'
35514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35515 (eval $ac_try) 2>&5
35517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35518 (exit $ac_status); }; } &&
35519 { ac_try
='test -s conftest.$ac_objext'
35520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35521 (eval $ac_try) 2>&5
35523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35524 (exit $ac_status); }; }; then
35525 wx_cv_func_gettimeofday_has_2_args
=no
35527 echo "$as_me: failed program was:" >&5
35528 sed 's/^/| /' conftest.
$ac_ext >&5
35531 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
35532 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
35533 wx_cv_func_gettimeofday_has_2_args
=unknown
35537 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35540 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35542 ac_cpp
='$CPP $CPPFLAGS'
35543 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35544 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35545 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35549 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
35550 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
35552 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
35553 cat >>confdefs.h
<<\_ACEOF
35554 #define WX_GETTIMEOFDAY_NO_TZ 1
35560 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
35564 if test "$wxUSE_SOCKETS" = "yes"; then
35565 if test "$wxUSE_MGL" = "1"; then
35566 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
35567 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
35572 if test "$wxUSE_SOCKETS" = "yes"; then
35573 if test "$TOOLKIT" != "MSW"; then
35574 echo "$as_me:$LINENO: checking for socket" >&5
35575 echo $ECHO_N "checking for socket... $ECHO_C" >&6
35576 if test "${ac_cv_func_socket+set}" = set; then
35577 echo $ECHO_N "(cached) $ECHO_C" >&6
35579 cat >conftest.
$ac_ext <<_ACEOF
35582 cat confdefs.h
>>conftest.
$ac_ext
35583 cat >>conftest.
$ac_ext <<_ACEOF
35584 /* end confdefs.h. */
35585 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
35586 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35587 #define socket innocuous_socket
35589 /* System header to define __stub macros and hopefully few prototypes,
35590 which can conflict with char socket (); below.
35591 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35592 <limits.h> exists even on freestanding compilers. */
35595 # include <limits.h>
35597 # include <assert.h>
35602 /* Override any gcc2 internal prototype to avoid an error. */
35607 /* We use char because int might match the return type of a gcc2
35608 builtin and then its argument prototype would still apply. */
35610 /* The GNU C library defines this for functions which it implements
35611 to always fail with ENOSYS. Some functions are actually named
35612 something starting with __ and the normal name is an alias. */
35613 #if defined (__stub_socket) || defined (__stub___socket)
35616 char (*f) () = socket;
35625 return f != socket;
35630 rm -f conftest.
$ac_objext conftest
$ac_exeext
35631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35632 (eval $ac_link) 2>conftest.er1
35634 grep -v '^ *+' conftest.er1
>conftest.err
35636 cat conftest.err
>&5
35637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35638 (exit $ac_status); } &&
35639 { ac_try
='test -z "$ac_c_werror_flag"
35640 || test ! -s conftest.err'
35641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35642 (eval $ac_try) 2>&5
35644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35645 (exit $ac_status); }; } &&
35646 { ac_try
='test -s conftest$ac_exeext'
35647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35648 (eval $ac_try) 2>&5
35650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35651 (exit $ac_status); }; }; then
35652 ac_cv_func_socket
=yes
35654 echo "$as_me: failed program was:" >&5
35655 sed 's/^/| /' conftest.
$ac_ext >&5
35657 ac_cv_func_socket
=no
35659 rm -f conftest.err conftest.
$ac_objext \
35660 conftest
$ac_exeext conftest.
$ac_ext
35662 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
35663 echo "${ECHO_T}$ac_cv_func_socket" >&6
35664 if test $ac_cv_func_socket = yes; then
35668 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
35669 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
35670 if test "${ac_cv_lib_socket_socket+set}" = set; then
35671 echo $ECHO_N "(cached) $ECHO_C" >&6
35673 ac_check_lib_save_LIBS
=$LIBS
35674 LIBS
="-lsocket $LIBS"
35675 cat >conftest.
$ac_ext <<_ACEOF
35678 cat confdefs.h
>>conftest.
$ac_ext
35679 cat >>conftest.
$ac_ext <<_ACEOF
35680 /* end confdefs.h. */
35682 /* Override any gcc2 internal prototype to avoid an error. */
35686 /* We use char because int might match the return type of a gcc2
35687 builtin and then its argument prototype would still apply. */
35697 rm -f conftest.
$ac_objext conftest
$ac_exeext
35698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35699 (eval $ac_link) 2>conftest.er1
35701 grep -v '^ *+' conftest.er1
>conftest.err
35703 cat conftest.err
>&5
35704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35705 (exit $ac_status); } &&
35706 { ac_try
='test -z "$ac_c_werror_flag"
35707 || test ! -s conftest.err'
35708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35709 (eval $ac_try) 2>&5
35711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35712 (exit $ac_status); }; } &&
35713 { ac_try
='test -s conftest$ac_exeext'
35714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35715 (eval $ac_try) 2>&5
35717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35718 (exit $ac_status); }; }; then
35719 ac_cv_lib_socket_socket
=yes
35721 echo "$as_me: failed program was:" >&5
35722 sed 's/^/| /' conftest.
$ac_ext >&5
35724 ac_cv_lib_socket_socket
=no
35726 rm -f conftest.err conftest.
$ac_objext \
35727 conftest
$ac_exeext conftest.
$ac_ext
35728 LIBS
=$ac_check_lib_save_LIBS
35730 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
35731 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
35732 if test $ac_cv_lib_socket_socket = yes; then
35733 if test "$INET_LINK" != " -lsocket"; then
35734 INET_LINK
="$INET_LINK -lsocket"
35738 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
35739 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35752 if test "$wxUSE_SOCKETS" = "yes" ; then
35753 if test "$TOOLKIT" != "MSW"; then
35754 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
35755 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
35756 if test "${wx_cv_type_getsockname3+set}" = set; then
35757 echo $ECHO_N "(cached) $ECHO_C" >&6
35760 cat >conftest.
$ac_ext <<_ACEOF
35763 cat confdefs.h
>>conftest.
$ac_ext
35764 cat >>conftest.
$ac_ext <<_ACEOF
35765 /* end confdefs.h. */
35767 #include <sys/types.h>
35768 #include <sys/socket.h>
35775 getsockname(0, 0, &len);
35781 rm -f conftest.
$ac_objext
35782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35783 (eval $ac_compile) 2>conftest.er1
35785 grep -v '^ *+' conftest.er1
>conftest.err
35787 cat conftest.err
>&5
35788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35789 (exit $ac_status); } &&
35790 { ac_try
='test -z "$ac_c_werror_flag"
35791 || test ! -s conftest.err'
35792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35793 (eval $ac_try) 2>&5
35795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35796 (exit $ac_status); }; } &&
35797 { ac_try
='test -s conftest.$ac_objext'
35798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35799 (eval $ac_try) 2>&5
35801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35802 (exit $ac_status); }; }; then
35803 wx_cv_type_getsockname3
=socklen_t
35805 echo "$as_me: failed program was:" >&5
35806 sed 's/^/| /' conftest.
$ac_ext >&5
35809 CFLAGS_OLD
="$CFLAGS"
35810 if test "$GCC" = yes ; then
35811 CFLAGS
="$CFLAGS -Werror"
35814 cat >conftest.
$ac_ext <<_ACEOF
35817 cat confdefs.h
>>conftest.
$ac_ext
35818 cat >>conftest.
$ac_ext <<_ACEOF
35819 /* end confdefs.h. */
35821 #include <sys/types.h>
35822 #include <sys/socket.h>
35829 getsockname(0, 0, &len);
35835 rm -f conftest.
$ac_objext
35836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35837 (eval $ac_compile) 2>conftest.er1
35839 grep -v '^ *+' conftest.er1
>conftest.err
35841 cat conftest.err
>&5
35842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35843 (exit $ac_status); } &&
35844 { ac_try
='test -z "$ac_c_werror_flag"
35845 || test ! -s conftest.err'
35846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35847 (eval $ac_try) 2>&5
35849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35850 (exit $ac_status); }; } &&
35851 { ac_try
='test -s conftest.$ac_objext'
35852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35853 (eval $ac_try) 2>&5
35855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35856 (exit $ac_status); }; }; then
35857 wx_cv_type_getsockname3
=size_t
35859 echo "$as_me: failed program was:" >&5
35860 sed 's/^/| /' conftest.
$ac_ext >&5
35862 cat >conftest.
$ac_ext <<_ACEOF
35865 cat confdefs.h
>>conftest.
$ac_ext
35866 cat >>conftest.
$ac_ext <<_ACEOF
35867 /* end confdefs.h. */
35869 #include <sys/types.h>
35870 #include <sys/socket.h>
35877 getsockname(0, 0, &len);
35883 rm -f conftest.
$ac_objext
35884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35885 (eval $ac_compile) 2>conftest.er1
35887 grep -v '^ *+' conftest.er1
>conftest.err
35889 cat conftest.err
>&5
35890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35891 (exit $ac_status); } &&
35892 { ac_try
='test -z "$ac_c_werror_flag"
35893 || test ! -s conftest.err'
35894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35895 (eval $ac_try) 2>&5
35897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35898 (exit $ac_status); }; } &&
35899 { ac_try
='test -s conftest.$ac_objext'
35900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35901 (eval $ac_try) 2>&5
35903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35904 (exit $ac_status); }; }; then
35905 wx_cv_type_getsockname3
=int
35907 echo "$as_me: failed program was:" >&5
35908 sed 's/^/| /' conftest.
$ac_ext >&5
35910 wx_cv_type_getsockname3
=unknown
35913 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35916 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35918 CFLAGS
="$CFLAGS_OLD"
35922 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35925 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
35926 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
35928 if test "$wx_cv_type_getsockname3" = "unknown"; then
35930 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
35931 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35933 cat >>confdefs.h
<<_ACEOF
35934 #define SOCKLEN_T $wx_cv_type_getsockname3
35941 if test "$wxUSE_SOCKETS" = "yes" ; then
35942 cat >>confdefs.h
<<\_ACEOF
35943 #define wxUSE_SOCKETS 1
35946 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
35949 if test "$wxUSE_PROTOCOL" = "yes"; then
35950 if test "$wxUSE_SOCKETS" != "yes"; then
35951 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
35952 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35957 if test "$wxUSE_PROTOCOL" = "yes"; then
35958 cat >>confdefs.h
<<\_ACEOF
35959 #define wxUSE_PROTOCOL 1
35963 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35964 cat >>confdefs.h
<<\_ACEOF
35965 #define wxUSE_PROTOCOL_HTTP 1
35969 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35970 cat >>confdefs.h
<<\_ACEOF
35971 #define wxUSE_PROTOCOL_FTP 1
35975 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35976 cat >>confdefs.h
<<\_ACEOF
35977 #define wxUSE_PROTOCOL_FILE 1
35982 if test "$wxUSE_FS_INET" = "yes"; then
35983 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35984 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35989 if test "$wxUSE_URL" = "yes"; then
35990 if test "$wxUSE_PROTOCOL" != "yes"; then
35991 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
35992 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35995 if test "$wxUSE_URL" = "yes"; then
35996 cat >>confdefs.h
<<\_ACEOF
35997 #define wxUSE_URL 1
36003 if test "$wxUSE_FS_INET" = "yes"; then
36004 cat >>confdefs.h
<<\_ACEOF
36005 #define wxUSE_FS_INET 1
36011 if test "$wxUSE_GUI" = "yes"; then
36013 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
36014 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
36015 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
36019 if test "$TOOLKIT" != "MSW"; then
36020 if test "$wxUSE_JOYSTICK" = "yes"; then
36022 for ac_header
in linux
/joystick.h
36024 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36025 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36026 echo "$as_me:$LINENO: checking for $ac_header" >&5
36027 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36028 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36029 echo $ECHO_N "(cached) $ECHO_C" >&6
36031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36032 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36034 # Is the header compilable?
36035 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36036 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36037 cat >conftest.
$ac_ext <<_ACEOF
36040 cat confdefs.h
>>conftest.
$ac_ext
36041 cat >>conftest.
$ac_ext <<_ACEOF
36042 /* end confdefs.h. */
36043 $ac_includes_default
36044 #include <$ac_header>
36046 rm -f conftest.
$ac_objext
36047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36048 (eval $ac_compile) 2>conftest.er1
36050 grep -v '^ *+' conftest.er1
>conftest.err
36052 cat conftest.err
>&5
36053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36054 (exit $ac_status); } &&
36055 { ac_try
='test -z "$ac_c_werror_flag"
36056 || test ! -s conftest.err'
36057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36058 (eval $ac_try) 2>&5
36060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36061 (exit $ac_status); }; } &&
36062 { ac_try
='test -s conftest.$ac_objext'
36063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36064 (eval $ac_try) 2>&5
36066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36067 (exit $ac_status); }; }; then
36068 ac_header_compiler
=yes
36070 echo "$as_me: failed program was:" >&5
36071 sed 's/^/| /' conftest.
$ac_ext >&5
36073 ac_header_compiler
=no
36075 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36076 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36077 echo "${ECHO_T}$ac_header_compiler" >&6
36079 # Is the header present?
36080 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36081 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36082 cat >conftest.
$ac_ext <<_ACEOF
36085 cat confdefs.h
>>conftest.
$ac_ext
36086 cat >>conftest.
$ac_ext <<_ACEOF
36087 /* end confdefs.h. */
36088 #include <$ac_header>
36090 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36091 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36093 grep -v '^ *+' conftest.er1
>conftest.err
36095 cat conftest.err
>&5
36096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36097 (exit $ac_status); } >/dev
/null
; then
36098 if test -s conftest.err
; then
36099 ac_cpp_err
=$ac_c_preproc_warn_flag
36100 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36107 if test -z "$ac_cpp_err"; then
36108 ac_header_preproc
=yes
36110 echo "$as_me: failed program was:" >&5
36111 sed 's/^/| /' conftest.
$ac_ext >&5
36113 ac_header_preproc
=no
36115 rm -f conftest.err conftest.
$ac_ext
36116 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36117 echo "${ECHO_T}$ac_header_preproc" >&6
36119 # So? What about this header?
36120 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36122 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36123 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36124 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36125 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36126 ac_header_preproc
=yes
36129 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36130 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36131 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36132 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36133 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36134 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36135 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36136 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36137 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36138 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36139 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36140 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36143 ## ----------------------------------------- ##
36144 ## Report this to wx-dev@lists.wxwindows.org ##
36145 ## ----------------------------------------- ##
36148 sed "s/^/$as_me: WARNING: /" >&2
36151 echo "$as_me:$LINENO: checking for $ac_header" >&5
36152 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36153 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36154 echo $ECHO_N "(cached) $ECHO_C" >&6
36156 eval "$as_ac_Header=\$ac_header_preproc"
36158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36159 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36162 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36163 cat >>confdefs.h
<<_ACEOF
36164 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36171 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
36173 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
36174 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
36179 if test "$wxUSE_JOYSTICK" = "yes"; then
36180 cat >>confdefs.h
<<\_ACEOF
36181 #define wxUSE_JOYSTICK 1
36184 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
36190 if test "$wxUSE_FONTMAP" = "yes" ; then
36191 cat >>confdefs.h
<<\_ACEOF
36192 #define wxUSE_FONTMAP 1
36197 if test "$wxUSE_UNICODE" = "yes" ; then
36198 cat >>confdefs.h
<<\_ACEOF
36199 #define wxUSE_UNICODE 1
36203 if test "$USE_WIN32" != 1; then
36204 wxUSE_UNICODE_MSLU
=no
36207 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
36208 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
36209 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
36210 if test "${ac_cv_lib_unicows_main+set}" = set; then
36211 echo $ECHO_N "(cached) $ECHO_C" >&6
36213 ac_check_lib_save_LIBS
=$LIBS
36214 LIBS
="-lunicows $LIBS"
36215 cat >conftest.
$ac_ext <<_ACEOF
36218 cat confdefs.h
>>conftest.
$ac_ext
36219 cat >>conftest.
$ac_ext <<_ACEOF
36220 /* end confdefs.h. */
36231 rm -f conftest.
$ac_objext conftest
$ac_exeext
36232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36233 (eval $ac_link) 2>conftest.er1
36235 grep -v '^ *+' conftest.er1
>conftest.err
36237 cat conftest.err
>&5
36238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36239 (exit $ac_status); } &&
36240 { ac_try
='test -z "$ac_c_werror_flag"
36241 || test ! -s conftest.err'
36242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36243 (eval $ac_try) 2>&5
36245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36246 (exit $ac_status); }; } &&
36247 { ac_try
='test -s conftest$ac_exeext'
36248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36249 (eval $ac_try) 2>&5
36251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36252 (exit $ac_status); }; }; then
36253 ac_cv_lib_unicows_main
=yes
36255 echo "$as_me: failed program was:" >&5
36256 sed 's/^/| /' conftest.
$ac_ext >&5
36258 ac_cv_lib_unicows_main
=no
36260 rm -f conftest.err conftest.
$ac_objext \
36261 conftest
$ac_exeext conftest.
$ac_ext
36262 LIBS
=$ac_check_lib_save_LIBS
36264 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
36265 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
36266 if test $ac_cv_lib_unicows_main = yes; then
36268 cat >>confdefs.h
<<\_ACEOF
36269 #define wxUSE_UNICODE_MSLU 1
36275 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36276 Applications will only run on Windows NT/2000/XP!" >&5
36277 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36278 Applications will only run on Windows NT/2000/XP!" >&2;}
36279 wxUSE_UNICODE_MSLU
=no
36286 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
36287 cat >>confdefs.h
<<\_ACEOF
36288 #define wxUSE_EXPERIMENTAL_PRINTF 1
36294 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
36295 cat >>confdefs.h
<<\_ACEOF
36296 #define wxUSE_POSTSCRIPT 1
36301 cat >>confdefs.h
<<\_ACEOF
36302 #define wxUSE_AFM_FOR_POSTSCRIPT 1
36306 cat >>confdefs.h
<<\_ACEOF
36307 #define wxUSE_NORMALIZED_PS_FONTS 1
36312 if test "$wxUSE_CONSTRAINTS" = "yes"; then
36313 cat >>confdefs.h
<<\_ACEOF
36314 #define wxUSE_CONSTRAINTS 1
36317 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
36320 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36321 cat >>confdefs.h
<<\_ACEOF
36322 #define wxUSE_MDI_ARCHITECTURE 1
36325 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
36328 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
36329 cat >>confdefs.h
<<\_ACEOF
36330 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
36333 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
36334 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36335 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
36339 if test "$wxUSE_HELP" = "yes"; then
36340 cat >>confdefs.h
<<\_ACEOF
36341 #define wxUSE_HELP 1
36344 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
36346 if test "$wxUSE_MSW" = 1; then
36347 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
36348 cat >>confdefs.h
<<\_ACEOF
36349 #define wxUSE_MS_HTML_HELP 1
36355 if test "$wxUSE_WXHTML_HELP" = "yes"; then
36356 if test "$wxUSE_HTML" = "yes"; then
36357 cat >>confdefs.h
<<\_ACEOF
36358 #define wxUSE_WXHTML_HELP 1
36362 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
36363 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
36364 wxUSE_WXHTML_HELP
=no
36369 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
36370 if test "$wxUSE_CONSTRAINTS" != "yes"; then
36371 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
36372 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
36374 cat >>confdefs.h
<<\_ACEOF
36375 #define wxUSE_PRINTING_ARCHITECTURE 1
36379 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
36382 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
36383 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
36384 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
36385 { (exit 1); exit 1; }; }
36389 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
36390 -o "$wxUSE_CLIPBOARD" = "yes" \
36391 -o "$wxUSE_OLE" = "yes" \
36392 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
36394 for ac_header
in ole2.h
36396 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36397 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36398 echo "$as_me:$LINENO: checking for $ac_header" >&5
36399 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36400 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36401 echo $ECHO_N "(cached) $ECHO_C" >&6
36403 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36404 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36406 # Is the header compilable?
36407 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36408 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36409 cat >conftest.
$ac_ext <<_ACEOF
36412 cat confdefs.h
>>conftest.
$ac_ext
36413 cat >>conftest.
$ac_ext <<_ACEOF
36414 /* end confdefs.h. */
36415 $ac_includes_default
36416 #include <$ac_header>
36418 rm -f conftest.
$ac_objext
36419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36420 (eval $ac_compile) 2>conftest.er1
36422 grep -v '^ *+' conftest.er1
>conftest.err
36424 cat conftest.err
>&5
36425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36426 (exit $ac_status); } &&
36427 { ac_try
='test -z "$ac_c_werror_flag"
36428 || test ! -s conftest.err'
36429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36430 (eval $ac_try) 2>&5
36432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36433 (exit $ac_status); }; } &&
36434 { ac_try
='test -s conftest.$ac_objext'
36435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36436 (eval $ac_try) 2>&5
36438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36439 (exit $ac_status); }; }; then
36440 ac_header_compiler
=yes
36442 echo "$as_me: failed program was:" >&5
36443 sed 's/^/| /' conftest.
$ac_ext >&5
36445 ac_header_compiler
=no
36447 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36448 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36449 echo "${ECHO_T}$ac_header_compiler" >&6
36451 # Is the header present?
36452 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36453 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36454 cat >conftest.
$ac_ext <<_ACEOF
36457 cat confdefs.h
>>conftest.
$ac_ext
36458 cat >>conftest.
$ac_ext <<_ACEOF
36459 /* end confdefs.h. */
36460 #include <$ac_header>
36462 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36463 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36465 grep -v '^ *+' conftest.er1
>conftest.err
36467 cat conftest.err
>&5
36468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36469 (exit $ac_status); } >/dev
/null
; then
36470 if test -s conftest.err
; then
36471 ac_cpp_err
=$ac_c_preproc_warn_flag
36472 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36479 if test -z "$ac_cpp_err"; then
36480 ac_header_preproc
=yes
36482 echo "$as_me: failed program was:" >&5
36483 sed 's/^/| /' conftest.
$ac_ext >&5
36485 ac_header_preproc
=no
36487 rm -f conftest.err conftest.
$ac_ext
36488 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36489 echo "${ECHO_T}$ac_header_preproc" >&6
36491 # So? What about this header?
36492 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36494 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36495 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36496 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36497 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36498 ac_header_preproc
=yes
36501 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36502 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36503 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36504 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36505 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36506 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36507 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36508 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36509 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36510 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36511 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36512 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36515 ## ----------------------------------------- ##
36516 ## Report this to wx-dev@lists.wxwindows.org ##
36517 ## ----------------------------------------- ##
36520 sed "s/^/$as_me: WARNING: /" >&2
36523 echo "$as_me:$LINENO: checking for $ac_header" >&5
36524 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36525 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36526 echo $ECHO_N "(cached) $ECHO_C" >&6
36528 eval "$as_ac_Header=\$ac_header_preproc"
36530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36531 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36534 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36535 cat >>confdefs.h
<<_ACEOF
36536 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36544 if test "$ac_cv_header_ole2_h" = "yes" ; then
36545 if test "$GCC" = yes ; then
36549 ac_cpp
='$CXXCPP $CPPFLAGS'
36550 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36551 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36552 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36555 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
36556 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
36557 cat >conftest.
$ac_ext <<_ACEOF
36560 cat confdefs.h
>>conftest.
$ac_ext
36561 cat >>conftest.
$ac_ext <<_ACEOF
36562 /* end confdefs.h. */
36563 #include <windows.h>
36573 rm -f conftest.
$ac_objext
36574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36575 (eval $ac_compile) 2>conftest.er1
36577 grep -v '^ *+' conftest.er1
>conftest.err
36579 cat conftest.err
>&5
36580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36581 (exit $ac_status); } &&
36582 { ac_try
='test -z "$ac_cxx_werror_flag"
36583 || test ! -s conftest.err'
36584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36585 (eval $ac_try) 2>&5
36587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36588 (exit $ac_status); }; } &&
36589 { ac_try
='test -s conftest.$ac_objext'
36590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36591 (eval $ac_try) 2>&5
36593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36594 (exit $ac_status); }; }; then
36595 echo "$as_me:$LINENO: result: no" >&5
36596 echo "${ECHO_T}no" >&6
36598 echo "$as_me: failed program was:" >&5
36599 sed 's/^/| /' conftest.
$ac_ext >&5
36601 echo "$as_me:$LINENO: result: yes" >&5
36602 echo "${ECHO_T}yes" >&6
36603 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
36605 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36607 ac_cpp
='$CPP $CPPFLAGS'
36608 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36609 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36610 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36612 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
36613 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
36614 if test "$wxUSE_OLE" = "yes" ; then
36615 cat >>confdefs.h
<<\_ACEOF
36616 #define wxUSE_OLE 1
36622 if test "$wxUSE_DATAOBJ" = "yes" ; then
36623 cat >>confdefs.h
<<\_ACEOF
36624 #define wxUSE_DATAOBJ 1
36629 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
36630 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
36633 wxUSE_DRAG_AND_DROP
=no
36638 if test "$wxUSE_METAFILE" = "yes"; then
36639 cat >>confdefs.h
<<\_ACEOF
36640 #define wxUSE_METAFILE 1
36644 cat >>confdefs.h
<<\_ACEOF
36645 #define wxUSE_ENH_METAFILE 1
36651 if test "$wxUSE_IPC" = "yes"; then
36652 if test "$wxUSE_SOCKETS" != "yes"; then
36653 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
36654 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
36657 cat >>confdefs.h
<<\_ACEOF
36658 #define wxUSE_IPC 1
36663 if test "$wxUSE_CLIPBOARD" = "yes"; then
36664 if test "$wxUSE_MGL" = 1; then
36665 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
36666 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
36670 if test "$wxUSE_CLIPBOARD" = "yes"; then
36671 cat >>confdefs.h
<<\_ACEOF
36672 #define wxUSE_CLIPBOARD 1
36676 cat >>confdefs.h
<<\_ACEOF
36677 #define wxUSE_DATAOBJ 1
36683 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
36684 if test "$wxUSE_GTK" = 1; then
36685 if test "$WXGTK12" != 1; then
36686 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
36687 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
36688 wxUSE_DRAG_AND_DROP
=no
36692 if test "$wxUSE_MOTIF" = 1; then
36693 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
36694 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
36695 wxUSE_DRAG_AND_DROP
=no
36698 if test "$wxUSE_X11" = 1; then
36699 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
36700 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
36701 wxUSE_DRAG_AND_DROP
=no
36704 if test "$wxUSE_MGL" = 1; then
36705 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
36706 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
36707 wxUSE_DRAG_AND_DROP
=no
36710 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
36711 cat >>confdefs.h
<<\_ACEOF
36712 #define wxUSE_DRAG_AND_DROP 1
36719 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
36720 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
36723 if test "$wxUSE_SPLINES" = "yes" ; then
36724 cat >>confdefs.h
<<\_ACEOF
36725 #define wxUSE_SPLINES 1
36732 if test "$wxUSE_CONTROLS" = "yes"; then
36736 if test "$wxUSE_ACCEL" = "yes"; then
36737 cat >>confdefs.h
<<\_ACEOF
36738 #define wxUSE_ACCEL 1
36744 if test "$wxUSE_BUTTON" = "yes"; then
36745 cat >>confdefs.h
<<\_ACEOF
36746 #define wxUSE_BUTTON 1
36752 if test "$wxUSE_BMPBUTTON" = "yes"; then
36753 cat >>confdefs.h
<<\_ACEOF
36754 #define wxUSE_BMPBUTTON 1
36760 if test "$wxUSE_CALCTRL" = "yes"; then
36761 cat >>confdefs.h
<<\_ACEOF
36762 #define wxUSE_CALENDARCTRL 1
36766 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
36769 if test "$wxUSE_CARET" = "yes"; then
36770 cat >>confdefs.h
<<\_ACEOF
36771 #define wxUSE_CARET 1
36775 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
36778 if test "$wxUSE_COMBOBOX" = "yes"; then
36779 cat >>confdefs.h
<<\_ACEOF
36780 #define wxUSE_COMBOBOX 1
36786 if test "$wxUSE_CHOICE" = "yes"; then
36787 cat >>confdefs.h
<<\_ACEOF
36788 #define wxUSE_CHOICE 1
36794 if test "$wxUSE_CHECKBOX" = "yes"; then
36795 cat >>confdefs.h
<<\_ACEOF
36796 #define wxUSE_CHECKBOX 1
36802 if test "$wxUSE_CHECKLST" = "yes"; then
36803 cat >>confdefs.h
<<\_ACEOF
36804 #define wxUSE_CHECKLISTBOX 1
36808 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
36811 if test "$wxUSE_DISPLAY" = "yes"; then
36812 cat >>confdefs.h
<<\_ACEOF
36813 #define wxUSE_DISPLAY 1
36816 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
36819 if test "$wxUSE_GAUGE" = "yes"; then
36820 cat >>confdefs.h
<<\_ACEOF
36821 #define wxUSE_GAUGE 1
36827 if test "$wxUSE_GRID" = "yes"; then
36828 cat >>confdefs.h
<<\_ACEOF
36829 #define wxUSE_GRID 1
36833 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
36836 if test "$wxUSE_IMAGLIST" = "yes"; then
36837 cat >>confdefs.h
<<\_ACEOF
36838 #define wxUSE_IMAGLIST 1
36843 if test "$wxUSE_LISTBOOK" = "yes"; then
36844 cat >>confdefs.h
<<\_ACEOF
36845 #define wxUSE_LISTBOOK 1
36851 if test "$wxUSE_LISTBOX" = "yes"; then
36852 cat >>confdefs.h
<<\_ACEOF
36853 #define wxUSE_LISTBOX 1
36859 if test "$wxUSE_LISTCTRL" = "yes"; then
36860 if test "$wxUSE_IMAGLIST" = "yes"; then
36861 cat >>confdefs.h
<<\_ACEOF
36862 #define wxUSE_LISTCTRL 1
36866 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
36868 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36869 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36873 if test "$wxUSE_NOTEBOOK" = "yes"; then
36874 cat >>confdefs.h
<<\_ACEOF
36875 #define wxUSE_NOTEBOOK 1
36879 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
36883 if test "$wxUSE_RADIOBOX" = "yes"; then
36884 cat >>confdefs.h
<<\_ACEOF
36885 #define wxUSE_RADIOBOX 1
36891 if test "$wxUSE_RADIOBTN" = "yes"; then
36892 cat >>confdefs.h
<<\_ACEOF
36893 #define wxUSE_RADIOBTN 1
36899 if test "$wxUSE_SASH" = "yes"; then
36900 cat >>confdefs.h
<<\_ACEOF
36901 #define wxUSE_SASH 1
36904 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
36907 if test "$wxUSE_SCROLLBAR" = "yes"; then
36908 cat >>confdefs.h
<<\_ACEOF
36909 #define wxUSE_SCROLLBAR 1
36913 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
36916 if test "$wxUSE_SLIDER" = "yes"; then
36917 cat >>confdefs.h
<<\_ACEOF
36918 #define wxUSE_SLIDER 1
36924 if test "$wxUSE_SPINBTN" = "yes"; then
36925 cat >>confdefs.h
<<\_ACEOF
36926 #define wxUSE_SPINBTN 1
36932 if test "$wxUSE_SPINCTRL" = "yes"; then
36933 cat >>confdefs.h
<<\_ACEOF
36934 #define wxUSE_SPINCTRL 1
36940 if test "$wxUSE_SPLITTER" = "yes"; then
36941 cat >>confdefs.h
<<\_ACEOF
36942 #define wxUSE_SPLITTER 1
36945 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
36948 if test "$wxUSE_STATBMP" = "yes"; then
36949 cat >>confdefs.h
<<\_ACEOF
36950 #define wxUSE_STATBMP 1
36956 if test "$wxUSE_STATBOX" = "yes"; then
36957 cat >>confdefs.h
<<\_ACEOF
36958 #define wxUSE_STATBOX 1
36964 if test "$wxUSE_STATTEXT" = "yes"; then
36965 cat >>confdefs.h
<<\_ACEOF
36966 #define wxUSE_STATTEXT 1
36972 if test "$wxUSE_STATLINE" = "yes"; then
36973 cat >>confdefs.h
<<\_ACEOF
36974 #define wxUSE_STATLINE 1
36980 if test "$wxUSE_STATUSBAR" = "yes"; then
36981 cat >>confdefs.h
<<\_ACEOF
36982 #define wxUSE_STATUSBAR 1
36987 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
36990 if test "$wxUSE_TABDIALOG" = "yes"; then
36991 cat >>confdefs.h
<<\_ACEOF
36992 #define wxUSE_TAB_DIALOG 1
36995 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
36998 if test "$wxUSE_TEXTCTRL" = "yes"; then
36999 cat >>confdefs.h
<<\_ACEOF
37000 #define wxUSE_TEXTCTRL 1
37004 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
37007 if test "$wxUSE_TOGGLEBTN" = "yes"; then
37008 if test "$wxUSE_COCOA" = 1 ; then
37009 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
37010 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
37013 if test "$wxUSE_UNIVERSAL" = "yes"; then
37014 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
37015 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
37019 if test "$wxUSE_TOGGLEBTN" = "yes"; then
37020 cat >>confdefs.h
<<\_ACEOF
37021 #define wxUSE_TOGGLEBTN 1
37028 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
37029 cat >>confdefs.h
<<\_ACEOF
37030 #define wxUSE_TOOLBAR_SIMPLE 1
37033 wxUSE_TOOLBAR
="yes"
37037 if test "$wxUSE_TOOLBAR" = "yes"; then
37038 cat >>confdefs.h
<<\_ACEOF
37039 #define wxUSE_TOOLBAR 1
37044 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
37045 wxUSE_TOOLBAR_NATIVE
="yes"
37048 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
37049 cat >>confdefs.h
<<\_ACEOF
37050 #define wxUSE_TOOLBAR_NATIVE 1
37056 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
37059 if test "$wxUSE_TOOLTIPS" = "yes"; then
37060 if test "$wxUSE_MOTIF" = 1; then
37061 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
37062 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
37064 if test "$wxUSE_UNIVERSAL" = "yes"; then
37065 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
37066 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
37068 cat >>confdefs.h
<<\_ACEOF
37069 #define wxUSE_TOOLTIPS 1
37076 if test "$wxUSE_TREECTRL" = "yes"; then
37077 if test "$wxUSE_IMAGLIST" = "yes"; then
37078 cat >>confdefs.h
<<\_ACEOF
37079 #define wxUSE_TREECTRL 1
37083 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
37085 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
37086 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
37090 if test "$wxUSE_POPUPWIN" = "yes"; then
37091 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
37092 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
37093 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
37095 if test "$wxUSE_PM" = 1; then
37096 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
37097 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
37099 cat >>confdefs.h
<<\_ACEOF
37100 #define wxUSE_POPUPWIN 1
37109 if test "$wxUSE_TIPWINDOW" = "yes"; then
37110 if test "$wxUSE_PM" = 1; then
37111 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
37112 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
37114 cat >>confdefs.h
<<\_ACEOF
37115 #define wxUSE_TIPWINDOW 1
37121 if test "$USES_CONTROLS" = 1; then
37122 cat >>confdefs.h
<<\_ACEOF
37123 #define wxUSE_CONTROLS 1
37129 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
37130 cat >>confdefs.h
<<\_ACEOF
37131 #define wxUSE_ACCESSIBILITY 1
37134 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
37137 if test "$wxUSE_DRAGIMAGE" = "yes"; then
37138 cat >>confdefs.h
<<\_ACEOF
37139 #define wxUSE_DRAGIMAGE 1
37142 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
37145 if test "$wxUSE_EXCEPTIONS" = "yes"; then
37146 cat >>confdefs.h
<<\_ACEOF
37147 #define wxUSE_EXCEPTIONS 1
37153 if test "$wxUSE_HTML" = "yes"; then
37154 cat >>confdefs.h
<<\_ACEOF
37155 #define wxUSE_HTML 1
37159 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
37162 if test "$wxUSE_MENUS" = "yes"; then
37163 cat >>confdefs.h
<<\_ACEOF
37164 #define wxUSE_MENUS 1
37167 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
37170 if test "$wxUSE_METAFILE" = "yes"; then
37171 cat >>confdefs.h
<<\_ACEOF
37172 #define wxUSE_METAFILE 1
37177 if test "$wxUSE_MIMETYPE" = "yes"; then
37178 cat >>confdefs.h
<<\_ACEOF
37179 #define wxUSE_MIMETYPE 1
37184 if test "$wxUSE_MINIFRAME" = "yes"; then
37185 cat >>confdefs.h
<<\_ACEOF
37186 #define wxUSE_MINIFRAME 1
37189 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
37192 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
37193 cat >>confdefs.h
<<\_ACEOF
37194 #define wxUSE_SYSTEM_OPTIONS 1
37197 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
37198 "$TOOLKIT" = "MOTIF"; then
37199 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
37204 if test "$wxUSE_VALIDATORS" = "yes"; then
37205 cat >>confdefs.h
<<\_ACEOF
37206 #define wxUSE_VALIDATORS 1
37209 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
37212 if test "$wxUSE_PALETTE" = "yes" ; then
37213 cat >>confdefs.h
<<\_ACEOF
37214 #define wxUSE_PALETTE 1
37219 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
37220 LIBS
=" -lunicows $LIBS"
37224 if test "$wxUSE_IMAGE" = "yes" ; then
37225 cat >>confdefs.h
<<\_ACEOF
37226 #define wxUSE_IMAGE 1
37230 if test "$wxUSE_GIF" = "yes" ; then
37231 cat >>confdefs.h
<<\_ACEOF
37232 #define wxUSE_GIF 1
37237 if test "$wxUSE_PCX" = "yes" ; then
37238 cat >>confdefs.h
<<\_ACEOF
37239 #define wxUSE_PCX 1
37244 if test "$wxUSE_IFF" = "yes" ; then
37245 cat >>confdefs.h
<<\_ACEOF
37246 #define wxUSE_IFF 1
37251 if test "$wxUSE_PNM" = "yes" ; then
37252 cat >>confdefs.h
<<\_ACEOF
37253 #define wxUSE_PNM 1
37258 if test "$wxUSE_XPM" = "yes" ; then
37259 cat >>confdefs.h
<<\_ACEOF
37260 #define wxUSE_XPM 1
37265 if test "$wxUSE_ICO_CUR" = "yes" ; then
37266 cat >>confdefs.h
<<\_ACEOF
37267 #define wxUSE_ICO_CUR 1
37274 if test "$wxUSE_CHOICEDLG" = "yes"; then
37275 cat >>confdefs.h
<<\_ACEOF
37276 #define wxUSE_CHOICEDLG 1
37281 if test "$wxUSE_COLOURDLG" = "yes"; then
37282 cat >>confdefs.h
<<\_ACEOF
37283 #define wxUSE_COLOURDLG 1
37288 if test "$wxUSE_FILEDLG" = "yes"; then
37289 cat >>confdefs.h
<<\_ACEOF
37290 #define wxUSE_FILEDLG 1
37295 if test "$wxUSE_FINDREPLDLG" = "yes"; then
37296 cat >>confdefs.h
<<\_ACEOF
37297 #define wxUSE_FINDREPLDLG 1
37302 if test "$wxUSE_FONTDLG" = "yes"; then
37303 cat >>confdefs.h
<<\_ACEOF
37304 #define wxUSE_FONTDLG 1
37309 if test "$wxUSE_DIRDLG" = "yes"; then
37310 if test "$wxUSE_TREECTRL" != "yes"; then
37311 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
37312 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
37314 cat >>confdefs.h
<<\_ACEOF
37315 #define wxUSE_DIRDLG 1
37321 if test "$wxUSE_MSGDLG" = "yes"; then
37322 cat >>confdefs.h
<<\_ACEOF
37323 #define wxUSE_MSGDLG 1
37328 if test "$wxUSE_NUMBERDLG" = "yes"; then
37329 cat >>confdefs.h
<<\_ACEOF
37330 #define wxUSE_NUMBERDLG 1
37335 if test "$wxUSE_PROGRESSDLG" = "yes"; then
37336 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37337 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
37338 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
37340 cat >>confdefs.h
<<\_ACEOF
37341 #define wxUSE_PROGRESSDLG 1
37347 if test "$wxUSE_SPLASH" = "yes"; then
37348 cat >>confdefs.h
<<\_ACEOF
37349 #define wxUSE_SPLASH 1
37354 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
37355 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37356 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
37357 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
37359 cat >>confdefs.h
<<\_ACEOF
37360 #define wxUSE_STARTUP_TIPS 1
37366 if test "$wxUSE_TEXTDLG" = "yes"; then
37367 cat >>confdefs.h
<<\_ACEOF
37368 #define wxUSE_TEXTDLG 1
37373 if test "$wxUSE_WIZARDDLG" = "yes"; then
37374 cat >>confdefs.h
<<\_ACEOF
37375 #define wxUSE_WIZARDDLG 1
37378 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
37382 if test "$cross_compiling" = "yes"; then
37385 OSINFO
=`uname -s -r -m`
37386 OSINFO
="\"$OSINFO\""
37389 cat >>confdefs.h
<<_ACEOF
37390 #define WXWIN_OS_DESCRIPTION $OSINFO
37395 if test "x$prefix" != "xNONE"; then
37398 wxPREFIX
=$ac_default_prefix
37401 cat >>confdefs.h
<<_ACEOF
37402 #define wxINSTALL_PREFIX "$wxPREFIX"
37406 top_builddir_wxconfig
=`pwd`
37410 CORE_BASE_LIBS
="net base"
37411 CORE_GUI_LIBS
="adv core"
37413 if test "$wxUSE_XML" = "yes" ; then
37414 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
37416 if test "$wxUSE_ODBC" != "no" ; then
37417 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
37418 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
37420 if test "$wxUSE_HTML" = "yes" ; then
37421 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
37424 if test "$wxUSE_GUI" != "yes"; then
37435 if test "$wxUSE_MAC" = 1 ; then
37436 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
37438 if test "$wxUSE_COCOA" = 1 ; then
37439 LDFLAGS
="$LDFLAGS -framework Cocoa -framework System"
37443 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37450 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37451 echo "$as_me:$LINENO: checking for $ac_func" >&5
37452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37453 if eval "test \"\${$as_ac_var+set}\" = set"; then
37454 echo $ECHO_N "(cached) $ECHO_C" >&6
37456 cat >conftest.
$ac_ext <<_ACEOF
37459 cat confdefs.h
>>conftest.
$ac_ext
37460 cat >>conftest.
$ac_ext <<_ACEOF
37461 /* end confdefs.h. */
37462 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37463 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37464 #define $ac_func innocuous_$ac_func
37466 /* System header to define __stub macros and hopefully few prototypes,
37467 which can conflict with char $ac_func (); below.
37468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37469 <limits.h> exists even on freestanding compilers. */
37472 # include <limits.h>
37474 # include <assert.h>
37479 /* Override any gcc2 internal prototype to avoid an error. */
37484 /* We use char because int might match the return type of a gcc2
37485 builtin and then its argument prototype would still apply. */
37487 /* The GNU C library defines this for functions which it implements
37488 to always fail with ENOSYS. Some functions are actually named
37489 something starting with __ and the normal name is an alias. */
37490 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37493 char (*f) () = $ac_func;
37502 return f != $ac_func;
37507 rm -f conftest.
$ac_objext conftest
$ac_exeext
37508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37509 (eval $ac_link) 2>conftest.er1
37511 grep -v '^ *+' conftest.er1
>conftest.err
37513 cat conftest.err
>&5
37514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37515 (exit $ac_status); } &&
37516 { ac_try
='test -z "$ac_c_werror_flag"
37517 || test ! -s conftest.err'
37518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37519 (eval $ac_try) 2>&5
37521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37522 (exit $ac_status); }; } &&
37523 { ac_try
='test -s conftest$ac_exeext'
37524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37525 (eval $ac_try) 2>&5
37527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37528 (exit $ac_status); }; }; then
37529 eval "$as_ac_var=yes"
37531 echo "$as_me: failed program was:" >&5
37532 sed 's/^/| /' conftest.
$ac_ext >&5
37534 eval "$as_ac_var=no"
37536 rm -f conftest.err conftest.
$ac_objext \
37537 conftest
$ac_exeext conftest.
$ac_ext
37539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37540 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37541 if test `eval echo '${'$as_ac_var'}'` = yes; then
37542 cat >>confdefs.h
<<_ACEOF
37543 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37550 for ac_func
in floor
37552 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37553 echo "$as_me:$LINENO: checking for $ac_func" >&5
37554 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37555 if eval "test \"\${$as_ac_var+set}\" = set"; then
37556 echo $ECHO_N "(cached) $ECHO_C" >&6
37558 cat >conftest.
$ac_ext <<_ACEOF
37561 cat confdefs.h
>>conftest.
$ac_ext
37562 cat >>conftest.
$ac_ext <<_ACEOF
37563 /* end confdefs.h. */
37564 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37565 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37566 #define $ac_func innocuous_$ac_func
37568 /* System header to define __stub macros and hopefully few prototypes,
37569 which can conflict with char $ac_func (); below.
37570 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37571 <limits.h> exists even on freestanding compilers. */
37574 # include <limits.h>
37576 # include <assert.h>
37581 /* Override any gcc2 internal prototype to avoid an error. */
37586 /* We use char because int might match the return type of a gcc2
37587 builtin and then its argument prototype would still apply. */
37589 /* The GNU C library defines this for functions which it implements
37590 to always fail with ENOSYS. Some functions are actually named
37591 something starting with __ and the normal name is an alias. */
37592 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37595 char (*f) () = $ac_func;
37604 return f != $ac_func;
37609 rm -f conftest.
$ac_objext conftest
$ac_exeext
37610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37611 (eval $ac_link) 2>conftest.er1
37613 grep -v '^ *+' conftest.er1
>conftest.err
37615 cat conftest.err
>&5
37616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37617 (exit $ac_status); } &&
37618 { ac_try
='test -z "$ac_c_werror_flag"
37619 || test ! -s conftest.err'
37620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37621 (eval $ac_try) 2>&5
37623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37624 (exit $ac_status); }; } &&
37625 { ac_try
='test -s conftest$ac_exeext'
37626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37627 (eval $ac_try) 2>&5
37629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37630 (exit $ac_status); }; }; then
37631 eval "$as_ac_var=yes"
37633 echo "$as_me: failed program was:" >&5
37634 sed 's/^/| /' conftest.
$ac_ext >&5
37636 eval "$as_ac_var=no"
37638 rm -f conftest.err conftest.
$ac_objext \
37639 conftest
$ac_exeext conftest.
$ac_ext
37641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37642 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37643 if test `eval echo '${'$as_ac_var'}'` = yes; then
37644 cat >>confdefs.h
<<_ACEOF
37645 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37651 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
37652 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
37653 if test "$have_cos" = 1 -a "$have_floor" = 1; then
37654 echo "$as_me:$LINENO: result: yes" >&5
37655 echo "${ECHO_T}yes" >&6
37657 echo "$as_me:$LINENO: result: no" >&5
37658 echo "${ECHO_T}no" >&6
37660 # use different functions to avoid configure caching
37666 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37667 echo "$as_me:$LINENO: checking for $ac_func" >&5
37668 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37669 if eval "test \"\${$as_ac_var+set}\" = set"; then
37670 echo $ECHO_N "(cached) $ECHO_C" >&6
37672 cat >conftest.
$ac_ext <<_ACEOF
37675 cat confdefs.h
>>conftest.
$ac_ext
37676 cat >>conftest.
$ac_ext <<_ACEOF
37677 /* end confdefs.h. */
37678 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37679 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37680 #define $ac_func innocuous_$ac_func
37682 /* System header to define __stub macros and hopefully few prototypes,
37683 which can conflict with char $ac_func (); below.
37684 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37685 <limits.h> exists even on freestanding compilers. */
37688 # include <limits.h>
37690 # include <assert.h>
37695 /* Override any gcc2 internal prototype to avoid an error. */
37700 /* We use char because int might match the return type of a gcc2
37701 builtin and then its argument prototype would still apply. */
37703 /* The GNU C library defines this for functions which it implements
37704 to always fail with ENOSYS. Some functions are actually named
37705 something starting with __ and the normal name is an alias. */
37706 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37709 char (*f) () = $ac_func;
37718 return f != $ac_func;
37723 rm -f conftest.
$ac_objext conftest
$ac_exeext
37724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37725 (eval $ac_link) 2>conftest.er1
37727 grep -v '^ *+' conftest.er1
>conftest.err
37729 cat conftest.err
>&5
37730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37731 (exit $ac_status); } &&
37732 { ac_try
='test -z "$ac_c_werror_flag"
37733 || test ! -s conftest.err'
37734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37735 (eval $ac_try) 2>&5
37737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37738 (exit $ac_status); }; } &&
37739 { ac_try
='test -s conftest$ac_exeext'
37740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37741 (eval $ac_try) 2>&5
37743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37744 (exit $ac_status); }; }; then
37745 eval "$as_ac_var=yes"
37747 echo "$as_me: failed program was:" >&5
37748 sed 's/^/| /' conftest.
$ac_ext >&5
37750 eval "$as_ac_var=no"
37752 rm -f conftest.err conftest.
$ac_objext \
37753 conftest
$ac_exeext conftest.
$ac_ext
37755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37756 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37757 if test `eval echo '${'$as_ac_var'}'` = yes; then
37758 cat >>confdefs.h
<<_ACEOF
37759 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37766 for ac_func
in ceil
37768 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37769 echo "$as_me:$LINENO: checking for $ac_func" >&5
37770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37771 if eval "test \"\${$as_ac_var+set}\" = set"; then
37772 echo $ECHO_N "(cached) $ECHO_C" >&6
37774 cat >conftest.
$ac_ext <<_ACEOF
37777 cat confdefs.h
>>conftest.
$ac_ext
37778 cat >>conftest.
$ac_ext <<_ACEOF
37779 /* end confdefs.h. */
37780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37782 #define $ac_func innocuous_$ac_func
37784 /* System header to define __stub macros and hopefully few prototypes,
37785 which can conflict with char $ac_func (); below.
37786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37787 <limits.h> exists even on freestanding compilers. */
37790 # include <limits.h>
37792 # include <assert.h>
37797 /* Override any gcc2 internal prototype to avoid an error. */
37802 /* We use char because int might match the return type of a gcc2
37803 builtin and then its argument prototype would still apply. */
37805 /* The GNU C library defines this for functions which it implements
37806 to always fail with ENOSYS. Some functions are actually named
37807 something starting with __ and the normal name is an alias. */
37808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37811 char (*f) () = $ac_func;
37820 return f != $ac_func;
37825 rm -f conftest.
$ac_objext conftest
$ac_exeext
37826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37827 (eval $ac_link) 2>conftest.er1
37829 grep -v '^ *+' conftest.er1
>conftest.err
37831 cat conftest.err
>&5
37832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37833 (exit $ac_status); } &&
37834 { ac_try
='test -z "$ac_c_werror_flag"
37835 || test ! -s conftest.err'
37836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37837 (eval $ac_try) 2>&5
37839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37840 (exit $ac_status); }; } &&
37841 { ac_try
='test -s conftest$ac_exeext'
37842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37843 (eval $ac_try) 2>&5
37845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37846 (exit $ac_status); }; }; then
37847 eval "$as_ac_var=yes"
37849 echo "$as_me: failed program was:" >&5
37850 sed 's/^/| /' conftest.
$ac_ext >&5
37852 eval "$as_ac_var=no"
37854 rm -f conftest.err conftest.
$ac_objext \
37855 conftest
$ac_exeext conftest.
$ac_ext
37857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37858 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37859 if test `eval echo '${'$as_ac_var'}'` = yes; then
37860 cat >>confdefs.h
<<_ACEOF
37861 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37867 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
37868 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
37869 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
37870 echo "$as_me:$LINENO: result: yes" >&5
37871 echo "${ECHO_T}yes" >&6
37873 echo "$as_me:$LINENO: result: no" >&5
37874 echo "${ECHO_T}no" >&6
37875 # not sure we should warn the user, crash, etc.
37879 if test "$wxUSE_GUI" = "yes"; then
37882 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
37883 drawing dynamic erase event exec font image \
37884 minimal propsize rotate shaped widgets render"
37886 if test "$wxUSE_MONOLITHIC" != "yes"; then
37887 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
37890 SAMPLES_SUBDIRS
="console"
37894 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
37895 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
37897 if test "$GXX" = yes ; then
37898 CXXWARNINGS
="-Wall"
37901 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
37903 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
37904 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
37905 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
37908 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
37909 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37910 EXTRALIBS_XML
="$EXPAT_LINK"
37911 EXTRALIBS_HTML
="$MSPACK_LINK"
37912 EXTRALIBS_ODBC
="$ODBC_LINK"
37913 if test "$wxUSE_GUI" = "yes"; then
37914 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
37916 if test "$wxUSE_OPENGL" = "yes"; then
37917 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
37920 LDFLAGS
="$LDFLAGS $PROFILE"
37922 if test "$wxUSE_GTK" = 1; then
37925 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
37928 WXCONFIG_EXTRALIBS
="$LIBS"
37930 if test "$wxUSE_REGEX" = "builtin" ; then
37931 wxconfig_3rdparty
="$wxconfig_3rdparty regex${lib_unicode_suffix}"
37933 if test "$wxUSE_EXPAT" = "builtin" ; then
37934 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
37936 if test "$wxUSE_ODBC" = "builtin" ; then
37937 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
37939 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37940 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
37942 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37943 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
37945 if test "$wxUSE_LIBPNG" = "builtin" ; then
37946 wxconfig_3rdparty
="$wxconfig_3rdparty png"
37948 if test "$wxUSE_ZLIB" = "builtin" ; then
37949 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
37951 if test "$wxUSE_ODBC" = "builtin" ; then
37952 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
37955 for i
in $wxconfig_3rdparty ; do
37956 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
37960 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37974 if test $wxUSE_MONOLITHIC = "yes" ; then
37980 if test $wxUSE_PLUGINS = "yes" ; then
37986 if test $wxUSE_ODBC != "no" ; then
37992 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
38018 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
38028 if test "x$BAKEFILE_HOST" = "x"; then
38029 BAKEFILE_HOST
="${host}"
38032 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
38034 if test -n "$ac_tool_prefix"; then
38035 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
38036 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
38037 echo "$as_me:$LINENO: checking for $ac_word" >&5
38038 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38039 if test "${ac_cv_prog_RANLIB+set}" = set; then
38040 echo $ECHO_N "(cached) $ECHO_C" >&6
38042 if test -n "$RANLIB"; then
38043 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
38045 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38046 for as_dir
in $PATH
38049 test -z "$as_dir" && as_dir
=.
38050 for ac_exec_ext
in '' $ac_executable_extensions; do
38051 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38052 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
38053 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38061 RANLIB
=$ac_cv_prog_RANLIB
38062 if test -n "$RANLIB"; then
38063 echo "$as_me:$LINENO: result: $RANLIB" >&5
38064 echo "${ECHO_T}$RANLIB" >&6
38066 echo "$as_me:$LINENO: result: no" >&5
38067 echo "${ECHO_T}no" >&6
38071 if test -z "$ac_cv_prog_RANLIB"; then
38072 ac_ct_RANLIB
=$RANLIB
38073 # Extract the first word of "ranlib", so it can be a program name with args.
38074 set dummy ranlib
; ac_word
=$2
38075 echo "$as_me:$LINENO: checking for $ac_word" >&5
38076 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38077 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
38078 echo $ECHO_N "(cached) $ECHO_C" >&6
38080 if test -n "$ac_ct_RANLIB"; then
38081 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
38083 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38084 for as_dir
in $PATH
38087 test -z "$as_dir" && as_dir
=.
38088 for ac_exec_ext
in '' $ac_executable_extensions; do
38089 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38090 ac_cv_prog_ac_ct_RANLIB
="ranlib"
38091 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38097 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
38100 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
38101 if test -n "$ac_ct_RANLIB"; then
38102 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
38103 echo "${ECHO_T}$ac_ct_RANLIB" >&6
38105 echo "$as_me:$LINENO: result: no" >&5
38106 echo "${ECHO_T}no" >&6
38109 RANLIB
=$ac_ct_RANLIB
38111 RANLIB
="$ac_cv_prog_RANLIB"
38114 # Find a good install program. We prefer a C program (faster),
38115 # so one script is as good as another. But avoid the broken or
38116 # incompatible versions:
38117 # SysV /etc/install, /usr/sbin/install
38118 # SunOS /usr/etc/install
38119 # IRIX /sbin/install
38121 # AmigaOS /C/install, which installs bootblocks on floppy discs
38122 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
38123 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
38124 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
38125 # OS/2's system install, which has a completely different semantic
38126 # ./install, which can be erroneously created by make from ./install.sh.
38127 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
38128 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
38129 if test -z "$INSTALL"; then
38130 if test "${ac_cv_path_install+set}" = set; then
38131 echo $ECHO_N "(cached) $ECHO_C" >&6
38133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38134 for as_dir
in $PATH
38137 test -z "$as_dir" && as_dir
=.
38138 # Account for people who put trailing slashes in PATH elements.
38140 .
/ | .
// | /cC
/* | \
38141 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
38142 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
38145 # OSF1 and SCO ODT 3.0 have their own names for install.
38146 # Don't use installbsd from OSF since it installs stuff as root
38148 for ac_prog
in ginstall scoinst
install; do
38149 for ac_exec_ext
in '' $ac_executable_extensions; do
38150 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
38151 if test $ac_prog = install &&
38152 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
38153 # AIX install. It has an incompatible calling convention.
38155 elif test $ac_prog = install &&
38156 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
38157 # program-specific install script used by HP pwplus--don't use.
38160 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
38172 if test "${ac_cv_path_install+set}" = set; then
38173 INSTALL
=$ac_cv_path_install
38175 # As a last resort, use the slow shell script. We don't cache a
38176 # path for INSTALL within a source directory, because that will
38177 # break other packages using the cache if that directory is
38178 # removed, or if the path is relative.
38179 INSTALL
=$ac_install_sh
38182 echo "$as_me:$LINENO: result: $INSTALL" >&5
38183 echo "${ECHO_T}$INSTALL" >&6
38185 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
38186 # It thinks the first close brace ends the variable substitution.
38187 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
38189 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
38191 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
38193 echo "$as_me:$LINENO: checking whether ln -s works" >&5
38194 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
38196 if test "$LN_S" = "ln -s"; then
38197 echo "$as_me:$LINENO: result: yes" >&5
38198 echo "${ECHO_T}yes" >&6
38200 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
38201 echo "${ECHO_T}no, using $LN_S" >&6
38205 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
38206 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
38207 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
38208 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
38209 echo $ECHO_N "(cached) $ECHO_C" >&6
38211 cat >conftest.
make <<\_ACEOF
38213 @
echo 'ac_maketemp="$(MAKE)"'
38215 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
38216 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
38217 if test -n "$ac_maketemp"; then
38218 eval ac_cv_prog_make_
${ac_make}_set
=yes
38220 eval ac_cv_prog_make_
${ac_make}_set
=no
38222 rm -f conftest.
make
38224 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
38225 echo "$as_me:$LINENO: result: yes" >&5
38226 echo "${ECHO_T}yes" >&6
38229 echo "$as_me:$LINENO: result: no" >&5
38230 echo "${ECHO_T}no" >&6
38231 SET_MAKE
="MAKE=${MAKE-make}"
38236 if test -n "$ac_tool_prefix"; then
38237 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
38238 set dummy
${ac_tool_prefix}ar; ac_word
=$2
38239 echo "$as_me:$LINENO: checking for $ac_word" >&5
38240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38241 if test "${ac_cv_prog_AR+set}" = set; then
38242 echo $ECHO_N "(cached) $ECHO_C" >&6
38244 if test -n "$AR"; then
38245 ac_cv_prog_AR
="$AR" # Let the user override the test.
38247 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38248 for as_dir
in $PATH
38251 test -z "$as_dir" && as_dir
=.
38252 for ac_exec_ext
in '' $ac_executable_extensions; do
38253 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38254 ac_cv_prog_AR
="${ac_tool_prefix}ar"
38255 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38264 if test -n "$AR"; then
38265 echo "$as_me:$LINENO: result: $AR" >&5
38266 echo "${ECHO_T}$AR" >&6
38268 echo "$as_me:$LINENO: result: no" >&5
38269 echo "${ECHO_T}no" >&6
38273 if test -z "$ac_cv_prog_AR"; then
38275 # Extract the first word of "ar", so it can be a program name with args.
38276 set dummy
ar; ac_word
=$2
38277 echo "$as_me:$LINENO: checking for $ac_word" >&5
38278 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38279 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
38280 echo $ECHO_N "(cached) $ECHO_C" >&6
38282 if test -n "$ac_ct_AR"; then
38283 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
38285 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38286 for as_dir
in $PATH
38289 test -z "$as_dir" && as_dir
=.
38290 for ac_exec_ext
in '' $ac_executable_extensions; do
38291 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38292 ac_cv_prog_ac_ct_AR
="ar"
38293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38299 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
38302 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
38303 if test -n "$ac_ct_AR"; then
38304 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
38305 echo "${ECHO_T}$ac_ct_AR" >&6
38307 echo "$as_me:$LINENO: result: no" >&5
38308 echo "${ECHO_T}no" >&6
38313 AR
="$ac_cv_prog_AR"
38316 if test -n "$ac_tool_prefix"; then
38317 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
38318 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
38319 echo "$as_me:$LINENO: checking for $ac_word" >&5
38320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38321 if test "${ac_cv_prog_STRIP+set}" = set; then
38322 echo $ECHO_N "(cached) $ECHO_C" >&6
38324 if test -n "$STRIP"; then
38325 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
38327 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38328 for as_dir
in $PATH
38331 test -z "$as_dir" && as_dir
=.
38332 for ac_exec_ext
in '' $ac_executable_extensions; do
38333 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38334 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
38335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38343 STRIP
=$ac_cv_prog_STRIP
38344 if test -n "$STRIP"; then
38345 echo "$as_me:$LINENO: result: $STRIP" >&5
38346 echo "${ECHO_T}$STRIP" >&6
38348 echo "$as_me:$LINENO: result: no" >&5
38349 echo "${ECHO_T}no" >&6
38353 if test -z "$ac_cv_prog_STRIP"; then
38355 # Extract the first word of "strip", so it can be a program name with args.
38356 set dummy strip
; ac_word
=$2
38357 echo "$as_me:$LINENO: checking for $ac_word" >&5
38358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38359 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
38360 echo $ECHO_N "(cached) $ECHO_C" >&6
38362 if test -n "$ac_ct_STRIP"; then
38363 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
38365 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38366 for as_dir
in $PATH
38369 test -z "$as_dir" && as_dir
=.
38370 for ac_exec_ext
in '' $ac_executable_extensions; do
38371 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38372 ac_cv_prog_ac_ct_STRIP
="strip"
38373 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38379 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
38382 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
38383 if test -n "$ac_ct_STRIP"; then
38384 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
38385 echo "${ECHO_T}$ac_ct_STRIP" >&6
38387 echo "$as_me:$LINENO: result: no" >&5
38388 echo "${ECHO_T}no" >&6
38393 STRIP
="$ac_cv_prog_STRIP"
38396 if test -n "$ac_tool_prefix"; then
38397 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38398 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
38399 echo "$as_me:$LINENO: checking for $ac_word" >&5
38400 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38401 if test "${ac_cv_prog_NM+set}" = set; then
38402 echo $ECHO_N "(cached) $ECHO_C" >&6
38404 if test -n "$NM"; then
38405 ac_cv_prog_NM
="$NM" # Let the user override the test.
38407 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38408 for as_dir
in $PATH
38411 test -z "$as_dir" && as_dir
=.
38412 for ac_exec_ext
in '' $ac_executable_extensions; do
38413 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38414 ac_cv_prog_NM
="${ac_tool_prefix}nm"
38415 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38424 if test -n "$NM"; then
38425 echo "$as_me:$LINENO: result: $NM" >&5
38426 echo "${ECHO_T}$NM" >&6
38428 echo "$as_me:$LINENO: result: no" >&5
38429 echo "${ECHO_T}no" >&6
38433 if test -z "$ac_cv_prog_NM"; then
38435 # Extract the first word of "nm", so it can be a program name with args.
38436 set dummy nm
; ac_word
=$2
38437 echo "$as_me:$LINENO: checking for $ac_word" >&5
38438 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38439 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
38440 echo $ECHO_N "(cached) $ECHO_C" >&6
38442 if test -n "$ac_ct_NM"; then
38443 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
38445 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38446 for as_dir
in $PATH
38449 test -z "$as_dir" && as_dir
=.
38450 for ac_exec_ext
in '' $ac_executable_extensions; do
38451 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38452 ac_cv_prog_ac_ct_NM
="nm"
38453 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38459 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
38462 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
38463 if test -n "$ac_ct_NM"; then
38464 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
38465 echo "${ECHO_T}$ac_ct_NM" >&6
38467 echo "$as_me:$LINENO: result: no" >&5
38468 echo "${ECHO_T}no" >&6
38473 NM
="$ac_cv_prog_NM"
38477 case ${BAKEFILE_HOST} in
38479 INSTALL_DIR
="mkdir"
38481 *) INSTALL_DIR
="$INSTALL -d"
38487 case ${BAKEFILE_HOST} in
38488 *-*-cygwin* | *-*-mingw32* )
38489 LDFLAGS_GUI
="-mwindows"
38495 echo "$as_me:$LINENO: checking if make is GNU make" >&5
38496 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
38497 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
38498 echo $ECHO_N "(cached) $ECHO_C" >&6
38501 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
38502 egrep -s GNU
> /dev
/null
); then
38503 bakefile_cv_prog_makeisgnu
="yes"
38505 bakefile_cv_prog_makeisgnu
="no"
38509 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
38510 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
38512 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38527 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38528 case "${BAKEFILE_HOST}" in
38529 *-*-cygwin* | *-*-mingw32* )
38535 *-pc-os2_emx | *-pc-os2-emx )
38538 powerpc
-*-darwin* )
38547 case "$BAKEFILE_FORCE_PLATFORM" in
38565 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
38566 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
38567 { (exit 1); exit 1; }; }
38580 # Check whether --enable-omf or --disable-omf was given.
38581 if test "${enable_omf+set}" = set; then
38582 enableval
="$enable_omf"
38583 bk_os2_use_omf
="$enableval"
38586 case "${BAKEFILE_HOST}" in
38588 CFLAGS
="$CFLAGS -fno-common"
38589 CXXFLAGS
="$CXXFLAGS -fno-common"
38592 *-pc-os2_emx | *-pc-os2-emx )
38593 if test "x$bk_os2_use_omf" = "xyes" ; then
38596 LDFLAGS
="-Zomf $LDFLAGS"
38597 CFLAGS
="-Zomf $CFLAGS"
38598 CXXFLAGS
="-Zomf $CXXFLAGS"
38608 SO_SUFFIX_MODULE
="so"
38613 DLLPREFIX_MODULE
=""
38616 case "${BAKEFILE_HOST}" in
38619 SO_SUFFIX_MODULE
="sl"
38623 SO_SUFFIX_MODULE
="a"
38625 *-*-cygwin* | *-*-mingw32* )
38627 SO_SUFFIX_MODULE
="dll"
38628 DLLIMP_SUFFIX
="dll.a"
38636 *-pc-os2_emx | *-pc-os2-emx )
38638 SO_SUFFIX_MODULE
="dll"
38639 DLLIMP_SUFFIX
=$OS2_LIBEXT
38643 LIBEXT
=".$OS2_LIBEXT"
38645 powerpc
-*-darwin* )
38647 SO_SUFFIX_MODULE
="bundle"
38651 if test "x$DLLIMP_SUFFIX" = "x" ; then
38652 DLLIMP_SUFFIX
="$SO_SUFFIX"
38665 SHARED_LD_CC
="\$(CC) -shared -o"
38666 SHARED_LD_CXX
="\$(CXX) -shared -o"
38668 if test "x$GCC" = "xyes"; then
38672 case "${BAKEFILE_HOST}" in
38674 if test "x$GCC" = "xyes"; then
38675 SHARED_LD_CC
="${CC} -shared ${PIC_FLAG} -o"
38676 SHARED_LD_CXX
="${CXX} -shared ${PIC_FLAG} -o"
38678 LDFLAGS
="$LDFLAGS -L/usr/lib"
38680 SHARED_LD_CC
="${CC} -b -o"
38681 SHARED_LD_CXX
="${CXX} -b -o"
38687 if test "x$GCC" != "xyes"; then
38688 echo "$as_me:$LINENO: checking for Intel compiler" >&5
38689 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
38690 if test "${bakefile_cv_prog_icc+set}" = set; then
38691 echo $ECHO_N "(cached) $ECHO_C" >&6
38694 cat >conftest.
$ac_ext <<_ACEOF
38697 cat confdefs.h
>>conftest.
$ac_ext
38698 cat >>conftest.
$ac_ext <<_ACEOF
38699 /* end confdefs.h. */
38705 #ifndef __INTEL_COMPILER
38713 rm -f conftest.
$ac_objext
38714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38715 (eval $ac_compile) 2>conftest.er1
38717 grep -v '^ *+' conftest.er1
>conftest.err
38719 cat conftest.err
>&5
38720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38721 (exit $ac_status); } &&
38722 { ac_try
='test -z "$ac_c_werror_flag"
38723 || test ! -s conftest.err'
38724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38725 (eval $ac_try) 2>&5
38727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38728 (exit $ac_status); }; } &&
38729 { ac_try
='test -s conftest.$ac_objext'
38730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38731 (eval $ac_try) 2>&5
38733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38734 (exit $ac_status); }; }; then
38735 bakefile_cv_prog_icc
=yes
38737 echo "$as_me: failed program was:" >&5
38738 sed 's/^/| /' conftest.
$ac_ext >&5
38740 bakefile_cv_prog_icc
=no
38743 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38746 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
38747 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
38748 if test "$bakefile_cv_prog_icc" = "yes"; then
38755 if test "x$GCC" != xyes
; then
38756 SHARED_LD_CC
="${CC} -G -o"
38757 SHARED_LD_CXX
="${CXX} -G -o"
38764 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
38765 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
38766 if test "${wx_cv_gcc31+set}" = set; then
38767 echo $ECHO_N "(cached) $ECHO_C" >&6
38770 cat >conftest.
$ac_ext <<_ACEOF
38773 cat confdefs.h
>>conftest.
$ac_ext
38774 cat >>conftest.
$ac_ext <<_ACEOF
38775 /* end confdefs.h. */
38781 #if (__GNUC__ < 3) || \
38782 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38790 rm -f conftest.
$ac_objext
38791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38792 (eval $ac_compile) 2>conftest.er1
38794 grep -v '^ *+' conftest.er1
>conftest.err
38796 cat conftest.err
>&5
38797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38798 (exit $ac_status); } &&
38799 { ac_try
='test -z "$ac_c_werror_flag"
38800 || test ! -s conftest.err'
38801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38802 (eval $ac_try) 2>&5
38804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38805 (exit $ac_status); }; } &&
38806 { ac_try
='test -s conftest.$ac_objext'
38807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38808 (eval $ac_try) 2>&5
38810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38811 (exit $ac_status); }; }; then
38816 echo "$as_me: failed program was:" >&5
38817 sed 's/^/| /' conftest.
$ac_ext >&5
38824 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38827 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
38828 echo "${ECHO_T}$wx_cv_gcc31" >&6
38829 if test "$wx_cv_gcc31" = "no"; then
38830 cat <<EOF >shared-ld-sh
38832 #-----------------------------------------------------------------------------
38833 #-- Name: distrib/mac/shared-ld-sh
38834 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38835 #-- Author: Gilles Depeyrot
38836 #-- Copyright: (c) 2002 Gilles Depeyrot
38837 #-- Licence: any use permitted
38838 #-----------------------------------------------------------------------------
38843 linking_flag="-dynamiclib"
38845 while test \${#} -gt 0; do
38852 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38853 # collect these options and values
38854 args="\${args} \${1} \${2}"
38858 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38859 # collect these options
38860 args="\${args} \${1}"
38863 -dynamiclib|-bundle)
38864 linking_flag="\${1}"
38868 echo "shared-ld: unhandled option '\${1}'"
38872 *.o | *.a | *.dylib)
38873 # collect object files
38874 objects="\${objects} \${1}"
38878 echo "shared-ld: unhandled argument '\${1}'"
38887 # Link one module containing all the others
38889 if test \${verbose} = 1; then
38890 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
38892 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
38894 if test \${status} != 0; then
38899 # Link the shared library from the single module created
38901 if test \${verbose} = 1; then
38902 echo "cc \${linking_flag} master.\$\$.o \${args}"
38904 c++ \${linking_flag} master.\$\$.o \${args}
38906 if test \${status} != 0; then
38911 # Remove intermediate module
38913 rm -f master.\$\$.o
38917 chmod +x shared
-ld-sh
38919 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
38920 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38921 SHARED_LD_CXX
="$SHARED_LD_CC"
38922 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
38924 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
38925 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
38926 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
38927 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
38930 PIC_FLAG
="-dynamic -fPIC"
38934 if test "x$GCC" != "xyes"; then
38935 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
38936 set dummy makeC
++SharedLib
; ac_word
=$2
38937 echo "$as_me:$LINENO: checking for $ac_word" >&5
38938 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38939 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
38940 echo $ECHO_N "(cached) $ECHO_C" >&6
38942 if test -n "$AIX_CXX_LD"; then
38943 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
38945 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38946 for as_dir
in $PATH
38949 test -z "$as_dir" && as_dir
=.
38950 for ac_exec_ext
in '' $ac_executable_extensions; do
38951 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38952 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
38953 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38959 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
38962 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
38963 if test -n "$AIX_CXX_LD"; then
38964 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
38965 echo "${ECHO_T}$AIX_CXX_LD" >&6
38967 echo "$as_me:$LINENO: result: no" >&5
38968 echo "${ECHO_T}no" >&6
38971 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
38972 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
38977 SHARED_LD_CC
="${LD} -shared -o"
38978 SHARED_LD_CXX
="${LD} -shared -o"
38982 if test "x$GCC" != "xyes"; then
38987 *-*-cygwin* | *-*-mingw32* )
38991 *-pc-os2_emx | *-pc-os2-emx )
38992 SHARED_LD_CC
="dllar.sh -o"
38993 SHARED_LD_CXX
="dllar.sh -o"
38997 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
39005 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
39006 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
39007 { (exit 1); exit 1; }; }
39010 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
39011 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
39013 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
39014 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
39031 case "${BAKEFILE_HOST}" in
39033 SONAME_FLAG
="-Wl,-soname,"
39061 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
39062 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
39065 if test "x$GCC" = "xyes"; then
39068 case "${BAKEFILE_HOST}" in
39069 powerpc
-*-darwin* )
39070 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
39073 DEPSFLAG_GCC
="-MMD"
39076 echo "$as_me:$LINENO: result: gcc" >&5
39077 echo "${ECHO_T}gcc" >&6
39079 echo "$as_me:$LINENO: result: none" >&5
39080 echo "${ECHO_T}none" >&6
39083 if test $DEPS_TRACKING = 1 ; then
39087 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39088 # script. It is used to track C/C++ files dependencies in portable way.
39090 # Permission is given to use this file in any way.
39094 DEPSFLAG_GCC="$DEPSFLAG_GCC"
39098 if test \$DEPSMODE = gcc ; then
39099 \${*} \${DEPSFLAG_GCC}
39101 if test \${status} != 0 ; then
39104 # move created file to the location we want it in:
39105 while test \${#} -gt 0; do
39119 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
39120 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
39121 if test -f \$depfile ; then
39122 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
39125 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
39126 if test -f \$depfile ; then
39127 sed -e "/^\$objfile/!s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
39146 case ${BAKEFILE_HOST} in
39147 *-*-cygwin* | *-*-mingw32* )
39148 if test "$build" != "$host" ; then
39149 RESCOMP
=$host_alias-windres
39151 # Extract the first word of "windres", so it can be a program name with args.
39152 set dummy windres
; ac_word
=$2
39153 echo "$as_me:$LINENO: checking for $ac_word" >&5
39154 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39155 if test "${ac_cv_prog_RESCOMP+set}" = set; then
39156 echo $ECHO_N "(cached) $ECHO_C" >&6
39158 if test -n "$RESCOMP"; then
39159 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
39161 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39162 for as_dir
in $PATH
39165 test -z "$as_dir" && as_dir
=.
39166 for ac_exec_ext
in '' $ac_executable_extensions; do
39167 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39168 ac_cv_prog_RESCOMP
="windres"
39169 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39175 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
39178 RESCOMP
=$ac_cv_prog_RESCOMP
39179 if test -n "$RESCOMP"; then
39180 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39181 echo "${ECHO_T}$RESCOMP" >&6
39183 echo "$as_me:$LINENO: result: no" >&5
39184 echo "${ECHO_T}no" >&6
39191 # Extract the first word of "Rez", so it can be a program name with args.
39192 set dummy Rez
; ac_word
=$2
39193 echo "$as_me:$LINENO: checking for $ac_word" >&5
39194 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39195 if test "${ac_cv_prog_RESCOMP+set}" = set; then
39196 echo $ECHO_N "(cached) $ECHO_C" >&6
39198 if test -n "$RESCOMP"; then
39199 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
39201 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39202 for as_dir
in $PATH
39205 test -z "$as_dir" && as_dir
=.
39206 for ac_exec_ext
in '' $ac_executable_extensions; do
39207 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39208 ac_cv_prog_RESCOMP
="Rez"
39209 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39215 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
39218 RESCOMP
=$ac_cv_prog_RESCOMP
39219 if test -n "$RESCOMP"; then
39220 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39221 echo "${ECHO_T}$RESCOMP" >&6
39223 echo "$as_me:$LINENO: result: no" >&5
39224 echo "${ECHO_T}no" >&6
39227 # Extract the first word of "SetFile", so it can be a program name with args.
39228 set dummy SetFile
; ac_word
=$2
39229 echo "$as_me:$LINENO: checking for $ac_word" >&5
39230 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39231 if test "${ac_cv_prog_SETFILE+set}" = set; then
39232 echo $ECHO_N "(cached) $ECHO_C" >&6
39234 if test -n "$SETFILE"; then
39235 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
39237 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39238 for as_dir
in $PATH
39241 test -z "$as_dir" && as_dir
=.
39242 for ac_exec_ext
in '' $ac_executable_extensions; do
39243 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39244 ac_cv_prog_SETFILE
="SetFile"
39245 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39251 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
39254 SETFILE
=$ac_cv_prog_SETFILE
39255 if test -n "$SETFILE"; then
39256 echo "$as_me:$LINENO: result: $SETFILE" >&5
39257 echo "${ECHO_T}$SETFILE" >&6
39259 echo "$as_me:$LINENO: result: no" >&5
39260 echo "${ECHO_T}no" >&6
39275 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
39276 if test "${enable_precomp_headers+set}" = set; then
39277 enableval
="$enable_precomp_headers"
39278 bk_use_pch
="$enableval"
39283 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39284 if test "x$GCC" = "xyes"; then
39285 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
39286 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
39287 cat >conftest.
$ac_ext <<_ACEOF
39290 cat confdefs.h
>>conftest.
$ac_ext
39291 cat >>conftest.
$ac_ext <<_ACEOF
39292 /* end confdefs.h. */
39298 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39299 #error "no pch support"
39302 #error "no pch support"
39304 #if (__GNUC__ == 3) && \
39305 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39306 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
39307 #error "no pch support"
39314 rm -f conftest.
$ac_objext
39315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39316 (eval $ac_compile) 2>conftest.er1
39318 grep -v '^ *+' conftest.er1
>conftest.err
39320 cat conftest.err
>&5
39321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39322 (exit $ac_status); } &&
39323 { ac_try
='test -z "$ac_c_werror_flag"
39324 || test ! -s conftest.err'
39325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39326 (eval $ac_try) 2>&5
39328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39329 (exit $ac_status); }; } &&
39330 { ac_try
='test -s conftest.$ac_objext'
39331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39332 (eval $ac_try) 2>&5
39334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39335 (exit $ac_status); }; }; then
39337 echo "$as_me:$LINENO: result: yes" >&5
39338 echo "${ECHO_T}yes" >&6
39339 CPPFLAGS
="-fpch-deps $CPPFLAGS"
39343 echo "$as_me: failed program was:" >&5
39344 sed 's/^/| /' conftest.
$ac_ext >&5
39347 echo "$as_me:$LINENO: result: no" >&5
39348 echo "${ECHO_T}no" >&6
39351 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39352 if test $GCC_PCH = 1 ; then
39353 cat <<EOF >bk-make-pch
39356 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39357 # script. It is used to generated precompiled headers.
39359 # Permission is given to use this file in any way.
39368 while test \${#} -gt 0; do
39371 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
39372 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
39373 headerfile="\${incdir}/\${header}"
39377 compiler="\${compiler} \${1}"
39381 if test "x\${headerfile}" = "x" ; then
39382 echo "error: can't find header \${header} in include paths" >2
39384 if test -f \${outfile} ; then
39387 mkdir -p \`dirname \${outfile}\`
39389 depsfile=".deps/\`basename \${outfile}\`.d"
39391 # can do this because gcc is >= 3.4:
39392 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
39396 chmod +x bk
-make-pch
39405 COND_BUILD_DEBUG
="#"
39406 if test "x$BUILD" = "xdebug" ; then
39407 COND_BUILD_DEBUG
=""
39410 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
39411 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39412 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
39415 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
39416 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39417 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
39420 COND_BUILD_DEBUG_UNICODE_0
="#"
39421 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39422 COND_BUILD_DEBUG_UNICODE_0
=""
39425 COND_BUILD_DEBUG_UNICODE_1
="#"
39426 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39427 COND_BUILD_DEBUG_UNICODE_1
=""
39430 COND_BUILD_RELEASE
="#"
39431 if test "x$BUILD" = "xrelease" ; then
39432 COND_BUILD_RELEASE
=""
39435 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
39436 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39437 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
39440 COND_BUILD_RELEASE_UNICODE_0
="#"
39441 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39442 COND_BUILD_RELEASE_UNICODE_0
=""
39445 COND_BUILD_RELEASE_UNICODE_1
="#"
39446 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39447 COND_BUILD_RELEASE_UNICODE_1
=""
39450 COND_DEBUG_FLAG_1
="#"
39451 if test "x$DEBUG_FLAG" = "x1" ; then
39452 COND_DEBUG_FLAG_1
=""
39455 COND_DEBUG_INFO_0
="#"
39456 if test "x$DEBUG_INFO" = "x0" ; then
39457 COND_DEBUG_INFO_0
=""
39460 COND_DEBUG_INFO_1
="#"
39461 if test "x$DEBUG_INFO" = "x1" ; then
39462 COND_DEBUG_INFO_1
=""
39465 COND_DEPS_TRACKING_0
="#"
39466 if test "x$DEPS_TRACKING" = "x0" ; then
39467 COND_DEPS_TRACKING_0
=""
39470 COND_DEPS_TRACKING_1
="#"
39471 if test "x$DEPS_TRACKING" = "x1" ; then
39472 COND_DEPS_TRACKING_1
=""
39476 if test "x$GCC_PCH" = "x1" ; then
39480 COND_MONOLITHIC_0
="#"
39481 if test "x$MONOLITHIC" = "x0" ; then
39482 COND_MONOLITHIC_0
=""
39485 COND_MONOLITHIC_0_SHARED_0
="#"
39486 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
39487 COND_MONOLITHIC_0_SHARED_0
=""
39490 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
39491 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
39492 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
39495 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
39496 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
39497 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
39500 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
39501 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
39502 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
39505 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
39506 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
39507 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
39510 COND_MONOLITHIC_0_SHARED_1
="#"
39511 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
39512 COND_MONOLITHIC_0_SHARED_1
=""
39515 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
39516 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
39517 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
39520 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
39521 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
39522 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
39525 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
39526 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
39527 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
39530 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
39531 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
39532 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
39535 COND_MONOLITHIC_0_USE_ODBC_1
="#"
39536 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
39537 COND_MONOLITHIC_0_USE_ODBC_1
=""
39540 COND_MONOLITHIC_1
="#"
39541 if test "x$MONOLITHIC" = "x1" ; then
39542 COND_MONOLITHIC_1
=""
39545 COND_MONOLITHIC_1_SHARED_0
="#"
39546 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
39547 COND_MONOLITHIC_1_SHARED_0
=""
39550 COND_MONOLITHIC_1_SHARED_1
="#"
39551 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
39552 COND_MONOLITHIC_1_SHARED_1
=""
39555 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
39556 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
39557 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
39560 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
39561 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
39562 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
39565 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
39566 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
39567 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
39570 COND_PLATFORM_MACOSX_1
="#"
39571 if test "x$PLATFORM_MACOSX" = "x1" ; then
39572 COND_PLATFORM_MACOSX_1
=""
39575 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
39576 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
39577 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
39580 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
39581 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
39582 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
39585 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
39586 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
39587 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
39590 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
39591 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
39592 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
39595 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
39596 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
39597 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
39600 COND_PLATFORM_MAC_1
="#"
39601 if test "x$PLATFORM_MAC" = "x1" ; then
39602 COND_PLATFORM_MAC_1
=""
39605 COND_PLATFORM_OS2_1
="#"
39606 if test "x$PLATFORM_OS2" = "x1" ; then
39607 COND_PLATFORM_OS2_1
=""
39610 COND_PLATFORM_UNIX_0
="#"
39611 if test "x$PLATFORM_UNIX" = "x0" ; then
39612 COND_PLATFORM_UNIX_0
=""
39615 COND_PLATFORM_UNIX_1
="#"
39616 if test "x$PLATFORM_UNIX" = "x1" ; then
39617 COND_PLATFORM_UNIX_1
=""
39620 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
39621 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
39622 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
39625 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
39626 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
39627 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
39630 COND_PLATFORM_WIN32_0
="#"
39631 if test "x$PLATFORM_WIN32" = "x0" ; then
39632 COND_PLATFORM_WIN32_0
=""
39635 COND_PLATFORM_WIN32_1
="#"
39636 if test "x$PLATFORM_WIN32" = "x1" ; then
39637 COND_PLATFORM_WIN32_1
=""
39641 if test "x$SHARED" = "x0" ; then
39645 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
39646 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
39647 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
39650 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
39651 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
39652 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
39655 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
39656 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
39657 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
39660 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
39661 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
39662 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
39665 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
39666 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
39667 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
39670 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
39671 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
39672 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
39675 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
39676 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
39677 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
39680 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
39681 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
39682 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
39686 if test "x$SHARED" = "x1" ; then
39690 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
39691 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
39692 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
39695 COND_TOOLKIT_COCOA
="#"
39696 if test "x$TOOLKIT" = "xCOCOA" ; then
39697 COND_TOOLKIT_COCOA
=""
39700 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
39701 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39702 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
39705 COND_TOOLKIT_GTK
="#"
39706 if test "x$TOOLKIT" = "xGTK" ; then
39707 COND_TOOLKIT_GTK
=""
39710 COND_TOOLKIT_GTK_USE_GUI_1
="#"
39711 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
39712 COND_TOOLKIT_GTK_USE_GUI_1
=""
39715 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
39716 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39717 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
39720 COND_TOOLKIT_MAC
="#"
39721 if test "x$TOOLKIT" = "xMAC" ; then
39722 COND_TOOLKIT_MAC
=""
39725 COND_TOOLKIT_MAC_USE_GUI_1
="#"
39726 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
39727 COND_TOOLKIT_MAC_USE_GUI_1
=""
39730 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
39731 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39732 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
39735 COND_TOOLKIT_MGL
="#"
39736 if test "x$TOOLKIT" = "xMGL" ; then
39737 COND_TOOLKIT_MGL
=""
39740 COND_TOOLKIT_MGL_USE_GUI_1
="#"
39741 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
39742 COND_TOOLKIT_MGL_USE_GUI_1
=""
39745 COND_TOOLKIT_MOTIF
="#"
39746 if test "x$TOOLKIT" = "xMOTIF" ; then
39747 COND_TOOLKIT_MOTIF
=""
39750 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
39751 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
39752 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
39755 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
39756 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39757 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
39760 COND_TOOLKIT_MSW
="#"
39761 if test "x$TOOLKIT" = "xMSW" ; then
39762 COND_TOOLKIT_MSW
=""
39765 COND_TOOLKIT_MSW_USE_GUI_1
="#"
39766 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
39767 COND_TOOLKIT_MSW_USE_GUI_1
=""
39770 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
39771 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39772 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
39775 COND_TOOLKIT_PM
="#"
39776 if test "x$TOOLKIT" = "xPM" ; then
39780 COND_TOOLKIT_PM_USE_GUI_1
="#"
39781 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
39782 COND_TOOLKIT_PM_USE_GUI_1
=""
39785 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
39786 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39787 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
39790 COND_TOOLKIT_X11
="#"
39791 if test "x$TOOLKIT" = "xX11" ; then
39792 COND_TOOLKIT_X11
=""
39795 COND_TOOLKIT_X11_USE_GUI_1
="#"
39796 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
39797 COND_TOOLKIT_X11_USE_GUI_1
=""
39801 if test "x$UNICODE" = "x1" ; then
39805 COND_USE_EXCEPTIONS_0
="#"
39806 if test "x$USE_EXCEPTIONS" = "x0" ; then
39807 COND_USE_EXCEPTIONS_0
=""
39810 COND_USE_EXCEPTIONS_1
="#"
39811 if test "x$USE_EXCEPTIONS" = "x1" ; then
39812 COND_USE_EXCEPTIONS_1
=""
39816 if test "x$USE_GUI" = "x0" ; then
39821 if test "x$USE_GUI" = "x1" ; then
39825 COND_USE_GUI_1_WXUNIV_0
="#"
39826 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39827 COND_USE_GUI_1_WXUNIV_0
=""
39830 COND_USE_GUI_1_WXUNIV_1
="#"
39831 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
39832 COND_USE_GUI_1_WXUNIV_1
=""
39835 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
39836 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
39837 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
39840 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
39841 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
39842 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
39845 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
39846 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
39847 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
39850 COND_USE_ODBC_1
="#"
39851 if test "x$USE_ODBC" = "x1" ; then
39855 COND_USE_PLUGINS_0
="#"
39856 if test "x$USE_PLUGINS" = "x0" ; then
39857 COND_USE_PLUGINS_0
=""
39860 COND_USE_SOSYMLINKS_1
="#"
39861 if test "x$USE_SOSYMLINKS" = "x1" ; then
39862 COND_USE_SOSYMLINKS_1
=""
39865 COND_USE_SOVERLINUX_1
="#"
39866 if test "x$USE_SOVERLINUX" = "x1" ; then
39867 COND_USE_SOVERLINUX_1
=""
39870 COND_USE_SOVERSION_0
="#"
39871 if test "x$USE_SOVERSION" = "x0" ; then
39872 COND_USE_SOVERSION_0
=""
39875 COND_USE_SOVERSOLARIS_1
="#"
39876 if test "x$USE_SOVERSOLARIS" = "x1" ; then
39877 COND_USE_SOVERSOLARIS_1
=""
39880 COND_WITH_PLUGIN_SDL_1
="#"
39881 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
39882 COND_WITH_PLUGIN_SDL_1
=""
39885 COND_WITH_SDL_1
="#"
39886 if test "x$WITH_SDL" = "x1" ; then
39891 if test "x$WXUNIV" = "x1" ; then
39895 COND_WXUSE_EXPAT_BUILTIN
="#"
39896 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
39897 COND_WXUSE_EXPAT_BUILTIN
=""
39900 COND_WXUSE_LIBJPEG_BUILTIN
="#"
39901 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
39902 COND_WXUSE_LIBJPEG_BUILTIN
=""
39905 COND_WXUSE_LIBPNG_BUILTIN
="#"
39906 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
39907 COND_WXUSE_LIBPNG_BUILTIN
=""
39910 COND_WXUSE_LIBTIFF_BUILTIN
="#"
39911 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
39912 COND_WXUSE_LIBTIFF_BUILTIN
=""
39915 COND_WXUSE_ODBC_BUILTIN
="#"
39916 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
39917 COND_WXUSE_ODBC_BUILTIN
=""
39920 COND_WXUSE_REGEX_BUILTIN
="#"
39921 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
39922 COND_WXUSE_REGEX_BUILTIN
=""
39925 COND_WXUSE_ZLIB_BUILTIN
="#"
39926 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
39927 COND_WXUSE_ZLIB_BUILTIN
=""
39934 if test $GCC_PCH = 1 ; then
39935 CODE_GEN_FLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
39936 CPPFLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
39939 powerpc
-*-darwin* )
39940 CODE_GEN_FLAGS
="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
39941 CPPFLAGS
="-DNO_GCC_PRAGMA $CPPFLAGS"
39947 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
40048 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
40049 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
40050 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
40051 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
40052 echo $ECHO_N "(cached) $ECHO_C" >&6
40054 cat >conftest.
make <<\_ACEOF
40056 @
echo 'ac_maketemp="$(MAKE)"'
40058 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
40059 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
40060 if test -n "$ac_maketemp"; then
40061 eval ac_cv_prog_make_
${ac_make}_set
=yes
40063 eval ac_cv_prog_make_
${ac_make}_set
=no
40065 rm -f conftest.
make
40067 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
40068 echo "$as_me:$LINENO: result: yes" >&5
40069 echo "${ECHO_T}yes" >&6
40072 echo "$as_me:$LINENO: result: no" >&5
40073 echo "${ECHO_T}no" >&6
40074 SET_MAKE
="MAKE=${MAKE-make}"
40078 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
40079 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
40082 ac_config_headers
="$ac_config_headers setup.h"
40085 ac_config_files
="$ac_config_files wx-config version-script Makefile"
40088 ac_config_commands
="$ac_config_commands default"
40092 if test "$wxUSE_GUI" = "yes"; then
40093 SUBDIRS
="samples demos utils contrib"
40094 else SUBDIRS
="samples utils"
40099 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
40100 if test "${with_cppunit_prefix+set}" = set; then
40101 withval
="$with_cppunit_prefix"
40102 cppunit_config_prefix
="$withval"
40104 cppunit_config_prefix
=""
40107 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
40108 if test "${with_cppunit_exec_prefix+set}" = set; then
40109 withval
="$with_cppunit_exec_prefix"
40110 cppunit_config_exec_prefix
="$withval"
40112 cppunit_config_exec_prefix
=""
40115 if test x
$cppunit_config_exec_prefix != x
; then
40116 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
40117 if test x
${CPPUNIT_CONFIG+set} != xset
; then
40118 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
40121 if test x
$cppunit_config_prefix != x
; then
40122 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
40123 if test x
${CPPUNIT_CONFIG+set} != xset
; then
40124 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
40128 # Extract the first word of "cppunit-config", so it can be a program name with args.
40129 set dummy cppunit
-config; ac_word
=$2
40130 echo "$as_me:$LINENO: checking for $ac_word" >&5
40131 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40132 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
40133 echo $ECHO_N "(cached) $ECHO_C" >&6
40135 case $CPPUNIT_CONFIG in
40137 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
40140 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40141 for as_dir
in $PATH
40144 test -z "$as_dir" && as_dir
=.
40145 for ac_exec_ext
in '' $ac_executable_extensions; do
40146 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40147 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
40148 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40154 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
40158 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
40160 if test -n "$CPPUNIT_CONFIG"; then
40161 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
40162 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
40164 echo "$as_me:$LINENO: result: no" >&5
40165 echo "${ECHO_T}no" >&6
40168 cppunit_version_min
=1.8.0
40170 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
40171 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
40173 if test "$CPPUNIT_CONFIG" = "no" ; then
40176 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
40177 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
40178 cppunit_version
=`$CPPUNIT_CONFIG --version`
40180 cppunit_major_version
=`echo $cppunit_version | \
40181 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
40182 cppunit_minor_version
=`echo $cppunit_version | \
40183 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
40184 cppunit_micro_version
=`echo $cppunit_version | \
40185 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
40187 cppunit_major_min
=`echo $cppunit_version_min | \
40188 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
40189 cppunit_minor_min
=`echo $cppunit_version_min | \
40190 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
40191 cppunit_micro_min
=`echo $cppunit_version_min | \
40192 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
40194 cppunit_version_proper
=`expr \
40195 $cppunit_major_version \> $cppunit_major_min \| \
40196 $cppunit_major_version \= $cppunit_major_min \& \
40197 $cppunit_minor_version \> $cppunit_minor_min \| \
40198 $cppunit_major_version \= $cppunit_major_min \& \
40199 $cppunit_minor_version \= $cppunit_minor_min \& \
40200 $cppunit_micro_version \>= $cppunit_micro_min `
40202 if test "$cppunit_version_proper" = "1" ; then
40203 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
40204 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
40206 echo "$as_me:$LINENO: result: no" >&5
40207 echo "${ECHO_T}no" >&6
40212 if test "x$no_cppunit" = x
; then
40213 SUBDIRS
="$SUBDIRS tests"
40224 for subdir
in `echo $SUBDIRS`; do
40225 if test -d ${srcdir}/${subdir} ; then
40226 if test "$wxUSE_GUI" = "yes"; then
40227 if test ${subdir} = "samples"; then
40228 makefiles
="samples/Makefile.in $makefiles"
40229 for sample
in `echo $SAMPLES_SUBDIRS`; do
40230 if test -d $srcdir/samples
/$sample; then
40231 makefiles
="samples/$sample/Makefile.in $makefiles"
40234 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
40236 else if test ${subdir} = "samples"; then
40237 makefiles
="samples/Makefile.in samples/console/Makefile.in"
40238 elif test ${subdir} = "utils"; then
40239 makefiles
="utils/HelpGen/Makefile.in \
40240 utils/HelpGen/src/Makefile.in \
40241 utils/tex2rtf/Makefile.in \
40242 utils/tex2rtf/src/Makefile.in"
40243 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
40247 for mkin
in $makefiles ; do
40248 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
40249 ac_config_files
="$ac_config_files $mk"
40256 cat >confcache
<<\_ACEOF
40257 # This file is a shell script that caches the results of configure
40258 # tests run on this system so they can be shared between configure
40259 # scripts and configure runs, see configure's option --config-cache.
40260 # It is not useful on other systems. If it contains results you don't
40261 # want to keep, you may remove or edit it.
40263 # config.status only pays attention to the cache file if you give it
40264 # the --recheck option to rerun configure.
40266 # `ac_cv_env_foo' variables (set or unset) will be overridden when
40267 # loading this file, other *unset* `ac_cv_foo' will be assigned the
40268 # following values.
40272 # The following way of writing the cache mishandles newlines in values,
40273 # but we know of no workaround that is simple, portable, and efficient.
40274 # So, don't put newlines in cache variables' values.
40275 # Ultrix sh set writes to stderr and can't be redirected directly,
40276 # and sets the high bit in the cache file unless we assign to the vars.
40279 case `(ac_space=' '; set | grep ac_space) 2>&1` in
40281 # `set' does not quote correctly, so add quotes (double-quote
40282 # substitution turns \\\\ into \\, and sed turns \\ into \).
40285 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
40288 # `set' quotes correctly as required by POSIX, so do not add quotes.
40290 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
40297 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
40299 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
40301 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
40302 if test -w $cache_file; then
40303 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
40304 cat confcache
>$cache_file
40306 echo "not updating unwritable cache $cache_file"
40311 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
40312 # Let make expand exec_prefix.
40313 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
40315 # VPATH may cause trouble with some makes, so we remove $(srcdir),
40316 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
40317 # trailing colons and then remove the whole line if VPATH becomes empty
40318 # (actually we leave an empty line to preserve line numbers).
40319 if test "x$srcdir" = x.
; then
40320 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
40321 s/:*\$(srcdir):*/:/;
40322 s/:*\${srcdir}:*/:/;
40324 s/^\([^=]*=[ ]*\):*/\1/;
40330 DEFS
=-DHAVE_CONFIG_H
40334 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
40335 # 1. Remove the extension, and $U if already installed.
40336 ac_i
=`echo "$ac_i" |
40337 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
40339 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
40340 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
40342 LIBOBJS
=$ac_libobjs
40344 LTLIBOBJS
=$ac_ltlibobjs
40348 : ${CONFIG_STATUS=./config.status}
40349 ac_clean_files_save
=$ac_clean_files
40350 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
40351 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
40352 echo "$as_me: creating $CONFIG_STATUS" >&6;}
40353 cat >$CONFIG_STATUS <<_ACEOF
40355 # Generated by $as_me.
40356 # Run this file to recreate the current configuration.
40357 # Compiler output produced by configure, useful for debugging
40358 # configure, is in config.log if it exists.
40361 ac_cs_recheck=false
40363 SHELL=\${CONFIG_SHELL-$SHELL}
40366 cat >>$CONFIG_STATUS <<\_ACEOF
40367 ## --------------------- ##
40368 ## M4sh Initialization. ##
40369 ## --------------------- ##
40371 # Be Bourne compatible
40372 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
40375 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
40376 # is contrary to our usage. Disable this feature.
40377 alias -g '${1+"$@"}'='"$@"'
40378 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
40381 DUALCASE
=1; export DUALCASE
# for MKS sh
40383 # Support unset when possible.
40384 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
40391 # Work around bugs in pre-3.0 UWIN ksh.
40392 $as_unset ENV MAIL MAILPATH
40399 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
40400 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
40401 LC_TELEPHONE LC_TIME
40403 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
40404 eval $as_var=C
; export $as_var
40410 # Required to use basename.
40411 if expr a
: '\(a\)' >/dev
/null
2>&1; then
40417 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
40418 as_basename
=basename
40424 # Name of the executable.
40425 as_me
=`$as_basename "$0" ||
40426 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
40427 X"$0" : 'X\(//\)$' \| \
40428 X"$0" : 'X\(/\)$' \| \
40429 . : '\(.\)' 2>/dev/null ||
40431 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
40432 /^X\/\(\/\/\)$/{ s//\1/; q; }
40433 /^X\/\(\/\).*/{ s//\1/; q; }
40437 # PATH needs CR, and LINENO needs CR and PATH.
40438 # Avoid depending upon Character Ranges.
40439 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
40440 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
40441 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
40442 as_cr_digits
='0123456789'
40443 as_cr_alnum
=$as_cr_Letters$as_cr_digits
40445 # The user is always right.
40446 if test "${PATH_SEPARATOR+set}" != set; then
40447 echo "#! /bin/sh" >conf$$.sh
40448 echo "exit 0" >>conf$$.sh
40450 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
40459 as_lineno_1
=$LINENO
40460 as_lineno_2
=$LINENO
40461 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
40462 test "x$as_lineno_1" != "x$as_lineno_2" &&
40463 test "x$as_lineno_3" = "x$as_lineno_2" || {
40464 # Find who we are. Look in the path if we contain no path at all
40467 *[\\/]* ) as_myself
=$0 ;;
40468 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40469 for as_dir
in $PATH
40472 test -z "$as_dir" && as_dir
=.
40473 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
40478 # We did not find ourselves, most probably we were run as `sh COMMAND'
40479 # in which case we are not to be found in the path.
40480 if test "x$as_myself" = x
; then
40483 if test ! -f "$as_myself"; then
40484 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
40485 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
40486 { (exit 1); exit 1; }; }
40488 case $CONFIG_SHELL in
40490 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40491 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
40494 test -z "$as_dir" && as_dir
=.
40495 for as_base
in sh bash ksh sh5
; do
40498 if ("$as_dir/$as_base" -c '
40499 as_lineno_1=$LINENO
40500 as_lineno_2=$LINENO
40501 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
40502 test "x$as_lineno_1" != "x$as_lineno_2" &&
40503 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
40504 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
40505 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
40506 CONFIG_SHELL
=$as_dir/$as_base
40507 export CONFIG_SHELL
40508 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
40516 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
40517 # uniformly replaced by the line number. The first 'sed' inserts a
40518 # line-number line before each line; the second 'sed' does the real
40519 # work. The second script uses 'N' to pair each line-number line
40520 # with the numbered line, and appends trailing '-' during
40521 # substitution so that $LINENO is not a special case at line end.
40522 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
40523 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
40524 sed '=' <$as_myself |
40529 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
40532 s,^['$as_cr_digits']*\n,,
40533 ' >$as_me.lineno
&&
40534 chmod +x
$as_me.lineno
||
40535 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
40536 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
40537 { (exit 1); exit 1; }; }
40539 # Don't try to exec as it changes $[0], causing all sort of problems
40540 # (the dirname of $[0] is not the place where we might find the
40541 # original and so on. Autoconf is especially sensible to this).
40543 # Exit status is that of the last command.
40548 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
40549 *c
*,-n*) ECHO_N
= ECHO_C
='
40551 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
40552 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
40555 if expr a
: '\(a\)' >/dev
/null
2>&1; then
40561 rm -f conf$$ conf$$.exe conf$$.
file
40563 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
40564 # We could just check for DJGPP; but this test a) works b) is more generic
40565 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
40566 if test -f conf$$.exe
; then
40567 # Don't use ln at all; we don't have any links
40572 elif ln conf$$.
file conf$$
2>/dev
/null
; then
40577 rm -f conf$$ conf$$.exe conf$$.
file
40579 if mkdir -p .
2>/dev
/null
; then
40582 test -d .
/-p && rmdir .
/-p
40586 as_executable_p
="test -f"
40588 # Sed expression to map a string onto a valid CPP name.
40589 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
40591 # Sed expression to map a string onto a valid variable name.
40592 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
40596 # We need space, tab and new line, in precisely that order.
40606 # Open the log real soon, to keep \$[0] and so on meaningful, and to
40607 # report actual input values of CONFIG_FILES etc. instead of their
40608 # values after options handling. Logging --version etc. is OK.
40612 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
40613 ## Running $as_me. ##
40618 This file was extended by wxWindows $as_me 2.5.1, which was
40619 generated by GNU Autoconf 2.59. Invocation command line was
40621 CONFIG_FILES = $CONFIG_FILES
40622 CONFIG_HEADERS = $CONFIG_HEADERS
40623 CONFIG_LINKS = $CONFIG_LINKS
40624 CONFIG_COMMANDS = $CONFIG_COMMANDS
40628 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
40632 # Files that config.status was made for.
40633 if test -n "$ac_config_files"; then
40634 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
40637 if test -n "$ac_config_headers"; then
40638 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
40641 if test -n "$ac_config_links"; then
40642 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
40645 if test -n "$ac_config_commands"; then
40646 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
40649 cat >>$CONFIG_STATUS <<\_ACEOF
40652 \`$as_me' instantiates files from templates according to the
40653 current configuration.
40655 Usage: $0 [OPTIONS] [FILE]...
40657 -h, --help print this help, then exit
40658 -V, --version print version number, then exit
40659 -q, --quiet do not print progress messages
40660 -d, --debug don't remove temporary files
40661 --recheck update $as_me by reconfiguring in the same conditions
40662 --file=FILE[:TEMPLATE]
40663 instantiate the configuration file FILE
40664 --header=FILE[:TEMPLATE]
40665 instantiate the configuration header FILE
40667 Configuration files:
40670 Configuration headers:
40673 Configuration commands:
40676 Report bugs to <bug-autoconf@gnu.org>."
40679 cat >>$CONFIG_STATUS <<_ACEOF
40681 wxWindows config.status 2.5.1
40682 configured by $0, generated by GNU Autoconf 2.59,
40683 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
40685 Copyright (C) 2003 Free Software Foundation, Inc.
40686 This config.status script is free software; the Free Software Foundation
40687 gives unlimited permission to copy, distribute and modify it."
40692 cat >>$CONFIG_STATUS <<\_ACEOF
40693 # If no file are specified by the user, then we need to provide default
40694 # value. By we need to know if files were specified by the user.
40700 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
40701 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
40709 *) # This is not an option, so the user has probably given explicit
40712 ac_need_defaults
=false
;;
40716 # Handling of the options.
40718 cat >>$CONFIG_STATUS <<\_ACEOF
40719 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
40721 --version | --vers* | -V )
40722 echo "$ac_cs_version"; exit 0 ;;
40724 # Conflict between --help and --header
40725 { { echo "$as_me:$LINENO: error: ambiguous option: $1
40726 Try \`$0 --help' for more information." >&5
40727 echo "$as_me: error: ambiguous option: $1
40728 Try \`$0 --help' for more information." >&2;}
40729 { (exit 1); exit 1; }; };;
40730 --help | --hel | -h )
40731 echo "$ac_cs_usage"; exit 0 ;;
40732 --debug | --d* | -d )
40734 --file | --fil | --fi | --f )
40736 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
40737 ac_need_defaults
=false
;;
40738 --header | --heade | --head | --hea )
40740 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
40741 ac_need_defaults
=false
;;
40742 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
40743 | -silent | --silent | --silen | --sile | --sil | --si | --s)
40746 # This is an error.
40747 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
40748 Try \`$0 --help' for more information." >&5
40749 echo "$as_me: error: unrecognized option: $1
40750 Try \`$0 --help' for more information." >&2;}
40751 { (exit 1); exit 1; }; } ;;
40753 *) ac_config_targets
="$ac_config_targets $1" ;;
40759 ac_configure_extra_args
=
40761 if $ac_cs_silent; then
40763 ac_configure_extra_args
="$ac_configure_extra_args --silent"
40767 cat >>$CONFIG_STATUS <<_ACEOF
40768 if \$ac_cs_recheck; then
40769 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
40770 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
40775 cat >>$CONFIG_STATUS <<_ACEOF
40777 # INIT-COMMANDS section.
40781 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
40790 cat >>$CONFIG_STATUS <<\_ACEOF
40791 for ac_config_target
in $ac_config_targets
40793 case "$ac_config_target" in
40794 # Handling of arguments.
40795 "wx-config" ) CONFIG_FILES
="$CONFIG_FILES wx-config" ;;
40796 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
40797 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
40798 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
40799 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
40800 "setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS setup.h" ;;
40801 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
40802 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
40803 { (exit 1); exit 1; }; };;
40807 # If the user did not use the arguments to specify the items to instantiate,
40808 # then the envvar interface is used. Set only those that are not.
40809 # We use the long form for the default assignment because of an extremely
40810 # bizarre bug on SunOS 4.1.3.
40811 if $ac_need_defaults; then
40812 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
40813 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
40814 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
40817 # Have a temporary directory for convenience. Make it in the build tree
40818 # simply because there is no reason to put it here, and in addition,
40819 # creating and moving files from /tmp can sometimes cause problems.
40820 # Create a temporary directory, and hook for its removal unless debugging.
40823 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
40824 trap '{ (exit 1); exit 1; }' 1 2 13 15
40827 # Create a (secure) tmp directory for tmp files.
40830 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
40831 test -n "$tmp" && test -d "$tmp"
40834 tmp
=.
/confstat$$
-$RANDOM
40835 (umask 077 && mkdir $tmp)
40838 echo "$me: cannot create a temporary directory in ." >&2
40839 { (exit 1); exit 1; }
40844 cat >>$CONFIG_STATUS <<_ACEOF
40847 # CONFIG_FILES section.
40850 # No need to generate the scripts if there are no CONFIG_FILES.
40851 # This happens for instance when ./config.status config.h
40852 if test -n "\$CONFIG_FILES"; then
40853 # Protect against being on the right side of a sed subst in config.status.
40854 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
40855 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
40856 s,@SHELL@,$SHELL,;t t
40857 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
40858 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
40859 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
40860 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
40861 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
40862 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
40863 s,@exec_prefix@,$exec_prefix,;t t
40864 s,@prefix@,$prefix,;t t
40865 s,@program_transform_name@,$program_transform_name,;t t
40866 s,@bindir@,$bindir,;t t
40867 s,@sbindir@,$sbindir,;t t
40868 s,@libexecdir@,$libexecdir,;t t
40869 s,@datadir@,$datadir,;t t
40870 s,@sysconfdir@,$sysconfdir,;t t
40871 s,@sharedstatedir@,$sharedstatedir,;t t
40872 s,@localstatedir@,$localstatedir,;t t
40873 s,@libdir@,$libdir,;t t
40874 s,@includedir@,$includedir,;t t
40875 s,@oldincludedir@,$oldincludedir,;t t
40876 s,@infodir@,$infodir,;t t
40877 s,@mandir@,$mandir,;t t
40878 s,@build_alias@,$build_alias,;t t
40879 s,@host_alias@,$host_alias,;t t
40880 s,@target_alias@,$target_alias,;t t
40881 s,@DEFS@,$DEFS,;t t
40882 s,@ECHO_C@,$ECHO_C,;t t
40883 s,@ECHO_N@,$ECHO_N,;t t
40884 s,@ECHO_T@,$ECHO_T,;t t
40885 s,@LIBS@,$LIBS,;t t
40886 s,@build@,$build,;t t
40887 s,@build_cpu@,$build_cpu,;t t
40888 s,@build_vendor@,$build_vendor,;t t
40889 s,@build_os@,$build_os,;t t
40890 s,@host@,$host,;t t
40891 s,@host_cpu@,$host_cpu,;t t
40892 s,@host_vendor@,$host_vendor,;t t
40893 s,@host_os@,$host_os,;t t
40894 s,@target@,$target,;t t
40895 s,@target_cpu@,$target_cpu,;t t
40896 s,@target_vendor@,$target_vendor,;t t
40897 s,@target_os@,$target_os,;t t
40899 s,@CFLAGS@,$CFLAGS,;t t
40900 s,@LDFLAGS@,$LDFLAGS,;t t
40901 s,@CPPFLAGS@,$CPPFLAGS,;t t
40902 s,@ac_ct_CC@,$ac_ct_CC,;t t
40903 s,@EXEEXT@,$EXEEXT,;t t
40904 s,@OBJEXT@,$OBJEXT,;t t
40906 s,@EGREP@,$EGREP,;t t
40908 s,@CXXFLAGS@,$CXXFLAGS,;t t
40909 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
40910 s,@RANLIB@,$RANLIB,;t t
40911 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
40913 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
40914 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
40915 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
40916 s,@STRIP@,$STRIP,;t t
40917 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
40918 s,@LN_S@,$LN_S,;t t
40919 s,@CXXCPP@,$CXXCPP,;t t
40920 s,@subdirs@,$subdirs,;t t
40921 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
40922 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
40923 s,@GTK_LIBS@,$GTK_LIBS,;t t
40924 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
40925 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
40926 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
40927 s,@X_CFLAGS@,$X_CFLAGS,;t t
40928 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
40929 s,@X_LIBS@,$X_LIBS,;t t
40930 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
40931 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
40932 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
40933 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
40934 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
40935 s,@RESCOMP@,$RESCOMP,;t t
40936 s,@DEREZ@,$DEREZ,;t t
40937 s,@SETFILE@,$SETFILE,;t t
40938 s,@LIBICONV@,$LIBICONV,;t t
40939 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
40940 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
40941 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
40942 s,@SDL_LIBS@,$SDL_LIBS,;t t
40943 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
40944 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
40945 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
40946 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
40947 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
40948 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
40949 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
40950 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
40951 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
40952 s,@VENDOR@,$VENDOR,;t t
40953 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
40954 s,@WXUNIV@,$WXUNIV,;t t
40955 s,@MONOLITHIC@,$MONOLITHIC,;t t
40956 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
40957 s,@EXTRALIBS@,$EXTRALIBS,;t t
40958 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
40959 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
40960 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
40961 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
40962 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
40963 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
40964 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
40965 s,@UNICODE@,$UNICODE,;t t
40966 s,@BUILD@,$BUILD,;t t
40967 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
40968 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
40969 s,@SHARED@,$SHARED,;t t
40970 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
40971 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
40972 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
40973 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
40974 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
40975 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
40976 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
40977 s,@SET_MAKE@,$SET_MAKE,;t t
40978 s,@MAKE_SET@,$MAKE_SET,;t t
40979 s,@ac_ct_AR@,$ac_ct_AR,;t t
40980 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
40982 s,@ac_ct_NM@,$ac_ct_NM,;t t
40983 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
40984 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
40985 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
40986 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
40987 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
40988 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
40989 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
40990 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
40991 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
40992 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
40993 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
40994 s,@LIBPREFIX@,$LIBPREFIX,;t t
40995 s,@LIBEXT@,$LIBEXT,;t t
40996 s,@DLLPREFIX@,$DLLPREFIX,;t t
40997 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
40998 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
40999 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
41000 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
41001 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
41002 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
41003 s,@PIC_FLAG@,$PIC_FLAG,;t t
41004 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
41005 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
41006 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
41007 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
41008 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
41009 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
41010 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
41011 s,@GCC_PCH@,$GCC_PCH,;t t
41012 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
41013 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
41014 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
41015 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
41016 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
41017 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
41018 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
41019 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
41020 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
41021 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
41022 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
41023 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
41024 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
41025 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
41026 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
41027 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
41028 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
41029 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
41030 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
41031 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
41032 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
41033 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
41034 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
41035 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
41036 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
41037 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
41038 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
41039 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
41040 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
41041 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
41042 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
41043 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
41044 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
41045 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
41046 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
41047 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
41048 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
41049 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
41050 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
41051 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
41052 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
41053 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
41054 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
41055 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
41056 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
41057 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
41058 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
41059 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
41060 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
41061 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
41062 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
41063 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
41064 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
41065 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
41066 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
41067 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
41068 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
41069 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
41070 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
41071 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
41072 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
41073 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
41074 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
41075 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
41076 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
41077 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
41078 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
41079 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
41080 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
41081 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
41082 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
41083 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
41084 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
41085 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
41086 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
41087 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
41088 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
41089 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
41090 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
41091 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
41092 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
41093 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
41094 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
41095 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
41096 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
41097 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
41098 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
41099 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
41100 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
41101 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
41102 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
41103 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
41104 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
41105 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
41106 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
41107 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
41108 s,@COND_WITH_SDL_1@,$COND_WITH_SDL_1,;t t
41109 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
41110 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
41111 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
41112 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
41113 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
41114 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
41115 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
41116 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
41117 s,@PATH_IFS@,$PATH_IFS,;t t
41118 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
41119 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
41120 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
41121 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
41122 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
41123 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
41124 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
41125 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
41126 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
41127 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
41128 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
41129 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
41130 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
41131 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
41132 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
41133 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
41134 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
41135 s,@WX_ALL@,$WX_ALL,;t t
41136 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
41137 s,@SHARED_LD@,$SHARED_LD,;t t
41138 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
41139 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
41140 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
41141 s,@USE_GUI@,$USE_GUI,;t t
41142 s,@AFMINSTALL@,$AFMINSTALL,;t t
41143 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
41144 s,@TOOLKIT@,$TOOLKIT,;t t
41145 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
41146 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
41147 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
41148 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
41149 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
41150 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
41151 s,@cross_compiling@,$cross_compiling,;t t
41152 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
41153 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
41154 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
41155 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
41156 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
41157 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
41158 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
41159 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
41160 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
41161 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
41162 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
41163 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
41164 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
41165 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
41166 s,@GUIDIST@,$GUIDIST,;t t
41167 s,@PORT_FILES@,$PORT_FILES,;t t
41168 s,@DISTDIR@,$DISTDIR,;t t
41169 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
41170 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
41171 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
41172 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
41173 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
41174 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
41175 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
41176 s,@RESFLAGS@,$RESFLAGS,;t t
41177 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
41178 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
41179 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
41180 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
41181 s,@MACRESCOMP@,$MACRESCOMP,;t t
41182 s,@MACSETFILE@,$MACSETFILE,;t t
41183 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
41185 s,@GCC_SEARCHES_USR_LOCAL_INCLUDE@,$GCC_SEARCHES_USR_LOCAL_INCLUDE,;t t
41186 s,@DLLTOOL@,$DLLTOOL,;t t
41189 s,@MAKEINFO@,$MAKEINFO,;t t
41190 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
41191 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
41192 s,@LIBOBJS@,$LIBOBJS,;t t
41193 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
41198 cat >>$CONFIG_STATUS <<\_ACEOF
41199 # Split the substitutions into bite-sized pieces for seds with
41200 # small command number limits, like on Digital OSF/1 and HP-UX.
41201 ac_max_sed_lines
=48
41202 ac_sed_frag
=1 # Number of current file.
41203 ac_beg
=1 # First line for current file.
41204 ac_end
=$ac_max_sed_lines # Line after last line for current file.
41207 while $ac_more_lines; do
41208 if test $ac_beg -gt 1; then
41209 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
41211 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
41213 if test ! -s $tmp/subs.frag
; then
41214 ac_more_lines
=false
41216 # The purpose of the label and of the branching condition is to
41217 # speed up the sed processing (if there are no `@' at all, there
41218 # is no need to browse any of the substitutions).
41219 # These are the two extra sed commands mentioned above.
41221 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
41222 if test -z "$ac_sed_cmds"; then
41223 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
41225 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
41227 ac_sed_frag
=`expr $ac_sed_frag + 1`
41229 ac_end
=`expr $ac_end + $ac_max_sed_lines`
41232 if test -z "$ac_sed_cmds"; then
41235 fi # test -n "$CONFIG_FILES"
41238 cat >>$CONFIG_STATUS <<\_ACEOF
41239 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
41240 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
41242 - | *:- | *:-:* ) # input from stdin
41244 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
41245 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
41246 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
41247 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
41248 * ) ac_file_in
=$ac_file.
in ;;
41251 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
41252 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
41253 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41254 X"$ac_file" : 'X\(//\)[^/]' \| \
41255 X"$ac_file" : 'X\(//\)$' \| \
41256 X"$ac_file" : 'X\(/\)' \| \
41257 . : '\(.\)' 2>/dev/null ||
41259 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41260 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41261 /^X\(\/\/\)$/{ s//\1/; q; }
41262 /^X\(\/\).*/{ s//\1/; q; }
41264 { if $as_mkdir_p; then
41269 while test ! -d "$as_dir"; do
41270 as_dirs
="$as_dir $as_dirs"
41271 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
41272 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41273 X"$as_dir" : 'X\(//\)[^/]' \| \
41274 X"$as_dir" : 'X\(//\)$' \| \
41275 X"$as_dir" : 'X\(/\)' \| \
41276 . : '\(.\)' 2>/dev/null ||
41278 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41279 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41280 /^X\(\/\/\)$/{ s//\1/; q; }
41281 /^X\(\/\).*/{ s//\1/; q; }
41284 test ! -n "$as_dirs" || mkdir $as_dirs
41285 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
41286 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
41287 { (exit 1); exit 1; }; }; }
41291 if test "$ac_dir" != .
; then
41292 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
41293 # A "../" for each directory in $ac_dir_suffix.
41294 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
41296 ac_dir_suffix
= ac_top_builddir
=
41300 .
) # No --srcdir option. We are building in place.
41302 if test -z "$ac_top_builddir"; then
41305 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
41307 [\\/]* | ?
:[\\/]* ) # Absolute path.
41308 ac_srcdir
=$srcdir$ac_dir_suffix;
41309 ac_top_srcdir
=$srcdir ;;
41310 *) # Relative path.
41311 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
41312 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
41315 # Do not use `cd foo && pwd` to compute absolute paths, because
41316 # the directories may not exist.
41318 .
) ac_abs_builddir
="$ac_dir";;
41321 .
) ac_abs_builddir
=`pwd`;;
41322 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
41323 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
41326 case $ac_abs_builddir in
41327 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
41329 case ${ac_top_builddir}.
in
41330 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
41331 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
41332 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
41335 case $ac_abs_builddir in
41336 .
) ac_abs_srcdir
=$ac_srcdir;;
41339 .
) ac_abs_srcdir
=$ac_abs_builddir;;
41340 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
41341 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
41344 case $ac_abs_builddir in
41345 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
41347 case $ac_top_srcdir in
41348 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
41349 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
41350 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
41356 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
41357 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
41360 if test x
"$ac_file" != x
-; then
41361 { echo "$as_me:$LINENO: creating $ac_file" >&5
41362 echo "$as_me: creating $ac_file" >&6;}
41365 # Let's still pretend it is `configure' which instantiates (i.e., don't
41366 # use $as_me), people would be surprised to read:
41367 # /* config.h. Generated by config.status. */
41368 if test x
"$ac_file" = x
-; then
41371 configure_input
="$ac_file. "
41373 configure_input
=$configure_input"Generated from `echo $ac_file_in |
41374 sed 's,.*/,,'` by configure."
41376 # First look for the input files in the build tree, otherwise in the
41378 ac_file_inputs
=`IFS=:
41379 for f in $ac_file_in; do
41381 -) echo $tmp/stdin ;;
41383 # Absolute (can't be DOS-style, as IFS=:)
41384 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
41385 echo "$as_me: error: cannot find input file: $f" >&2;}
41386 { (exit 1); exit 1; }; }
41389 if test -f "$f"; then
41392 elif test -f "$srcdir/$f"; then
41397 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
41398 echo "$as_me: error: cannot find input file: $f" >&2;}
41399 { (exit 1); exit 1; }; }
41402 done` || { (exit 1); exit 1; }
41404 cat >>$CONFIG_STATUS <<_ACEOF
41408 cat >>$CONFIG_STATUS <<\_ACEOF
41410 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
41411 s
,@configure_input@
,$configure_input,;t t
41412 s
,@srcdir@
,$ac_srcdir,;t t
41413 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
41414 s
,@top_srcdir@
,$ac_top_srcdir,;t t
41415 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
41416 s
,@builddir@
,$ac_builddir,;t t
41417 s
,@abs_builddir@
,$ac_abs_builddir,;t t
41418 s
,@top_builddir@
,$ac_top_builddir,;t t
41419 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
41420 s
,@INSTALL@
,$ac_INSTALL,;t t
41421 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
41423 if test x"$ac_file" != x-; then
41424 mv $tmp/out $ac_file
41432 cat >>$CONFIG_STATUS <<\_ACEOF
41435 # CONFIG_HEADER section.
41438 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
41439 # NAME is the cpp macro being defined and VALUE is the value it is being given.
41441 # ac_d sets the value in "#define NAME VALUE" lines.
41442 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
41443 ac_dB
='[ ].*$,\1#\2'
41446 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
41447 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
41448 ac_uB
='$,\1#\2define\3'
41452 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
41453 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
41455 - | *:- | *:-:* ) # input from stdin
41457 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
41458 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
41459 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
41460 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
41461 * ) ac_file_in
=$ac_file.
in ;;
41464 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
41465 echo "$as_me: creating $ac_file" >&6;}
41467 # First look for the input files in the build tree, otherwise in the
41469 ac_file_inputs
=`IFS=:
41470 for f in $ac_file_in; do
41472 -) echo $tmp/stdin ;;
41474 # Absolute (can't be DOS-style, as IFS=:)
41475 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
41476 echo "$as_me: error: cannot find input file: $f" >&2;}
41477 { (exit 1); exit 1; }; }
41478 # Do quote $f, to prevent DOS paths from being IFS'd.
41481 if test -f "$f"; then
41484 elif test -f "$srcdir/$f"; then
41489 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
41490 echo "$as_me: error: cannot find input file: $f" >&2;}
41491 { (exit 1); exit 1; }; }
41494 done` || { (exit 1); exit 1; }
41495 # Remove the trailing spaces.
41496 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
41500 # Transform confdefs.h into two sed scripts, `conftest.defines' and
41501 # `conftest.undefs', that substitutes the proper values into
41502 # config.h.in to produce config.h. The first handles `#define'
41503 # templates, and the second `#undef' templates.
41504 # And first: Protect against being on the right side of a sed subst in
41505 # config.status. Protect against being in an unquoted here document
41506 # in config.status.
41507 rm -f conftest.defines conftest.undefs
41508 # Using a here document instead of a string reduces the quoting nightmare.
41509 # Putting comments in sed scripts is not portable.
41511 # `end' is used to avoid that the second main sed command (meant for
41512 # 0-ary CPP macros) applies to n-ary macro definitions.
41513 # See the Autoconf documentation for `clear'.
41514 cat >confdef2sed.
sed <<\_ACEOF
41519 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
41521 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
41524 # If some macros were called several times there might be several times
41525 # the same #defines, which is useless. Nevertheless, we may not want to
41526 # sort them, since we want the *last* AC-DEFINE to be honored.
41527 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
41528 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
41529 rm -f confdef2sed.sed
41531 # This sed command replaces #undef with comments. This is necessary, for
41532 # example, in the case of _POSIX_SOURCE, which is predefined and required
41533 # on some systems where configure will not decide to define it.
41534 cat >>conftest.undefs <<\_ACEOF
41535 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
41538 # Break up conftest.defines because some shells have a limit on the size
41539 # of here documents, and old seds have small limits too (100 cmds).
41540 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
41541 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
41542 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
41543 echo ' :' >>$CONFIG_STATUS
41544 rm -f conftest.tail
41545 while grep . conftest.defines >/dev/null
41547 # Write a limited-size here document to $tmp/defines.sed.
41548 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
41549 # Speed up: don't consider the non `#define' lines.
41550 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
41551 # Work around the forget-to-reset-the-flag bug.
41552 echo 't clr' >>$CONFIG_STATUS
41553 echo ': clr' >>$CONFIG_STATUS
41554 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
41556 sed -f $tmp/defines.sed $tmp/in >$tmp/out
41558 mv $tmp/out $tmp/in
41560 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
41561 rm -f conftest.defines
41562 mv conftest.
tail conftest.defines
41564 rm -f conftest.defines
41565 echo ' fi # grep' >>$CONFIG_STATUS
41566 echo >>$CONFIG_STATUS
41568 # Break up conftest.undefs because some shells have a limit on the size
41569 # of here documents, and old seds have small limits too (100 cmds).
41570 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
41571 rm -f conftest.
tail
41572 while grep . conftest.undefs
>/dev
/null
41574 # Write a limited-size here document to $tmp/undefs.sed.
41575 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
41576 # Speed up: don't consider the non
`#undef'
41577 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
41578 # Work around the forget-to-reset-the-flag bug.
41579 echo 't clr' >>$CONFIG_STATUS
41580 echo ': clr' >>$CONFIG_STATUS
41581 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
41583 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
41585 mv $tmp/out $tmp/in
41587 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
41588 rm -f conftest.undefs
41589 mv conftest.tail conftest.undefs
41591 rm -f conftest.undefs
41593 cat >>$CONFIG_STATUS <<\_ACEOF
41594 # Let's still pretend it is `configure
' which instantiates (i.e., don't
41595 # use $as_me), people would be surprised to read:
41596 # /* config.h. Generated by config.status. */
41597 if test x
"$ac_file" = x
-; then
41598 echo "/* Generated by configure. */" >$tmp/config.h
41600 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
41602 cat $tmp/in >>$tmp/config.h
41604 if test x
"$ac_file" != x
-; then
41605 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
41606 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
41607 echo "$as_me: $ac_file is unchanged" >&6;}
41609 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
41610 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41611 X"$ac_file" : 'X\(//\)[^/]' \| \
41612 X"$ac_file" : 'X\(//\)$' \| \
41613 X"$ac_file" : 'X\(/\)' \| \
41614 . : '\(.\)' 2>/dev/null ||
41616 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41617 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41618 /^X\(\/\/\)$/{ s//\1/; q; }
41619 /^X\(\/\).*/{ s//\1/; q; }
41621 { if $as_mkdir_p; then
41626 while test ! -d "$as_dir"; do
41627 as_dirs
="$as_dir $as_dirs"
41628 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
41629 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41630 X"$as_dir" : 'X\(//\)[^/]' \| \
41631 X"$as_dir" : 'X\(//\)$' \| \
41632 X"$as_dir" : 'X\(/\)' \| \
41633 . : '\(.\)' 2>/dev/null ||
41635 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41636 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41637 /^X\(\/\/\)$/{ s//\1/; q; }
41638 /^X\(\/\).*/{ s//\1/; q; }
41641 test ! -n "$as_dirs" || mkdir $as_dirs
41642 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
41643 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
41644 { (exit 1); exit 1; }; }; }
41647 mv $tmp/config.h
$ac_file
41651 rm -f $tmp/config.h
41655 cat >>$CONFIG_STATUS <<\_ACEOF
41658 # CONFIG_COMMANDS section.
41660 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
41661 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
41662 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
41663 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
41664 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41665 X"$ac_dest" : 'X\(//\)[^/]' \| \
41666 X"$ac_dest" : 'X\(//\)$' \| \
41667 X"$ac_dest" : 'X\(/\)' \| \
41668 . : '\(.\)' 2>/dev/null ||
41670 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41671 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41672 /^X\(\/\/\)$/{ s//\1/; q; }
41673 /^X\(\/\).*/{ s//\1/; q; }
41675 { if $as_mkdir_p; then
41680 while test ! -d "$as_dir"; do
41681 as_dirs
="$as_dir $as_dirs"
41682 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
41683 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41684 X"$as_dir" : 'X\(//\)[^/]' \| \
41685 X"$as_dir" : 'X\(//\)$' \| \
41686 X"$as_dir" : 'X\(/\)' \| \
41687 . : '\(.\)' 2>/dev/null ||
41689 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41690 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41691 /^X\(\/\/\)$/{ s//\1/; q; }
41692 /^X\(\/\).*/{ s//\1/; q; }
41695 test ! -n "$as_dirs" || mkdir $as_dirs
41696 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
41697 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
41698 { (exit 1); exit 1; }; }; }
41702 if test "$ac_dir" != .
; then
41703 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
41704 # A "../" for each directory in $ac_dir_suffix.
41705 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
41707 ac_dir_suffix
= ac_top_builddir
=
41711 .
) # No --srcdir option. We are building in place.
41713 if test -z "$ac_top_builddir"; then
41716 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
41718 [\\/]* | ?
:[\\/]* ) # Absolute path.
41719 ac_srcdir
=$srcdir$ac_dir_suffix;
41720 ac_top_srcdir
=$srcdir ;;
41721 *) # Relative path.
41722 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
41723 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
41726 # Do not use `cd foo && pwd` to compute absolute paths, because
41727 # the directories may not exist.
41729 .
) ac_abs_builddir
="$ac_dir";;
41732 .
) ac_abs_builddir
=`pwd`;;
41733 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
41734 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
41737 case $ac_abs_builddir in
41738 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
41740 case ${ac_top_builddir}.
in
41741 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
41742 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
41743 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
41746 case $ac_abs_builddir in
41747 .
) ac_abs_srcdir
=$ac_srcdir;;
41750 .
) ac_abs_srcdir
=$ac_abs_builddir;;
41751 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
41752 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
41755 case $ac_abs_builddir in
41756 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
41758 case $ac_top_srcdir in
41759 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
41760 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
41761 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
41766 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
41767 echo "$as_me: executing $ac_dest commands" >&6;}
41770 if test ! -h wx
-config; then
41772 mv wx
-config wx
${TOOLCHAIN_NAME}-config
41773 ${LN_S} wx
${TOOLCHAIN_NAME}-config wx
-config
41776 if test ! -d lib
; then
41779 if test ! -d lib
/wx
; then
41782 if test ! -d lib
/wx
/include
; then
41783 mkdir lib
/wx
/include
41785 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}; then
41786 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}
41788 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
; then
41789 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
41791 if test -f setup.h
; then
41792 mv -f setup.h lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
41799 cat >>$CONFIG_STATUS <<\_ACEOF
41801 { (exit 0); exit 0; }
41803 chmod +x
$CONFIG_STATUS
41804 ac_clean_files
=$ac_clean_files_save
41807 # configure is writing to config.log, and then calls config.status.
41808 # config.status does its own redirection, appending to config.log.
41809 # Unfortunately, on DOS this fails, as config.log is still kept open
41810 # by configure, so config.status won't be able to write to it; its
41811 # output is simply discarded. So we exec the FD to /dev/null,
41812 # effectively closing config.log, so it can be properly (re)opened and
41813 # appended to by config.status. When coming back to configure, we
41814 # need to make the FD available again.
41815 if test "$no_create" != yes; then
41817 ac_config_status_args
=
41818 test "$silent" = yes &&
41819 ac_config_status_args
="$ac_config_status_args --quiet"
41821 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
41823 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
41824 # would make configure fail if this is the last instruction.
41825 $ac_cs_success || { (exit 1); exit 1; }
41829 # CONFIG_SUBDIRS section.
41831 if test "$no_recursion" != yes; then
41833 # Remove --cache-file and --srcdir arguments so they do not pile up.
41834 ac_sub_configure_args
=
41836 for ac_arg
in $ac_configure_args; do
41837 if test -n "$ac_prev"; then
41842 -cache-file | --cache-file | --cache-fil | --cache-fi \
41843 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
41844 ac_prev
=cache_file
;;
41845 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
41846 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
41849 --config-cache | -C)
41851 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
41853 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
41855 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
41857 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
41859 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
41863 # Always prepend --prefix to ensure using the same prefix
41864 # in subdir configurations.
41865 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
41868 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
41870 # Do not complain, so a configure script can configure whichever
41871 # parts of a large source tree are present.
41872 test -d $srcdir/$ac_dir || continue
41874 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
41875 echo "$as_me: configuring in $ac_dir" >&6;}
41876 { if $as_mkdir_p; then
41881 while test ! -d "$as_dir"; do
41882 as_dirs
="$as_dir $as_dirs"
41883 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
41884 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41885 X"$as_dir" : 'X\(//\)[^/]' \| \
41886 X"$as_dir" : 'X\(//\)$' \| \
41887 X"$as_dir" : 'X\(/\)' \| \
41888 . : '\(.\)' 2>/dev/null ||
41890 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41891 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41892 /^X\(\/\/\)$/{ s//\1/; q; }
41893 /^X\(\/\).*/{ s//\1/; q; }
41896 test ! -n "$as_dirs" || mkdir $as_dirs
41897 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
41898 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
41899 { (exit 1); exit 1; }; }; }
41903 if test "$ac_dir" != .
; then
41904 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
41905 # A "../" for each directory in $ac_dir_suffix.
41906 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
41908 ac_dir_suffix
= ac_top_builddir
=
41912 .
) # No --srcdir option. We are building in place.
41914 if test -z "$ac_top_builddir"; then
41917 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
41919 [\\/]* | ?
:[\\/]* ) # Absolute path.
41920 ac_srcdir
=$srcdir$ac_dir_suffix;
41921 ac_top_srcdir
=$srcdir ;;
41922 *) # Relative path.
41923 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
41924 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
41927 # Do not use `cd foo && pwd` to compute absolute paths, because
41928 # the directories may not exist.
41930 .
) ac_abs_builddir
="$ac_dir";;
41933 .
) ac_abs_builddir
=`pwd`;;
41934 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
41935 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
41938 case $ac_abs_builddir in
41939 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
41941 case ${ac_top_builddir}.
in
41942 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
41943 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
41944 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
41947 case $ac_abs_builddir in
41948 .
) ac_abs_srcdir
=$ac_srcdir;;
41951 .
) ac_abs_srcdir
=$ac_abs_builddir;;
41952 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
41953 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
41956 case $ac_abs_builddir in
41957 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
41959 case $ac_top_srcdir in
41960 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
41961 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
41962 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
41969 # Check for guested configure; otherwise get Cygnus style configure.
41970 if test -f $ac_srcdir/configure.gnu
; then
41971 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
41972 elif test -f $ac_srcdir/configure
; then
41973 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
41974 elif test -f $ac_srcdir/configure.
in; then
41975 ac_sub_configure
=$ac_configure
41977 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
41978 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
41982 # The recursion is here.
41983 if test -n "$ac_sub_configure"; then
41984 # Make the cache file name correct relative to the subdirectory.
41985 case $cache_file in
41986 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
41987 *) # Relative path.
41988 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
41991 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
41992 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
41993 # The eval makes quoting arguments work.
41994 eval $ac_sub_configure $ac_sub_configure_args \
41995 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
41996 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
41997 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
41998 { (exit 1); exit 1; }; }
42007 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
42009 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT_LOWERCASE:-base only}"
42010 echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
42012 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
42013 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
42014 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
42016 echo " What level of wxWindows compatibility should be enabled?"
42017 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
42018 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
42020 echo " Which libraries should wxWindows use?"
42021 echo " jpeg ${wxUSE_LIBJPEG-none}"
42022 echo " png ${wxUSE_LIBPNG-none}"
42023 echo " regex ${wxUSE_REGEX}"
42024 echo " tiff ${wxUSE_LIBTIFF-none}"
42025 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
42026 echo " xpm ${wxUSE_LIBXPM-none}"
42028 echo " zlib ${wxUSE_ZLIB}"
42029 echo " odbc ${wxUSE_ODBC}"
42030 echo " expat ${wxUSE_EXPAT}"
42031 echo " libmspack ${wxUSE_LIBMSPACK}"
42032 echo " sdl ${wxUSE_LIBSDL}"