2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.57 for wxWindows 2.5.0.
6 # Report bugs to <wx-dev@lists.wxwindows.org>.
8 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
9 # Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be Bourne compatible
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
27 # Support unset when possible.
28 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
47 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C
; export $as_var
54 # Required to use basename.
55 if expr a
: '\(a\)' >/dev
/null
2>&1; then
61 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
68 # Name of the executable.
69 as_me
=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits
='0123456789'
87 as_cr_alnum
=$as_cr_Letters$as_cr_digits
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
94 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
105 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
111 *[\\/]* ) as_myself
=$0 ;;
112 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
116 test -z "$as_dir" && as_dir
=.
117 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x
; then
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
131 case $CONFIG_SHELL in
133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
134 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
137 test -z "$as_dir" && as_dir
=.
138 for as_base
in sh bash ksh sh5
; do
141 if ("$as_dir/$as_base" -c '
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
147 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
148 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
149 CONFIG_SHELL
=$as_dir/$as_base
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
175 s,^['$as_cr_digits']*\n,,
177 chmod +x
$as_me.lineno
||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
185 # Exit status is that of the last command.
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c
*,-n*) ECHO_N
= ECHO_C
='
193 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
194 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
197 if expr a
: '\(a\)' >/dev
/null
2>&1; then
203 rm -f conf$$ conf$$.exe conf$$.
file
205 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe
; then
209 # Don't use ln at all; we don't have any links
214 elif ln conf$$.
file conf$$
2>/dev
/null
; then
219 rm -f conf$$ conf$$.exe conf$$.
file
221 if mkdir -p .
2>/dev
/null
; then
227 as_executable_p
="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
237 # We need space, tab and new line, in precisely that order.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
256 ac_default_prefix
=/usr
/local
257 ac_config_libobj_dir
=.
262 SHELL
=${CONFIG_SHELL-/bin/sh}
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
269 # Identity of this package.
270 PACKAGE_NAME
='wxWindows'
271 PACKAGE_TARNAME
='wxwindows'
272 PACKAGE_VERSION
='2.5.0'
273 PACKAGE_STRING
='wxWindows 2.5.0'
274 PACKAGE_BUGREPORT
='wx-dev@lists.wxwindows.org'
276 ac_unique_file
="wx-config.in"
277 # Factoring default headers for most tests.
278 ac_includes_default
="\
281 # include <sys/types.h>
284 # include <sys/stat.h>
295 # if !STDC_HEADERS && HAVE_MEMORY_H
301 # include <strings.h>
304 # include <inttypes.h>
314 ac_subdirs_all
="$ac_subdirs_all src/expat"
315 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE YACC LEX LEXLIB LEX_OUTPUT_ROOT LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG PANGOFT2_CFLAGS PANGOFT2_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WXUNIV MONOLITHIC EXTRALIBS EXTRALIBS_XML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL UNICODE BUILD DEBUG_INFO DEBUG_FLAG SHARED TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX SET_MAKE MAKE_SET INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOSX SO_SUFFIX SO_SUFFIX_MODULE DLLPREFIX DLLPREFIX_MODULE AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MAC_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_OS2 COND_TOOLKIT_OS2_USE_GUI_1 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN LEX_STEM PATH_IFS WX_MAJOR_VERSION_NUMBER WX_MINOR_VERSION_NUMBER WX_RELEASE_NUMBER WX_LIBRARY_NAME_STATIC WX_LIBRARY_NAME_SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WX_LIBRARY_IMPORTLIB WX_TARGET_LIBRARY WX_LIBRARY_LINK1 WX_LIBRARY_LINK2 PROGRAM_EXT WX_LIBRARY_NAME_STATIC_GL WX_LIBRARY_NAME_SHARED_GL WX_TARGET_LIBRARY_GL WX_LIBRARY_LINK1_GL WX_LIBRARY_LINK2_GL WX_ALL WX_ALL_INSTALLED SHARED_LD WX_TARGET_LIBRARY_TYPE STATIC_FLAG WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLKIT_VPATH TOOLCHAIN_NAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS top_builddir_wxconfig cross_compiling WXCONFIG_EXTRALIBS WXCONFIG_LIBS WXCONFIG_LIBS_GL WXCONFIG_LIBS_STATIC WXCONFIG_LIBS_STATIC_GL WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX ALL_OBJECTS ALL_HEADERS ALL_SOURCES GUIDIST PORT_FILES DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL LDFLAGS_VERSIONING LDFLAGS_EXE OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA MACOSX_BUNDLE LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL AS NM LD MAKEINFO INSTALL_LIBRARY LIBOBJS LTLIBOBJS'
318 # Initialize some variables set by options.
320 ac_init_version
=false
321 # The variables have the same names as the options, with
322 # dashes changed to underlines.
330 program_transform_name
=s
,x
,x
,
338 # Installation directory options.
339 # These are left unexpanded so users can "make install exec_prefix=/foo"
340 # and all the variables that are supposed to be based on exec_prefix
341 # by default will actually change.
342 # Use braces instead of parens because sh, perl, etc. also accept them.
343 bindir
='${exec_prefix}/bin'
344 sbindir
='${exec_prefix}/sbin'
345 libexecdir
='${exec_prefix}/libexec'
346 datadir
='${prefix}/share'
347 sysconfdir
='${prefix}/etc'
348 sharedstatedir
='${prefix}/com'
349 localstatedir
='${prefix}/var'
350 libdir
='${exec_prefix}/lib'
351 includedir
='${prefix}/include'
352 oldincludedir
='/usr/include'
353 infodir
='${prefix}/info'
354 mandir
='${prefix}/man'
359 # If the previous option needs an argument, assign it.
360 if test -n "$ac_prev"; then
361 eval "$ac_prev=\$ac_option"
366 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
368 # Accept the important Cygnus configure options, so we can diagnose typos.
372 -bindir | --bindir | --bindi | --bind | --bin | --bi)
374 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
377 -build | --build | --buil | --bui | --bu)
378 ac_prev
=build_alias
;;
379 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
380 build_alias
=$ac_optarg ;;
382 -cache-file | --cache-file | --cache-fil | --cache-fi \
383 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
384 ac_prev
=cache_file
;;
385 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
386 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
387 cache_file
=$ac_optarg ;;
390 cache_file
=config.cache
;;
392 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
394 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
396 datadir
=$ac_optarg ;;
398 -disable-* | --disable-*)
399 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
400 # Reject names that are not valid shell variable names.
401 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
402 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
403 { (exit 1); exit 1; }; }
404 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
405 eval "enable_$ac_feature=no" ;;
407 -enable-* | --enable-*)
408 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
409 # Reject names that are not valid shell variable names.
410 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
411 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
412 { (exit 1); exit 1; }; }
413 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
415 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
418 eval "enable_$ac_feature='$ac_optarg'" ;;
420 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
421 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
422 | --exec | --exe | --ex)
423 ac_prev
=exec_prefix
;;
424 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
425 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
426 | --exec=* | --exe=* | --ex=*)
427 exec_prefix
=$ac_optarg ;;
429 -gas | --gas | --ga | --g)
430 # Obsolete; use --with-gas.
433 -help | --help | --hel | --he | -h)
435 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
436 ac_init_help
=recursive
;;
437 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
438 ac_init_help
=short
;;
440 -host | --host | --hos | --ho)
441 ac_prev
=host_alias
;;
442 -host=* | --host=* | --hos=* | --ho=*)
443 host_alias
=$ac_optarg ;;
445 -includedir | --includedir | --includedi | --included | --include \
446 | --includ | --inclu | --incl | --inc)
447 ac_prev
=includedir
;;
448 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
449 | --includ=* | --inclu=* | --incl=* | --inc=*)
450 includedir
=$ac_optarg ;;
452 -infodir | --infodir | --infodi | --infod | --info | --inf)
454 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
455 infodir
=$ac_optarg ;;
457 -libdir | --libdir | --libdi | --libd)
459 -libdir=* | --libdir=* | --libdi=* | --libd=*)
462 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
463 | --libexe | --libex | --libe)
464 ac_prev
=libexecdir
;;
465 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
466 | --libexe=* | --libex=* | --libe=*)
467 libexecdir
=$ac_optarg ;;
469 -localstatedir | --localstatedir | --localstatedi | --localstated \
470 | --localstate | --localstat | --localsta | --localst \
471 | --locals | --local | --loca | --loc | --lo)
472 ac_prev
=localstatedir
;;
473 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
474 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
475 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
476 localstatedir
=$ac_optarg ;;
478 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
480 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
484 # Obsolete; use --without-fp.
487 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
488 | --no-cr | --no-c | -n)
491 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
492 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
495 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
496 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
497 | --oldin | --oldi | --old | --ol | --o)
498 ac_prev
=oldincludedir
;;
499 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
500 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
501 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
502 oldincludedir
=$ac_optarg ;;
504 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
506 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
509 -program-prefix | --program-prefix | --program-prefi | --program-pref \
510 | --program-pre | --program-pr | --program-p)
511 ac_prev
=program_prefix
;;
512 -program-prefix=* | --program-prefix=* | --program-prefi=* \
513 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
514 program_prefix
=$ac_optarg ;;
516 -program-suffix | --program-suffix | --program-suffi | --program-suff \
517 | --program-suf | --program-su | --program-s)
518 ac_prev
=program_suffix
;;
519 -program-suffix=* | --program-suffix=* | --program-suffi=* \
520 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
521 program_suffix
=$ac_optarg ;;
523 -program-transform-name | --program-transform-name \
524 | --program-transform-nam | --program-transform-na \
525 | --program-transform-n | --program-transform- \
526 | --program-transform | --program-transfor \
527 | --program-transfo | --program-transf \
528 | --program-trans | --program-tran \
529 | --progr-tra | --program-tr | --program-t)
530 ac_prev
=program_transform_name
;;
531 -program-transform-name=* | --program-transform-name=* \
532 | --program-transform-nam=* | --program-transform-na=* \
533 | --program-transform-n=* | --program-transform-=* \
534 | --program-transform=* | --program-transfor=* \
535 | --program-transfo=* | --program-transf=* \
536 | --program-trans=* | --program-tran=* \
537 | --progr-tra=* | --program-tr=* | --program-t=*)
538 program_transform_name
=$ac_optarg ;;
540 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
541 | -silent | --silent | --silen | --sile | --sil)
544 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
546 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
548 sbindir
=$ac_optarg ;;
550 -sharedstatedir | --sharedstatedir | --sharedstatedi \
551 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
552 | --sharedst | --shareds | --shared | --share | --shar \
554 ac_prev
=sharedstatedir
;;
555 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
556 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
557 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
559 sharedstatedir
=$ac_optarg ;;
561 -site | --site | --sit)
563 -site=* | --site=* | --sit=*)
566 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
568 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
571 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
572 | --syscon | --sysco | --sysc | --sys | --sy)
573 ac_prev
=sysconfdir
;;
574 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
575 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
576 sysconfdir
=$ac_optarg ;;
578 -target | --target | --targe | --targ | --tar | --ta | --t)
579 ac_prev
=target_alias
;;
580 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
581 target_alias
=$ac_optarg ;;
583 -v | -verbose | --verbose | --verbos | --verbo | --verb)
586 -version | --version | --versio | --versi | --vers | -V)
590 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
591 # Reject names that are not valid shell variable names.
592 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
593 { echo "$as_me: error: invalid package name: $ac_package" >&2
594 { (exit 1); exit 1; }; }
595 ac_package
=`echo $ac_package| sed 's/-/_/g'`
597 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
600 eval "with_$ac_package='$ac_optarg'" ;;
602 -without-* | --without-*)
603 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
604 # Reject names that are not valid shell variable names.
605 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
606 { echo "$as_me: error: invalid package name: $ac_package" >&2
607 { (exit 1); exit 1; }; }
608 ac_package
=`echo $ac_package | sed 's/-/_/g'`
609 eval "with_$ac_package=no" ;;
612 # Obsolete; use --with-x.
615 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
616 | --x-incl | --x-inc | --x-in | --x-i)
617 ac_prev
=x_includes
;;
618 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
619 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
620 x_includes
=$ac_optarg ;;
622 -x-libraries | --x-libraries | --x-librarie | --x-librari \
623 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
624 ac_prev
=x_libraries
;;
625 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
626 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
627 x_libraries
=$ac_optarg ;;
629 -*) { echo "$as_me: error: unrecognized option: $ac_option
630 Try \`$0 --help' for more information." >&2
631 { (exit 1); exit 1; }; }
635 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
636 # Reject names that are not valid shell variable names.
637 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
638 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
639 { (exit 1); exit 1; }; }
640 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
641 eval "$ac_envvar='$ac_optarg'"
645 # FIXME: should be removed in autoconf 3.0.
646 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
647 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
648 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
649 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
655 if test -n "$ac_prev"; then
656 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
657 { echo "$as_me: error: missing argument to $ac_option" >&2
658 { (exit 1); exit 1; }; }
661 # Be sure to have absolute paths.
662 for ac_var
in exec_prefix prefix
664 eval ac_val
=$
`echo $ac_var`
666 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
667 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
668 { (exit 1); exit 1; }; };;
672 # Be sure to have absolute paths.
673 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
674 localstatedir libdir includedir oldincludedir infodir mandir
676 eval ac_val
=$
`echo $ac_var`
678 [\\/$
]* | ?
:[\\/]* ) ;;
679 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
680 { (exit 1); exit 1; }; };;
684 # There might be people who depend on the old broken behavior: `$host'
685 # used to hold the argument of --host etc.
686 # FIXME: To remove some day.
691 # FIXME: To remove some day.
692 if test "x$host_alias" != x
; then
693 if test "x$build_alias" = x
; then
694 cross_compiling
=maybe
695 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
696 If a cross compiler is detected then cross compile mode will be used." >&2
697 elif test "x$build_alias" != "x$host_alias"; then
703 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
705 test "$silent" = yes && exec 6>/dev
/null
708 # Find the source files, if location was not specified.
709 if test -z "$srcdir"; then
710 ac_srcdir_defaulted
=yes
711 # Try the directory containing this script, then its parent.
712 ac_confdir
=`(dirname "$0") 2>/dev/null ||
713 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
714 X"$0" : 'X\(//\)[^/]' \| \
715 X"$0" : 'X\(//\)$' \| \
716 X"$0" : 'X\(/\)' \| \
717 . : '\(.\)' 2>/dev/null ||
719 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
720 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
721 /^X\(\/\/\)$/{ s//\1/; q; }
722 /^X\(\/\).*/{ s//\1/; q; }
725 if test ! -r $srcdir/$ac_unique_file; then
729 ac_srcdir_defaulted
=no
731 if test ! -r $srcdir/$ac_unique_file; then
732 if test "$ac_srcdir_defaulted" = yes; then
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
734 { (exit 1); exit 1; }; }
736 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
737 { (exit 1); exit 1; }; }
740 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null
||
741 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
742 { (exit 1); exit 1; }; }
743 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
744 ac_env_build_alias_set
=${build_alias+set}
745 ac_env_build_alias_value
=$build_alias
746 ac_cv_env_build_alias_set
=${build_alias+set}
747 ac_cv_env_build_alias_value
=$build_alias
748 ac_env_host_alias_set
=${host_alias+set}
749 ac_env_host_alias_value
=$host_alias
750 ac_cv_env_host_alias_set
=${host_alias+set}
751 ac_cv_env_host_alias_value
=$host_alias
752 ac_env_target_alias_set
=${target_alias+set}
753 ac_env_target_alias_value
=$target_alias
754 ac_cv_env_target_alias_set
=${target_alias+set}
755 ac_cv_env_target_alias_value
=$target_alias
756 ac_env_CC_set
=${CC+set}
758 ac_cv_env_CC_set
=${CC+set}
759 ac_cv_env_CC_value
=$CC
760 ac_env_CFLAGS_set
=${CFLAGS+set}
761 ac_env_CFLAGS_value
=$CFLAGS
762 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
763 ac_cv_env_CFLAGS_value
=$CFLAGS
764 ac_env_LDFLAGS_set
=${LDFLAGS+set}
765 ac_env_LDFLAGS_value
=$LDFLAGS
766 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
767 ac_cv_env_LDFLAGS_value
=$LDFLAGS
768 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
769 ac_env_CPPFLAGS_value
=$CPPFLAGS
770 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
771 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
772 ac_env_CPP_set
=${CPP+set}
773 ac_env_CPP_value
=$CPP
774 ac_cv_env_CPP_set
=${CPP+set}
775 ac_cv_env_CPP_value
=$CPP
776 ac_env_CXX_set
=${CXX+set}
777 ac_env_CXX_value
=$CXX
778 ac_cv_env_CXX_set
=${CXX+set}
779 ac_cv_env_CXX_value
=$CXX
780 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
781 ac_env_CXXFLAGS_value
=$CXXFLAGS
782 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
783 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
784 ac_env_CXXCPP_set
=${CXXCPP+set}
785 ac_env_CXXCPP_value
=$CXXCPP
786 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
787 ac_cv_env_CXXCPP_value
=$CXXCPP
790 # Report the --help message.
792 if test "$ac_init_help" = "long"; then
793 # Omit some internal or obsolete options to make the list less imposing.
794 # This message is too long to be a string in the A/UX 3.1 sh.
796 \`configure' configures wxWindows 2.5.0 to adapt to many kinds of systems.
798 Usage: $0 [OPTION]... [VAR=VALUE]...
800 To assign environment variables (e.g., CC, CFLAGS...), specify them as
801 VAR=VALUE. See below for descriptions of some of the useful variables.
803 Defaults for the options are specified in brackets.
806 -h, --help display this help and exit
807 --help=short display options specific to this package
808 --help=recursive display the short help of all the included packages
809 -V, --version display version information and exit
810 -q, --quiet, --silent do not print \`checking...' messages
811 --cache-file=FILE cache test results in FILE [disabled]
812 -C, --config-cache alias for \`--cache-file=config.cache'
813 -n, --no-create do not create output files
814 --srcdir=DIR find the sources in DIR [configure dir or \`..']
819 Installation directories:
820 --prefix=PREFIX install architecture-independent files in PREFIX
822 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
825 By default, \`make install' will install all the files in
826 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
827 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
828 for instance \`--prefix=\$HOME'.
830 For better control, use the options below.
832 Fine tuning of the installation directories:
833 --bindir=DIR user executables [EPREFIX/bin]
834 --sbindir=DIR system admin executables [EPREFIX/sbin]
835 --libexecdir=DIR program executables [EPREFIX/libexec]
836 --datadir=DIR read-only architecture-independent data [PREFIX/share]
837 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
838 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
839 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
840 --libdir=DIR object code libraries [EPREFIX/lib]
841 --includedir=DIR C header files [PREFIX/include]
842 --oldincludedir=DIR C header files for non-gcc [/usr/include]
843 --infodir=DIR info documentation [PREFIX/info]
844 --mandir=DIR man documentation [PREFIX/man]
850 --x-includes=DIR X include files are
in DIR
851 --x-libraries=DIR X library files are
in DIR
854 --build=BUILD configure
for building on BUILD
[guessed
]
855 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
856 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
860 if test -n "$ac_init_help"; then
861 case $ac_init_help in
862 short
| recursive
) echo "Configuration of wxWindows 2.5.0:";;
867 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
868 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
869 --enable-gui use GUI classes
870 --disable-monolithic don
't build wxWindows as single library
871 --enable-universal use wxWindows GUI controls instead of native ones
872 --enable-nanox use NanoX
873 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)
874 --enable-shared create shared library code
875 --enable-optimise create optimised code
876 --enable-debug same as debug_flag and debug_info
877 --enable-stl use STL for containers
878 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
879 --enable-debug_info create code with debugging information
880 --enable-debug_gdb create code with extra GDB debugging information
881 --enable-debug_cntxt use wxDebugContext
882 --enable-mem_tracing create code with memory tracing
883 --enable-profile create code with profiling information
884 --enable-no_rtti create code without RTTI information
885 --enable-no_exceptions create code without C++ exceptions handling
886 --enable-permissive compile code disregarding strict ANSI
887 --enable-no_deps create code without dependency information
888 --enable-compat20 enable wxWindows 2.0 compatibility
889 --enable-compat22 enable wxWindows 2.2 compatibility
890 --disable-compat24 disable wxWindows 2.4 compatibility
891 --enable-rpath=DIR output the rpath flag from wx-config
892 --enable-intl use internationalization system
893 --enable-config use wxConfig (and derived) classes
894 --enable-protocols use wxProtocol and derived classes
895 --enable-ftp use wxFTP (requires wxProtocol
896 --enable-http use wxHTTP (requires wxProtocol
897 --enable-fileproto use wxFileProto class (requires wxProtocol
898 --enable-sockets use socket/network classes
899 --enable-ole use OLE classes
900 --enable-dataobj use data object classes
901 --enable-ipc use interprocess communication (wxSocket etc.)
902 --enable-cmdline use wxCmdLineParser class
903 --enable-datetime use wxDateTime class
904 --enable-stopwatch use wxStopWatch class
905 --enable-dialupman use dialup network classes
906 --enable-apple_ieee use the Apple IEEE codec
907 --enable-timer use wxTimer class
908 --enable-wave use wxWave class
909 --enable-fraction use wxFraction class
910 --enable-dynlib use wxLibrary class for DLL loading
911 --enable-dynamicloader use (new) wxDynamicLibrary class
912 --enable-longlong use wxLongLong class
913 --enable-geometry use geometry class
914 --enable-log use logging system
915 --enable-streams use wxStream etc classes
916 --enable-file use wxFile classes
917 --enable-ffile use wxFFile classes
918 --enable-textbuf use wxTextBuffer class
919 --enable-textfile use wxTextFile class
920 --enable-fontmap use font encodings conversion classes
921 --enable-unicode compile wxString with Unicode support
922 --enable-mslu use MS Layer for Unicode on Windows 9x (win32 only)
923 --enable-wxprintfv use wxWindows implementation of vprintf()
924 --enable-std_iostreams use standard C++ stream classes
925 --enable-filesystem use virtual file systems classes
926 --enable-fs_inet use virtual HTTP/FTP filesystems
927 --enable-fs_zip use virtual ZIP filesystems
928 --enable-zipstream use wxZipInputStream
929 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException
930 --enable-snglinst use wxSingleInstanceChecker class
931 --enable-mimetype use wxMimeTypesManager
932 --enable-sysoptions use wxSystemOptions
933 --enable-url use wxURL class
934 --enable-protocol use wxProtocol class
935 --enable-protocol-http HTTP support in wxProtocol
936 --enable-protocol-ftp FTP support in wxProtocol
937 --enable-protocol-file FILE support in wxProtocol
938 --enable-threads use threads
939 --enable-docview use document view architecture
940 --enable-help use help subsystem
941 --enable-mshtmlhelp use MS HTML Help (win32)
942 --enable-html use wxHTML sub-library
943 --enable-htmlhelp use wxHTML-based help
944 --enable-constraints use layout-constraints system
945 --enable-printarch use printing architecture
946 --enable-mdi use multiple document interface architecture
947 --enable-loggui use standard GUI logger
948 --enable-logwin use wxLogWindow
949 --enable-logdialog use wxLogDialog
950 --enable-postscript use wxPostscriptDC device context (default for gtk+)
951 --enable-prologio not available; see contrib
952 --enable-resources not available; see contrib
953 --enable-clipboard use wxClipboard class
954 --enable-dnd use Drag'n
'Drop classes
955 --enable-metafile use win32 metafiles
956 --enable-controls use all usual controls
957 --enable-accel use accelerators
958 --enable-button use wxButton class
959 --enable-bmpbutton use wxBitmapButton class
960 --enable-calendar use wxCalendarCtrl class
961 --enable-caret use wxCaret class
962 --enable-checkbox use wxCheckBox class
963 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
964 --enable-choice use wxChoice class
965 --enable-combobox use wxComboBox class
966 --enable-display use wxDisplay class
967 --enable-gauge use wxGauge class
968 --enable-grid use wxGrid class
969 --enable-imaglist use wxImageList class
970 --enable-listbox use wxListBox class
971 --enable-listctrl use wxListCtrl class
972 --enable-notebook use wxNotebook class
973 --enable-radiobox use wxRadioBox class
974 --enable-radiobtn use wxRadioButton class
975 --enable-sash use wxSashWindow class
976 --enable-scrollbar use wxScrollBar class and scrollable windows
977 --enable-slider use wxSlider class
978 --enable-spinbtn use wxSpinButton class
979 --enable-spinctrl use wxSpinCtrl class
980 --enable-splitter use wxSplitterWindow class
981 --enable-statbmp use wxStaticBitmap class
982 --enable-statbox use wxStaticBox class
983 --enable-statline use wxStaticLine class
984 --enable-stattext use wxStaticText class
985 --enable-statusbar use wxStatusBar class
986 --enable-tabdialog use wxTabControl class
987 --enable-textctrl use wxTextCtrl class
988 --enable-togglebtn use wxToggleButton class
989 --enable-toolbar use wxToolBar class
990 --enable-tbarnative use native wxToolBar class
991 --enable-tbarsmpl use wxToolBarSimple class
992 --enable-treectrl use wxTreeCtrl class
993 --enable-tipwindow use wxTipWindow class
994 --enable-popupwin use wxPopUpWindow class
995 --enable-commondlg use all common dialogs
996 --enable-choicedlg use wxChoiceDialog
997 --enable-coldlg use wxColourDialog
998 --enable-filedlg use wxFileDialog
999 --enable-finddlg use wxFindReplaceDialog
1000 --enable-fontdlg use wxFontDialog
1001 --enable-dirdlg use wxDirDialog
1002 --enable-msgdlg use wxMessageDialog
1003 --enable-numberdlg use wxNumberEntryDialog
1004 --enable-splash use wxSplashScreen
1005 --enable-textdlg use wxTextDialog
1006 --enable-tipdlg use startup tips
1007 --enable-progressdlg use wxProgressDialog
1008 --enable-wizarddlg use wxWizard
1009 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1010 --enable-miniframe use wxMiniFrame class
1011 --enable-tooltips use wxToolTip class
1012 --enable-splines use spline drawing code
1013 --enable-validators use wxValidator and derived classes
1014 --enable-busyinfo use wxBusyInfo
1015 --enable-joystick use wxJoystick (Linux only)
1016 --enable-metafiles use wxMetaFile (Windows only)
1017 --enable-dragimage use wxDragImage
1018 --enable-accessibility enable accessibility support
1019 --enable-palette use wxPalette class
1020 --enable-image use wxImage class
1021 --enable-gif use gif images (GIF file format)
1022 --enable-pcx use pcx images (PCX file format)
1023 --enable-iff use iff images (IFF file format)
1024 --enable-pnm use pnm images (PNM file format)
1025 --enable-xpm use xpm images (XPM file format)
1026 --enable-icocur use Windows ICO and CUR formats
1027 --enable-official_build official build of wxWindows (win32 DLL only)
1028 --enable-vendor=VENDOR vendor name (win32 DLL only)
1029 --disable-largefile omit support for large files
1030 --disable-gtktest do not try to compile and run a test GTK+ program
1031 --disable-gtktest Do not try to compile and run a test GTK program
1032 --disable-precomp-headers don't use precompiled headers even
if compiler can
1035 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1036 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1038 --with-motif use Motif
/Lesstif
1039 --with-mac use Mac OS X
1040 --with-cocoa use Cocoa
1041 --with-wine use Wine
1042 --with-msw use MS
-Windows
1043 --with-pm use OS
/2 Presentation Manager
1044 --with-mgl use SciTech MGL
1045 --with-microwin use MicroWindows
1047 --with-libpng use libpng
(PNG image format
)
1048 --with-libjpeg use libjpeg
(JPEG
file format
)
1049 --with-libtiff use libtiff
(TIFF
file format
)
1050 --with-opengl use OpenGL
(or Mesa
)
1051 --with-dmalloc use dmalloc library
(http
://dmalloc.com
/)
1052 --with-regex enable support
for wxRegEx class
1053 --with-zlib use zlib
for LZW compression
1054 --with-odbc use the IODBC and wxODBC classes
1055 --with-expat enable XML support using expat parser
1056 --with-gtk-prefix=PFX Prefix where GTK is installed
(optional
)
1057 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed
(optional
)
1058 --with-x use the X Window System
1059 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
1061 Some influential environment variables
:
1062 CC C compiler
command
1063 CFLAGS C compiler flags
1064 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1065 nonstandard directory
<lib dir
>
1066 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1067 headers
in a nonstandard directory
<include dir
>
1069 CXX C
++ compiler
command
1070 CXXFLAGS C
++ compiler flags
1071 CXXCPP C
++ preprocessor
1073 Use these variables to override the choices made by
`configure' or to help
1074 it to find libraries and programs with nonstandard names/locations.
1076 Report bugs to <wx-dev@lists.wxwindows.org>.
1080 if test "$ac_init_help" = "recursive"; then
1081 # If there are subdirs, report their specific --help.
1083 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1084 test -d $ac_dir || continue
1087 if test "$ac_dir" != .; then
1088 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1089 # A "../" for each directory in $ac_dir_suffix.
1090 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1092 ac_dir_suffix= ac_top_builddir=
1096 .) # No --srcdir option. We are building in place.
1098 if test -z "$ac_top_builddir"; then
1101 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1103 [\\/]* | ?:[\\/]* ) # Absolute path.
1104 ac_srcdir=$srcdir$ac_dir_suffix;
1105 ac_top_srcdir=$srcdir ;;
1107 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1108 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1110 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1112 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1113 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}.
&& pwd`
1114 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1115 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1118 # Check for guested configure; otherwise get Cygnus style configure.
1119 if test -f $ac_srcdir/configure.gnu; then
1121 $SHELL $ac_srcdir/configure.gnu --help=recursive
1122 elif test -f $ac_srcdir/configure; then
1124 $SHELL $ac_srcdir/configure --help=recursive
1125 elif test -f $ac_srcdir/configure.ac ||
1126 test -f $ac_srcdir/configure.in; then
1128 $ac_configure --help
1130 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1136 test -n "$ac_init_help" && exit 0
1137 if $ac_init_version; then
1139 wxWindows configure 2.5.0
1140 generated by GNU Autoconf 2.57
1142 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1143 Free Software Foundation, Inc.
1144 This configure script is free software; the Free Software Foundation
1145 gives unlimited permission to copy, distribute and modify it.
1151 This file contains any messages produced by compilers while
1152 running configure, to aid debugging if configure makes a mistake.
1154 It was created by wxWindows $as_me 2.5.0, which was
1155 generated by GNU Autoconf 2.57. Invocation command line was
1166 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
1167 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
1168 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
1169 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
1170 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
1172 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
1173 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
1175 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
1176 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
1177 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
1178 hostinfo = `(hostinfo
) 2>/dev
/null
|| echo unknown
`
1179 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
1180 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
1181 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
1185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1189 test -z "$as_dir" && as_dir=.
1190 echo "PATH: $as_dir"
1205 # Keep a trace of the command line.
1206 # Strip out --no-create and --no-recursion so they do not pile up.
1207 # Strip out --silent because we don't want to record it for future runs.
1208 # Also quote any args containing shell meta-characters.
1209 # Make two passes to allow for proper duplicate-argument suppression.
1214 ac_must_keep_next=false
1220 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1221 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1222 | -silent | --silent | --silen | --sile | --sil)
1224 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1225 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1228 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1230 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1231 if test $ac_must_keep_next = true; then
1232 ac_must_keep_next=false # Got value, back to normal.
1235 *=* | --config-cache | -C | -disable-* | --disable-* \
1236 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1237 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1238 | -with-* | --with-* | -without-* | --without-* | --x)
1239 case "$ac_configure_args0 " in
1240 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1243 -* ) ac_must_keep_next=true ;;
1246 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1247 # Get rid of the leading space.
1253 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1254 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1256 # When interrupted or exit'd, cleanup temporary files, and complete
1257 # config.log. We remove comments because anyway the quotes in there
1258 # would cause problems or look ugly.
1259 # WARNING: Be sure not to use single quotes in there, as some shells,
1260 # such as our DU 5.0 friend, will then `close
' the trap.
1261 trap 'exit_status
=$?
1262 # Save into config.log some information that might help in debugging.
1267 ## ---------------- ##
1268 ## Cache variables. ##
1269 ## ---------------- ##
1272 # The following way of writing the cache mishandles newlines in values,
1275 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1278 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1279 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1283 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1290 ## ----------------- ##
1291 ## Output variables. ##
1292 ## ----------------- ##
1295 for ac_var
in $ac_subst_vars
1297 eval ac_val
=$
`echo $ac_var`
1298 echo "$ac_var='"'"'$ac_val'"'"'"
1302 if test -n "$ac_subst_files"; then
1309 for ac_var
in $ac_subst_files
1311 eval ac_val
=$
`echo $ac_var`
1312 echo "$ac_var='"'"'$ac_val'"'"'"
1317 if test -s confdefs.h
; then
1324 sed "/^$/d" confdefs.h
| sort
1327 test "$ac_signal" != 0 &&
1328 echo "$as_me: caught signal $ac_signal"
1329 echo "$as_me: exit $exit_status"
1331 rm -f core core.
* *.core
&&
1332 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1335 for ac_signal in 1 2 13 15; do
1336 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1340 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1341 rm -rf conftest* confdefs.h
1342 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1345 # Predefined preprocessor variables.
1347 cat >>confdefs.h <<_ACEOF
1348 #define PACKAGE_NAME "$PACKAGE_NAME"
1352 cat >>confdefs.h <<_ACEOF
1353 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1357 cat >>confdefs.h <<_ACEOF
1358 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1362 cat >>confdefs.h <<_ACEOF
1363 #define PACKAGE_STRING "$PACKAGE_STRING"
1367 cat >>confdefs.h <<_ACEOF
1368 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1372 # Let the site file select an alternate cache file if it wants to.
1373 # Prefer explicitly selected file to automatically selected ones.
1374 if test -z "$CONFIG_SITE"; then
1375 if test "x$prefix" != xNONE; then
1376 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1378 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1381 for ac_site_file in $CONFIG_SITE; do
1382 if test -r "$ac_site_file"; then
1383 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1384 echo "$as_me: loading site script $ac_site_file" >&6;}
1385 sed 's
/^
/| /' "$ac_site_file" >&5
1390 if test -r "$cache_file"; then
1391 # Some versions of bash will fail to source /dev/null (special
1392 # files actually), so we avoid doing that.
1393 if test -f "$cache_file"; then
1394 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1395 echo "$as_me: loading cache $cache_file" >&6;}
1397 [\\/]* | ?:[\\/]* ) . $cache_file;;
1398 *) . ./$cache_file;;
1402 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1403 echo "$as_me: creating cache $cache_file" >&6;}
1407 # Check that the precious variables saved in the cache have kept the same
1409 ac_cache_corrupted=false
1410 for ac_var in `(set) 2>&1 |
1411 sed -n 's
/^ac_env_\
([a
-zA-Z_0-9]*\
)_set
=.
*/\
1/p
'`; do
1412 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1413 eval ac_new_set=\$ac_env_${ac_var}_set
1414 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1415 eval ac_new_val="\$ac_env_${ac_var}_value"
1416 case $ac_old_set,$ac_new_set in
1418 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1419 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1420 ac_cache_corrupted=: ;;
1422 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1423 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1424 ac_cache_corrupted=: ;;
1427 if test "x$ac_old_val" != "x$ac_new_val"; then
1428 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1429 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1430 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1431 echo "$as_me: former value: $ac_old_val" >&2;}
1432 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1433 echo "$as_me: current value: $ac_new_val" >&2;}
1434 ac_cache_corrupted=:
1437 # Pass precious variables to config.status.
1438 if test "$ac_new_set" = set; then
1440 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1441 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1442 *) ac_arg=$ac_var=$ac_new_val ;;
1444 case " $ac_configure_args " in
1445 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1446 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1450 if $ac_cache_corrupted; then
1451 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1452 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1453 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1454 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1455 { (exit 1); exit 1; }; }
1459 ac_cpp='$CPP $CPPFLAGS'
1460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1461 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1494 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1495 if test -f $ac_dir/install-sh; then
1497 ac_install_sh="$ac_aux_dir/install-sh -c"
1499 elif test -f $ac_dir/install.sh; then
1501 ac_install_sh="$ac_aux_dir/install.sh -c"
1503 elif test -f $ac_dir/shtool; then
1505 ac_install_sh="$ac_aux_dir/shtool install -c"
1509 if test -z "$ac_aux_dir"; then
1510 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1511 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1512 { (exit 1); exit 1; }; }
1514 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1515 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1516 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1518 # Make sure we can run config.sub.
1519 $ac_config_sub sun4 >/dev/null 2>&1 ||
1520 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1521 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1522 { (exit 1); exit 1; }; }
1524 echo "$as_me:$LINENO: checking build system type" >&5
1525 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1526 if test "${ac_cv_build+set}" = set; then
1527 echo $ECHO_N "(cached) $ECHO_C" >&6
1529 ac_cv_build_alias=$build_alias
1530 test -z "$ac_cv_build_alias" &&
1531 ac_cv_build_alias=`$ac_config_guess`
1532 test -z "$ac_cv_build_alias" &&
1533 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1534 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1535 { (exit 1); exit 1; }; }
1536 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1537 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1538 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1539 { (exit 1); exit 1; }; }
1542 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1543 echo "${ECHO_T}$ac_cv_build" >&6
1545 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1546 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1547 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1550 echo "$as_me:$LINENO: checking host system type" >&5
1551 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1552 if test "${ac_cv_host+set}" = set; then
1553 echo $ECHO_N "(cached) $ECHO_C" >&6
1555 ac_cv_host_alias=$host_alias
1556 test -z "$ac_cv_host_alias" &&
1557 ac_cv_host_alias=$ac_cv_build_alias
1558 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1559 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1560 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1561 { (exit 1); exit 1; }; }
1564 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1565 echo "${ECHO_T}$ac_cv_host" >&6
1567 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1568 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1569 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1572 echo "$as_me:$LINENO: checking target system type" >&5
1573 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1574 if test "${ac_cv_target+set}" = set; then
1575 echo $ECHO_N "(cached) $ECHO_C" >&6
1577 ac_cv_target_alias=$target_alias
1578 test "x$ac_cv_target_alias" = "x" &&
1579 ac_cv_target_alias=$ac_cv_host_alias
1580 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1581 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1582 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1583 { (exit 1); exit 1; }; }
1586 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1587 echo "${ECHO_T}$ac_cv_target" >&6
1588 target=$ac_cv_target
1589 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1590 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1591 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1594 # The aliases save the names the user supplied, while $host etc.
1595 # will get canonicalized.
1596 test -n "$target_alias" &&
1597 test "$program_prefix$program_suffix$program_transform_name" = \
1599 program_prefix=${target_alias}-
1603 WX_MAJOR_VERSION_NUMBER=2
1604 WX_MINOR_VERSION_NUMBER=5
1607 WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1608 WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1610 WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1625 USE_BSD= USE_DARWIN= USE_FREEBSD=
1631 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1637 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1639 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1641 DEFAULT_wxUSE_COCOA=0
1645 DEFAULT_wxUSE_MICROWIN=0
1646 DEFAULT_wxUSE_MOTIF=0
1651 DEFAULT_DEFAULT_wxUSE_COCOA=0
1652 DEFAULT_DEFAULT_wxUSE_GTK=0
1653 DEFAULT_DEFAULT_wxUSE_MAC=0
1654 DEFAULT_DEFAULT_wxUSE_MGL=0
1655 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1656 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1657 DEFAULT_DEFAULT_wxUSE_MSW=0
1658 DEFAULT_DEFAULT_wxUSE_PM=0
1659 DEFAULT_DEFAULT_wxUSE_X11=0
1664 SAMPLES_RPATH_POSTLINK=
1669 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1670 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1672 cat >>confdefs.h <<\_ACEOF
1679 cat >>confdefs.h <<\_ACEOF
1684 if test "x$TMP" = "xalpha"; then
1686 cat >>confdefs.h <<\_ACEOF
1691 DEFAULT_DEFAULT_wxUSE_GTK=1
1695 cat >>confdefs.h <<\_ACEOF
1700 if test "x$TMP" = "xalpha"; then
1702 cat >>confdefs.h <<\_ACEOF
1707 DEFAULT_DEFAULT_wxUSE_GTK=1
1709 *-*-irix5* | *-*-irix6* )
1712 cat >>confdefs.h <<\_ACEOF
1716 cat >>confdefs.h <<\_ACEOF
1720 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1726 cat >>confdefs.h <<\_ACEOF
1730 cat >>confdefs.h <<\_ACEOF
1731 #define __SOLARIS__ 1
1734 cat >>confdefs.h <<\_ACEOF
1738 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1739 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1745 cat >>confdefs.h <<\_ACEOF
1749 cat >>confdefs.h <<\_ACEOF
1753 cat >>confdefs.h <<\_ACEOF
1757 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1762 cat >>confdefs.h <<\_ACEOF
1763 #define __FREEBSD__ 1
1766 cat >>confdefs.h <<\_ACEOF
1770 DEFAULT_DEFAULT_wxUSE_GTK=1
1775 cat >>confdefs.h <<\_ACEOF
1776 #define __OPENBSD__ 1
1779 cat >>confdefs.h <<\_ACEOF
1783 DEFAULT_DEFAULT_wxUSE_GTK=1
1788 cat >>confdefs.h <<\_ACEOF
1789 #define __NETBSD__ 1
1792 cat >>confdefs.h <<\_ACEOF
1796 DEFAULT_DEFAULT_wxUSE_GTK=1
1801 cat >>confdefs.h <<\_ACEOF
1805 cat >>confdefs.h <<\_ACEOF
1809 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1810 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1815 cat >>confdefs.h <<\_ACEOF
1819 cat >>confdefs.h <<\_ACEOF
1823 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1828 cat >>confdefs.h <<\_ACEOF
1832 cat >>confdefs.h <<\_ACEOF
1836 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1843 cat >>confdefs.h <<\_ACEOF
1847 cat >>confdefs.h <<\_ACEOF
1851 cat >>confdefs.h <<\_ACEOF
1855 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1862 cat >>confdefs.h <<\_ACEOF
1863 #define __UNIXWARE__ 1
1868 *-*-cygwin* | *-*-mingw32* )
1872 DEFAULT_DEFAULT_wxUSE_MSW=1
1878 cat >>confdefs.h <<\_ACEOF
1883 DEFAULT_DEFAULT_wxUSE_MGL=1
1884 LIBS="$LIBS -lstdc++"
1887 *-pc-os2_emx | *-pc-os2-emx )
1888 cat >>confdefs.h <<\_ACEOF
1893 DEFAULT_DEFAULT_wxUSE_PM=1
1895 LIBS="$LIBS -lstdcpp"
1902 cat >>confdefs.h <<\_ACEOF
1906 cat >>confdefs.h <<\_ACEOF
1907 #define __DARWIN__ 1
1910 cat >>confdefs.h <<\_ACEOF
1911 #define __POWERPC__ 1
1914 cat >>confdefs.h <<\_ACEOF
1915 #define TARGET_CARBON 1
1918 DEFAULT_DEFAULT_wxUSE_MAC=1
1923 cat >>confdefs.h <<\_ACEOF
1930 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1931 echo "$as_me: error: unknown system type ${host}." >&2;}
1932 { (exit 1); exit 1; }; }
1938 wx_arg_cache_file="configarg.cache"
1939 echo "loading argument cache $wx_arg_cache_file"
1940 rm -f ${wx_arg_cache_file}.tmp
1941 touch ${wx_arg_cache_file}.tmp
1942 touch ${wx_arg_cache_file}
1946 if test $DEBUG_CONFIGURE = 1; then
1947 DEFAULT_wxUSE_UNIVERSAL=no
1948 DEFAULT_wxUSE_STL=no
1950 DEFAULT_wxUSE_NANOX=no
1952 DEFAULT_wxUSE_THREADS=yes
1954 DEFAULT_wxUSE_SHARED=yes
1955 DEFAULT_wxUSE_OPTIMISE=no
1956 DEFAULT_wxUSE_PROFILE=no
1957 DEFAULT_wxUSE_NO_DEPS=no
1958 DEFAULT_wxUSE_NO_RTTI=no
1959 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1960 DEFAULT_wxUSE_PERMISSIVE=no
1961 DEFAULT_wxUSE_DEBUG_FLAG=yes
1962 DEFAULT_wxUSE_DEBUG_INFO=yes
1963 DEFAULT_wxUSE_DEBUG_GDB=yes
1964 DEFAULT_wxUSE_MEM_TRACING=no
1965 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1966 DEFAULT_wxUSE_DMALLOC=no
1967 DEFAULT_wxUSE_APPLE_IEEE=no
1969 DEFAULT_wxUSE_LOG=yes
1970 DEFAULT_wxUSE_LOGWINDOW=no
1971 DEFAULT_wxUSE_LOGGUI=no
1972 DEFAULT_wxUSE_LOGDIALOG=no
1974 DEFAULT_wxUSE_GUI=yes
1975 DEFAULT_wxUSE_CONTROLS=no
1977 DEFAULT_wxUSE_REGEX=no
1978 DEFAULT_wxUSE_XML=no
1979 DEFAULT_wxUSE_EXPAT=no
1980 DEFAULT_wxUSE_ZLIB=no
1981 DEFAULT_wxUSE_LIBPNG=no
1982 DEFAULT_wxUSE_LIBJPEG=no
1983 DEFAULT_wxUSE_LIBTIFF=no
1984 DEFAULT_wxUSE_ODBC=no
1985 DEFAULT_wxUSE_OPENGL=no
1987 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
1988 DEFAULT_wxUSE_SNGLINST_CHECKER=no
1989 DEFAULT_wxUSE_STD_IOSTREAM=no
1990 DEFAULT_wxUSE_CMDLINE_PARSER=no
1991 DEFAULT_wxUSE_DATETIME=no
1992 DEFAULT_wxUSE_TIMER=no
1993 DEFAULT_wxUSE_STOPWATCH=no
1994 DEFAULT_wxUSE_FILE=no
1995 DEFAULT_wxUSE_FFILE=no
1996 DEFAULT_wxUSE_TEXTBUFFER=no
1997 DEFAULT_wxUSE_TEXTFILE=no
1998 DEFAULT_wxUSE_WAVE=no
1999 DEFAULT_wxUSE_INTL=no
2000 DEFAULT_wxUSE_CONFIG=no
2001 DEFAULT_wxUSE_FONTMAP=no
2002 DEFAULT_wxUSE_STREAMS=no
2003 DEFAULT_wxUSE_SOCKETS=no
2004 DEFAULT_wxUSE_OLE=no
2005 DEFAULT_wxUSE_DATAOBJ=no
2006 DEFAULT_wxUSE_DIALUP_MANAGER=no
2007 DEFAULT_wxUSE_JOYSTICK=no
2008 DEFAULT_wxUSE_DYNLIB_CLASS=no
2009 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2010 DEFAULT_wxUSE_LONGLONG=no
2011 DEFAULT_wxUSE_GEOMETRY=no
2013 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2014 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2015 DEFAULT_wxUSE_POSTSCRIPT=no
2017 DEFAULT_wxUSE_CLIPBOARD=no
2018 DEFAULT_wxUSE_TOOLTIPS=no
2019 DEFAULT_wxUSE_DRAG_AND_DROP=no
2020 DEFAULT_wxUSE_DRAGIMAGE=no
2021 DEFAULT_wxUSE_SPLINES=no
2023 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2024 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2025 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2027 DEFAULT_wxUSE_RESOURCES=no
2028 DEFAULT_wxUSE_CONSTRAINTS=no
2029 DEFAULT_wxUSE_IPC=no
2030 DEFAULT_wxUSE_HELP=no
2031 DEFAULT_wxUSE_MS_HTML_HELP=no
2032 DEFAULT_wxUSE_WXHTML_HELP=no
2033 DEFAULT_wxUSE_TREELAYOUT=no
2034 DEFAULT_wxUSE_METAFILE=no
2035 DEFAULT_wxUSE_MIMETYPE=no
2036 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2037 DEFAULT_wxUSE_PROTOCOL=no
2038 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2039 DEFAULT_wxUSE_PROTOCOL_FTP=no
2040 DEFAULT_wxUSE_PROTOCOL_FILE=no
2041 DEFAULT_wxUSE_URL=no
2043 DEFAULT_wxUSE_COMMONDLGS=no
2044 DEFAULT_wxUSE_CHOICEDLG=no
2045 DEFAULT_wxUSE_COLOURDLG=no
2046 DEFAULT_wxUSE_DIRDLG=no
2047 DEFAULT_wxUSE_FILEDLG=no
2048 DEFAULT_wxUSE_FINDREPLDLG=no
2049 DEFAULT_wxUSE_FONTDLG=no
2050 DEFAULT_wxUSE_MSGDLG=no
2051 DEFAULT_wxUSE_NUMBERDLG=no
2052 DEFAULT_wxUSE_TEXTDLG=no
2053 DEFAULT_wxUSE_SPLASH=no
2054 DEFAULT_wxUSE_STARTUP_TIPS=no
2055 DEFAULT_wxUSE_PROGRESSDLG=no
2056 DEFAULT_wxUSE_WIZARDDLG=no
2058 DEFAULT_wxUSE_MENUS=no
2059 DEFAULT_wxUSE_MINIFRAME=no
2060 DEFAULT_wxUSE_HTML=no
2061 DEFAULT_wxUSE_FILESYSTEM=no
2062 DEFAULT_wxUSE_FS_INET=no
2063 DEFAULT_wxUSE_FS_ZIP=no
2064 DEFAULT_wxUSE_BUSYINFO=no
2065 DEFAULT_wxUSE_ZIPSTREAM=no
2066 DEFAULT_wxUSE_VALIDATORS=no
2068 DEFAULT_wxUSE_ACCEL=no
2069 DEFAULT_wxUSE_BUTTON=no
2070 DEFAULT_wxUSE_BMPBUTTON=no
2071 DEFAULT_wxUSE_CALCTRL=no
2072 DEFAULT_wxUSE_CARET=no
2073 DEFAULT_wxUSE_CHECKBOX=no
2074 DEFAULT_wxUSE_CHECKLST=no
2075 DEFAULT_wxUSE_CHOICE=no
2076 DEFAULT_wxUSE_COMBOBOX=no
2077 DEFAULT_wxUSE_DISPLAY=no
2078 DEFAULT_wxUSE_GAUGE=no
2079 DEFAULT_wxUSE_GRID=no
2080 DEFAULT_wxUSE_IMAGLIST=no
2081 DEFAULT_wxUSE_LISTBOX=no
2082 DEFAULT_wxUSE_LISTCTRL=no
2083 DEFAULT_wxUSE_NOTEBOOK=no
2084 DEFAULT_wxUSE_RADIOBOX=no
2085 DEFAULT_wxUSE_RADIOBTN=no
2086 DEFAULT_wxUSE_SASH=no
2087 DEFAULT_wxUSE_SCROLLBAR=no
2088 DEFAULT_wxUSE_SLIDER=no
2089 DEFAULT_wxUSE_SPINBTN=no
2090 DEFAULT_wxUSE_SPINCTRL=no
2091 DEFAULT_wxUSE_SPLITTER=no
2092 DEFAULT_wxUSE_STATBMP=no
2093 DEFAULT_wxUSE_STATBOX=no
2094 DEFAULT_wxUSE_STATLINE=no
2095 DEFAULT_wxUSE_STATTEXT=no
2096 DEFAULT_wxUSE_STATUSBAR=yes
2097 DEFAULT_wxUSE_TABDIALOG=no
2098 DEFAULT_wxUSE_TEXTCTRL=no
2099 DEFAULT_wxUSE_TOGGLEBTN=no
2100 DEFAULT_wxUSE_TOOLBAR=no
2101 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2102 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2103 DEFAULT_wxUSE_TREECTRL=no
2104 DEFAULT_wxUSE_POPUPWIN=no
2105 DEFAULT_wxUSE_TIPWINDOW=no
2107 DEFAULT_wxUSE_UNICODE=no
2108 DEFAULT_wxUSE_UNICODE_MSLU=no
2109 DEFAULT_wxUSE_WCSRTOMBS=no
2111 DEFAULT_wxUSE_PALETTE=no
2112 DEFAULT_wxUSE_IMAGE=no
2113 DEFAULT_wxUSE_GIF=no
2114 DEFAULT_wxUSE_PCX=no
2115 DEFAULT_wxUSE_PNM=no
2116 DEFAULT_wxUSE_IFF=no
2117 DEFAULT_wxUSE_XPM=no
2118 DEFAULT_wxUSE_ICO_CUR=no
2119 DEFAULT_wxUSE_ACCESSIBILITY=no
2121 DEFAULT_wxUSE_MONOLITHIC=no
2122 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2124 DEFAULT_wxUSE_UNIVERSAL=no
2125 DEFAULT_wxUSE_STL=no
2127 DEFAULT_wxUSE_NANOX=no
2129 DEFAULT_wxUSE_THREADS=yes
2131 DEFAULT_wxUSE_SHARED=yes
2132 DEFAULT_wxUSE_OPTIMISE=yes
2133 DEFAULT_wxUSE_PROFILE=no
2134 DEFAULT_wxUSE_NO_DEPS=no
2135 DEFAULT_wxUSE_NO_RTTI=no
2136 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2137 DEFAULT_wxUSE_PERMISSIVE=no
2138 DEFAULT_wxUSE_DEBUG_FLAG=no
2139 DEFAULT_wxUSE_DEBUG_INFO=no
2140 DEFAULT_wxUSE_DEBUG_GDB=no
2141 DEFAULT_wxUSE_MEM_TRACING=no
2142 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2143 DEFAULT_wxUSE_DMALLOC=no
2144 DEFAULT_wxUSE_APPLE_IEEE=yes
2146 DEFAULT_wxUSE_LOG=yes
2147 DEFAULT_wxUSE_LOGWINDOW=yes
2148 DEFAULT_wxUSE_LOGGUI=yes
2149 DEFAULT_wxUSE_LOGDIALOG=yes
2151 DEFAULT_wxUSE_GUI=yes
2153 DEFAULT_wxUSE_REGEX=yes
2154 DEFAULT_wxUSE_XML=yes
2155 DEFAULT_wxUSE_EXPAT=yes
2156 DEFAULT_wxUSE_ZLIB=yes
2157 DEFAULT_wxUSE_LIBPNG=yes
2158 DEFAULT_wxUSE_LIBJPEG=yes
2159 DEFAULT_wxUSE_LIBTIFF=yes
2160 DEFAULT_wxUSE_ODBC=no
2161 DEFAULT_wxUSE_OPENGL=no
2163 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2164 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2165 DEFAULT_wxUSE_STD_IOSTREAM=no
2166 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2167 DEFAULT_wxUSE_DATETIME=yes
2168 DEFAULT_wxUSE_TIMER=yes
2169 DEFAULT_wxUSE_STOPWATCH=yes
2170 DEFAULT_wxUSE_FILE=yes
2171 DEFAULT_wxUSE_FFILE=yes
2172 DEFAULT_wxUSE_TEXTBUFFER=yes
2173 DEFAULT_wxUSE_TEXTFILE=yes
2174 DEFAULT_wxUSE_WAVE=no
2175 DEFAULT_wxUSE_INTL=yes
2176 DEFAULT_wxUSE_CONFIG=yes
2177 DEFAULT_wxUSE_FONTMAP=yes
2178 DEFAULT_wxUSE_STREAMS=yes
2179 DEFAULT_wxUSE_SOCKETS=yes
2180 DEFAULT_wxUSE_OLE=yes
2181 DEFAULT_wxUSE_DATAOBJ=yes
2182 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2183 DEFAULT_wxUSE_JOYSTICK=yes
2184 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2185 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2186 DEFAULT_wxUSE_LONGLONG=yes
2187 DEFAULT_wxUSE_GEOMETRY=yes
2189 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2190 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2191 DEFAULT_wxUSE_POSTSCRIPT=yes
2193 DEFAULT_wxUSE_CLIPBOARD=yes
2194 DEFAULT_wxUSE_TOOLTIPS=yes
2195 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2196 DEFAULT_wxUSE_DRAGIMAGE=yes
2197 DEFAULT_wxUSE_SPLINES=yes
2199 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2200 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2201 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2203 DEFAULT_wxUSE_RESOURCES=no
2204 DEFAULT_wxUSE_CONSTRAINTS=yes
2205 DEFAULT_wxUSE_IPC=yes
2206 DEFAULT_wxUSE_HELP=yes
2207 DEFAULT_wxUSE_MS_HTML_HELP=yes
2208 DEFAULT_wxUSE_WXHTML_HELP=yes
2209 DEFAULT_wxUSE_TREELAYOUT=yes
2210 DEFAULT_wxUSE_METAFILE=yes
2211 DEFAULT_wxUSE_MIMETYPE=yes
2212 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2213 DEFAULT_wxUSE_PROTOCOL=yes
2214 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2215 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2216 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2217 DEFAULT_wxUSE_URL=yes
2219 DEFAULT_wxUSE_COMMONDLGS=yes
2220 DEFAULT_wxUSE_CHOICEDLG=yes
2221 DEFAULT_wxUSE_COLOURDLG=yes
2222 DEFAULT_wxUSE_DIRDLG=yes
2223 DEFAULT_wxUSE_FILEDLG=yes
2224 DEFAULT_wxUSE_FINDREPLDLG=yes
2225 DEFAULT_wxUSE_FONTDLG=yes
2226 DEFAULT_wxUSE_MSGDLG=yes
2227 DEFAULT_wxUSE_NUMBERDLG=yes
2228 DEFAULT_wxUSE_TEXTDLG=yes
2229 DEFAULT_wxUSE_SPLASH=yes
2230 DEFAULT_wxUSE_STARTUP_TIPS=yes
2231 DEFAULT_wxUSE_PROGRESSDLG=yes
2232 DEFAULT_wxUSE_WIZARDDLG=yes
2234 DEFAULT_wxUSE_MENUS=yes
2235 DEFAULT_wxUSE_MINIFRAME=yes
2236 DEFAULT_wxUSE_HTML=yes
2237 DEFAULT_wxUSE_FILESYSTEM=yes
2238 DEFAULT_wxUSE_FS_INET=yes
2239 DEFAULT_wxUSE_FS_ZIP=yes
2240 DEFAULT_wxUSE_BUSYINFO=yes
2241 DEFAULT_wxUSE_ZIPSTREAM=yes
2242 DEFAULT_wxUSE_VALIDATORS=yes
2244 DEFAULT_wxUSE_ACCEL=yes
2245 DEFAULT_wxUSE_BUTTON=yes
2246 DEFAULT_wxUSE_BMPBUTTON=yes
2247 DEFAULT_wxUSE_CALCTRL=yes
2248 DEFAULT_wxUSE_CARET=yes
2249 DEFAULT_wxUSE_CHECKBOX=yes
2250 DEFAULT_wxUSE_CHECKLST=yes
2251 DEFAULT_wxUSE_CHOICE=yes
2252 DEFAULT_wxUSE_COMBOBOX=yes
2253 DEFAULT_wxUSE_DISPLAY=no
2254 DEFAULT_wxUSE_GAUGE=yes
2255 DEFAULT_wxUSE_GRID=yes
2256 DEFAULT_wxUSE_IMAGLIST=yes
2257 DEFAULT_wxUSE_LISTBOX=yes
2258 DEFAULT_wxUSE_LISTCTRL=yes
2259 DEFAULT_wxUSE_NOTEBOOK=yes
2260 DEFAULT_wxUSE_RADIOBOX=yes
2261 DEFAULT_wxUSE_RADIOBTN=yes
2262 DEFAULT_wxUSE_SASH=yes
2263 DEFAULT_wxUSE_SCROLLBAR=yes
2264 DEFAULT_wxUSE_SLIDER=yes
2265 DEFAULT_wxUSE_SPINBTN=yes
2266 DEFAULT_wxUSE_SPINCTRL=yes
2267 DEFAULT_wxUSE_SPLITTER=yes
2268 DEFAULT_wxUSE_STATBMP=yes
2269 DEFAULT_wxUSE_STATBOX=yes
2270 DEFAULT_wxUSE_STATLINE=yes
2271 DEFAULT_wxUSE_STATTEXT=yes
2272 DEFAULT_wxUSE_STATUSBAR=yes
2273 DEFAULT_wxUSE_TABDIALOG=no
2274 DEFAULT_wxUSE_TEXTCTRL=yes
2275 DEFAULT_wxUSE_TOGGLEBTN=yes
2276 DEFAULT_wxUSE_TOOLBAR=yes
2277 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2278 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2279 DEFAULT_wxUSE_TREECTRL=yes
2280 DEFAULT_wxUSE_POPUPWIN=yes
2281 DEFAULT_wxUSE_TIPWINDOW=yes
2283 DEFAULT_wxUSE_UNICODE=no
2284 DEFAULT_wxUSE_UNICODE_MSLU=yes
2285 DEFAULT_wxUSE_WCSRTOMBS=no
2287 DEFAULT_wxUSE_PALETTE=yes
2288 DEFAULT_wxUSE_IMAGE=yes
2289 DEFAULT_wxUSE_GIF=yes
2290 DEFAULT_wxUSE_PCX=yes
2291 DEFAULT_wxUSE_IFF=no
2292 DEFAULT_wxUSE_PNM=yes
2293 DEFAULT_wxUSE_XPM=yes
2294 DEFAULT_wxUSE_ICO_CUR=yes
2295 DEFAULT_wxUSE_ACCESSIBILITY=no
2297 DEFAULT_wxUSE_MONOLITHIC=no
2298 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2303 for toolkit in `echo $ALL_TOOLKITS`; do
2304 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2305 if test "x$LINE" != "x" ; then
2306 has_toolkit_in_cache=1
2307 eval "DEFAULT_$LINE"
2308 eval "CACHE_$toolkit=1"
2315 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2316 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2318 # Check whether --enable-gui or --disable-gui was given.
2319 if test "${enable_gui+set}" = set; then
2320 enableval="$enable_gui"
2322 if test "$enableval" = yes; then
2323 ac_cv_use_gui='wxUSE_GUI
=yes'
2325 ac_cv_use_gui='wxUSE_GUI
=no
'
2330 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2331 if test "x$LINE" != x ; then
2332 eval "DEFAULT_$LINE"
2337 ac_cv_use_gui='wxUSE_GUI
='$DEFAULT_wxUSE_GUI
2341 eval "$ac_cv_use_gui"
2342 if test "$no_cache" != 1; then
2343 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2346 if test "$wxUSE_GUI" = yes; then
2347 echo "$as_me:$LINENO: result: yes" >&5
2348 echo "${ECHO_T}yes" >&6
2350 echo "$as_me:$LINENO: result: no" >&5
2351 echo "${ECHO_T}no" >&6
2356 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2357 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2359 # Check whether --enable-monolithic or --disable-monolithic was given.
2360 if test "${enable_monolithic+set}" = set; then
2361 enableval="$enable_monolithic"
2363 if test "$enableval" = yes; then
2364 ac_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
2366 ac_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
2371 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2372 if test "x$LINE" != x ; then
2373 eval "DEFAULT_$LINE"
2378 ac_cv_use_monolithic='wxUSE_MONOLITHIC
='$DEFAULT_wxUSE_MONOLITHIC
2382 eval "$ac_cv_use_monolithic"
2383 if test "$no_cache" != 1; then
2384 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2387 if test "$wxUSE_MONOLITHIC" = yes; then
2388 echo "$as_me:$LINENO: result: yes" >&5
2389 echo "${ECHO_T}yes" >&6
2391 echo "$as_me:$LINENO: result: no" >&5
2392 echo "${ECHO_T}no" >&6
2396 if test "$wxUSE_GUI" = "yes"; then
2400 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2401 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2403 # Check whether --enable-universal or --disable-universal was given.
2404 if test "${enable_universal+set}" = set; then
2405 enableval="$enable_universal"
2407 if test "$enableval" = yes; then
2408 ac_cv_use_universal='wxUSE_UNIVERSAL
=yes'
2410 ac_cv_use_universal='wxUSE_UNIVERSAL
=no
'
2415 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2416 if test "x$LINE" != x ; then
2417 eval "DEFAULT_$LINE"
2422 ac_cv_use_universal='wxUSE_UNIVERSAL
='$DEFAULT_wxUSE_UNIVERSAL
2426 eval "$ac_cv_use_universal"
2427 if test "$no_cache" != 1; then
2428 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2431 if test "$wxUSE_UNIVERSAL" = yes; then
2432 echo "$as_me:$LINENO: result: yes" >&5
2433 echo "${ECHO_T}yes" >&6
2435 echo "$as_me:$LINENO: result: no" >&5
2436 echo "${ECHO_T}no" >&6
2440 # Check whether --with-gtk or --without-gtk was given.
2441 if test "${with_gtk+set}" = set; then
2443 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2446 # Check whether --with-motif or --without-motif was given.
2447 if test "${with_motif+set}" = set; then
2448 withval="$with_motif"
2449 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2452 # Check whether --with-mac or --without-mac was given.
2453 if test "${with_mac+set}" = set; then
2455 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2458 # Check whether --with-cocoa or --without-cocoa was given.
2459 if test "${with_cocoa+set}" = set; then
2460 withval="$with_cocoa"
2461 wxUSE_COCOA="$withval" TOOLKIT_GIVEN=1
2464 # Check whether --with-wine or --without-wine was given.
2465 if test "${with_wine+set}" = set; then
2466 withval="$with_wine"
2467 wxUSE_WINE="$withval" CACHE_WINE=1
2470 # Check whether --with-msw or --without-msw was given.
2471 if test "${with_msw+set}" = set; then
2473 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2476 # Check whether --with-pm or --without-pm was given.
2477 if test "${with_pm+set}" = set; then
2479 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2482 # Check whether --with-mgl or --without-mgl was given.
2483 if test "${with_mgl+set}" = set; then
2485 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2488 # Check whether --with-microwin or --without-microwin was given.
2489 if test "${with_microwin+set}" = set; then
2490 withval="$with_microwin"
2491 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2494 # Check whether --with-x11 or --without-x11 was given.
2495 if test "${with_x11+set}" = set; then
2497 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2501 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2502 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2504 # Check whether --enable-nanox or --disable-nanox was given.
2505 if test "${enable_nanox+set}" = set; then
2506 enableval="$enable_nanox"
2508 if test "$enableval" = yes; then
2509 ac_cv_use_nanox='wxUSE_NANOX
=yes'
2511 ac_cv_use_nanox='wxUSE_NANOX
=no
'
2516 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2517 if test "x$LINE" != x ; then
2518 eval "DEFAULT_$LINE"
2523 ac_cv_use_nanox='wxUSE_NANOX
='$DEFAULT_wxUSE_NANOX
2527 eval "$ac_cv_use_nanox"
2528 if test "$no_cache" != 1; then
2529 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2532 if test "$wxUSE_NANOX" = yes; then
2533 echo "$as_me:$LINENO: result: yes" >&5
2534 echo "${ECHO_T}yes" >&6
2536 echo "$as_me:$LINENO: result: no" >&5
2537 echo "${ECHO_T}no" >&6
2543 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2544 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2546 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2547 if test "${enable_gtk2+set}" = set; then
2548 enableval="$enable_gtk2"
2550 if test "$enableval" = yes; then
2551 ac_cv_use_gtk2='wxUSE_GTK2
=yes'
2553 ac_cv_use_gtk2='wxUSE_GTK2
=no
'
2558 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2559 if test "x$LINE" != x ; then
2560 eval "DEFAULT_$LINE"
2565 ac_cv_use_gtk2='wxUSE_GTK2
='$DEFAULT_wxUSE_GTK2
2569 eval "$ac_cv_use_gtk2"
2570 if test "$no_cache" != 1; then
2571 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2574 if test "$wxUSE_GTK2" = yes; then
2575 echo "$as_me:$LINENO: result: yes" >&5
2576 echo "${ECHO_T}yes" >&6
2578 echo "$as_me:$LINENO: result: no" >&5
2579 echo "${ECHO_T}no" >&6
2584 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2585 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2588 # Check whether --with-libpng or --without-libpng was given.
2589 if test "${with_libpng+set}" = set; then
2590 withval="$with_libpng"
2592 if test "$withval" = yes; then
2593 ac_cv_use_libpng='wxUSE_LIBPNG
=yes'
2594 elif test "$withval" = no; then
2595 ac_cv_use_libpng='wxUSE_LIBPNG
=no
'
2596 elif test "$withval" = sys; then
2597 ac_cv_use_libpng='wxUSE_LIBPNG
=sys
'
2598 elif test "$withval" = builtin; then
2599 ac_cv_use_libpng='wxUSE_LIBPNG
=builtin'
2601 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2602 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2603 { (exit 1); exit 1; }; }
2608 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2609 if test "x$LINE" != x ; then
2610 eval "DEFAULT_$LINE"
2615 ac_cv_use_libpng='wxUSE_LIBPNG
='$DEFAULT_wxUSE_LIBPNG
2619 eval "$ac_cv_use_libpng"
2620 if test "$no_cache" != 1; then
2621 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2624 if test "$wxUSE_LIBPNG" = yes; then
2625 echo "$as_me:$LINENO: result: yes" >&5
2626 echo "${ECHO_T}yes" >&6
2627 elif test "$wxUSE_LIBPNG" = no; then
2628 echo "$as_me:$LINENO: result: no" >&5
2629 echo "${ECHO_T}no" >&6
2630 elif test "$wxUSE_LIBPNG" = sys; then
2631 echo "$as_me:$LINENO: result: system version" >&5
2632 echo "${ECHO_T}system version" >&6
2633 elif test "$wxUSE_LIBPNG" = builtin; then
2634 echo "$as_me:$LINENO: result: builtin version" >&5
2635 echo "${ECHO_T}builtin version" >&6
2637 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2638 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2639 { (exit 1); exit 1; }; }
2643 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2644 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2647 # Check whether --with-libjpeg or --without-libjpeg was given.
2648 if test "${with_libjpeg+set}" = set; then
2649 withval="$with_libjpeg"
2651 if test "$withval" = yes; then
2652 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
2653 elif test "$withval" = no; then
2654 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
2655 elif test "$withval" = sys; then
2656 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
2657 elif test "$withval" = builtin; then
2658 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
2660 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2661 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2662 { (exit 1); exit 1; }; }
2667 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2668 if test "x$LINE" != x ; then
2669 eval "DEFAULT_$LINE"
2674 ac_cv_use_libjpeg='wxUSE_LIBJPEG
='$DEFAULT_wxUSE_LIBJPEG
2678 eval "$ac_cv_use_libjpeg"
2679 if test "$no_cache" != 1; then
2680 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2683 if test "$wxUSE_LIBJPEG" = yes; then
2684 echo "$as_me:$LINENO: result: yes" >&5
2685 echo "${ECHO_T}yes" >&6
2686 elif test "$wxUSE_LIBJPEG" = no; then
2687 echo "$as_me:$LINENO: result: no" >&5
2688 echo "${ECHO_T}no" >&6
2689 elif test "$wxUSE_LIBJPEG" = sys; then
2690 echo "$as_me:$LINENO: result: system version" >&5
2691 echo "${ECHO_T}system version" >&6
2692 elif test "$wxUSE_LIBJPEG" = builtin; then
2693 echo "$as_me:$LINENO: result: builtin version" >&5
2694 echo "${ECHO_T}builtin version" >&6
2696 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2697 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2698 { (exit 1); exit 1; }; }
2702 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2703 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2706 # Check whether --with-libtiff or --without-libtiff was given.
2707 if test "${with_libtiff+set}" = set; then
2708 withval="$with_libtiff"
2710 if test "$withval" = yes; then
2711 ac_cv_use_libtiff='wxUSE_LIBTIFF
=yes'
2712 elif test "$withval" = no; then
2713 ac_cv_use_libtiff='wxUSE_LIBTIFF
=no
'
2714 elif test "$withval" = sys; then
2715 ac_cv_use_libtiff='wxUSE_LIBTIFF
=sys
'
2716 elif test "$withval" = builtin; then
2717 ac_cv_use_libtiff='wxUSE_LIBTIFF
=builtin'
2719 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2720 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2721 { (exit 1); exit 1; }; }
2726 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2727 if test "x$LINE" != x ; then
2728 eval "DEFAULT_$LINE"
2733 ac_cv_use_libtiff='wxUSE_LIBTIFF
='$DEFAULT_wxUSE_LIBTIFF
2737 eval "$ac_cv_use_libtiff"
2738 if test "$no_cache" != 1; then
2739 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2742 if test "$wxUSE_LIBTIFF" = yes; then
2743 echo "$as_me:$LINENO: result: yes" >&5
2744 echo "${ECHO_T}yes" >&6
2745 elif test "$wxUSE_LIBTIFF" = no; then
2746 echo "$as_me:$LINENO: result: no" >&5
2747 echo "${ECHO_T}no" >&6
2748 elif test "$wxUSE_LIBTIFF" = sys; then
2749 echo "$as_me:$LINENO: result: system version" >&5
2750 echo "${ECHO_T}system version" >&6
2751 elif test "$wxUSE_LIBTIFF" = builtin; then
2752 echo "$as_me:$LINENO: result: builtin version" >&5
2753 echo "${ECHO_T}builtin version" >&6
2755 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2756 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2757 { (exit 1); exit 1; }; }
2761 echo "$as_me:$LINENO: checking for --with-opengl" >&5
2762 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
2765 # Check whether --with-opengl or --without-opengl was given.
2766 if test "${with_opengl+set}" = set; then
2767 withval="$with_opengl"
2769 if test "$withval" = yes; then
2770 ac_cv_use_opengl='wxUSE_OPENGL
=yes'
2772 ac_cv_use_opengl='wxUSE_OPENGL
=no
'
2777 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2778 if test "x$LINE" != x ; then
2779 eval "DEFAULT_$LINE"
2784 ac_cv_use_opengl='wxUSE_OPENGL
='$DEFAULT_wxUSE_OPENGL
2788 eval "$ac_cv_use_opengl"
2789 if test "$no_cache" != 1; then
2790 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2793 if test "$wxUSE_OPENGL" = yes; then
2794 echo "$as_me:$LINENO: result: yes" >&5
2795 echo "${ECHO_T}yes" >&6
2797 echo "$as_me:$LINENO: result: no" >&5
2798 echo "${ECHO_T}no" >&6
2805 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
2806 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
2809 # Check whether --with-dmalloc or --without-dmalloc was given.
2810 if test "${with_dmalloc+set}" = set; then
2811 withval="$with_dmalloc"
2813 if test "$withval" = yes; then
2814 ac_cv_use_dmalloc='wxUSE_DMALLOC
=yes'
2816 ac_cv_use_dmalloc='wxUSE_DMALLOC
=no
'
2821 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2822 if test "x$LINE" != x ; then
2823 eval "DEFAULT_$LINE"
2828 ac_cv_use_dmalloc='wxUSE_DMALLOC
='$DEFAULT_wxUSE_DMALLOC
2832 eval "$ac_cv_use_dmalloc"
2833 if test "$no_cache" != 1; then
2834 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2837 if test "$wxUSE_DMALLOC" = yes; then
2838 echo "$as_me:$LINENO: result: yes" >&5
2839 echo "${ECHO_T}yes" >&6
2841 echo "$as_me:$LINENO: result: no" >&5
2842 echo "${ECHO_T}no" >&6
2846 echo "$as_me:$LINENO: checking for --with-regex" >&5
2847 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
2850 # Check whether --with-regex or --without-regex was given.
2851 if test "${with_regex+set}" = set; then
2852 withval="$with_regex"
2854 if test "$withval" = yes; then
2855 ac_cv_use_regex='wxUSE_REGEX
=yes'
2856 elif test "$withval" = no; then
2857 ac_cv_use_regex='wxUSE_REGEX
=no
'
2858 elif test "$withval" = sys; then
2859 ac_cv_use_regex='wxUSE_REGEX
=sys
'
2860 elif test "$withval" = builtin; then
2861 ac_cv_use_regex='wxUSE_REGEX
=builtin'
2863 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2864 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2865 { (exit 1); exit 1; }; }
2870 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2871 if test "x$LINE" != x ; then
2872 eval "DEFAULT_$LINE"
2877 ac_cv_use_regex='wxUSE_REGEX
='$DEFAULT_wxUSE_REGEX
2881 eval "$ac_cv_use_regex"
2882 if test "$no_cache" != 1; then
2883 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2886 if test "$wxUSE_REGEX" = yes; then
2887 echo "$as_me:$LINENO: result: yes" >&5
2888 echo "${ECHO_T}yes" >&6
2889 elif test "$wxUSE_REGEX" = no; then
2890 echo "$as_me:$LINENO: result: no" >&5
2891 echo "${ECHO_T}no" >&6
2892 elif test "$wxUSE_REGEX" = sys; then
2893 echo "$as_me:$LINENO: result: system version" >&5
2894 echo "${ECHO_T}system version" >&6
2895 elif test "$wxUSE_REGEX" = builtin; then
2896 echo "$as_me:$LINENO: result: builtin version" >&5
2897 echo "${ECHO_T}builtin version" >&6
2899 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2900 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2901 { (exit 1); exit 1; }; }
2905 echo "$as_me:$LINENO: checking for --with-zlib" >&5
2906 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
2909 # Check whether --with-zlib or --without-zlib was given.
2910 if test "${with_zlib+set}" = set; then
2911 withval="$with_zlib"
2913 if test "$withval" = yes; then
2914 ac_cv_use_zlib='wxUSE_ZLIB
=yes'
2915 elif test "$withval" = no; then
2916 ac_cv_use_zlib='wxUSE_ZLIB
=no
'
2917 elif test "$withval" = sys; then
2918 ac_cv_use_zlib='wxUSE_ZLIB
=sys
'
2919 elif test "$withval" = builtin; then
2920 ac_cv_use_zlib='wxUSE_ZLIB
=builtin'
2922 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2923 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2924 { (exit 1); exit 1; }; }
2929 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2930 if test "x$LINE" != x ; then
2931 eval "DEFAULT_$LINE"
2936 ac_cv_use_zlib='wxUSE_ZLIB
='$DEFAULT_wxUSE_ZLIB
2940 eval "$ac_cv_use_zlib"
2941 if test "$no_cache" != 1; then
2942 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2945 if test "$wxUSE_ZLIB" = yes; then
2946 echo "$as_me:$LINENO: result: yes" >&5
2947 echo "${ECHO_T}yes" >&6
2948 elif test "$wxUSE_ZLIB" = no; then
2949 echo "$as_me:$LINENO: result: no" >&5
2950 echo "${ECHO_T}no" >&6
2951 elif test "$wxUSE_ZLIB" = sys; then
2952 echo "$as_me:$LINENO: result: system version" >&5
2953 echo "${ECHO_T}system version" >&6
2954 elif test "$wxUSE_ZLIB" = builtin; then
2955 echo "$as_me:$LINENO: result: builtin version" >&5
2956 echo "${ECHO_T}builtin version" >&6
2958 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2959 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2960 { (exit 1); exit 1; }; }
2964 echo "$as_me:$LINENO: checking for --with-odbc" >&5
2965 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
2968 # Check whether --with-odbc or --without-odbc was given.
2969 if test "${with_odbc+set}" = set; then
2970 withval="$with_odbc"
2972 if test "$withval" = yes; then
2973 ac_cv_use_odbc='wxUSE_ODBC
=yes'
2974 elif test "$withval" = no; then
2975 ac_cv_use_odbc='wxUSE_ODBC
=no
'
2976 elif test "$withval" = sys; then
2977 ac_cv_use_odbc='wxUSE_ODBC
=sys
'
2978 elif test "$withval" = builtin; then
2979 ac_cv_use_odbc='wxUSE_ODBC
=builtin'
2981 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
2982 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
2983 { (exit 1); exit 1; }; }
2988 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2989 if test "x$LINE" != x ; then
2990 eval "DEFAULT_$LINE"
2995 ac_cv_use_odbc='wxUSE_ODBC
='$DEFAULT_wxUSE_ODBC
2999 eval "$ac_cv_use_odbc"
3000 if test "$no_cache" != 1; then
3001 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3004 if test "$wxUSE_ODBC" = yes; then
3005 echo "$as_me:$LINENO: result: yes" >&5
3006 echo "${ECHO_T}yes" >&6
3007 elif test "$wxUSE_ODBC" = no; then
3008 echo "$as_me:$LINENO: result: no" >&5
3009 echo "${ECHO_T}no" >&6
3010 elif test "$wxUSE_ODBC" = sys; then
3011 echo "$as_me:$LINENO: result: system version" >&5
3012 echo "${ECHO_T}system version" >&6
3013 elif test "$wxUSE_ODBC" = builtin; then
3014 echo "$as_me:$LINENO: result: builtin version" >&5
3015 echo "${ECHO_T}builtin version" >&6
3017 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3018 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3019 { (exit 1); exit 1; }; }
3023 echo "$as_me:$LINENO: checking for --with-expat" >&5
3024 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3027 # Check whether --with-expat or --without-expat was given.
3028 if test "${with_expat+set}" = set; then
3029 withval="$with_expat"
3031 if test "$withval" = yes; then
3032 ac_cv_use_expat='wxUSE_EXPAT
=yes'
3033 elif test "$withval" = no; then
3034 ac_cv_use_expat='wxUSE_EXPAT
=no
'
3035 elif test "$withval" = sys; then
3036 ac_cv_use_expat='wxUSE_EXPAT
=sys
'
3037 elif test "$withval" = builtin; then
3038 ac_cv_use_expat='wxUSE_EXPAT
=builtin'
3040 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3041 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3042 { (exit 1); exit 1; }; }
3047 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3048 if test "x$LINE" != x ; then
3049 eval "DEFAULT_$LINE"
3054 ac_cv_use_expat='wxUSE_EXPAT
='$DEFAULT_wxUSE_EXPAT
3058 eval "$ac_cv_use_expat"
3059 if test "$no_cache" != 1; then
3060 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3063 if test "$wxUSE_EXPAT" = yes; then
3064 echo "$as_me:$LINENO: result: yes" >&5
3065 echo "${ECHO_T}yes" >&6
3066 elif test "$wxUSE_EXPAT" = no; then
3067 echo "$as_me:$LINENO: result: no" >&5
3068 echo "${ECHO_T}no" >&6
3069 elif test "$wxUSE_EXPAT" = sys; then
3070 echo "$as_me:$LINENO: result: system version" >&5
3071 echo "${ECHO_T}system version" >&6
3072 elif test "$wxUSE_EXPAT" = builtin; then
3073 echo "$as_me:$LINENO: result: builtin version" >&5
3074 echo "${ECHO_T}builtin version" >&6
3076 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3077 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3078 { (exit 1); exit 1; }; }
3085 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3086 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3088 # Check whether --enable-shared or --disable-shared was given.
3089 if test "${enable_shared+set}" = set; then
3090 enableval="$enable_shared"
3092 if test "$enableval" = yes; then
3093 ac_cv_use_shared='wxUSE_SHARED
=yes'
3095 ac_cv_use_shared='wxUSE_SHARED
=no
'
3100 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3101 if test "x$LINE" != x ; then
3102 eval "DEFAULT_$LINE"
3107 ac_cv_use_shared='wxUSE_SHARED
='$DEFAULT_wxUSE_SHARED
3111 eval "$ac_cv_use_shared"
3112 if test "$no_cache" != 1; then
3113 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3116 if test "$wxUSE_SHARED" = yes; then
3117 echo "$as_me:$LINENO: result: yes" >&5
3118 echo "${ECHO_T}yes" >&6
3120 echo "$as_me:$LINENO: result: no" >&5
3121 echo "${ECHO_T}no" >&6
3126 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3127 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3129 # Check whether --enable-optimise or --disable-optimise was given.
3130 if test "${enable_optimise+set}" = set; then
3131 enableval="$enable_optimise"
3133 if test "$enableval" = yes; then
3134 ac_cv_use_optimise='wxUSE_OPTIMISE
=yes'
3136 ac_cv_use_optimise='wxUSE_OPTIMISE
=no
'
3141 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3142 if test "x$LINE" != x ; then
3143 eval "DEFAULT_$LINE"
3148 ac_cv_use_optimise='wxUSE_OPTIMISE
='$DEFAULT_wxUSE_OPTIMISE
3152 eval "$ac_cv_use_optimise"
3153 if test "$no_cache" != 1; then
3154 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3157 if test "$wxUSE_OPTIMISE" = yes; then
3158 echo "$as_me:$LINENO: result: yes" >&5
3159 echo "${ECHO_T}yes" >&6
3161 echo "$as_me:$LINENO: result: no" >&5
3162 echo "${ECHO_T}no" >&6
3167 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3168 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3170 # Check whether --enable-debug or --disable-debug was given.
3171 if test "${enable_debug+set}" = set; then
3172 enableval="$enable_debug"
3174 if test "$enableval" = yes; then
3175 ac_cv_use_debug='wxUSE_DEBUG
=yes'
3177 ac_cv_use_debug='wxUSE_DEBUG
=no
'
3182 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3183 if test "x$LINE" != x ; then
3184 eval "DEFAULT_$LINE"
3189 ac_cv_use_debug='wxUSE_DEBUG
='$DEFAULT_wxUSE_DEBUG
3193 eval "$ac_cv_use_debug"
3194 if test "$no_cache" != 1; then
3195 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3198 if test "$wxUSE_DEBUG" = yes; then
3199 echo "$as_me:$LINENO: result: yes" >&5
3200 echo "${ECHO_T}yes" >&6
3202 echo "$as_me:$LINENO: result: no" >&5
3203 echo "${ECHO_T}no" >&6
3208 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3209 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3211 # Check whether --enable-stl or --disable-stl was given.
3212 if test "${enable_stl+set}" = set; then
3213 enableval="$enable_stl"
3215 if test "$enableval" = yes; then
3216 ac_cv_use_stl='wxUSE_STL
=yes'
3218 ac_cv_use_stl='wxUSE_STL
=no
'
3223 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3224 if test "x$LINE" != x ; then
3225 eval "DEFAULT_$LINE"
3230 ac_cv_use_stl='wxUSE_STL
='$DEFAULT_wxUSE_STL
3234 eval "$ac_cv_use_stl"
3235 if test "$no_cache" != 1; then
3236 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3239 if test "$wxUSE_STL" = yes; then
3240 echo "$as_me:$LINENO: result: yes" >&5
3241 echo "${ECHO_T}yes" >&6
3243 echo "$as_me:$LINENO: result: no" >&5
3244 echo "${ECHO_T}no" >&6
3248 if test "$wxUSE_DEBUG" = "yes"; then
3249 DEFAULT_wxUSE_DEBUG_FLAG=yes
3250 DEFAULT_wxUSE_DEBUG_INFO=yes
3252 elif test "$wxUSE_DEBUG" = "no"; then
3253 DEFAULT_wxUSE_DEBUG_FLAG=no
3254 DEFAULT_wxUSE_DEBUG_INFO=no
3260 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3261 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3263 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3264 if test "${enable_debug_flag+set}" = set; then
3265 enableval="$enable_debug_flag"
3267 if test "$enableval" = yes; then
3268 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
3270 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
3275 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3276 if test "x$LINE" != x ; then
3277 eval "DEFAULT_$LINE"
3282 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
='$DEFAULT_wxUSE_DEBUG_FLAG
3286 eval "$ac_cv_use_debug_flag"
3287 if test "$no_cache" != 1; then
3288 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3291 if test "$wxUSE_DEBUG_FLAG" = yes; then
3292 echo "$as_me:$LINENO: result: yes" >&5
3293 echo "${ECHO_T}yes" >&6
3295 echo "$as_me:$LINENO: result: no" >&5
3296 echo "${ECHO_T}no" >&6
3301 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3302 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3304 # Check whether --enable-debug_info or --disable-debug_info was given.
3305 if test "${enable_debug_info+set}" = set; then
3306 enableval="$enable_debug_info"
3308 if test "$enableval" = yes; then
3309 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=yes'
3311 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=no
'
3316 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3317 if test "x$LINE" != x ; then
3318 eval "DEFAULT_$LINE"
3323 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
='$DEFAULT_wxUSE_DEBUG_INFO
3327 eval "$ac_cv_use_debug_info"
3328 if test "$no_cache" != 1; then
3329 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3332 if test "$wxUSE_DEBUG_INFO" = yes; then
3333 echo "$as_me:$LINENO: result: yes" >&5
3334 echo "${ECHO_T}yes" >&6
3336 echo "$as_me:$LINENO: result: no" >&5
3337 echo "${ECHO_T}no" >&6
3342 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3343 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3345 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3346 if test "${enable_debug_gdb+set}" = set; then
3347 enableval="$enable_debug_gdb"
3349 if test "$enableval" = yes; then
3350 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=yes'
3352 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=no
'
3357 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3358 if test "x$LINE" != x ; then
3359 eval "DEFAULT_$LINE"
3364 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
='$DEFAULT_wxUSE_DEBUG_GDB
3368 eval "$ac_cv_use_debug_gdb"
3369 if test "$no_cache" != 1; then
3370 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3373 if test "$wxUSE_DEBUG_GDB" = yes; then
3374 echo "$as_me:$LINENO: result: yes" >&5
3375 echo "${ECHO_T}yes" >&6
3377 echo "$as_me:$LINENO: result: no" >&5
3378 echo "${ECHO_T}no" >&6
3383 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3384 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3386 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3387 if test "${enable_debug_cntxt+set}" = set; then
3388 enableval="$enable_debug_cntxt"
3390 if test "$enableval" = yes; then
3391 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
3393 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
3398 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3399 if test "x$LINE" != x ; then
3400 eval "DEFAULT_$LINE"
3405 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
='$DEFAULT_wxUSE_DEBUG_CONTEXT
3409 eval "$ac_cv_use_debug_cntxt"
3410 if test "$no_cache" != 1; then
3411 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3414 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3415 echo "$as_me:$LINENO: result: yes" >&5
3416 echo "${ECHO_T}yes" >&6
3418 echo "$as_me:$LINENO: result: no" >&5
3419 echo "${ECHO_T}no" >&6
3424 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3425 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3427 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3428 if test "${enable_mem_tracing+set}" = set; then
3429 enableval="$enable_mem_tracing"
3431 if test "$enableval" = yes; then
3432 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=yes'
3434 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=no
'
3439 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3440 if test "x$LINE" != x ; then
3441 eval "DEFAULT_$LINE"
3446 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
='$DEFAULT_wxUSE_MEM_TRACING
3450 eval "$ac_cv_use_mem_tracing"
3451 if test "$no_cache" != 1; then
3452 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3455 if test "$wxUSE_MEM_TRACING" = yes; then
3456 echo "$as_me:$LINENO: result: yes" >&5
3457 echo "${ECHO_T}yes" >&6
3459 echo "$as_me:$LINENO: result: no" >&5
3460 echo "${ECHO_T}no" >&6
3465 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3466 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3468 # Check whether --enable-profile or --disable-profile was given.
3469 if test "${enable_profile+set}" = set; then
3470 enableval="$enable_profile"
3472 if test "$enableval" = yes; then
3473 ac_cv_use_profile='wxUSE_PROFILE
=yes'
3475 ac_cv_use_profile='wxUSE_PROFILE
=no
'
3480 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3481 if test "x$LINE" != x ; then
3482 eval "DEFAULT_$LINE"
3487 ac_cv_use_profile='wxUSE_PROFILE
='$DEFAULT_wxUSE_PROFILE
3491 eval "$ac_cv_use_profile"
3492 if test "$no_cache" != 1; then
3493 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3496 if test "$wxUSE_PROFILE" = yes; then
3497 echo "$as_me:$LINENO: result: yes" >&5
3498 echo "${ECHO_T}yes" >&6
3500 echo "$as_me:$LINENO: result: no" >&5
3501 echo "${ECHO_T}no" >&6
3506 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3507 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3509 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3510 if test "${enable_no_rtti+set}" = set; then
3511 enableval="$enable_no_rtti"
3513 if test "$enableval" = yes; then
3514 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=yes'
3516 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=no
'
3521 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3522 if test "x$LINE" != x ; then
3523 eval "DEFAULT_$LINE"
3528 ac_cv_use_no_rtti='wxUSE_NO_RTTI
='$DEFAULT_wxUSE_NO_RTTI
3532 eval "$ac_cv_use_no_rtti"
3533 if test "$no_cache" != 1; then
3534 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3537 if test "$wxUSE_NO_RTTI" = yes; then
3538 echo "$as_me:$LINENO: result: yes" >&5
3539 echo "${ECHO_T}yes" >&6
3541 echo "$as_me:$LINENO: result: no" >&5
3542 echo "${ECHO_T}no" >&6
3547 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3548 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3550 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3551 if test "${enable_no_exceptions+set}" = set; then
3552 enableval="$enable_no_exceptions"
3554 if test "$enableval" = yes; then
3555 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=yes'
3557 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=no
'
3562 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3563 if test "x$LINE" != x ; then
3564 eval "DEFAULT_$LINE"
3569 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
='$DEFAULT_wxUSE_NO_EXCEPTIONS
3573 eval "$ac_cv_use_no_exceptions"
3574 if test "$no_cache" != 1; then
3575 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3578 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3579 echo "$as_me:$LINENO: result: yes" >&5
3580 echo "${ECHO_T}yes" >&6
3582 echo "$as_me:$LINENO: result: no" >&5
3583 echo "${ECHO_T}no" >&6
3588 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3589 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3591 # Check whether --enable-permissive or --disable-permissive was given.
3592 if test "${enable_permissive+set}" = set; then
3593 enableval="$enable_permissive"
3595 if test "$enableval" = yes; then
3596 ac_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
3598 ac_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
3603 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3604 if test "x$LINE" != x ; then
3605 eval "DEFAULT_$LINE"
3610 ac_cv_use_permissive='wxUSE_PERMISSIVE
='$DEFAULT_wxUSE_PERMISSIVE
3614 eval "$ac_cv_use_permissive"
3615 if test "$no_cache" != 1; then
3616 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3619 if test "$wxUSE_PERMISSIVE" = yes; then
3620 echo "$as_me:$LINENO: result: yes" >&5
3621 echo "${ECHO_T}yes" >&6
3623 echo "$as_me:$LINENO: result: no" >&5
3624 echo "${ECHO_T}no" >&6
3629 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3630 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3632 # Check whether --enable-no_deps or --disable-no_deps was given.
3633 if test "${enable_no_deps+set}" = set; then
3634 enableval="$enable_no_deps"
3636 if test "$enableval" = yes; then
3637 ac_cv_use_no_deps='wxUSE_NO_DEPS
=yes'
3639 ac_cv_use_no_deps='wxUSE_NO_DEPS
=no
'
3644 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3645 if test "x$LINE" != x ; then
3646 eval "DEFAULT_$LINE"
3651 ac_cv_use_no_deps='wxUSE_NO_DEPS
='$DEFAULT_wxUSE_NO_DEPS
3655 eval "$ac_cv_use_no_deps"
3656 if test "$no_cache" != 1; then
3657 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3660 if test "$wxUSE_NO_DEPS" = yes; then
3661 echo "$as_me:$LINENO: result: yes" >&5
3662 echo "${ECHO_T}yes" >&6
3664 echo "$as_me:$LINENO: result: no" >&5
3665 echo "${ECHO_T}no" >&6
3671 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat20" >&5
3672 echo $ECHO_N "checking for --${enablestring:-enable}-compat20... $ECHO_C" >&6
3674 # Check whether --enable-compat20 or --disable-compat20 was given.
3675 if test "${enable_compat20+set}" = set; then
3676 enableval="$enable_compat20"
3678 if test "$enableval" = yes; then
3679 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2
=yes'
3681 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2
=no
'
3686 LINE=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
3687 if test "x$LINE" != x ; then
3688 eval "DEFAULT_$LINE"
3693 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2
='$DEFAULT_WXWIN_COMPATIBILITY_2
3697 eval "$ac_cv_use_compat20"
3698 if test "$no_cache" != 1; then
3699 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
3702 if test "$WXWIN_COMPATIBILITY_2" = yes; then
3703 echo "$as_me:$LINENO: result: yes" >&5
3704 echo "${ECHO_T}yes" >&6
3706 echo "$as_me:$LINENO: result: no" >&5
3707 echo "${ECHO_T}no" >&6
3712 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3713 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3715 # Check whether --enable-compat22 or --disable-compat22 was given.
3716 if test "${enable_compat22+set}" = set; then
3717 enableval="$enable_compat22"
3719 if test "$enableval" = yes; then
3720 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2
=yes'
3722 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2
=no
'
3727 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3728 if test "x$LINE" != x ; then
3729 eval "DEFAULT_$LINE"
3734 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2
='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3738 eval "$ac_cv_use_compat22"
3739 if test "$no_cache" != 1; then
3740 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3743 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3744 echo "$as_me:$LINENO: result: yes" >&5
3745 echo "${ECHO_T}yes" >&6
3747 echo "$as_me:$LINENO: result: no" >&5
3748 echo "${ECHO_T}no" >&6
3752 enablestring=disable
3753 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
3754 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
3756 # Check whether --enable-compat24 or --disable-compat24 was given.
3757 if test "${enable_compat24+set}" = set; then
3758 enableval="$enable_compat24"
3760 if test "$enableval" = yes; then
3761 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
=yes'
3763 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
=no
'
3768 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3769 if test "x$LINE" != x ; then
3770 eval "DEFAULT_$LINE"
3775 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3779 eval "$ac_cv_use_compat24"
3780 if test "$no_cache" != 1; then
3781 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3784 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3785 echo "$as_me:$LINENO: result: yes" >&5
3786 echo "${ECHO_T}yes" >&6
3788 echo "$as_me:$LINENO: result: no" >&5
3789 echo "${ECHO_T}no" >&6
3793 # Check whether --enable-rpath or --disable-rpath was given.
3794 if test "${enable_rpath+set}" = set; then
3795 enableval="$enable_rpath"
3796 wxRPATH_DIR="$enableval"
3799 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3800 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
3807 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
3808 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
3810 # Check whether --enable-intl or --disable-intl was given.
3811 if test "${enable_intl+set}" = set; then
3812 enableval="$enable_intl"
3814 if test "$enableval" = yes; then
3815 ac_cv_use_intl='wxUSE_INTL
=yes'
3817 ac_cv_use_intl='wxUSE_INTL
=no
'
3822 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3823 if test "x$LINE" != x ; then
3824 eval "DEFAULT_$LINE"
3829 ac_cv_use_intl='wxUSE_INTL
='$DEFAULT_wxUSE_INTL
3833 eval "$ac_cv_use_intl"
3834 if test "$no_cache" != 1; then
3835 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3838 if test "$wxUSE_INTL" = yes; then
3839 echo "$as_me:$LINENO: result: yes" >&5
3840 echo "${ECHO_T}yes" >&6
3842 echo "$as_me:$LINENO: result: no" >&5
3843 echo "${ECHO_T}no" >&6
3848 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
3849 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
3851 # Check whether --enable-config or --disable-config was given.
3852 if test "${enable_config+set}" = set; then
3853 enableval="$enable_config"
3855 if test "$enableval" = yes; then
3856 ac_cv_use_config='wxUSE_CONFIG
=yes'
3858 ac_cv_use_config='wxUSE_CONFIG
=no
'
3863 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3864 if test "x$LINE" != x ; then
3865 eval "DEFAULT_$LINE"
3870 ac_cv_use_config='wxUSE_CONFIG
='$DEFAULT_wxUSE_CONFIG
3874 eval "$ac_cv_use_config"
3875 if test "$no_cache" != 1; then
3876 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3879 if test "$wxUSE_CONFIG" = yes; then
3880 echo "$as_me:$LINENO: result: yes" >&5
3881 echo "${ECHO_T}yes" >&6
3883 echo "$as_me:$LINENO: result: no" >&5
3884 echo "${ECHO_T}no" >&6
3890 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
3891 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
3893 # Check whether --enable-protocols or --disable-protocols was given.
3894 if test "${enable_protocols+set}" = set; then
3895 enableval="$enable_protocols"
3897 if test "$enableval" = yes; then
3898 ac_cv_use_protocols='wxUSE_PROTOCOL
=yes'
3900 ac_cv_use_protocols='wxUSE_PROTOCOL
=no
'
3905 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3906 if test "x$LINE" != x ; then
3907 eval "DEFAULT_$LINE"
3912 ac_cv_use_protocols='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
3916 eval "$ac_cv_use_protocols"
3917 if test "$no_cache" != 1; then
3918 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3921 if test "$wxUSE_PROTOCOL" = 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}-ftp" >&5
3932 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
3934 # Check whether --enable-ftp or --disable-ftp was given.
3935 if test "${enable_ftp+set}" = set; then
3936 enableval="$enable_ftp"
3938 if test "$enableval" = yes; then
3939 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=yes'
3941 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=no
'
3946 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3947 if test "x$LINE" != x ; then
3948 eval "DEFAULT_$LINE"
3953 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
3957 eval "$ac_cv_use_ftp"
3958 if test "$no_cache" != 1; then
3959 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3962 if test "$wxUSE_PROTOCOL_FTP" = 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}-http" >&5
3973 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
3975 # Check whether --enable-http or --disable-http was given.
3976 if test "${enable_http+set}" = set; then
3977 enableval="$enable_http"
3979 if test "$enableval" = yes; then
3980 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=yes'
3982 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=no
'
3987 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3988 if test "x$LINE" != x ; then
3989 eval "DEFAULT_$LINE"
3994 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
3998 eval "$ac_cv_use_http"
3999 if test "$no_cache" != 1; then
4000 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4003 if test "$wxUSE_PROTOCOL_HTTP" = 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
4013 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4014 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4016 # Check whether --enable-fileproto or --disable-fileproto was given.
4017 if test "${enable_fileproto+set}" = set; then
4018 enableval="$enable_fileproto"
4020 if test "$enableval" = yes; then
4021 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
4023 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
4028 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4029 if test "x$LINE" != x ; then
4030 eval "DEFAULT_$LINE"
4035 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
4039 eval "$ac_cv_use_fileproto"
4040 if test "$no_cache" != 1; then
4041 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4044 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4045 echo "$as_me:$LINENO: result: yes" >&5
4046 echo "${ECHO_T}yes" >&6
4048 echo "$as_me:$LINENO: result: no" >&5
4049 echo "${ECHO_T}no" >&6
4054 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4055 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4057 # Check whether --enable-sockets or --disable-sockets was given.
4058 if test "${enable_sockets+set}" = set; then
4059 enableval="$enable_sockets"
4061 if test "$enableval" = yes; then
4062 ac_cv_use_sockets='wxUSE_SOCKETS
=yes'
4064 ac_cv_use_sockets='wxUSE_SOCKETS
=no
'
4069 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4070 if test "x$LINE" != x ; then
4071 eval "DEFAULT_$LINE"
4076 ac_cv_use_sockets='wxUSE_SOCKETS
='$DEFAULT_wxUSE_SOCKETS
4080 eval "$ac_cv_use_sockets"
4081 if test "$no_cache" != 1; then
4082 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4085 if test "$wxUSE_SOCKETS" = yes; then
4086 echo "$as_me:$LINENO: result: yes" >&5
4087 echo "${ECHO_T}yes" >&6
4089 echo "$as_me:$LINENO: result: no" >&5
4090 echo "${ECHO_T}no" >&6
4095 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4096 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4098 # Check whether --enable-ole or --disable-ole was given.
4099 if test "${enable_ole+set}" = set; then
4100 enableval="$enable_ole"
4102 if test "$enableval" = yes; then
4103 ac_cv_use_ole='wxUSE_OLE
=yes'
4105 ac_cv_use_ole='wxUSE_OLE
=no
'
4110 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4111 if test "x$LINE" != x ; then
4112 eval "DEFAULT_$LINE"
4117 ac_cv_use_ole='wxUSE_OLE
='$DEFAULT_wxUSE_OLE
4121 eval "$ac_cv_use_ole"
4122 if test "$no_cache" != 1; then
4123 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4126 if test "$wxUSE_OLE" = yes; then
4127 echo "$as_me:$LINENO: result: yes" >&5
4128 echo "${ECHO_T}yes" >&6
4130 echo "$as_me:$LINENO: result: no" >&5
4131 echo "${ECHO_T}no" >&6
4136 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4137 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4139 # Check whether --enable-dataobj or --disable-dataobj was given.
4140 if test "${enable_dataobj+set}" = set; then
4141 enableval="$enable_dataobj"
4143 if test "$enableval" = yes; then
4144 ac_cv_use_dataobj='wxUSE_DATAOBJ
=yes'
4146 ac_cv_use_dataobj='wxUSE_DATAOBJ
=no
'
4151 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4152 if test "x$LINE" != x ; then
4153 eval "DEFAULT_$LINE"
4158 ac_cv_use_dataobj='wxUSE_DATAOBJ
='$DEFAULT_wxUSE_DATAOBJ
4162 eval "$ac_cv_use_dataobj"
4163 if test "$no_cache" != 1; then
4164 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4167 if test "$wxUSE_DATAOBJ" = yes; then
4168 echo "$as_me:$LINENO: result: yes" >&5
4169 echo "${ECHO_T}yes" >&6
4171 echo "$as_me:$LINENO: result: no" >&5
4172 echo "${ECHO_T}no" >&6
4178 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4179 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4181 # Check whether --enable-ipc or --disable-ipc was given.
4182 if test "${enable_ipc+set}" = set; then
4183 enableval="$enable_ipc"
4185 if test "$enableval" = yes; then
4186 ac_cv_use_ipc='wxUSE_IPC
=yes'
4188 ac_cv_use_ipc='wxUSE_IPC
=no
'
4193 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4194 if test "x$LINE" != x ; then
4195 eval "DEFAULT_$LINE"
4200 ac_cv_use_ipc='wxUSE_IPC
='$DEFAULT_wxUSE_IPC
4204 eval "$ac_cv_use_ipc"
4205 if test "$no_cache" != 1; then
4206 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4209 if test "$wxUSE_IPC" = yes; then
4210 echo "$as_me:$LINENO: result: yes" >&5
4211 echo "${ECHO_T}yes" >&6
4213 echo "$as_me:$LINENO: result: no" >&5
4214 echo "${ECHO_T}no" >&6
4220 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4221 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4223 # Check whether --enable-cmdline or --disable-cmdline was given.
4224 if test "${enable_cmdline+set}" = set; then
4225 enableval="$enable_cmdline"
4227 if test "$enableval" = yes; then
4228 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=yes'
4230 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=no
'
4235 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4236 if test "x$LINE" != x ; then
4237 eval "DEFAULT_$LINE"
4242 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
='$DEFAULT_wxUSE_CMDLINE_PARSER
4246 eval "$ac_cv_use_cmdline"
4247 if test "$no_cache" != 1; then
4248 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4251 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4252 echo "$as_me:$LINENO: result: yes" >&5
4253 echo "${ECHO_T}yes" >&6
4255 echo "$as_me:$LINENO: result: no" >&5
4256 echo "${ECHO_T}no" >&6
4261 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4262 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4264 # Check whether --enable-datetime or --disable-datetime was given.
4265 if test "${enable_datetime+set}" = set; then
4266 enableval="$enable_datetime"
4268 if test "$enableval" = yes; then
4269 ac_cv_use_datetime='wxUSE_DATETIME
=yes'
4271 ac_cv_use_datetime='wxUSE_DATETIME
=no
'
4276 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4277 if test "x$LINE" != x ; then
4278 eval "DEFAULT_$LINE"
4283 ac_cv_use_datetime='wxUSE_DATETIME
='$DEFAULT_wxUSE_DATETIME
4287 eval "$ac_cv_use_datetime"
4288 if test "$no_cache" != 1; then
4289 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4292 if test "$wxUSE_DATETIME" = yes; then
4293 echo "$as_me:$LINENO: result: yes" >&5
4294 echo "${ECHO_T}yes" >&6
4296 echo "$as_me:$LINENO: result: no" >&5
4297 echo "${ECHO_T}no" >&6
4302 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
4303 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
4305 # Check whether --enable-stopwatch or --disable-stopwatch was given.
4306 if test "${enable_stopwatch+set}" = set; then
4307 enableval="$enable_stopwatch"
4309 if test "$enableval" = yes; then
4310 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=yes'
4312 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=no
'
4317 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
4318 if test "x$LINE" != x ; then
4319 eval "DEFAULT_$LINE"
4324 ac_cv_use_stopwatch='wxUSE_STOPWATCH
='$DEFAULT_wxUSE_STOPWATCH
4328 eval "$ac_cv_use_stopwatch"
4329 if test "$no_cache" != 1; then
4330 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
4333 if test "$wxUSE_STOPWATCH" = yes; then
4334 echo "$as_me:$LINENO: result: yes" >&5
4335 echo "${ECHO_T}yes" >&6
4337 echo "$as_me:$LINENO: result: no" >&5
4338 echo "${ECHO_T}no" >&6
4343 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4344 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4346 # Check whether --enable-dialupman or --disable-dialupman was given.
4347 if test "${enable_dialupman+set}" = set; then
4348 enableval="$enable_dialupman"
4350 if test "$enableval" = yes; then
4351 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=yes'
4353 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=no
'
4358 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4359 if test "x$LINE" != x ; then
4360 eval "DEFAULT_$LINE"
4365 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
='$DEFAULT_wxUSE_DIALUP_MANAGER
4369 eval "$ac_cv_use_dialupman"
4370 if test "$no_cache" != 1; then
4371 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4374 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4375 echo "$as_me:$LINENO: result: yes" >&5
4376 echo "${ECHO_T}yes" >&6
4378 echo "$as_me:$LINENO: result: no" >&5
4379 echo "${ECHO_T}no" >&6
4384 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4385 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4387 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4388 if test "${enable_apple_ieee+set}" = set; then
4389 enableval="$enable_apple_ieee"
4391 if test "$enableval" = yes; then
4392 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
4394 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
4399 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4400 if test "x$LINE" != x ; then
4401 eval "DEFAULT_$LINE"
4406 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
='$DEFAULT_wxUSE_APPLE_IEEE
4410 eval "$ac_cv_use_apple_ieee"
4411 if test "$no_cache" != 1; then
4412 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4415 if test "$wxUSE_APPLE_IEEE" = yes; then
4416 echo "$as_me:$LINENO: result: yes" >&5
4417 echo "${ECHO_T}yes" >&6
4419 echo "$as_me:$LINENO: result: no" >&5
4420 echo "${ECHO_T}no" >&6
4425 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
4426 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
4428 # Check whether --enable-timer or --disable-timer was given.
4429 if test "${enable_timer+set}" = set; then
4430 enableval="$enable_timer"
4432 if test "$enableval" = yes; then
4433 ac_cv_use_timer='wxUSE_TIMER
=yes'
4435 ac_cv_use_timer='wxUSE_TIMER
=no
'
4440 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
4441 if test "x$LINE" != x ; then
4442 eval "DEFAULT_$LINE"
4447 ac_cv_use_timer='wxUSE_TIMER
='$DEFAULT_wxUSE_TIMER
4451 eval "$ac_cv_use_timer"
4452 if test "$no_cache" != 1; then
4453 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
4456 if test "$wxUSE_TIMER" = yes; then
4457 echo "$as_me:$LINENO: result: yes" >&5
4458 echo "${ECHO_T}yes" >&6
4460 echo "$as_me:$LINENO: result: no" >&5
4461 echo "${ECHO_T}no" >&6
4466 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wave" >&5
4467 echo $ECHO_N "checking for --${enablestring:-enable}-wave... $ECHO_C" >&6
4469 # Check whether --enable-wave or --disable-wave was given.
4470 if test "${enable_wave+set}" = set; then
4471 enableval="$enable_wave"
4473 if test "$enableval" = yes; then
4474 ac_cv_use_wave='wxUSE_WAVE
=yes'
4476 ac_cv_use_wave='wxUSE_WAVE
=no
'
4481 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
4482 if test "x$LINE" != x ; then
4483 eval "DEFAULT_$LINE"
4488 ac_cv_use_wave='wxUSE_WAVE
='$DEFAULT_wxUSE_WAVE
4492 eval "$ac_cv_use_wave"
4493 if test "$no_cache" != 1; then
4494 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
4497 if test "$wxUSE_WAVE" = yes; then
4498 echo "$as_me:$LINENO: result: yes" >&5
4499 echo "${ECHO_T}yes" >&6
4501 echo "$as_me:$LINENO: result: no" >&5
4502 echo "${ECHO_T}no" >&6
4507 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fraction" >&5
4508 echo $ECHO_N "checking for --${enablestring:-enable}-fraction... $ECHO_C" >&6
4510 # Check whether --enable-fraction or --disable-fraction was given.
4511 if test "${enable_fraction+set}" = set; then
4512 enableval="$enable_fraction"
4514 if test "$enableval" = yes; then
4515 ac_cv_use_fraction='wxUSE_FRACTION
=yes'
4517 ac_cv_use_fraction='wxUSE_FRACTION
=no
'
4522 LINE=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
4523 if test "x$LINE" != x ; then
4524 eval "DEFAULT_$LINE"
4529 ac_cv_use_fraction='wxUSE_FRACTION
='$DEFAULT_wxUSE_FRACTION
4533 eval "$ac_cv_use_fraction"
4534 if test "$no_cache" != 1; then
4535 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
4538 if test "$wxUSE_FRACTION" = yes; then
4539 echo "$as_me:$LINENO: result: yes" >&5
4540 echo "${ECHO_T}yes" >&6
4542 echo "$as_me:$LINENO: result: no" >&5
4543 echo "${ECHO_T}no" >&6
4548 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4549 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4551 # Check whether --enable-dynlib or --disable-dynlib was given.
4552 if test "${enable_dynlib+set}" = set; then
4553 enableval="$enable_dynlib"
4555 if test "$enableval" = yes; then
4556 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
4558 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
4563 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4564 if test "x$LINE" != x ; then
4565 eval "DEFAULT_$LINE"
4570 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
='$DEFAULT_wxUSE_DYNLIB_CLASS
4574 eval "$ac_cv_use_dynlib"
4575 if test "$no_cache" != 1; then
4576 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4579 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4580 echo "$as_me:$LINENO: result: yes" >&5
4581 echo "${ECHO_T}yes" >&6
4583 echo "$as_me:$LINENO: result: no" >&5
4584 echo "${ECHO_T}no" >&6
4589 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4590 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4592 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4593 if test "${enable_dynamicloader+set}" = set; then
4594 enableval="$enable_dynamicloader"
4596 if test "$enableval" = yes; then
4597 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=yes'
4599 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=no
'
4604 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4605 if test "x$LINE" != x ; then
4606 eval "DEFAULT_$LINE"
4611 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
='$DEFAULT_wxUSE_DYNAMIC_LOADER
4615 eval "$ac_cv_use_dynamicloader"
4616 if test "$no_cache" != 1; then
4617 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4620 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4621 echo "$as_me:$LINENO: result: yes" >&5
4622 echo "${ECHO_T}yes" >&6
4624 echo "$as_me:$LINENO: result: no" >&5
4625 echo "${ECHO_T}no" >&6
4630 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
4631 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
4633 # Check whether --enable-longlong or --disable-longlong was given.
4634 if test "${enable_longlong+set}" = set; then
4635 enableval="$enable_longlong"
4637 if test "$enableval" = yes; then
4638 ac_cv_use_longlong='wxUSE_LONGLONG
=yes'
4640 ac_cv_use_longlong='wxUSE_LONGLONG
=no
'
4645 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
4646 if test "x$LINE" != x ; then
4647 eval "DEFAULT_$LINE"
4652 ac_cv_use_longlong='wxUSE_LONGLONG
='$DEFAULT_wxUSE_LONGLONG
4656 eval "$ac_cv_use_longlong"
4657 if test "$no_cache" != 1; then
4658 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
4661 if test "$wxUSE_LONGLONG" = yes; then
4662 echo "$as_me:$LINENO: result: yes" >&5
4663 echo "${ECHO_T}yes" >&6
4665 echo "$as_me:$LINENO: result: no" >&5
4666 echo "${ECHO_T}no" >&6
4671 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
4672 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
4674 # Check whether --enable-geometry or --disable-geometry was given.
4675 if test "${enable_geometry+set}" = set; then
4676 enableval="$enable_geometry"
4678 if test "$enableval" = yes; then
4679 ac_cv_use_geometry='wxUSE_GEOMETRY
=yes'
4681 ac_cv_use_geometry='wxUSE_GEOMETRY
=no
'
4686 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4687 if test "x$LINE" != x ; then
4688 eval "DEFAULT_$LINE"
4693 ac_cv_use_geometry='wxUSE_GEOMETRY
='$DEFAULT_wxUSE_GEOMETRY
4697 eval "$ac_cv_use_geometry"
4698 if test "$no_cache" != 1; then
4699 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4702 if test "$wxUSE_GEOMETRY" = yes; then
4703 echo "$as_me:$LINENO: result: yes" >&5
4704 echo "${ECHO_T}yes" >&6
4706 echo "$as_me:$LINENO: result: no" >&5
4707 echo "${ECHO_T}no" >&6
4712 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
4713 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
4715 # Check whether --enable-log or --disable-log was given.
4716 if test "${enable_log+set}" = set; then
4717 enableval="$enable_log"
4719 if test "$enableval" = yes; then
4720 ac_cv_use_log='wxUSE_LOG
=yes'
4722 ac_cv_use_log='wxUSE_LOG
=no
'
4727 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4728 if test "x$LINE" != x ; then
4729 eval "DEFAULT_$LINE"
4734 ac_cv_use_log='wxUSE_LOG
='$DEFAULT_wxUSE_LOG
4738 eval "$ac_cv_use_log"
4739 if test "$no_cache" != 1; then
4740 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4743 if test "$wxUSE_LOG" = yes; then
4744 echo "$as_me:$LINENO: result: yes" >&5
4745 echo "${ECHO_T}yes" >&6
4747 echo "$as_me:$LINENO: result: no" >&5
4748 echo "${ECHO_T}no" >&6
4753 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
4754 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
4756 # Check whether --enable-streams or --disable-streams was given.
4757 if test "${enable_streams+set}" = set; then
4758 enableval="$enable_streams"
4760 if test "$enableval" = yes; then
4761 ac_cv_use_streams='wxUSE_STREAMS
=yes'
4763 ac_cv_use_streams='wxUSE_STREAMS
=no
'
4768 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
4769 if test "x$LINE" != x ; then
4770 eval "DEFAULT_$LINE"
4775 ac_cv_use_streams='wxUSE_STREAMS
='$DEFAULT_wxUSE_STREAMS
4779 eval "$ac_cv_use_streams"
4780 if test "$no_cache" != 1; then
4781 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
4784 if test "$wxUSE_STREAMS" = yes; then
4785 echo "$as_me:$LINENO: result: yes" >&5
4786 echo "${ECHO_T}yes" >&6
4788 echo "$as_me:$LINENO: result: no" >&5
4789 echo "${ECHO_T}no" >&6
4794 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4795 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4797 # Check whether --enable-file or --disable-file was given.
4798 if test "${enable_file+set}" = set; then
4799 enableval="$enable_file"
4801 if test "$enableval" = yes; then
4802 ac_cv_use_file='wxUSE_FILE
=yes'
4804 ac_cv_use_file='wxUSE_FILE
=no
'
4809 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4810 if test "x$LINE" != x ; then
4811 eval "DEFAULT_$LINE"
4816 ac_cv_use_file='wxUSE_FILE
='$DEFAULT_wxUSE_FILE
4820 eval "$ac_cv_use_file"
4821 if test "$no_cache" != 1; then
4822 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4825 if test "$wxUSE_FILE" = yes; then
4826 echo "$as_me:$LINENO: result: yes" >&5
4827 echo "${ECHO_T}yes" >&6
4829 echo "$as_me:$LINENO: result: no" >&5
4830 echo "${ECHO_T}no" >&6
4835 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4836 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4838 # Check whether --enable-ffile or --disable-ffile was given.
4839 if test "${enable_ffile+set}" = set; then
4840 enableval="$enable_ffile"
4842 if test "$enableval" = yes; then
4843 ac_cv_use_ffile='wxUSE_FFILE
=yes'
4845 ac_cv_use_ffile='wxUSE_FFILE
=no
'
4850 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4851 if test "x$LINE" != x ; then
4852 eval "DEFAULT_$LINE"
4857 ac_cv_use_ffile='wxUSE_FFILE
='$DEFAULT_wxUSE_FFILE
4861 eval "$ac_cv_use_ffile"
4862 if test "$no_cache" != 1; then
4863 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4866 if test "$wxUSE_FFILE" = yes; then
4867 echo "$as_me:$LINENO: result: yes" >&5
4868 echo "${ECHO_T}yes" >&6
4870 echo "$as_me:$LINENO: result: no" >&5
4871 echo "${ECHO_T}no" >&6
4876 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
4877 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
4879 # Check whether --enable-textbuf or --disable-textbuf was given.
4880 if test "${enable_textbuf+set}" = set; then
4881 enableval="$enable_textbuf"
4883 if test "$enableval" = yes; then
4884 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=yes'
4886 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=no
'
4891 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4892 if test "x$LINE" != x ; then
4893 eval "DEFAULT_$LINE"
4898 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
='$DEFAULT_wxUSE_TEXTBUFFER
4902 eval "$ac_cv_use_textbuf"
4903 if test "$no_cache" != 1; then
4904 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4907 if test "$wxUSE_TEXTBUFFER" = yes; then
4908 echo "$as_me:$LINENO: result: yes" >&5
4909 echo "${ECHO_T}yes" >&6
4911 echo "$as_me:$LINENO: result: no" >&5
4912 echo "${ECHO_T}no" >&6
4917 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
4918 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
4920 # Check whether --enable-textfile or --disable-textfile was given.
4921 if test "${enable_textfile+set}" = set; then
4922 enableval="$enable_textfile"
4924 if test "$enableval" = yes; then
4925 ac_cv_use_textfile='wxUSE_TEXTFILE
=yes'
4927 ac_cv_use_textfile='wxUSE_TEXTFILE
=no
'
4932 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4933 if test "x$LINE" != x ; then
4934 eval "DEFAULT_$LINE"
4939 ac_cv_use_textfile='wxUSE_TEXTFILE
='$DEFAULT_wxUSE_TEXTFILE
4943 eval "$ac_cv_use_textfile"
4944 if test "$no_cache" != 1; then
4945 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4948 if test "$wxUSE_TEXTFILE" = yes; then
4949 echo "$as_me:$LINENO: result: yes" >&5
4950 echo "${ECHO_T}yes" >&6
4952 echo "$as_me:$LINENO: result: no" >&5
4953 echo "${ECHO_T}no" >&6
4958 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4959 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4961 # Check whether --enable-fontmap or --disable-fontmap was given.
4962 if test "${enable_fontmap+set}" = set; then
4963 enableval="$enable_fontmap"
4965 if test "$enableval" = yes; then
4966 ac_cv_use_fontmap='wxUSE_FONTMAP
=yes'
4968 ac_cv_use_fontmap='wxUSE_FONTMAP
=no
'
4973 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4974 if test "x$LINE" != x ; then
4975 eval "DEFAULT_$LINE"
4980 ac_cv_use_fontmap='wxUSE_FONTMAP
='$DEFAULT_wxUSE_FONTMAP
4984 eval "$ac_cv_use_fontmap"
4985 if test "$no_cache" != 1; then
4986 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4989 if test "$wxUSE_FONTMAP" = yes; then
4990 echo "$as_me:$LINENO: result: yes" >&5
4991 echo "${ECHO_T}yes" >&6
4993 echo "$as_me:$LINENO: result: no" >&5
4994 echo "${ECHO_T}no" >&6
4999 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5000 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5002 # Check whether --enable-unicode or --disable-unicode was given.
5003 if test "${enable_unicode+set}" = set; then
5004 enableval="$enable_unicode"
5006 if test "$enableval" = yes; then
5007 ac_cv_use_unicode='wxUSE_UNICODE
=yes'
5009 ac_cv_use_unicode='wxUSE_UNICODE
=no
'
5014 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5015 if test "x$LINE" != x ; then
5016 eval "DEFAULT_$LINE"
5021 ac_cv_use_unicode='wxUSE_UNICODE
='$DEFAULT_wxUSE_UNICODE
5025 eval "$ac_cv_use_unicode"
5026 if test "$no_cache" != 1; then
5027 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5030 if test "$wxUSE_UNICODE" = yes; then
5031 echo "$as_me:$LINENO: result: yes" >&5
5032 echo "${ECHO_T}yes" >&6
5034 echo "$as_me:$LINENO: result: no" >&5
5035 echo "${ECHO_T}no" >&6
5040 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5041 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5043 # Check whether --enable-mslu or --disable-mslu was given.
5044 if test "${enable_mslu+set}" = set; then
5045 enableval="$enable_mslu"
5047 if test "$enableval" = yes; then
5048 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
5050 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
5055 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5056 if test "x$LINE" != x ; then
5057 eval "DEFAULT_$LINE"
5062 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
='$DEFAULT_wxUSE_UNICODE_MSLU
5066 eval "$ac_cv_use_mslu"
5067 if test "$no_cache" != 1; then
5068 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5071 if test "$wxUSE_UNICODE_MSLU" = yes; then
5072 echo "$as_me:$LINENO: result: yes" >&5
5073 echo "${ECHO_T}yes" >&6
5075 echo "$as_me:$LINENO: result: no" >&5
5076 echo "${ECHO_T}no" >&6
5081 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5082 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5084 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5085 if test "${enable_wxprintfv+set}" = set; then
5086 enableval="$enable_wxprintfv"
5088 if test "$enableval" = yes; then
5089 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
=yes'
5091 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
=no
'
5096 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5097 if test "x$LINE" != x ; then
5098 eval "DEFAULT_$LINE"
5103 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5107 eval "$ac_cv_use_wxprintfv"
5108 if test "$no_cache" != 1; then
5109 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5112 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5113 echo "$as_me:$LINENO: result: yes" >&5
5114 echo "${ECHO_T}yes" >&6
5116 echo "$as_me:$LINENO: result: no" >&5
5117 echo "${ECHO_T}no" >&6
5122 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5123 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5125 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5126 if test "${enable_std_iostreams+set}" = set; then
5127 enableval="$enable_std_iostreams"
5129 if test "$enableval" = yes; then
5130 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
5132 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
5137 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5138 if test "x$LINE" != x ; then
5139 eval "DEFAULT_$LINE"
5144 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
='$DEFAULT_wxUSE_STD_IOSTREAM
5148 eval "$ac_cv_use_std_iostreams"
5149 if test "$no_cache" != 1; then
5150 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5153 if test "$wxUSE_STD_IOSTREAM" = yes; then
5154 echo "$as_me:$LINENO: result: yes" >&5
5155 echo "${ECHO_T}yes" >&6
5157 echo "$as_me:$LINENO: result: no" >&5
5158 echo "${ECHO_T}no" >&6
5163 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5164 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5166 # Check whether --enable-filesystem or --disable-filesystem was given.
5167 if test "${enable_filesystem+set}" = set; then
5168 enableval="$enable_filesystem"
5170 if test "$enableval" = yes; then
5171 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
5173 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
5178 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5179 if test "x$LINE" != x ; then
5180 eval "DEFAULT_$LINE"
5185 ac_cv_use_filesystem='wxUSE_FILESYSTEM
='$DEFAULT_wxUSE_FILESYSTEM
5189 eval "$ac_cv_use_filesystem"
5190 if test "$no_cache" != 1; then
5191 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5194 if test "$wxUSE_FILESYSTEM" = yes; then
5195 echo "$as_me:$LINENO: result: yes" >&5
5196 echo "${ECHO_T}yes" >&6
5198 echo "$as_me:$LINENO: result: no" >&5
5199 echo "${ECHO_T}no" >&6
5204 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5205 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5207 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5208 if test "${enable_fs_inet+set}" = set; then
5209 enableval="$enable_fs_inet"
5211 if test "$enableval" = yes; then
5212 ac_cv_use_fs_inet='wxUSE_FS_INET
=yes'
5214 ac_cv_use_fs_inet='wxUSE_FS_INET
=no
'
5219 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5220 if test "x$LINE" != x ; then
5221 eval "DEFAULT_$LINE"
5226 ac_cv_use_fs_inet='wxUSE_FS_INET
='$DEFAULT_wxUSE_FS_INET
5230 eval "$ac_cv_use_fs_inet"
5231 if test "$no_cache" != 1; then
5232 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5235 if test "$wxUSE_FS_INET" = yes; then
5236 echo "$as_me:$LINENO: result: yes" >&5
5237 echo "${ECHO_T}yes" >&6
5239 echo "$as_me:$LINENO: result: no" >&5
5240 echo "${ECHO_T}no" >&6
5245 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5246 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5248 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5249 if test "${enable_fs_zip+set}" = set; then
5250 enableval="$enable_fs_zip"
5252 if test "$enableval" = yes; then
5253 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=yes'
5255 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=no
'
5260 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5261 if test "x$LINE" != x ; then
5262 eval "DEFAULT_$LINE"
5267 ac_cv_use_fs_zip='wxUSE_FS_ZIP
='$DEFAULT_wxUSE_FS_ZIP
5271 eval "$ac_cv_use_fs_zip"
5272 if test "$no_cache" != 1; then
5273 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5276 if test "$wxUSE_FS_ZIP" = yes; then
5277 echo "$as_me:$LINENO: result: yes" >&5
5278 echo "${ECHO_T}yes" >&6
5280 echo "$as_me:$LINENO: result: no" >&5
5281 echo "${ECHO_T}no" >&6
5286 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5287 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5289 # Check whether --enable-zipstream or --disable-zipstream was given.
5290 if test "${enable_zipstream+set}" = set; then
5291 enableval="$enable_zipstream"
5293 if test "$enableval" = yes; then
5294 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
5296 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
5301 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5302 if test "x$LINE" != x ; then
5303 eval "DEFAULT_$LINE"
5308 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
='$DEFAULT_wxUSE_ZIPSTREAM
5312 eval "$ac_cv_use_zipstream"
5313 if test "$no_cache" != 1; then
5314 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5317 if test "$wxUSE_ZIPSTREAM" = yes; then
5318 echo "$as_me:$LINENO: result: yes" >&5
5319 echo "${ECHO_T}yes" >&6
5321 echo "$as_me:$LINENO: result: no" >&5
5322 echo "${ECHO_T}no" >&6
5328 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5329 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5331 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5332 if test "${enable_catch_segvs+set}" = set; then
5333 enableval="$enable_catch_segvs"
5335 if test "$enableval" = yes; then
5336 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=yes'
5338 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=no
'
5343 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5344 if test "x$LINE" != x ; then
5345 eval "DEFAULT_$LINE"
5350 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5354 eval "$ac_cv_use_catch_segvs"
5355 if test "$no_cache" != 1; then
5356 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5359 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5360 echo "$as_me:$LINENO: result: yes" >&5
5361 echo "${ECHO_T}yes" >&6
5363 echo "$as_me:$LINENO: result: no" >&5
5364 echo "${ECHO_T}no" >&6
5369 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5370 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5372 # Check whether --enable-snglinst or --disable-snglinst was given.
5373 if test "${enable_snglinst+set}" = set; then
5374 enableval="$enable_snglinst"
5376 if test "$enableval" = yes; then
5377 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=yes'
5379 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=no
'
5384 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5385 if test "x$LINE" != x ; then
5386 eval "DEFAULT_$LINE"
5391 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
='$DEFAULT_wxUSE_SNGLINST_CHECKER
5395 eval "$ac_cv_use_snglinst"
5396 if test "$no_cache" != 1; then
5397 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5400 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5401 echo "$as_me:$LINENO: result: yes" >&5
5402 echo "${ECHO_T}yes" >&6
5404 echo "$as_me:$LINENO: result: no" >&5
5405 echo "${ECHO_T}no" >&6
5411 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5412 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5414 # Check whether --enable-mimetype or --disable-mimetype was given.
5415 if test "${enable_mimetype+set}" = set; then
5416 enableval="$enable_mimetype"
5418 if test "$enableval" = yes; then
5419 ac_cv_use_mimetype='wxUSE_MIMETYPE
=yes'
5421 ac_cv_use_mimetype='wxUSE_MIMETYPE
=no
'
5426 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5427 if test "x$LINE" != x ; then
5428 eval "DEFAULT_$LINE"
5433 ac_cv_use_mimetype='wxUSE_MIMETYPE
='$DEFAULT_wxUSE_MIMETYPE
5437 eval "$ac_cv_use_mimetype"
5438 if test "$no_cache" != 1; then
5439 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5442 if test "$wxUSE_MIMETYPE" = yes; then
5443 echo "$as_me:$LINENO: result: yes" >&5
5444 echo "${ECHO_T}yes" >&6
5446 echo "$as_me:$LINENO: result: no" >&5
5447 echo "${ECHO_T}no" >&6
5452 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5453 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5455 # Check whether --enable-system_options or --disable-system_options was given.
5456 if test "${enable_system_options+set}" = set; then
5457 enableval="$enable_system_options"
5459 if test "$enableval" = yes; then
5460 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=yes'
5462 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=no
'
5467 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5468 if test "x$LINE" != x ; then
5469 eval "DEFAULT_$LINE"
5474 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5478 eval "$ac_cv_use_system_options"
5479 if test "$no_cache" != 1; then
5480 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5483 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5484 echo "$as_me:$LINENO: result: yes" >&5
5485 echo "${ECHO_T}yes" >&6
5487 echo "$as_me:$LINENO: result: no" >&5
5488 echo "${ECHO_T}no" >&6
5494 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5495 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5497 # Check whether --enable-url or --disable-url was given.
5498 if test "${enable_url+set}" = set; then
5499 enableval="$enable_url"
5501 if test "$enableval" = yes; then
5502 ac_cv_use_url='wxUSE_URL
=yes'
5504 ac_cv_use_url='wxUSE_URL
=no
'
5509 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5510 if test "x$LINE" != x ; then
5511 eval "DEFAULT_$LINE"
5516 ac_cv_use_url='wxUSE_URL
='$DEFAULT_wxUSE_URL
5520 eval "$ac_cv_use_url"
5521 if test "$no_cache" != 1; then
5522 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5525 if test "$wxUSE_URL" = yes; then
5526 echo "$as_me:$LINENO: result: yes" >&5
5527 echo "${ECHO_T}yes" >&6
5529 echo "$as_me:$LINENO: result: no" >&5
5530 echo "${ECHO_T}no" >&6
5535 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5536 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5538 # Check whether --enable-protocol or --disable-protocol was given.
5539 if test "${enable_protocol+set}" = set; then
5540 enableval="$enable_protocol"
5542 if test "$enableval" = yes; then
5543 ac_cv_use_protocol='wxUSE_PROTOCOL
=yes'
5545 ac_cv_use_protocol='wxUSE_PROTOCOL
=no
'
5550 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5551 if test "x$LINE" != x ; then
5552 eval "DEFAULT_$LINE"
5557 ac_cv_use_protocol='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
5561 eval "$ac_cv_use_protocol"
5562 if test "$no_cache" != 1; then
5563 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5566 if test "$wxUSE_PROTOCOL" = yes; then
5567 echo "$as_me:$LINENO: result: yes" >&5
5568 echo "${ECHO_T}yes" >&6
5570 echo "$as_me:$LINENO: result: no" >&5
5571 echo "${ECHO_T}no" >&6
5576 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5577 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5579 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5580 if test "${enable_protocol_http+set}" = set; then
5581 enableval="$enable_protocol_http"
5583 if test "$enableval" = yes; then
5584 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
5586 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
5591 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5592 if test "x$LINE" != x ; then
5593 eval "DEFAULT_$LINE"
5598 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
5602 eval "$ac_cv_use_protocol_http"
5603 if test "$no_cache" != 1; then
5604 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5607 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5608 echo "$as_me:$LINENO: result: yes" >&5
5609 echo "${ECHO_T}yes" >&6
5611 echo "$as_me:$LINENO: result: no" >&5
5612 echo "${ECHO_T}no" >&6
5617 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5618 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5620 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5621 if test "${enable_protocol_ftp+set}" = set; then
5622 enableval="$enable_protocol_ftp"
5624 if test "$enableval" = yes; then
5625 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=yes'
5627 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=no
'
5632 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5633 if test "x$LINE" != x ; then
5634 eval "DEFAULT_$LINE"
5639 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
5643 eval "$ac_cv_use_protocol_ftp"
5644 if test "$no_cache" != 1; then
5645 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5648 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5649 echo "$as_me:$LINENO: result: yes" >&5
5650 echo "${ECHO_T}yes" >&6
5652 echo "$as_me:$LINENO: result: no" >&5
5653 echo "${ECHO_T}no" >&6
5658 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5659 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5661 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5662 if test "${enable_protocol_file+set}" = set; then
5663 enableval="$enable_protocol_file"
5665 if test "$enableval" = yes; then
5666 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=yes'
5668 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=no
'
5673 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5674 if test "x$LINE" != x ; then
5675 eval "DEFAULT_$LINE"
5680 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
5684 eval "$ac_cv_use_protocol_file"
5685 if test "$no_cache" != 1; then
5686 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5689 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5690 echo "$as_me:$LINENO: result: yes" >&5
5691 echo "${ECHO_T}yes" >&6
5693 echo "$as_me:$LINENO: result: no" >&5
5694 echo "${ECHO_T}no" >&6
5702 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5703 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
5705 # Check whether --enable-threads or --disable-threads was given.
5706 if test "${enable_threads+set}" = set; then
5707 enableval="$enable_threads"
5709 if test "$enableval" = yes; then
5710 ac_cv_use_threads='wxUSE_THREADS
=yes'
5712 ac_cv_use_threads='wxUSE_THREADS
=no
'
5717 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5718 if test "x$LINE" != x ; then
5719 eval "DEFAULT_$LINE"
5724 ac_cv_use_threads='wxUSE_THREADS
='$DEFAULT_wxUSE_THREADS
5728 eval "$ac_cv_use_threads"
5729 if test "$no_cache" != 1; then
5730 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5733 if test "$wxUSE_THREADS" = yes; then
5734 echo "$as_me:$LINENO: result: yes" >&5
5735 echo "${ECHO_T}yes" >&6
5737 echo "$as_me:$LINENO: result: no" >&5
5738 echo "${ECHO_T}no" >&6
5742 if test "$wxUSE_GUI" = "yes"; then
5747 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
5748 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
5750 # Check whether --enable-docview or --disable-docview was given.
5751 if test "${enable_docview+set}" = set; then
5752 enableval="$enable_docview"
5754 if test "$enableval" = yes; then
5755 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
5757 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
5762 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5763 if test "x$LINE" != x ; then
5764 eval "DEFAULT_$LINE"
5769 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5773 eval "$ac_cv_use_docview"
5774 if test "$no_cache" != 1; then
5775 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5778 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5779 echo "$as_me:$LINENO: result: yes" >&5
5780 echo "${ECHO_T}yes" >&6
5782 echo "$as_me:$LINENO: result: no" >&5
5783 echo "${ECHO_T}no" >&6
5788 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
5789 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
5791 # Check whether --enable-help or --disable-help was given.
5792 if test "${enable_help+set}" = set; then
5793 enableval="$enable_help"
5795 if test "$enableval" = yes; then
5796 ac_cv_use_help='wxUSE_HELP
=yes'
5798 ac_cv_use_help='wxUSE_HELP
=no
'
5803 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5804 if test "x$LINE" != x ; then
5805 eval "DEFAULT_$LINE"
5810 ac_cv_use_help='wxUSE_HELP
='$DEFAULT_wxUSE_HELP
5814 eval "$ac_cv_use_help"
5815 if test "$no_cache" != 1; then
5816 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5819 if test "$wxUSE_HELP" = yes; then
5820 echo "$as_me:$LINENO: result: yes" >&5
5821 echo "${ECHO_T}yes" >&6
5823 echo "$as_me:$LINENO: result: no" >&5
5824 echo "${ECHO_T}no" >&6
5829 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5830 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
5832 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5833 if test "${enable_mshtmlhelp+set}" = set; then
5834 enableval="$enable_mshtmlhelp"
5836 if test "$enableval" = yes; then
5837 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=yes'
5839 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=no
'
5844 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5845 if test "x$LINE" != x ; then
5846 eval "DEFAULT_$LINE"
5851 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
='$DEFAULT_wxUSE_MS_HTML_HELP
5855 eval "$ac_cv_use_mshtmlhelp"
5856 if test "$no_cache" != 1; then
5857 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5860 if test "$wxUSE_MS_HTML_HELP" = yes; then
5861 echo "$as_me:$LINENO: result: yes" >&5
5862 echo "${ECHO_T}yes" >&6
5864 echo "$as_me:$LINENO: result: no" >&5
5865 echo "${ECHO_T}no" >&6
5870 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
5871 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
5873 # Check whether --enable-html or --disable-html was given.
5874 if test "${enable_html+set}" = set; then
5875 enableval="$enable_html"
5877 if test "$enableval" = yes; then
5878 ac_cv_use_html='wxUSE_HTML
=yes'
5880 ac_cv_use_html='wxUSE_HTML
=no
'
5885 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5886 if test "x$LINE" != x ; then
5887 eval "DEFAULT_$LINE"
5892 ac_cv_use_html='wxUSE_HTML
='$DEFAULT_wxUSE_HTML
5896 eval "$ac_cv_use_html"
5897 if test "$no_cache" != 1; then
5898 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5901 if test "$wxUSE_HTML" = yes; then
5902 echo "$as_me:$LINENO: result: yes" >&5
5903 echo "${ECHO_T}yes" >&6
5905 echo "$as_me:$LINENO: result: no" >&5
5906 echo "${ECHO_T}no" >&6
5911 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
5912 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
5914 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5915 if test "${enable_htmlhelp+set}" = set; then
5916 enableval="$enable_htmlhelp"
5918 if test "$enableval" = yes; then
5919 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=yes'
5921 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=no
'
5926 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5927 if test "x$LINE" != x ; then
5928 eval "DEFAULT_$LINE"
5933 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
='$DEFAULT_wxUSE_WXHTML_HELP
5937 eval "$ac_cv_use_htmlhelp"
5938 if test "$no_cache" != 1; then
5939 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5942 if test "$wxUSE_WXHTML_HELP" = yes; then
5943 echo "$as_me:$LINENO: result: yes" >&5
5944 echo "${ECHO_T}yes" >&6
5946 echo "$as_me:$LINENO: result: no" >&5
5947 echo "${ECHO_T}no" >&6
5952 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
5953 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
5955 # Check whether --enable-constraints or --disable-constraints was given.
5956 if test "${enable_constraints+set}" = set; then
5957 enableval="$enable_constraints"
5959 if test "$enableval" = yes; then
5960 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
5962 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
5967 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5968 if test "x$LINE" != x ; then
5969 eval "DEFAULT_$LINE"
5974 ac_cv_use_constraints='wxUSE_CONSTRAINTS
='$DEFAULT_wxUSE_CONSTRAINTS
5978 eval "$ac_cv_use_constraints"
5979 if test "$no_cache" != 1; then
5980 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5983 if test "$wxUSE_CONSTRAINTS" = yes; then
5984 echo "$as_me:$LINENO: result: yes" >&5
5985 echo "${ECHO_T}yes" >&6
5987 echo "$as_me:$LINENO: result: no" >&5
5988 echo "${ECHO_T}no" >&6
5993 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
5994 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
5996 # Check whether --enable-printarch or --disable-printarch was given.
5997 if test "${enable_printarch+set}" = set; then
5998 enableval="$enable_printarch"
6000 if test "$enableval" = yes; then
6001 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
6003 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
6008 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6009 if test "x$LINE" != x ; then
6010 eval "DEFAULT_$LINE"
6015 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6019 eval "$ac_cv_use_printarch"
6020 if test "$no_cache" != 1; then
6021 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6024 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6025 echo "$as_me:$LINENO: result: yes" >&5
6026 echo "${ECHO_T}yes" >&6
6028 echo "$as_me:$LINENO: result: no" >&5
6029 echo "${ECHO_T}no" >&6
6034 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6035 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6037 # Check whether --enable-mdi or --disable-mdi was given.
6038 if test "${enable_mdi+set}" = set; then
6039 enableval="$enable_mdi"
6041 if test "$enableval" = yes; then
6042 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE
=yes'
6044 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE
=no
'
6049 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6050 if test "x$LINE" != x ; then
6051 eval "DEFAULT_$LINE"
6056 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE
='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6060 eval "$ac_cv_use_mdi"
6061 if test "$no_cache" != 1; then
6062 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6065 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6066 echo "$as_me:$LINENO: result: yes" >&5
6067 echo "${ECHO_T}yes" >&6
6069 echo "$as_me:$LINENO: result: no" >&5
6070 echo "${ECHO_T}no" >&6
6075 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6076 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6078 # Check whether --enable-loggui or --disable-loggui was given.
6079 if test "${enable_loggui+set}" = set; then
6080 enableval="$enable_loggui"
6082 if test "$enableval" = yes; then
6083 ac_cv_use_loggui='wxUSE_LOGGUI
=yes'
6085 ac_cv_use_loggui='wxUSE_LOGGUI
=no
'
6090 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6091 if test "x$LINE" != x ; then
6092 eval "DEFAULT_$LINE"
6097 ac_cv_use_loggui='wxUSE_LOGGUI
='$DEFAULT_wxUSE_LOGGUI
6101 eval "$ac_cv_use_loggui"
6102 if test "$no_cache" != 1; then
6103 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6106 if test "$wxUSE_LOGGUI" = yes; then
6107 echo "$as_me:$LINENO: result: yes" >&5
6108 echo "${ECHO_T}yes" >&6
6110 echo "$as_me:$LINENO: result: no" >&5
6111 echo "${ECHO_T}no" >&6
6116 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6117 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6119 # Check whether --enable-logwin or --disable-logwin was given.
6120 if test "${enable_logwin+set}" = set; then
6121 enableval="$enable_logwin"
6123 if test "$enableval" = yes; then
6124 ac_cv_use_logwin='wxUSE_LOGWINDOW
=yes'
6126 ac_cv_use_logwin='wxUSE_LOGWINDOW
=no
'
6131 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6132 if test "x$LINE" != x ; then
6133 eval "DEFAULT_$LINE"
6138 ac_cv_use_logwin='wxUSE_LOGWINDOW
='$DEFAULT_wxUSE_LOGWINDOW
6142 eval "$ac_cv_use_logwin"
6143 if test "$no_cache" != 1; then
6144 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6147 if test "$wxUSE_LOGWINDOW" = yes; then
6148 echo "$as_me:$LINENO: result: yes" >&5
6149 echo "${ECHO_T}yes" >&6
6151 echo "$as_me:$LINENO: result: no" >&5
6152 echo "${ECHO_T}no" >&6
6157 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6158 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6160 # Check whether --enable-logdialog or --disable-logdialog was given.
6161 if test "${enable_logdialog+set}" = set; then
6162 enableval="$enable_logdialog"
6164 if test "$enableval" = yes; then
6165 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
6167 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
6172 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6173 if test "x$LINE" != x ; then
6174 eval "DEFAULT_$LINE"
6179 ac_cv_use_logdialog='wxUSE_LOGDIALOG
='$DEFAULT_wxUSE_LOGDIALOG
6183 eval "$ac_cv_use_logdialog"
6184 if test "$no_cache" != 1; then
6185 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6188 if test "$wxUSE_LOGDIALOG" = yes; then
6189 echo "$as_me:$LINENO: result: yes" >&5
6190 echo "${ECHO_T}yes" >&6
6192 echo "$as_me:$LINENO: result: no" >&5
6193 echo "${ECHO_T}no" >&6
6199 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6200 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6202 # Check whether --enable-postscript or --disable-postscript was given.
6203 if test "${enable_postscript+set}" = set; then
6204 enableval="$enable_postscript"
6206 if test "$enableval" = yes; then
6207 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=yes'
6209 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=no
'
6214 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6215 if test "x$LINE" != x ; then
6216 eval "DEFAULT_$LINE"
6221 ac_cv_use_postscript='wxUSE_POSTSCRIPT
='$DEFAULT_wxUSE_POSTSCRIPT
6225 eval "$ac_cv_use_postscript"
6226 if test "$no_cache" != 1; then
6227 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6230 if test "$wxUSE_POSTSCRIPT" = yes; then
6231 echo "$as_me:$LINENO: result: yes" >&5
6232 echo "${ECHO_T}yes" >&6
6234 echo "$as_me:$LINENO: result: no" >&5
6235 echo "${ECHO_T}no" >&6
6243 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6244 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6246 # Check whether --enable-prologio or --disable-prologio was given.
6247 if test "${enable_prologio+set}" = set; then
6248 enableval="$enable_prologio"
6250 if test "$enableval" = yes; then
6251 ac_cv_use_prologio='wxUSE_PROLOGIO
=yes'
6253 ac_cv_use_prologio='wxUSE_PROLOGIO
=no
'
6258 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6259 if test "x$LINE" != x ; then
6260 eval "DEFAULT_$LINE"
6265 ac_cv_use_prologio='wxUSE_PROLOGIO
='$DEFAULT_wxUSE_PROLOGIO
6269 eval "$ac_cv_use_prologio"
6270 if test "$no_cache" != 1; then
6271 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6274 if test "$wxUSE_PROLOGIO" = yes; then
6275 echo "$as_me:$LINENO: result: yes" >&5
6276 echo "${ECHO_T}yes" >&6
6278 echo "$as_me:$LINENO: result: no" >&5
6279 echo "${ECHO_T}no" >&6
6284 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6285 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6287 # Check whether --enable-resources or --disable-resources was given.
6288 if test "${enable_resources+set}" = set; then
6289 enableval="$enable_resources"
6291 if test "$enableval" = yes; then
6292 ac_cv_use_resources='wxUSE_RESOURCES
=yes'
6294 ac_cv_use_resources='wxUSE_RESOURCES
=no
'
6299 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6300 if test "x$LINE" != x ; then
6301 eval "DEFAULT_$LINE"
6306 ac_cv_use_resources='wxUSE_RESOURCES
='$DEFAULT_wxUSE_RESOURCES
6310 eval "$ac_cv_use_resources"
6311 if test "$no_cache" != 1; then
6312 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6315 if test "$wxUSE_RESOURCES" = yes; then
6316 echo "$as_me:$LINENO: result: yes" >&5
6317 echo "${ECHO_T}yes" >&6
6319 echo "$as_me:$LINENO: result: no" >&5
6320 echo "${ECHO_T}no" >&6
6327 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6328 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6330 # Check whether --enable-clipboard or --disable-clipboard was given.
6331 if test "${enable_clipboard+set}" = set; then
6332 enableval="$enable_clipboard"
6334 if test "$enableval" = yes; then
6335 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=yes'
6337 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=no
'
6342 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6343 if test "x$LINE" != x ; then
6344 eval "DEFAULT_$LINE"
6349 ac_cv_use_clipboard='wxUSE_CLIPBOARD
='$DEFAULT_wxUSE_CLIPBOARD
6353 eval "$ac_cv_use_clipboard"
6354 if test "$no_cache" != 1; then
6355 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6358 if test "$wxUSE_CLIPBOARD" = yes; then
6359 echo "$as_me:$LINENO: result: yes" >&5
6360 echo "${ECHO_T}yes" >&6
6362 echo "$as_me:$LINENO: result: no" >&5
6363 echo "${ECHO_T}no" >&6
6368 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6369 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6371 # Check whether --enable-dnd or --disable-dnd was given.
6372 if test "${enable_dnd+set}" = set; then
6373 enableval="$enable_dnd"
6375 if test "$enableval" = yes; then
6376 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
6378 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
6383 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6384 if test "x$LINE" != x ; then
6385 eval "DEFAULT_$LINE"
6390 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
='$DEFAULT_wxUSE_DRAG_AND_DROP
6394 eval "$ac_cv_use_dnd"
6395 if test "$no_cache" != 1; then
6396 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6399 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6400 echo "$as_me:$LINENO: result: yes" >&5
6401 echo "${ECHO_T}yes" >&6
6403 echo "$as_me:$LINENO: result: no" >&5
6404 echo "${ECHO_T}no" >&6
6409 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6410 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6412 # Check whether --enable-metafile or --disable-metafile was given.
6413 if test "${enable_metafile+set}" = set; then
6414 enableval="$enable_metafile"
6416 if test "$enableval" = yes; then
6417 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
6419 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
6424 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6425 if test "x$LINE" != x ; then
6426 eval "DEFAULT_$LINE"
6431 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
6435 eval "$ac_cv_use_metafile"
6436 if test "$no_cache" != 1; then
6437 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6440 if test "$wxUSE_METAFILE" = yes; then
6441 echo "$as_me:$LINENO: result: yes" >&5
6442 echo "${ECHO_T}yes" >&6
6444 echo "$as_me:$LINENO: result: no" >&5
6445 echo "${ECHO_T}no" >&6
6453 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6454 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6456 # Check whether --enable-controls or --disable-controls was given.
6457 if test "${enable_controls+set}" = set; then
6458 enableval="$enable_controls"
6460 if test "$enableval" = yes; then
6461 ac_cv_use_controls='wxUSE_CONTROLS
=yes'
6463 ac_cv_use_controls='wxUSE_CONTROLS
=no
'
6468 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6469 if test "x$LINE" != x ; then
6470 eval "DEFAULT_$LINE"
6475 ac_cv_use_controls='wxUSE_CONTROLS
='$DEFAULT_wxUSE_CONTROLS
6479 eval "$ac_cv_use_controls"
6480 if test "$no_cache" != 1; then
6481 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6484 if test "$wxUSE_CONTROLS" = yes; then
6485 echo "$as_me:$LINENO: result: yes" >&5
6486 echo "${ECHO_T}yes" >&6
6488 echo "$as_me:$LINENO: result: no" >&5
6489 echo "${ECHO_T}no" >&6
6493 if test "$wxUSE_CONTROLS" = "yes"; then
6494 DEFAULT_wxUSE_ACCEL=yes
6495 DEFAULT_wxUSE_BMPBUTTON=yes
6496 DEFAULT_wxUSE_BUTTON=yes
6497 DEFAULT_wxUSE_CALCTRL=no
6498 DEFAULT_wxUSE_CARET=yes
6499 DEFAULT_wxUSE_COMBOBOX=yes
6500 DEFAULT_wxUSE_CHECKBOX=yes
6501 DEFAULT_wxUSE_CHECKLISTBOX=yes
6502 DEFAULT_wxUSE_CHOICE=yes
6503 DEFAULT_wxUSE_GAUGE=yes
6504 DEFAULT_wxUSE_GRID=yes
6505 DEFAULT_wxUSE_IMAGLIST=yes
6506 DEFAULT_wxUSE_LISTBOX=yes
6507 DEFAULT_wxUSE_LISTCTRL=yes
6508 DEFAULT_wxUSE_NOTEBOOK=yes
6509 DEFAULT_wxUSE_RADIOBOX=yes
6510 DEFAULT_wxUSE_RADIOBTN=yes
6511 DEFAULT_wxUSE_SASH=yes
6512 DEFAULT_wxUSE_SCROLLBAR=yes
6513 DEFAULT_wxUSE_SLIDER=yes
6514 DEFAULT_wxUSE_SPINBTN=yes
6515 DEFAULT_wxUSE_SPINCTRL=yes
6516 DEFAULT_wxUSE_SPLITTER=yes
6517 DEFAULT_wxUSE_STATBMP=yes
6518 DEFAULT_wxUSE_STATBOX=yes
6519 DEFAULT_wxUSE_STATLINE=yes
6520 DEFAULT_wxUSE_STATUSBAR=yes
6521 DEFAULT_wxUSE_TAB_DIALOG=yes
6522 DEFAULT_wxUSE_TOGGLEBTN=yes
6523 DEFAULT_wxUSE_TOOLBAR=yes
6524 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6525 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6526 DEFAULT_wxUSE_TOOLTIPS=yes
6527 DEFAULT_wxUSE_TREECTRL=yes
6528 DEFAULT_wxUSE_POPUPWIN=yes
6529 DEFAULT_wxUSE_TIPWINDOW=yes
6530 elif test "$wxUSE_CONTROLS" = "no"; then
6531 DEFAULT_wxUSE_ACCEL=no
6532 DEFAULT_wxUSE_BMPBUTTON=no
6533 DEFAULT_wxUSE_BUTTON=no
6534 DEFAULT_wxUSE_CALCTRL=no
6535 DEFAULT_wxUSE_CARET=no
6536 DEFAULT_wxUSE_COMBOBOX=no
6537 DEFAULT_wxUSE_CHECKBOX=no
6538 DEFAULT_wxUSE_CHECKLISTBOX=no
6539 DEFAULT_wxUSE_CHOICE=no
6540 DEFAULT_wxUSE_GAUGE=no
6541 DEFAULT_wxUSE_GRID=no
6542 DEFAULT_wxUSE_IMAGLIST=no
6543 DEFAULT_wxUSE_LISTBOX=no
6544 DEFAULT_wxUSE_LISTCTRL=no
6545 DEFAULT_wxUSE_NOTEBOOK=no
6546 DEFAULT_wxUSE_RADIOBOX=no
6547 DEFAULT_wxUSE_RADIOBTN=no
6548 DEFAULT_wxUSE_SASH=no
6549 DEFAULT_wxUSE_SCROLLBAR=no
6550 DEFAULT_wxUSE_SLIDER=no
6551 DEFAULT_wxUSE_SPINBTN=no
6552 DEFAULT_wxUSE_SPINCTRL=no
6553 DEFAULT_wxUSE_SPLITTER=no
6554 DEFAULT_wxUSE_STATBMP=no
6555 DEFAULT_wxUSE_STATBOX=no
6556 DEFAULT_wxUSE_STATLINE=no
6557 DEFAULT_wxUSE_STATUSBAR=no
6558 DEFAULT_wxUSE_TAB_DIALOG=no
6559 DEFAULT_wxUSE_TOGGLEBTN=no
6560 DEFAULT_wxUSE_TOOLBAR=no
6561 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6562 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6563 DEFAULT_wxUSE_TOOLTIPS=no
6564 DEFAULT_wxUSE_TREECTRL=no
6565 DEFAULT_wxUSE_POPUPWIN=no
6566 DEFAULT_wxUSE_TIPWINDOW=no
6569 ## FIXME: This is a blatant hack
6570 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6571 wxUSE_PRINTING_ARCHITECTURE=no
6572 wxUSE_DRAG_AND_DROP=no
6573 # Generic notebook requires tab dialog
6574 DEFAULT_wxUSE_TABDIALOG=yes
6575 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6576 DEFAULT_wxUSE_SCROLLBAR=no
6577 DEFAULT_wxUSE_TOOLTIPS=no
6578 DEFAULT_wxUSE_DRAGIMAGE=no
6583 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6584 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6586 # Check whether --enable-accel or --disable-accel was given.
6587 if test "${enable_accel+set}" = set; then
6588 enableval="$enable_accel"
6590 if test "$enableval" = yes; then
6591 ac_cv_use_accel='wxUSE_ACCEL
=yes'
6593 ac_cv_use_accel='wxUSE_ACCEL
=no
'
6598 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6599 if test "x$LINE" != x ; then
6600 eval "DEFAULT_$LINE"
6605 ac_cv_use_accel='wxUSE_ACCEL
='$DEFAULT_wxUSE_ACCEL
6609 eval "$ac_cv_use_accel"
6610 if test "$no_cache" != 1; then
6611 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6614 if test "$wxUSE_ACCEL" = yes; then
6615 echo "$as_me:$LINENO: result: yes" >&5
6616 echo "${ECHO_T}yes" >&6
6618 echo "$as_me:$LINENO: result: no" >&5
6619 echo "${ECHO_T}no" >&6
6624 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6625 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6627 # Check whether --enable-button or --disable-button was given.
6628 if test "${enable_button+set}" = set; then
6629 enableval="$enable_button"
6631 if test "$enableval" = yes; then
6632 ac_cv_use_button='wxUSE_BUTTON
=yes'
6634 ac_cv_use_button='wxUSE_BUTTON
=no
'
6639 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6640 if test "x$LINE" != x ; then
6641 eval "DEFAULT_$LINE"
6646 ac_cv_use_button='wxUSE_BUTTON
='$DEFAULT_wxUSE_BUTTON
6650 eval "$ac_cv_use_button"
6651 if test "$no_cache" != 1; then
6652 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6655 if test "$wxUSE_BUTTON" = yes; then
6656 echo "$as_me:$LINENO: result: yes" >&5
6657 echo "${ECHO_T}yes" >&6
6659 echo "$as_me:$LINENO: result: no" >&5
6660 echo "${ECHO_T}no" >&6
6665 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6666 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6668 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6669 if test "${enable_bmpbutton+set}" = set; then
6670 enableval="$enable_bmpbutton"
6672 if test "$enableval" = yes; then
6673 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
6675 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
6680 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6681 if test "x$LINE" != x ; then
6682 eval "DEFAULT_$LINE"
6687 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
='$DEFAULT_wxUSE_BMPBUTTON
6691 eval "$ac_cv_use_bmpbutton"
6692 if test "$no_cache" != 1; then
6693 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6696 if test "$wxUSE_BMPBUTTON" = yes; then
6697 echo "$as_me:$LINENO: result: yes" >&5
6698 echo "${ECHO_T}yes" >&6
6700 echo "$as_me:$LINENO: result: no" >&5
6701 echo "${ECHO_T}no" >&6
6706 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
6707 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
6709 # Check whether --enable-calendar or --disable-calendar was given.
6710 if test "${enable_calendar+set}" = set; then
6711 enableval="$enable_calendar"
6713 if test "$enableval" = yes; then
6714 ac_cv_use_calendar='wxUSE_CALCTRL
=yes'
6716 ac_cv_use_calendar='wxUSE_CALCTRL
=no
'
6721 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6722 if test "x$LINE" != x ; then
6723 eval "DEFAULT_$LINE"
6728 ac_cv_use_calendar='wxUSE_CALCTRL
='$DEFAULT_wxUSE_CALCTRL
6732 eval "$ac_cv_use_calendar"
6733 if test "$no_cache" != 1; then
6734 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6737 if test "$wxUSE_CALCTRL" = yes; then
6738 echo "$as_me:$LINENO: result: yes" >&5
6739 echo "${ECHO_T}yes" >&6
6741 echo "$as_me:$LINENO: result: no" >&5
6742 echo "${ECHO_T}no" >&6
6747 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
6748 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
6750 # Check whether --enable-caret or --disable-caret was given.
6751 if test "${enable_caret+set}" = set; then
6752 enableval="$enable_caret"
6754 if test "$enableval" = yes; then
6755 ac_cv_use_caret='wxUSE_CARET
=yes'
6757 ac_cv_use_caret='wxUSE_CARET
=no
'
6762 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6763 if test "x$LINE" != x ; then
6764 eval "DEFAULT_$LINE"
6769 ac_cv_use_caret='wxUSE_CARET
='$DEFAULT_wxUSE_CARET
6773 eval "$ac_cv_use_caret"
6774 if test "$no_cache" != 1; then
6775 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6778 if test "$wxUSE_CARET" = yes; then
6779 echo "$as_me:$LINENO: result: yes" >&5
6780 echo "${ECHO_T}yes" >&6
6782 echo "$as_me:$LINENO: result: no" >&5
6783 echo "${ECHO_T}no" >&6
6788 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
6789 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
6791 # Check whether --enable-checkbox or --disable-checkbox was given.
6792 if test "${enable_checkbox+set}" = set; then
6793 enableval="$enable_checkbox"
6795 if test "$enableval" = yes; then
6796 ac_cv_use_checkbox='wxUSE_CHECKBOX
=yes'
6798 ac_cv_use_checkbox='wxUSE_CHECKBOX
=no
'
6803 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6804 if test "x$LINE" != x ; then
6805 eval "DEFAULT_$LINE"
6810 ac_cv_use_checkbox='wxUSE_CHECKBOX
='$DEFAULT_wxUSE_CHECKBOX
6814 eval "$ac_cv_use_checkbox"
6815 if test "$no_cache" != 1; then
6816 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6819 if test "$wxUSE_CHECKBOX" = yes; then
6820 echo "$as_me:$LINENO: result: yes" >&5
6821 echo "${ECHO_T}yes" >&6
6823 echo "$as_me:$LINENO: result: no" >&5
6824 echo "${ECHO_T}no" >&6
6829 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
6830 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
6832 # Check whether --enable-checklst or --disable-checklst was given.
6833 if test "${enable_checklst+set}" = set; then
6834 enableval="$enable_checklst"
6836 if test "$enableval" = yes; then
6837 ac_cv_use_checklst='wxUSE_CHECKLST
=yes'
6839 ac_cv_use_checklst='wxUSE_CHECKLST
=no
'
6844 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6845 if test "x$LINE" != x ; then
6846 eval "DEFAULT_$LINE"
6851 ac_cv_use_checklst='wxUSE_CHECKLST
='$DEFAULT_wxUSE_CHECKLST
6855 eval "$ac_cv_use_checklst"
6856 if test "$no_cache" != 1; then
6857 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6860 if test "$wxUSE_CHECKLST" = yes; then
6861 echo "$as_me:$LINENO: result: yes" >&5
6862 echo "${ECHO_T}yes" >&6
6864 echo "$as_me:$LINENO: result: no" >&5
6865 echo "${ECHO_T}no" >&6
6870 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
6871 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
6873 # Check whether --enable-choice or --disable-choice was given.
6874 if test "${enable_choice+set}" = set; then
6875 enableval="$enable_choice"
6877 if test "$enableval" = yes; then
6878 ac_cv_use_choice='wxUSE_CHOICE
=yes'
6880 ac_cv_use_choice='wxUSE_CHOICE
=no
'
6885 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6886 if test "x$LINE" != x ; then
6887 eval "DEFAULT_$LINE"
6892 ac_cv_use_choice='wxUSE_CHOICE
='$DEFAULT_wxUSE_CHOICE
6896 eval "$ac_cv_use_choice"
6897 if test "$no_cache" != 1; then
6898 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6901 if test "$wxUSE_CHOICE" = yes; then
6902 echo "$as_me:$LINENO: result: yes" >&5
6903 echo "${ECHO_T}yes" >&6
6905 echo "$as_me:$LINENO: result: no" >&5
6906 echo "${ECHO_T}no" >&6
6911 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
6912 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
6914 # Check whether --enable-combobox or --disable-combobox was given.
6915 if test "${enable_combobox+set}" = set; then
6916 enableval="$enable_combobox"
6918 if test "$enableval" = yes; then
6919 ac_cv_use_combobox='wxUSE_COMBOBOX
=yes'
6921 ac_cv_use_combobox='wxUSE_COMBOBOX
=no
'
6926 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6927 if test "x$LINE" != x ; then
6928 eval "DEFAULT_$LINE"
6933 ac_cv_use_combobox='wxUSE_COMBOBOX
='$DEFAULT_wxUSE_COMBOBOX
6937 eval "$ac_cv_use_combobox"
6938 if test "$no_cache" != 1; then
6939 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6942 if test "$wxUSE_COMBOBOX" = yes; then
6943 echo "$as_me:$LINENO: result: yes" >&5
6944 echo "${ECHO_T}yes" >&6
6946 echo "$as_me:$LINENO: result: no" >&5
6947 echo "${ECHO_T}no" >&6
6952 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
6953 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
6955 # Check whether --enable-display or --disable-display was given.
6956 if test "${enable_display+set}" = set; then
6957 enableval="$enable_display"
6959 if test "$enableval" = yes; then
6960 ac_cv_use_display='wxUSE_DISPLAY
=yes'
6962 ac_cv_use_display='wxUSE_DISPLAY
=no
'
6967 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
6968 if test "x$LINE" != x ; then
6969 eval "DEFAULT_$LINE"
6974 ac_cv_use_display='wxUSE_DISPLAY
='$DEFAULT_wxUSE_DISPLAY
6978 eval "$ac_cv_use_display"
6979 if test "$no_cache" != 1; then
6980 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
6983 if test "$wxUSE_DISPLAY" = yes; then
6984 echo "$as_me:$LINENO: result: yes" >&5
6985 echo "${ECHO_T}yes" >&6
6987 echo "$as_me:$LINENO: result: no" >&5
6988 echo "${ECHO_T}no" >&6
6993 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
6994 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
6996 # Check whether --enable-gauge or --disable-gauge was given.
6997 if test "${enable_gauge+set}" = set; then
6998 enableval="$enable_gauge"
7000 if test "$enableval" = yes; then
7001 ac_cv_use_gauge='wxUSE_GAUGE
=yes'
7003 ac_cv_use_gauge='wxUSE_GAUGE
=no
'
7008 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7009 if test "x$LINE" != x ; then
7010 eval "DEFAULT_$LINE"
7015 ac_cv_use_gauge='wxUSE_GAUGE
='$DEFAULT_wxUSE_GAUGE
7019 eval "$ac_cv_use_gauge"
7020 if test "$no_cache" != 1; then
7021 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7024 if test "$wxUSE_GAUGE" = yes; then
7025 echo "$as_me:$LINENO: result: yes" >&5
7026 echo "${ECHO_T}yes" >&6
7028 echo "$as_me:$LINENO: result: no" >&5
7029 echo "${ECHO_T}no" >&6
7034 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7035 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7037 # Check whether --enable-grid or --disable-grid was given.
7038 if test "${enable_grid+set}" = set; then
7039 enableval="$enable_grid"
7041 if test "$enableval" = yes; then
7042 ac_cv_use_grid='wxUSE_GRID
=yes'
7044 ac_cv_use_grid='wxUSE_GRID
=no
'
7049 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7050 if test "x$LINE" != x ; then
7051 eval "DEFAULT_$LINE"
7056 ac_cv_use_grid='wxUSE_GRID
='$DEFAULT_wxUSE_GRID
7060 eval "$ac_cv_use_grid"
7061 if test "$no_cache" != 1; then
7062 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7065 if test "$wxUSE_GRID" = yes; then
7066 echo "$as_me:$LINENO: result: yes" >&5
7067 echo "${ECHO_T}yes" >&6
7069 echo "$as_me:$LINENO: result: no" >&5
7070 echo "${ECHO_T}no" >&6
7075 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7076 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7078 # Check whether --enable-imaglist or --disable-imaglist was given.
7079 if test "${enable_imaglist+set}" = set; then
7080 enableval="$enable_imaglist"
7082 if test "$enableval" = yes; then
7083 ac_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
7085 ac_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
7090 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7091 if test "x$LINE" != x ; then
7092 eval "DEFAULT_$LINE"
7097 ac_cv_use_imaglist='wxUSE_IMAGLIST
='$DEFAULT_wxUSE_IMAGLIST
7101 eval "$ac_cv_use_imaglist"
7102 if test "$no_cache" != 1; then
7103 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7106 if test "$wxUSE_IMAGLIST" = yes; then
7107 echo "$as_me:$LINENO: result: yes" >&5
7108 echo "${ECHO_T}yes" >&6
7110 echo "$as_me:$LINENO: result: no" >&5
7111 echo "${ECHO_T}no" >&6
7116 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7117 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7119 # Check whether --enable-listbox or --disable-listbox was given.
7120 if test "${enable_listbox+set}" = set; then
7121 enableval="$enable_listbox"
7123 if test "$enableval" = yes; then
7124 ac_cv_use_listbox='wxUSE_LISTBOX
=yes'
7126 ac_cv_use_listbox='wxUSE_LISTBOX
=no
'
7131 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7132 if test "x$LINE" != x ; then
7133 eval "DEFAULT_$LINE"
7138 ac_cv_use_listbox='wxUSE_LISTBOX
='$DEFAULT_wxUSE_LISTBOX
7142 eval "$ac_cv_use_listbox"
7143 if test "$no_cache" != 1; then
7144 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7147 if test "$wxUSE_LISTBOX" = yes; then
7148 echo "$as_me:$LINENO: result: yes" >&5
7149 echo "${ECHO_T}yes" >&6
7151 echo "$as_me:$LINENO: result: no" >&5
7152 echo "${ECHO_T}no" >&6
7157 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7158 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7160 # Check whether --enable-listctrl or --disable-listctrl was given.
7161 if test "${enable_listctrl+set}" = set; then
7162 enableval="$enable_listctrl"
7164 if test "$enableval" = yes; then
7165 ac_cv_use_listctrl='wxUSE_LISTCTRL
=yes'
7167 ac_cv_use_listctrl='wxUSE_LISTCTRL
=no
'
7172 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7173 if test "x$LINE" != x ; then
7174 eval "DEFAULT_$LINE"
7179 ac_cv_use_listctrl='wxUSE_LISTCTRL
='$DEFAULT_wxUSE_LISTCTRL
7183 eval "$ac_cv_use_listctrl"
7184 if test "$no_cache" != 1; then
7185 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7188 if test "$wxUSE_LISTCTRL" = yes; then
7189 echo "$as_me:$LINENO: result: yes" >&5
7190 echo "${ECHO_T}yes" >&6
7192 echo "$as_me:$LINENO: result: no" >&5
7193 echo "${ECHO_T}no" >&6
7198 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7199 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7201 # Check whether --enable-notebook or --disable-notebook was given.
7202 if test "${enable_notebook+set}" = set; then
7203 enableval="$enable_notebook"
7205 if test "$enableval" = yes; then
7206 ac_cv_use_notebook='wxUSE_NOTEBOOK
=yes'
7208 ac_cv_use_notebook='wxUSE_NOTEBOOK
=no
'
7213 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7214 if test "x$LINE" != x ; then
7215 eval "DEFAULT_$LINE"
7220 ac_cv_use_notebook='wxUSE_NOTEBOOK
='$DEFAULT_wxUSE_NOTEBOOK
7224 eval "$ac_cv_use_notebook"
7225 if test "$no_cache" != 1; then
7226 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7229 if test "$wxUSE_NOTEBOOK" = yes; then
7230 echo "$as_me:$LINENO: result: yes" >&5
7231 echo "${ECHO_T}yes" >&6
7233 echo "$as_me:$LINENO: result: no" >&5
7234 echo "${ECHO_T}no" >&6
7239 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7240 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7242 # Check whether --enable-radiobox or --disable-radiobox was given.
7243 if test "${enable_radiobox+set}" = set; then
7244 enableval="$enable_radiobox"
7246 if test "$enableval" = yes; then
7247 ac_cv_use_radiobox='wxUSE_RADIOBOX
=yes'
7249 ac_cv_use_radiobox='wxUSE_RADIOBOX
=no
'
7254 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7255 if test "x$LINE" != x ; then
7256 eval "DEFAULT_$LINE"
7261 ac_cv_use_radiobox='wxUSE_RADIOBOX
='$DEFAULT_wxUSE_RADIOBOX
7265 eval "$ac_cv_use_radiobox"
7266 if test "$no_cache" != 1; then
7267 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7270 if test "$wxUSE_RADIOBOX" = yes; then
7271 echo "$as_me:$LINENO: result: yes" >&5
7272 echo "${ECHO_T}yes" >&6
7274 echo "$as_me:$LINENO: result: no" >&5
7275 echo "${ECHO_T}no" >&6
7280 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7281 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7283 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7284 if test "${enable_radiobtn+set}" = set; then
7285 enableval="$enable_radiobtn"
7287 if test "$enableval" = yes; then
7288 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=yes'
7290 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=no
'
7295 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7296 if test "x$LINE" != x ; then
7297 eval "DEFAULT_$LINE"
7302 ac_cv_use_radiobtn='wxUSE_RADIOBTN
='$DEFAULT_wxUSE_RADIOBTN
7306 eval "$ac_cv_use_radiobtn"
7307 if test "$no_cache" != 1; then
7308 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7311 if test "$wxUSE_RADIOBTN" = yes; then
7312 echo "$as_me:$LINENO: result: yes" >&5
7313 echo "${ECHO_T}yes" >&6
7315 echo "$as_me:$LINENO: result: no" >&5
7316 echo "${ECHO_T}no" >&6
7321 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7322 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7324 # Check whether --enable-sash or --disable-sash was given.
7325 if test "${enable_sash+set}" = set; then
7326 enableval="$enable_sash"
7328 if test "$enableval" = yes; then
7329 ac_cv_use_sash='wxUSE_SASH
=yes'
7331 ac_cv_use_sash='wxUSE_SASH
=no
'
7336 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7337 if test "x$LINE" != x ; then
7338 eval "DEFAULT_$LINE"
7343 ac_cv_use_sash='wxUSE_SASH
='$DEFAULT_wxUSE_SASH
7347 eval "$ac_cv_use_sash"
7348 if test "$no_cache" != 1; then
7349 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7352 if test "$wxUSE_SASH" = yes; then
7353 echo "$as_me:$LINENO: result: yes" >&5
7354 echo "${ECHO_T}yes" >&6
7356 echo "$as_me:$LINENO: result: no" >&5
7357 echo "${ECHO_T}no" >&6
7362 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7363 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7365 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7366 if test "${enable_scrollbar+set}" = set; then
7367 enableval="$enable_scrollbar"
7369 if test "$enableval" = yes; then
7370 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=yes'
7372 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=no
'
7377 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7378 if test "x$LINE" != x ; then
7379 eval "DEFAULT_$LINE"
7384 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
='$DEFAULT_wxUSE_SCROLLBAR
7388 eval "$ac_cv_use_scrollbar"
7389 if test "$no_cache" != 1; then
7390 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7393 if test "$wxUSE_SCROLLBAR" = yes; then
7394 echo "$as_me:$LINENO: result: yes" >&5
7395 echo "${ECHO_T}yes" >&6
7397 echo "$as_me:$LINENO: result: no" >&5
7398 echo "${ECHO_T}no" >&6
7403 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7404 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7406 # Check whether --enable-slider or --disable-slider was given.
7407 if test "${enable_slider+set}" = set; then
7408 enableval="$enable_slider"
7410 if test "$enableval" = yes; then
7411 ac_cv_use_slider='wxUSE_SLIDER
=yes'
7413 ac_cv_use_slider='wxUSE_SLIDER
=no
'
7418 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7419 if test "x$LINE" != x ; then
7420 eval "DEFAULT_$LINE"
7425 ac_cv_use_slider='wxUSE_SLIDER
='$DEFAULT_wxUSE_SLIDER
7429 eval "$ac_cv_use_slider"
7430 if test "$no_cache" != 1; then
7431 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7434 if test "$wxUSE_SLIDER" = yes; then
7435 echo "$as_me:$LINENO: result: yes" >&5
7436 echo "${ECHO_T}yes" >&6
7438 echo "$as_me:$LINENO: result: no" >&5
7439 echo "${ECHO_T}no" >&6
7444 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7445 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7447 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7448 if test "${enable_spinbtn+set}" = set; then
7449 enableval="$enable_spinbtn"
7451 if test "$enableval" = yes; then
7452 ac_cv_use_spinbtn='wxUSE_SPINBTN
=yes'
7454 ac_cv_use_spinbtn='wxUSE_SPINBTN
=no
'
7459 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7460 if test "x$LINE" != x ; then
7461 eval "DEFAULT_$LINE"
7466 ac_cv_use_spinbtn='wxUSE_SPINBTN
='$DEFAULT_wxUSE_SPINBTN
7470 eval "$ac_cv_use_spinbtn"
7471 if test "$no_cache" != 1; then
7472 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7475 if test "$wxUSE_SPINBTN" = yes; then
7476 echo "$as_me:$LINENO: result: yes" >&5
7477 echo "${ECHO_T}yes" >&6
7479 echo "$as_me:$LINENO: result: no" >&5
7480 echo "${ECHO_T}no" >&6
7485 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7486 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7488 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7489 if test "${enable_spinctrl+set}" = set; then
7490 enableval="$enable_spinctrl"
7492 if test "$enableval" = yes; then
7493 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=yes'
7495 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=no
'
7500 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7501 if test "x$LINE" != x ; then
7502 eval "DEFAULT_$LINE"
7507 ac_cv_use_spinctrl='wxUSE_SPINCTRL
='$DEFAULT_wxUSE_SPINCTRL
7511 eval "$ac_cv_use_spinctrl"
7512 if test "$no_cache" != 1; then
7513 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7516 if test "$wxUSE_SPINCTRL" = yes; then
7517 echo "$as_me:$LINENO: result: yes" >&5
7518 echo "${ECHO_T}yes" >&6
7520 echo "$as_me:$LINENO: result: no" >&5
7521 echo "${ECHO_T}no" >&6
7526 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7527 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7529 # Check whether --enable-splitter or --disable-splitter was given.
7530 if test "${enable_splitter+set}" = set; then
7531 enableval="$enable_splitter"
7533 if test "$enableval" = yes; then
7534 ac_cv_use_splitter='wxUSE_SPLITTER
=yes'
7536 ac_cv_use_splitter='wxUSE_SPLITTER
=no
'
7541 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7542 if test "x$LINE" != x ; then
7543 eval "DEFAULT_$LINE"
7548 ac_cv_use_splitter='wxUSE_SPLITTER
='$DEFAULT_wxUSE_SPLITTER
7552 eval "$ac_cv_use_splitter"
7553 if test "$no_cache" != 1; then
7554 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7557 if test "$wxUSE_SPLITTER" = yes; then
7558 echo "$as_me:$LINENO: result: yes" >&5
7559 echo "${ECHO_T}yes" >&6
7561 echo "$as_me:$LINENO: result: no" >&5
7562 echo "${ECHO_T}no" >&6
7567 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7568 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7570 # Check whether --enable-statbmp or --disable-statbmp was given.
7571 if test "${enable_statbmp+set}" = set; then
7572 enableval="$enable_statbmp"
7574 if test "$enableval" = yes; then
7575 ac_cv_use_statbmp='wxUSE_STATBMP
=yes'
7577 ac_cv_use_statbmp='wxUSE_STATBMP
=no
'
7582 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7583 if test "x$LINE" != x ; then
7584 eval "DEFAULT_$LINE"
7589 ac_cv_use_statbmp='wxUSE_STATBMP
='$DEFAULT_wxUSE_STATBMP
7593 eval "$ac_cv_use_statbmp"
7594 if test "$no_cache" != 1; then
7595 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7598 if test "$wxUSE_STATBMP" = yes; then
7599 echo "$as_me:$LINENO: result: yes" >&5
7600 echo "${ECHO_T}yes" >&6
7602 echo "$as_me:$LINENO: result: no" >&5
7603 echo "${ECHO_T}no" >&6
7608 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7609 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7611 # Check whether --enable-statbox or --disable-statbox was given.
7612 if test "${enable_statbox+set}" = set; then
7613 enableval="$enable_statbox"
7615 if test "$enableval" = yes; then
7616 ac_cv_use_statbox='wxUSE_STATBOX
=yes'
7618 ac_cv_use_statbox='wxUSE_STATBOX
=no
'
7623 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7624 if test "x$LINE" != x ; then
7625 eval "DEFAULT_$LINE"
7630 ac_cv_use_statbox='wxUSE_STATBOX
='$DEFAULT_wxUSE_STATBOX
7634 eval "$ac_cv_use_statbox"
7635 if test "$no_cache" != 1; then
7636 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7639 if test "$wxUSE_STATBOX" = yes; then
7640 echo "$as_me:$LINENO: result: yes" >&5
7641 echo "${ECHO_T}yes" >&6
7643 echo "$as_me:$LINENO: result: no" >&5
7644 echo "${ECHO_T}no" >&6
7649 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7650 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7652 # Check whether --enable-statline or --disable-statline was given.
7653 if test "${enable_statline+set}" = set; then
7654 enableval="$enable_statline"
7656 if test "$enableval" = yes; then
7657 ac_cv_use_statline='wxUSE_STATLINE
=yes'
7659 ac_cv_use_statline='wxUSE_STATLINE
=no
'
7664 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7665 if test "x$LINE" != x ; then
7666 eval "DEFAULT_$LINE"
7671 ac_cv_use_statline='wxUSE_STATLINE
='$DEFAULT_wxUSE_STATLINE
7675 eval "$ac_cv_use_statline"
7676 if test "$no_cache" != 1; then
7677 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7680 if test "$wxUSE_STATLINE" = yes; then
7681 echo "$as_me:$LINENO: result: yes" >&5
7682 echo "${ECHO_T}yes" >&6
7684 echo "$as_me:$LINENO: result: no" >&5
7685 echo "${ECHO_T}no" >&6
7690 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
7691 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
7693 # Check whether --enable-stattext or --disable-stattext was given.
7694 if test "${enable_stattext+set}" = set; then
7695 enableval="$enable_stattext"
7697 if test "$enableval" = yes; then
7698 ac_cv_use_stattext='wxUSE_STATTEXT
=yes'
7700 ac_cv_use_stattext='wxUSE_STATTEXT
=no
'
7705 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7706 if test "x$LINE" != x ; then
7707 eval "DEFAULT_$LINE"
7712 ac_cv_use_stattext='wxUSE_STATTEXT
='$DEFAULT_wxUSE_STATTEXT
7716 eval "$ac_cv_use_stattext"
7717 if test "$no_cache" != 1; then
7718 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7721 if test "$wxUSE_STATTEXT" = yes; then
7722 echo "$as_me:$LINENO: result: yes" >&5
7723 echo "${ECHO_T}yes" >&6
7725 echo "$as_me:$LINENO: result: no" >&5
7726 echo "${ECHO_T}no" >&6
7731 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
7732 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
7734 # Check whether --enable-statusbar or --disable-statusbar was given.
7735 if test "${enable_statusbar+set}" = set; then
7736 enableval="$enable_statusbar"
7738 if test "$enableval" = yes; then
7739 ac_cv_use_statusbar='wxUSE_STATUSBAR
=yes'
7741 ac_cv_use_statusbar='wxUSE_STATUSBAR
=no
'
7746 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7747 if test "x$LINE" != x ; then
7748 eval "DEFAULT_$LINE"
7753 ac_cv_use_statusbar='wxUSE_STATUSBAR
='$DEFAULT_wxUSE_STATUSBAR
7757 eval "$ac_cv_use_statusbar"
7758 if test "$no_cache" != 1; then
7759 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7762 if test "$wxUSE_STATUSBAR" = yes; then
7763 echo "$as_me:$LINENO: result: yes" >&5
7764 echo "${ECHO_T}yes" >&6
7766 echo "$as_me:$LINENO: result: no" >&5
7767 echo "${ECHO_T}no" >&6
7772 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
7773 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
7775 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7776 if test "${enable_tabdialog+set}" = set; then
7777 enableval="$enable_tabdialog"
7779 if test "$enableval" = yes; then
7780 ac_cv_use_tabdialog='wxUSE_TABDIALOG
=yes'
7782 ac_cv_use_tabdialog='wxUSE_TABDIALOG
=no
'
7787 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7788 if test "x$LINE" != x ; then
7789 eval "DEFAULT_$LINE"
7794 ac_cv_use_tabdialog='wxUSE_TABDIALOG
='$DEFAULT_wxUSE_TABDIALOG
7798 eval "$ac_cv_use_tabdialog"
7799 if test "$no_cache" != 1; then
7800 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7803 if test "$wxUSE_TABDIALOG" = yes; then
7804 echo "$as_me:$LINENO: result: yes" >&5
7805 echo "${ECHO_T}yes" >&6
7807 echo "$as_me:$LINENO: result: no" >&5
7808 echo "${ECHO_T}no" >&6
7813 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
7814 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
7816 # Check whether --enable-textctrl or --disable-textctrl was given.
7817 if test "${enable_textctrl+set}" = set; then
7818 enableval="$enable_textctrl"
7820 if test "$enableval" = yes; then
7821 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=yes'
7823 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=no
'
7828 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7829 if test "x$LINE" != x ; then
7830 eval "DEFAULT_$LINE"
7835 ac_cv_use_textctrl='wxUSE_TEXTCTRL
='$DEFAULT_wxUSE_TEXTCTRL
7839 eval "$ac_cv_use_textctrl"
7840 if test "$no_cache" != 1; then
7841 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7844 if test "$wxUSE_TEXTCTRL" = yes; then
7845 echo "$as_me:$LINENO: result: yes" >&5
7846 echo "${ECHO_T}yes" >&6
7848 echo "$as_me:$LINENO: result: no" >&5
7849 echo "${ECHO_T}no" >&6
7854 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
7855 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
7857 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7858 if test "${enable_togglebtn+set}" = set; then
7859 enableval="$enable_togglebtn"
7861 if test "$enableval" = yes; then
7862 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=yes'
7864 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=no
'
7869 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7870 if test "x$LINE" != x ; then
7871 eval "DEFAULT_$LINE"
7876 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
='$DEFAULT_wxUSE_TOGGLEBTN
7880 eval "$ac_cv_use_togglebtn"
7881 if test "$no_cache" != 1; then
7882 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7885 if test "$wxUSE_TOGGLEBTN" = yes; then
7886 echo "$as_me:$LINENO: result: yes" >&5
7887 echo "${ECHO_T}yes" >&6
7889 echo "$as_me:$LINENO: result: no" >&5
7890 echo "${ECHO_T}no" >&6
7895 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
7896 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
7898 # Check whether --enable-toolbar or --disable-toolbar was given.
7899 if test "${enable_toolbar+set}" = set; then
7900 enableval="$enable_toolbar"
7902 if test "$enableval" = yes; then
7903 ac_cv_use_toolbar='wxUSE_TOOLBAR
=yes'
7905 ac_cv_use_toolbar='wxUSE_TOOLBAR
=no
'
7910 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7911 if test "x$LINE" != x ; then
7912 eval "DEFAULT_$LINE"
7917 ac_cv_use_toolbar='wxUSE_TOOLBAR
='$DEFAULT_wxUSE_TOOLBAR
7921 eval "$ac_cv_use_toolbar"
7922 if test "$no_cache" != 1; then
7923 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7926 if test "$wxUSE_TOOLBAR" = yes; then
7927 echo "$as_me:$LINENO: result: yes" >&5
7928 echo "${ECHO_T}yes" >&6
7930 echo "$as_me:$LINENO: result: no" >&5
7931 echo "${ECHO_T}no" >&6
7936 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
7937 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
7939 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7940 if test "${enable_tbarnative+set}" = set; then
7941 enableval="$enable_tbarnative"
7943 if test "$enableval" = yes; then
7944 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=yes'
7946 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=no
'
7951 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7952 if test "x$LINE" != x ; then
7953 eval "DEFAULT_$LINE"
7958 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7962 eval "$ac_cv_use_tbarnative"
7963 if test "$no_cache" != 1; then
7964 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7967 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7968 echo "$as_me:$LINENO: result: yes" >&5
7969 echo "${ECHO_T}yes" >&6
7971 echo "$as_me:$LINENO: result: no" >&5
7972 echo "${ECHO_T}no" >&6
7977 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
7978 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
7980 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7981 if test "${enable_tbarsmpl+set}" = set; then
7982 enableval="$enable_tbarsmpl"
7984 if test "$enableval" = yes; then
7985 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
=yes'
7987 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
=no
'
7992 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7993 if test "x$LINE" != x ; then
7994 eval "DEFAULT_$LINE"
7999 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8003 eval "$ac_cv_use_tbarsmpl"
8004 if test "$no_cache" != 1; then
8005 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8008 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8009 echo "$as_me:$LINENO: result: yes" >&5
8010 echo "${ECHO_T}yes" >&6
8012 echo "$as_me:$LINENO: result: no" >&5
8013 echo "${ECHO_T}no" >&6
8018 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8019 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8021 # Check whether --enable-treectrl or --disable-treectrl was given.
8022 if test "${enable_treectrl+set}" = set; then
8023 enableval="$enable_treectrl"
8025 if test "$enableval" = yes; then
8026 ac_cv_use_treectrl='wxUSE_TREECTRL
=yes'
8028 ac_cv_use_treectrl='wxUSE_TREECTRL
=no
'
8033 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8034 if test "x$LINE" != x ; then
8035 eval "DEFAULT_$LINE"
8040 ac_cv_use_treectrl='wxUSE_TREECTRL
='$DEFAULT_wxUSE_TREECTRL
8044 eval "$ac_cv_use_treectrl"
8045 if test "$no_cache" != 1; then
8046 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8049 if test "$wxUSE_TREECTRL" = yes; then
8050 echo "$as_me:$LINENO: result: yes" >&5
8051 echo "${ECHO_T}yes" >&6
8053 echo "$as_me:$LINENO: result: no" >&5
8054 echo "${ECHO_T}no" >&6
8059 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8060 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8062 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8063 if test "${enable_tipwindow+set}" = set; then
8064 enableval="$enable_tipwindow"
8066 if test "$enableval" = yes; then
8067 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
8069 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
8074 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8075 if test "x$LINE" != x ; then
8076 eval "DEFAULT_$LINE"
8081 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
='$DEFAULT_wxUSE_TIPWINDOW
8085 eval "$ac_cv_use_tipwindow"
8086 if test "$no_cache" != 1; then
8087 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8090 if test "$wxUSE_TIPWINDOW" = yes; then
8091 echo "$as_me:$LINENO: result: yes" >&5
8092 echo "${ECHO_T}yes" >&6
8094 echo "$as_me:$LINENO: result: no" >&5
8095 echo "${ECHO_T}no" >&6
8100 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8101 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8103 # Check whether --enable-popupwin or --disable-popupwin was given.
8104 if test "${enable_popupwin+set}" = set; then
8105 enableval="$enable_popupwin"
8107 if test "$enableval" = yes; then
8108 ac_cv_use_popupwin='wxUSE_POPUPWIN
=yes'
8110 ac_cv_use_popupwin='wxUSE_POPUPWIN
=no
'
8115 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8116 if test "x$LINE" != x ; then
8117 eval "DEFAULT_$LINE"
8122 ac_cv_use_popupwin='wxUSE_POPUPWIN
='$DEFAULT_wxUSE_POPUPWIN
8126 eval "$ac_cv_use_popupwin"
8127 if test "$no_cache" != 1; then
8128 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8131 if test "$wxUSE_POPUPWIN" = yes; then
8132 echo "$as_me:$LINENO: result: yes" >&5
8133 echo "${ECHO_T}yes" >&6
8135 echo "$as_me:$LINENO: result: no" >&5
8136 echo "${ECHO_T}no" >&6
8143 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8144 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8146 # Check whether --enable-commondlg or --disable-commondlg was given.
8147 if test "${enable_commondlg+set}" = set; then
8148 enableval="$enable_commondlg"
8150 if test "$enableval" = yes; then
8151 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=yes'
8153 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=no
'
8158 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8159 if test "x$LINE" != x ; then
8160 eval "DEFAULT_$LINE"
8165 ac_cv_use_commondlg='wxUSE_COMMONDLGS
='$DEFAULT_wxUSE_COMMONDLGS
8169 eval "$ac_cv_use_commondlg"
8170 if test "$no_cache" != 1; then
8171 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8174 if test "$wxUSE_COMMONDLGS" = yes; then
8175 echo "$as_me:$LINENO: result: yes" >&5
8176 echo "${ECHO_T}yes" >&6
8178 echo "$as_me:$LINENO: result: no" >&5
8179 echo "${ECHO_T}no" >&6
8184 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8185 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8187 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8188 if test "${enable_choicedlg+set}" = set; then
8189 enableval="$enable_choicedlg"
8191 if test "$enableval" = yes; then
8192 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
8194 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
8199 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8200 if test "x$LINE" != x ; then
8201 eval "DEFAULT_$LINE"
8206 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
='$DEFAULT_wxUSE_CHOICEDLG
8210 eval "$ac_cv_use_choicedlg"
8211 if test "$no_cache" != 1; then
8212 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8215 if test "$wxUSE_CHOICEDLG" = yes; then
8216 echo "$as_me:$LINENO: result: yes" >&5
8217 echo "${ECHO_T}yes" >&6
8219 echo "$as_me:$LINENO: result: no" >&5
8220 echo "${ECHO_T}no" >&6
8225 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8226 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8228 # Check whether --enable-coldlg or --disable-coldlg was given.
8229 if test "${enable_coldlg+set}" = set; then
8230 enableval="$enable_coldlg"
8232 if test "$enableval" = yes; then
8233 ac_cv_use_coldlg='wxUSE_COLOURDLG
=yes'
8235 ac_cv_use_coldlg='wxUSE_COLOURDLG
=no
'
8240 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8241 if test "x$LINE" != x ; then
8242 eval "DEFAULT_$LINE"
8247 ac_cv_use_coldlg='wxUSE_COLOURDLG
='$DEFAULT_wxUSE_COLOURDLG
8251 eval "$ac_cv_use_coldlg"
8252 if test "$no_cache" != 1; then
8253 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8256 if test "$wxUSE_COLOURDLG" = yes; then
8257 echo "$as_me:$LINENO: result: yes" >&5
8258 echo "${ECHO_T}yes" >&6
8260 echo "$as_me:$LINENO: result: no" >&5
8261 echo "${ECHO_T}no" >&6
8266 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8267 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8269 # Check whether --enable-filedlg or --disable-filedlg was given.
8270 if test "${enable_filedlg+set}" = set; then
8271 enableval="$enable_filedlg"
8273 if test "$enableval" = yes; then
8274 ac_cv_use_filedlg='wxUSE_FILEDLG
=yes'
8276 ac_cv_use_filedlg='wxUSE_FILEDLG
=no
'
8281 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8282 if test "x$LINE" != x ; then
8283 eval "DEFAULT_$LINE"
8288 ac_cv_use_filedlg='wxUSE_FILEDLG
='$DEFAULT_wxUSE_FILEDLG
8292 eval "$ac_cv_use_filedlg"
8293 if test "$no_cache" != 1; then
8294 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8297 if test "$wxUSE_FILEDLG" = yes; then
8298 echo "$as_me:$LINENO: result: yes" >&5
8299 echo "${ECHO_T}yes" >&6
8301 echo "$as_me:$LINENO: result: no" >&5
8302 echo "${ECHO_T}no" >&6
8307 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8308 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8310 # Check whether --enable-finddlg or --disable-finddlg was given.
8311 if test "${enable_finddlg+set}" = set; then
8312 enableval="$enable_finddlg"
8314 if test "$enableval" = yes; then
8315 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
8317 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
8322 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8323 if test "x$LINE" != x ; then
8324 eval "DEFAULT_$LINE"
8329 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
='$DEFAULT_wxUSE_FINDREPLDLG
8333 eval "$ac_cv_use_finddlg"
8334 if test "$no_cache" != 1; then
8335 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8338 if test "$wxUSE_FINDREPLDLG" = yes; then
8339 echo "$as_me:$LINENO: result: yes" >&5
8340 echo "${ECHO_T}yes" >&6
8342 echo "$as_me:$LINENO: result: no" >&5
8343 echo "${ECHO_T}no" >&6
8348 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8349 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8351 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8352 if test "${enable_fontdlg+set}" = set; then
8353 enableval="$enable_fontdlg"
8355 if test "$enableval" = yes; then
8356 ac_cv_use_fontdlg='wxUSE_FONTDLG
=yes'
8358 ac_cv_use_fontdlg='wxUSE_FONTDLG
=no
'
8363 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8364 if test "x$LINE" != x ; then
8365 eval "DEFAULT_$LINE"
8370 ac_cv_use_fontdlg='wxUSE_FONTDLG
='$DEFAULT_wxUSE_FONTDLG
8374 eval "$ac_cv_use_fontdlg"
8375 if test "$no_cache" != 1; then
8376 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8379 if test "$wxUSE_FONTDLG" = yes; then
8380 echo "$as_me:$LINENO: result: yes" >&5
8381 echo "${ECHO_T}yes" >&6
8383 echo "$as_me:$LINENO: result: no" >&5
8384 echo "${ECHO_T}no" >&6
8389 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8390 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8392 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8393 if test "${enable_dirdlg+set}" = set; then
8394 enableval="$enable_dirdlg"
8396 if test "$enableval" = yes; then
8397 ac_cv_use_dirdlg='wxUSE_DIRDLG
=yes'
8399 ac_cv_use_dirdlg='wxUSE_DIRDLG
=no
'
8404 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8405 if test "x$LINE" != x ; then
8406 eval "DEFAULT_$LINE"
8411 ac_cv_use_dirdlg='wxUSE_DIRDLG
='$DEFAULT_wxUSE_DIRDLG
8415 eval "$ac_cv_use_dirdlg"
8416 if test "$no_cache" != 1; then
8417 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8420 if test "$wxUSE_DIRDLG" = yes; then
8421 echo "$as_me:$LINENO: result: yes" >&5
8422 echo "${ECHO_T}yes" >&6
8424 echo "$as_me:$LINENO: result: no" >&5
8425 echo "${ECHO_T}no" >&6
8430 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8431 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8433 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8434 if test "${enable_msgdlg+set}" = set; then
8435 enableval="$enable_msgdlg"
8437 if test "$enableval" = yes; then
8438 ac_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
8440 ac_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
8445 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8446 if test "x$LINE" != x ; then
8447 eval "DEFAULT_$LINE"
8452 ac_cv_use_msgdlg='wxUSE_MSGDLG
='$DEFAULT_wxUSE_MSGDLG
8456 eval "$ac_cv_use_msgdlg"
8457 if test "$no_cache" != 1; then
8458 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8461 if test "$wxUSE_MSGDLG" = yes; then
8462 echo "$as_me:$LINENO: result: yes" >&5
8463 echo "${ECHO_T}yes" >&6
8465 echo "$as_me:$LINENO: result: no" >&5
8466 echo "${ECHO_T}no" >&6
8471 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8472 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8474 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8475 if test "${enable_numberdlg+set}" = set; then
8476 enableval="$enable_numberdlg"
8478 if test "$enableval" = yes; then
8479 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=yes'
8481 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=no
'
8486 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8487 if test "x$LINE" != x ; then
8488 eval "DEFAULT_$LINE"
8493 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
='$DEFAULT_wxUSE_NUMBERDLG
8497 eval "$ac_cv_use_numberdlg"
8498 if test "$no_cache" != 1; then
8499 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8502 if test "$wxUSE_NUMBERDLG" = yes; then
8503 echo "$as_me:$LINENO: result: yes" >&5
8504 echo "${ECHO_T}yes" >&6
8506 echo "$as_me:$LINENO: result: no" >&5
8507 echo "${ECHO_T}no" >&6
8512 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8513 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8515 # Check whether --enable-splash or --disable-splash was given.
8516 if test "${enable_splash+set}" = set; then
8517 enableval="$enable_splash"
8519 if test "$enableval" = yes; then
8520 ac_cv_use_splash='wxUSE_SPLASH
=yes'
8522 ac_cv_use_splash='wxUSE_SPLASH
=no
'
8527 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8528 if test "x$LINE" != x ; then
8529 eval "DEFAULT_$LINE"
8534 ac_cv_use_splash='wxUSE_SPLASH
='$DEFAULT_wxUSE_SPLASH
8538 eval "$ac_cv_use_splash"
8539 if test "$no_cache" != 1; then
8540 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8543 if test "$wxUSE_SPLASH" = yes; then
8544 echo "$as_me:$LINENO: result: yes" >&5
8545 echo "${ECHO_T}yes" >&6
8547 echo "$as_me:$LINENO: result: no" >&5
8548 echo "${ECHO_T}no" >&6
8553 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8554 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8556 # Check whether --enable-textdlg or --disable-textdlg was given.
8557 if test "${enable_textdlg+set}" = set; then
8558 enableval="$enable_textdlg"
8560 if test "$enableval" = yes; then
8561 ac_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
8563 ac_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
8568 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8569 if test "x$LINE" != x ; then
8570 eval "DEFAULT_$LINE"
8575 ac_cv_use_textdlg='wxUSE_TEXTDLG
='$DEFAULT_wxUSE_TEXTDLG
8579 eval "$ac_cv_use_textdlg"
8580 if test "$no_cache" != 1; then
8581 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8584 if test "$wxUSE_TEXTDLG" = yes; then
8585 echo "$as_me:$LINENO: result: yes" >&5
8586 echo "${ECHO_T}yes" >&6
8588 echo "$as_me:$LINENO: result: no" >&5
8589 echo "${ECHO_T}no" >&6
8594 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8595 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8597 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8598 if test "${enable_tipdlg+set}" = set; then
8599 enableval="$enable_tipdlg"
8601 if test "$enableval" = yes; then
8602 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=yes'
8604 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=no
'
8609 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8610 if test "x$LINE" != x ; then
8611 eval "DEFAULT_$LINE"
8616 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
='$DEFAULT_wxUSE_STARTUP_TIPS
8620 eval "$ac_cv_use_tipdlg"
8621 if test "$no_cache" != 1; then
8622 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8625 if test "$wxUSE_STARTUP_TIPS" = yes; then
8626 echo "$as_me:$LINENO: result: yes" >&5
8627 echo "${ECHO_T}yes" >&6
8629 echo "$as_me:$LINENO: result: no" >&5
8630 echo "${ECHO_T}no" >&6
8635 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8636 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8638 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8639 if test "${enable_progressdlg+set}" = set; then
8640 enableval="$enable_progressdlg"
8642 if test "$enableval" = yes; then
8643 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=yes'
8645 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=no
'
8650 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8651 if test "x$LINE" != x ; then
8652 eval "DEFAULT_$LINE"
8657 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
='$DEFAULT_wxUSE_PROGRESSDLG
8661 eval "$ac_cv_use_progressdlg"
8662 if test "$no_cache" != 1; then
8663 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8666 if test "$wxUSE_PROGRESSDLG" = yes; then
8667 echo "$as_me:$LINENO: result: yes" >&5
8668 echo "${ECHO_T}yes" >&6
8670 echo "$as_me:$LINENO: result: no" >&5
8671 echo "${ECHO_T}no" >&6
8676 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
8677 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
8679 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8680 if test "${enable_wizarddlg+set}" = set; then
8681 enableval="$enable_wizarddlg"
8683 if test "$enableval" = yes; then
8684 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
8686 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
8691 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8692 if test "x$LINE" != x ; then
8693 eval "DEFAULT_$LINE"
8698 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
='$DEFAULT_wxUSE_WIZARDDLG
8702 eval "$ac_cv_use_wizarddlg"
8703 if test "$no_cache" != 1; then
8704 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8707 if test "$wxUSE_WIZARDDLG" = yes; then
8708 echo "$as_me:$LINENO: result: yes" >&5
8709 echo "${ECHO_T}yes" >&6
8711 echo "$as_me:$LINENO: result: no" >&5
8712 echo "${ECHO_T}no" >&6
8719 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
8720 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
8722 # Check whether --enable-menus or --disable-menus was given.
8723 if test "${enable_menus+set}" = set; then
8724 enableval="$enable_menus"
8726 if test "$enableval" = yes; then
8727 ac_cv_use_menus='wxUSE_MENUS
=yes'
8729 ac_cv_use_menus='wxUSE_MENUS
=no
'
8734 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8735 if test "x$LINE" != x ; then
8736 eval "DEFAULT_$LINE"
8741 ac_cv_use_menus='wxUSE_MENUS
='$DEFAULT_wxUSE_MENUS
8745 eval "$ac_cv_use_menus"
8746 if test "$no_cache" != 1; then
8747 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8750 if test "$wxUSE_MENUS" = yes; then
8751 echo "$as_me:$LINENO: result: yes" >&5
8752 echo "${ECHO_T}yes" >&6
8754 echo "$as_me:$LINENO: result: no" >&5
8755 echo "${ECHO_T}no" >&6
8760 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
8761 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
8763 # Check whether --enable-miniframe or --disable-miniframe was given.
8764 if test "${enable_miniframe+set}" = set; then
8765 enableval="$enable_miniframe"
8767 if test "$enableval" = yes; then
8768 ac_cv_use_miniframe='wxUSE_MINIFRAME
=yes'
8770 ac_cv_use_miniframe='wxUSE_MINIFRAME
=no
'
8775 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8776 if test "x$LINE" != x ; then
8777 eval "DEFAULT_$LINE"
8782 ac_cv_use_miniframe='wxUSE_MINIFRAME
='$DEFAULT_wxUSE_MINIFRAME
8786 eval "$ac_cv_use_miniframe"
8787 if test "$no_cache" != 1; then
8788 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8791 if test "$wxUSE_MINIFRAME" = yes; then
8792 echo "$as_me:$LINENO: result: yes" >&5
8793 echo "${ECHO_T}yes" >&6
8795 echo "$as_me:$LINENO: result: no" >&5
8796 echo "${ECHO_T}no" >&6
8801 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
8802 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
8804 # Check whether --enable-tooltips or --disable-tooltips was given.
8805 if test "${enable_tooltips+set}" = set; then
8806 enableval="$enable_tooltips"
8808 if test "$enableval" = yes; then
8809 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
8811 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
8816 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8817 if test "x$LINE" != x ; then
8818 eval "DEFAULT_$LINE"
8823 ac_cv_use_tooltips='wxUSE_TOOLTIPS
='$DEFAULT_wxUSE_TOOLTIPS
8827 eval "$ac_cv_use_tooltips"
8828 if test "$no_cache" != 1; then
8829 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8832 if test "$wxUSE_TOOLTIPS" = yes; then
8833 echo "$as_me:$LINENO: result: yes" >&5
8834 echo "${ECHO_T}yes" >&6
8836 echo "$as_me:$LINENO: result: no" >&5
8837 echo "${ECHO_T}no" >&6
8842 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
8843 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
8845 # Check whether --enable-splines or --disable-splines was given.
8846 if test "${enable_splines+set}" = set; then
8847 enableval="$enable_splines"
8849 if test "$enableval" = yes; then
8850 ac_cv_use_splines='wxUSE_SPLINES
=yes'
8852 ac_cv_use_splines='wxUSE_SPLINES
=no
'
8857 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8858 if test "x$LINE" != x ; then
8859 eval "DEFAULT_$LINE"
8864 ac_cv_use_splines='wxUSE_SPLINES
='$DEFAULT_wxUSE_SPLINES
8868 eval "$ac_cv_use_splines"
8869 if test "$no_cache" != 1; then
8870 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8873 if test "$wxUSE_SPLINES" = yes; then
8874 echo "$as_me:$LINENO: result: yes" >&5
8875 echo "${ECHO_T}yes" >&6
8877 echo "$as_me:$LINENO: result: no" >&5
8878 echo "${ECHO_T}no" >&6
8883 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
8884 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
8886 # Check whether --enable-validators or --disable-validators was given.
8887 if test "${enable_validators+set}" = set; then
8888 enableval="$enable_validators"
8890 if test "$enableval" = yes; then
8891 ac_cv_use_validators='wxUSE_VALIDATORS
=yes'
8893 ac_cv_use_validators='wxUSE_VALIDATORS
=no
'
8898 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8899 if test "x$LINE" != x ; then
8900 eval "DEFAULT_$LINE"
8905 ac_cv_use_validators='wxUSE_VALIDATORS
='$DEFAULT_wxUSE_VALIDATORS
8909 eval "$ac_cv_use_validators"
8910 if test "$no_cache" != 1; then
8911 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8914 if test "$wxUSE_VALIDATORS" = yes; then
8915 echo "$as_me:$LINENO: result: yes" >&5
8916 echo "${ECHO_T}yes" >&6
8918 echo "$as_me:$LINENO: result: no" >&5
8919 echo "${ECHO_T}no" >&6
8924 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
8925 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
8927 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8928 if test "${enable_busyinfo+set}" = set; then
8929 enableval="$enable_busyinfo"
8931 if test "$enableval" = yes; then
8932 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=yes'
8934 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=no
'
8939 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8940 if test "x$LINE" != x ; then
8941 eval "DEFAULT_$LINE"
8946 ac_cv_use_busyinfo='wxUSE_BUSYINFO
='$DEFAULT_wxUSE_BUSYINFO
8950 eval "$ac_cv_use_busyinfo"
8951 if test "$no_cache" != 1; then
8952 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8955 if test "$wxUSE_BUSYINFO" = yes; then
8956 echo "$as_me:$LINENO: result: yes" >&5
8957 echo "${ECHO_T}yes" >&6
8959 echo "$as_me:$LINENO: result: no" >&5
8960 echo "${ECHO_T}no" >&6
8965 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
8966 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
8968 # Check whether --enable-joystick or --disable-joystick was given.
8969 if test "${enable_joystick+set}" = set; then
8970 enableval="$enable_joystick"
8972 if test "$enableval" = yes; then
8973 ac_cv_use_joystick='wxUSE_JOYSTICK
=yes'
8975 ac_cv_use_joystick='wxUSE_JOYSTICK
=no
'
8980 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8981 if test "x$LINE" != x ; then
8982 eval "DEFAULT_$LINE"
8987 ac_cv_use_joystick='wxUSE_JOYSTICK
='$DEFAULT_wxUSE_JOYSTICK
8991 eval "$ac_cv_use_joystick"
8992 if test "$no_cache" != 1; then
8993 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8996 if test "$wxUSE_JOYSTICK" = yes; then
8997 echo "$as_me:$LINENO: result: yes" >&5
8998 echo "${ECHO_T}yes" >&6
9000 echo "$as_me:$LINENO: result: no" >&5
9001 echo "${ECHO_T}no" >&6
9006 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9007 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9009 # Check whether --enable-metafile or --disable-metafile was given.
9010 if test "${enable_metafile+set}" = set; then
9011 enableval="$enable_metafile"
9013 if test "$enableval" = yes; then
9014 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
9016 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
9021 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9022 if test "x$LINE" != x ; then
9023 eval "DEFAULT_$LINE"
9028 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
9032 eval "$ac_cv_use_metafile"
9033 if test "$no_cache" != 1; then
9034 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9037 if test "$wxUSE_METAFILE" = yes; then
9038 echo "$as_me:$LINENO: result: yes" >&5
9039 echo "${ECHO_T}yes" >&6
9041 echo "$as_me:$LINENO: result: no" >&5
9042 echo "${ECHO_T}no" >&6
9047 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9048 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9050 # Check whether --enable-dragimage or --disable-dragimage was given.
9051 if test "${enable_dragimage+set}" = set; then
9052 enableval="$enable_dragimage"
9054 if test "$enableval" = yes; then
9055 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=yes'
9057 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=no
'
9062 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9063 if test "x$LINE" != x ; then
9064 eval "DEFAULT_$LINE"
9069 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
='$DEFAULT_wxUSE_DRAGIMAGE
9073 eval "$ac_cv_use_dragimage"
9074 if test "$no_cache" != 1; then
9075 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9078 if test "$wxUSE_DRAGIMAGE" = yes; then
9079 echo "$as_me:$LINENO: result: yes" >&5
9080 echo "${ECHO_T}yes" >&6
9082 echo "$as_me:$LINENO: result: no" >&5
9083 echo "${ECHO_T}no" >&6
9088 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9089 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9091 # Check whether --enable-accessibility or --disable-accessibility was given.
9092 if test "${enable_accessibility+set}" = set; then
9093 enableval="$enable_accessibility"
9095 if test "$enableval" = yes; then
9096 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=yes'
9098 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=no
'
9103 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9104 if test "x$LINE" != x ; then
9105 eval "DEFAULT_$LINE"
9110 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
='$DEFAULT_wxUSE_ACCESSIBILITY
9114 eval "$ac_cv_use_accessibility"
9115 if test "$no_cache" != 1; then
9116 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9119 if test "$wxUSE_ACCESSIBILITY" = yes; then
9120 echo "$as_me:$LINENO: result: yes" >&5
9121 echo "${ECHO_T}yes" >&6
9123 echo "$as_me:$LINENO: result: no" >&5
9124 echo "${ECHO_T}no" >&6
9131 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9132 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9134 # Check whether --enable-palette or --disable-palette was given.
9135 if test "${enable_palette+set}" = set; then
9136 enableval="$enable_palette"
9138 if test "$enableval" = yes; then
9139 ac_cv_use_palette='wxUSE_PALETTE
=yes'
9141 ac_cv_use_palette='wxUSE_PALETTE
=no
'
9146 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9147 if test "x$LINE" != x ; then
9148 eval "DEFAULT_$LINE"
9153 ac_cv_use_palette='wxUSE_PALETTE
='$DEFAULT_wxUSE_PALETTE
9157 eval "$ac_cv_use_palette"
9158 if test "$no_cache" != 1; then
9159 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9162 if test "$wxUSE_PALETTE" = yes; then
9163 echo "$as_me:$LINENO: result: yes" >&5
9164 echo "${ECHO_T}yes" >&6
9166 echo "$as_me:$LINENO: result: no" >&5
9167 echo "${ECHO_T}no" >&6
9172 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9173 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9175 # Check whether --enable-image or --disable-image was given.
9176 if test "${enable_image+set}" = set; then
9177 enableval="$enable_image"
9179 if test "$enableval" = yes; then
9180 ac_cv_use_image='wxUSE_IMAGE
=yes'
9182 ac_cv_use_image='wxUSE_IMAGE
=no
'
9187 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9188 if test "x$LINE" != x ; then
9189 eval "DEFAULT_$LINE"
9194 ac_cv_use_image='wxUSE_IMAGE
='$DEFAULT_wxUSE_IMAGE
9198 eval "$ac_cv_use_image"
9199 if test "$no_cache" != 1; then
9200 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9203 if test "$wxUSE_IMAGE" = yes; then
9204 echo "$as_me:$LINENO: result: yes" >&5
9205 echo "${ECHO_T}yes" >&6
9207 echo "$as_me:$LINENO: result: no" >&5
9208 echo "${ECHO_T}no" >&6
9213 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9214 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9216 # Check whether --enable-gif or --disable-gif was given.
9217 if test "${enable_gif+set}" = set; then
9218 enableval="$enable_gif"
9220 if test "$enableval" = yes; then
9221 ac_cv_use_gif='wxUSE_GIF
=yes'
9223 ac_cv_use_gif='wxUSE_GIF
=no
'
9228 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9229 if test "x$LINE" != x ; then
9230 eval "DEFAULT_$LINE"
9235 ac_cv_use_gif='wxUSE_GIF
='$DEFAULT_wxUSE_GIF
9239 eval "$ac_cv_use_gif"
9240 if test "$no_cache" != 1; then
9241 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9244 if test "$wxUSE_GIF" = yes; then
9245 echo "$as_me:$LINENO: result: yes" >&5
9246 echo "${ECHO_T}yes" >&6
9248 echo "$as_me:$LINENO: result: no" >&5
9249 echo "${ECHO_T}no" >&6
9254 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9255 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9257 # Check whether --enable-pcx or --disable-pcx was given.
9258 if test "${enable_pcx+set}" = set; then
9259 enableval="$enable_pcx"
9261 if test "$enableval" = yes; then
9262 ac_cv_use_pcx='wxUSE_PCX
=yes'
9264 ac_cv_use_pcx='wxUSE_PCX
=no
'
9269 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9270 if test "x$LINE" != x ; then
9271 eval "DEFAULT_$LINE"
9276 ac_cv_use_pcx='wxUSE_PCX
='$DEFAULT_wxUSE_PCX
9280 eval "$ac_cv_use_pcx"
9281 if test "$no_cache" != 1; then
9282 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9285 if test "$wxUSE_PCX" = yes; then
9286 echo "$as_me:$LINENO: result: yes" >&5
9287 echo "${ECHO_T}yes" >&6
9289 echo "$as_me:$LINENO: result: no" >&5
9290 echo "${ECHO_T}no" >&6
9295 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9296 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9298 # Check whether --enable-iff or --disable-iff was given.
9299 if test "${enable_iff+set}" = set; then
9300 enableval="$enable_iff"
9302 if test "$enableval" = yes; then
9303 ac_cv_use_iff='wxUSE_IFF
=yes'
9305 ac_cv_use_iff='wxUSE_IFF
=no
'
9310 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9311 if test "x$LINE" != x ; then
9312 eval "DEFAULT_$LINE"
9317 ac_cv_use_iff='wxUSE_IFF
='$DEFAULT_wxUSE_IFF
9321 eval "$ac_cv_use_iff"
9322 if test "$no_cache" != 1; then
9323 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9326 if test "$wxUSE_IFF" = yes; then
9327 echo "$as_me:$LINENO: result: yes" >&5
9328 echo "${ECHO_T}yes" >&6
9330 echo "$as_me:$LINENO: result: no" >&5
9331 echo "${ECHO_T}no" >&6
9336 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9337 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9339 # Check whether --enable-pnm or --disable-pnm was given.
9340 if test "${enable_pnm+set}" = set; then
9341 enableval="$enable_pnm"
9343 if test "$enableval" = yes; then
9344 ac_cv_use_pnm='wxUSE_PNM
=yes'
9346 ac_cv_use_pnm='wxUSE_PNM
=no
'
9351 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9352 if test "x$LINE" != x ; then
9353 eval "DEFAULT_$LINE"
9358 ac_cv_use_pnm='wxUSE_PNM
='$DEFAULT_wxUSE_PNM
9362 eval "$ac_cv_use_pnm"
9363 if test "$no_cache" != 1; then
9364 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9367 if test "$wxUSE_PNM" = yes; then
9368 echo "$as_me:$LINENO: result: yes" >&5
9369 echo "${ECHO_T}yes" >&6
9371 echo "$as_me:$LINENO: result: no" >&5
9372 echo "${ECHO_T}no" >&6
9377 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9378 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9380 # Check whether --enable-xpm or --disable-xpm was given.
9381 if test "${enable_xpm+set}" = set; then
9382 enableval="$enable_xpm"
9384 if test "$enableval" = yes; then
9385 ac_cv_use_xpm='wxUSE_XPM
=yes'
9387 ac_cv_use_xpm='wxUSE_XPM
=no
'
9392 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9393 if test "x$LINE" != x ; then
9394 eval "DEFAULT_$LINE"
9399 ac_cv_use_xpm='wxUSE_XPM
='$DEFAULT_wxUSE_XPM
9403 eval "$ac_cv_use_xpm"
9404 if test "$no_cache" != 1; then
9405 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9408 if test "$wxUSE_XPM" = yes; then
9409 echo "$as_me:$LINENO: result: yes" >&5
9410 echo "${ECHO_T}yes" >&6
9412 echo "$as_me:$LINENO: result: no" >&5
9413 echo "${ECHO_T}no" >&6
9418 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9419 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9421 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9422 if test "${enable_ico_cur+set}" = set; then
9423 enableval="$enable_ico_cur"
9425 if test "$enableval" = yes; then
9426 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=yes'
9428 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=no
'
9433 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9434 if test "x$LINE" != x ; then
9435 eval "DEFAULT_$LINE"
9440 ac_cv_use_ico_cur='wxUSE_ICO_CUR
='$DEFAULT_wxUSE_ICO_CUR
9444 eval "$ac_cv_use_ico_cur"
9445 if test "$no_cache" != 1; then
9446 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9449 if test "$wxUSE_ICO_CUR" = yes; then
9450 echo "$as_me:$LINENO: result: yes" >&5
9451 echo "${ECHO_T}yes" >&6
9453 echo "$as_me:$LINENO: result: no" >&5
9454 echo "${ECHO_T}no" >&6
9463 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9464 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9466 # Check whether --enable-official_build or --disable-official_build was given.
9467 if test "${enable_official_build+set}" = set; then
9468 enableval="$enable_official_build"
9470 if test "$enableval" = yes; then
9471 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
9473 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
9478 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9479 if test "x$LINE" != x ; then
9480 eval "DEFAULT_$LINE"
9485 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
='$DEFAULT_wxUSE_OFFICIAL_BUILD
9489 eval "$ac_cv_use_official_build"
9490 if test "$no_cache" != 1; then
9491 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9494 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9495 echo "$as_me:$LINENO: result: yes" >&5
9496 echo "${ECHO_T}yes" >&6
9498 echo "$as_me:$LINENO: result: no" >&5
9499 echo "${ECHO_T}no" >&6
9502 # Check whether --enable-vendor or --disable-vendor was given.
9503 if test "${enable_vendor+set}" = set; then
9504 enableval="$enable_vendor"
9507 if test "x$VENDOR" = "x"; then
9512 *-pc-os2_emx | *-pc-os2-emx )
9524 echo "saving argument cache $wx_arg_cache_file"
9525 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9529 echo "$as_me:$LINENO: checking for toolkit" >&5
9530 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9532 # In Wine, we need to default to MSW, not GTK or MOTIF
9533 if test "$wxUSE_WINE" = "yes"; then
9534 DEFAULT_DEFAULT_wxUSE_GTK=0
9535 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9536 DEFAULT_DEFAULT_wxUSE_MSW=1
9539 if test "$wxUSE_GUI" = "yes"; then
9541 if test "$USE_BEOS" = 1; then
9542 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9543 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9544 { (exit 1); exit 1; }; }
9547 if test "$TOOLKIT_GIVEN" = 1; then
9548 for toolkit in `echo $ALL_TOOLKITS`; do
9550 eval "value=\$${var}"
9551 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9554 for toolkit in `echo $ALL_TOOLKITS`; do
9555 if test "$has_toolkit_in_cache" != 1; then
9556 var=DEFAULT_DEFAULT_wxUSE_$toolkit
9558 var=DEFAULT_wxUSE_$toolkit
9560 eval "wxUSE_$toolkit=\$${var}"
9564 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9565 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9566 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9569 *-pc-os2_emx | *-pc-os2-emx )
9570 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9573 case "$NUM_TOOLKITS" in
9577 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9578 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9579 { (exit 1); exit 1; }; }
9582 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9583 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9584 { (exit 1); exit 1; }; }
9587 for toolkit in `echo $ALL_TOOLKITS`; do
9589 eval "value=\$${var}"
9590 if test "x$value" != x; then
9591 cache_var=CACHE_$toolkit
9592 eval "cache=\$${cache_var}"
9593 if test "$cache" = 1; then
9594 echo "$var=$value" >> ${wx_arg_cache_file}
9596 if test "$value" = 1; then
9597 toolkit_echo=`echo $toolkit | tr [A-Z] [a-z]`
9598 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9599 echo "${ECHO_T}$toolkit_echo" >&6
9604 if test "x$host_alias" != "x"; then
9605 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9606 echo "${ECHO_T}base ($host_alias hosted) only" >&6
9608 echo "$as_me:$LINENO: result: base only" >&5
9609 echo "${ECHO_T}base only" >&6
9617 if test "$wxUSE_MSW" = 1 ; then
9628 if test "$wxUSE_WINE" = "yes"; then
9635 if test "$wants_win32" = 1 ; then
9638 cat >>confdefs.h <<\_ACEOF
9642 cat >>confdefs.h <<\_ACEOF
9646 cat >>confdefs.h <<\_ACEOF
9647 #define __WINDOWS__ 1
9650 cat >>confdefs.h <<\_ACEOF
9651 #define __GNUWIN32__ 1
9654 cat >>confdefs.h <<\_ACEOF
9658 cat >>confdefs.h <<\_ACEOF
9659 #define WINVER 0x0400
9663 if test "$doesnt_want_win32" = 1 ; then
9668 if test "$USE_UNIX" = 1 ; then
9670 cat >>confdefs.h <<\_ACEOF
9677 cat >confcache <<\_ACEOF
9678 # This file is a shell script that caches the results of configure
9679 # tests run on this system so they can be shared between configure
9680 # scripts and configure runs, see configure's option
--config-cache.
9681 # It is not useful on other systems. If it contains results you don't
9682 # want to keep, you may remove or edit it.
9684 # config.status only pays attention to the cache file if you give it
9685 # the --recheck option to rerun configure.
9687 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9688 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9693 # The following way of writing the cache mishandles newlines in values,
9694 # but we know of no workaround that is simple, portable, and efficient.
9695 # So, don't put newlines in cache variables' values.
9696 # Ultrix sh set writes to stderr and can't be redirected directly,
9697 # and sets the high bit in the cache file unless we assign to the vars.
9700 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9702 # `set' does not quote correctly, so add quotes (double-quote
9703 # substitution turns \\\\ into \\, and sed turns \\ into \).
9706 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9709 # `set' quotes correctly as required by POSIX, so do not add quotes.
9711 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9718 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9720 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9722 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
9723 if test -w $cache_file; then
9724 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9725 cat confcache
>$cache_file
9727 echo "not updating unwritable cache $cache_file"
9732 if test "$build" != "$host" ; then
9733 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
9737 RANLIB
=$host_alias-ranlib
9738 DLLTOOL
=$host_alias-dlltool
9739 RESCOMP
=$host_alias-windres
9742 STRIP
=$host_alias-strip
9744 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
9745 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
9746 { (exit 1); exit 1; }; }
9752 ac_cpp
='$CPP $CPPFLAGS'
9753 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9754 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9755 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9756 if test -n "$ac_tool_prefix"; then
9757 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9758 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
9759 echo "$as_me:$LINENO: checking for $ac_word" >&5
9760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9761 if test "${ac_cv_prog_CC+set}" = set; then
9762 echo $ECHO_N "(cached) $ECHO_C" >&6
9764 if test -n "$CC"; then
9765 ac_cv_prog_CC
="$CC" # Let the user override the test.
9767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9771 test -z "$as_dir" && as_dir
=.
9772 for ac_exec_ext
in '' $ac_executable_extensions; do
9773 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9774 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
9775 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9784 if test -n "$CC"; then
9785 echo "$as_me:$LINENO: result: $CC" >&5
9786 echo "${ECHO_T}$CC" >&6
9788 echo "$as_me:$LINENO: result: no" >&5
9789 echo "${ECHO_T}no" >&6
9793 if test -z "$ac_cv_prog_CC"; then
9795 # Extract the first word of "gcc", so it can be a program name with args.
9796 set dummy gcc
; ac_word
=$2
9797 echo "$as_me:$LINENO: checking for $ac_word" >&5
9798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9799 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9800 echo $ECHO_N "(cached) $ECHO_C" >&6
9802 if test -n "$ac_ct_CC"; then
9803 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
9805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9809 test -z "$as_dir" && as_dir
=.
9810 for ac_exec_ext
in '' $ac_executable_extensions; do
9811 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9812 ac_cv_prog_ac_ct_CC
="gcc"
9813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9821 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
9822 if test -n "$ac_ct_CC"; then
9823 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9824 echo "${ECHO_T}$ac_ct_CC" >&6
9826 echo "$as_me:$LINENO: result: no" >&5
9827 echo "${ECHO_T}no" >&6
9835 if test -z "$CC"; then
9836 if test -n "$ac_tool_prefix"; then
9837 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
9838 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
9839 echo "$as_me:$LINENO: checking for $ac_word" >&5
9840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9841 if test "${ac_cv_prog_CC+set}" = set; then
9842 echo $ECHO_N "(cached) $ECHO_C" >&6
9844 if test -n "$CC"; then
9845 ac_cv_prog_CC
="$CC" # Let the user override the test.
9847 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9851 test -z "$as_dir" && as_dir
=.
9852 for ac_exec_ext
in '' $ac_executable_extensions; do
9853 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9854 ac_cv_prog_CC
="${ac_tool_prefix}cc"
9855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9864 if test -n "$CC"; then
9865 echo "$as_me:$LINENO: result: $CC" >&5
9866 echo "${ECHO_T}$CC" >&6
9868 echo "$as_me:$LINENO: result: no" >&5
9869 echo "${ECHO_T}no" >&6
9873 if test -z "$ac_cv_prog_CC"; then
9875 # Extract the first word of "cc", so it can be a program name with args.
9876 set dummy cc
; ac_word
=$2
9877 echo "$as_me:$LINENO: checking for $ac_word" >&5
9878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9879 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9880 echo $ECHO_N "(cached) $ECHO_C" >&6
9882 if test -n "$ac_ct_CC"; then
9883 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
9885 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9889 test -z "$as_dir" && as_dir
=.
9890 for ac_exec_ext
in '' $ac_executable_extensions; do
9891 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9892 ac_cv_prog_ac_ct_CC
="cc"
9893 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9901 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
9902 if test -n "$ac_ct_CC"; then
9903 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9904 echo "${ECHO_T}$ac_ct_CC" >&6
9906 echo "$as_me:$LINENO: result: no" >&5
9907 echo "${ECHO_T}no" >&6
9916 if test -z "$CC"; then
9917 # Extract the first word of "cc", so it can be a program name with args.
9918 set dummy cc
; ac_word
=$2
9919 echo "$as_me:$LINENO: checking for $ac_word" >&5
9920 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9921 if test "${ac_cv_prog_CC+set}" = set; then
9922 echo $ECHO_N "(cached) $ECHO_C" >&6
9924 if test -n "$CC"; then
9925 ac_cv_prog_CC
="$CC" # Let the user override the test.
9928 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9932 test -z "$as_dir" && as_dir
=.
9933 for ac_exec_ext
in '' $ac_executable_extensions; do
9934 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9935 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
9936 ac_prog_rejected
=yes
9940 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9946 if test $ac_prog_rejected = yes; then
9947 # We found a bogon in the path, so make sure we never use it.
9948 set dummy
$ac_cv_prog_CC
9950 if test $# != 0; then
9951 # We chose a different compiler from the bogus one.
9952 # However, it has the same basename, so the bogon will be chosen
9953 # first if we set CC to just the basename; use the full file name.
9955 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
9961 if test -n "$CC"; then
9962 echo "$as_me:$LINENO: result: $CC" >&5
9963 echo "${ECHO_T}$CC" >&6
9965 echo "$as_me:$LINENO: result: no" >&5
9966 echo "${ECHO_T}no" >&6
9970 if test -z "$CC"; then
9971 if test -n "$ac_tool_prefix"; then
9974 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9975 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
9976 echo "$as_me:$LINENO: checking for $ac_word" >&5
9977 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9978 if test "${ac_cv_prog_CC+set}" = set; then
9979 echo $ECHO_N "(cached) $ECHO_C" >&6
9981 if test -n "$CC"; then
9982 ac_cv_prog_CC
="$CC" # Let the user override the test.
9984 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9988 test -z "$as_dir" && as_dir
=.
9989 for ac_exec_ext
in '' $ac_executable_extensions; do
9990 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9991 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
9992 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10001 if test -n "$CC"; then
10002 echo "$as_me:$LINENO: result: $CC" >&5
10003 echo "${ECHO_T}$CC" >&6
10005 echo "$as_me:$LINENO: result: no" >&5
10006 echo "${ECHO_T}no" >&6
10009 test -n "$CC" && break
10012 if test -z "$CC"; then
10016 # Extract the first word of "$ac_prog", so it can be a program name with args.
10017 set dummy
$ac_prog; ac_word
=$2
10018 echo "$as_me:$LINENO: checking for $ac_word" >&5
10019 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10020 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10021 echo $ECHO_N "(cached) $ECHO_C" >&6
10023 if test -n "$ac_ct_CC"; then
10024 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10026 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10027 for as_dir
in $PATH
10030 test -z "$as_dir" && as_dir
=.
10031 for ac_exec_ext
in '' $ac_executable_extensions; do
10032 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10033 ac_cv_prog_ac_ct_CC
="$ac_prog"
10034 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10042 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10043 if test -n "$ac_ct_CC"; then
10044 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10045 echo "${ECHO_T}$ac_ct_CC" >&6
10047 echo "$as_me:$LINENO: result: no" >&5
10048 echo "${ECHO_T}no" >&6
10051 test -n "$ac_ct_CC" && break
10060 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10061 See \`config.log' for more details." >&5
10062 echo "$as_me: error: no acceptable C compiler found in \$PATH
10063 See \`config.log' for more details." >&2;}
10064 { (exit 1); exit 1; }; }
10066 # Provide some information about the compiler.
10067 echo "$as_me:$LINENO:" \
10068 "checking for C compiler version" >&5
10069 ac_compiler
=`set X $ac_compile; echo $2`
10070 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10071 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10074 (exit $ac_status); }
10075 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10076 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10079 (exit $ac_status); }
10080 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10081 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10084 (exit $ac_status); }
10086 cat >conftest.
$ac_ext <<_ACEOF
10087 #line $LINENO "configure"
10090 cat confdefs.h
>>conftest.
$ac_ext
10091 cat >>conftest.
$ac_ext <<_ACEOF
10092 /* end confdefs.h. */
10102 ac_clean_files_save
=$ac_clean_files
10103 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
10104 # Try to create an executable without -o first, disregard a.out.
10105 # It will help us diagnose broken compilers, and finding out an intuition
10107 echo "$as_me:$LINENO: checking for C compiler default output" >&5
10108 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
10109 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10110 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10111 (eval $ac_link_default) 2>&5
10113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10114 (exit $ac_status); }; then
10115 # Find the output, starting from the most likely. This scheme is
10116 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10119 # Be careful to initialize this variable, since it used to be cached.
10120 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10122 # b.out is created by i960 compilers.
10123 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10125 test -f "$ac_file" || continue
10127 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10130 # This is the source file.
10133 # We found the default executable, but exeext='' is most
10137 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10138 # FIXME: I believe we export ac_cv_exeext for Libtool,
10139 # but it would be cool to find out if it's true. Does anybody
10140 # maintain Libtool? --akim.
10141 export ac_cv_exeext
10148 echo "$as_me: failed program was:" >&5
10149 sed 's/^/| /' conftest.
$ac_ext >&5
10151 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10152 See \`config.log' for more details." >&5
10153 echo "$as_me: error: C compiler cannot create executables
10154 See \`config.log' for more details." >&2;}
10155 { (exit 77); exit 77; }; }
10158 ac_exeext
=$ac_cv_exeext
10159 echo "$as_me:$LINENO: result: $ac_file" >&5
10160 echo "${ECHO_T}$ac_file" >&6
10162 # Check the compiler produces executables we can run. If not, either
10163 # the compiler is broken, or we cross compile.
10164 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10165 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10166 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10167 # If not cross compiling, check that we can run a simple program.
10168 if test "$cross_compiling" != yes; then
10169 if { ac_try
='./$ac_file'
10170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10171 (eval $ac_try) 2>&5
10173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10174 (exit $ac_status); }; }; then
10177 if test "$cross_compiling" = maybe
; then
10178 cross_compiling
=yes
10180 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10181 If you meant to cross compile, use \`--host'.
10182 See \`config.log' for more details." >&5
10183 echo "$as_me: error: cannot run C compiled programs.
10184 If you meant to cross compile, use \`--host'.
10185 See \`config.log' for more details." >&2;}
10186 { (exit 1); exit 1; }; }
10190 echo "$as_me:$LINENO: result: yes" >&5
10191 echo "${ECHO_T}yes" >&6
10193 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
10194 ac_clean_files
=$ac_clean_files_save
10195 # Check the compiler produces executables we can run. If not, either
10196 # the compiler is broken, or we cross compile.
10197 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10198 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10199 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10200 echo "${ECHO_T}$cross_compiling" >&6
10202 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10203 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10205 (eval $ac_link) 2>&5
10207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10208 (exit $ac_status); }; then
10209 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10210 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10211 # work properly (i.e., refer to `conftest.exe'), while it won't with
10213 for ac_file
in conftest.exe conftest conftest.
*; do
10214 test -f "$ac_file" || continue
10216 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
10217 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10218 export ac_cv_exeext
10224 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10225 See \`config.log' for more details." >&5
10226 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10227 See \`config.log' for more details." >&2;}
10228 { (exit 1); exit 1; }; }
10231 rm -f conftest
$ac_cv_exeext
10232 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10233 echo "${ECHO_T}$ac_cv_exeext" >&6
10235 rm -f conftest.
$ac_ext
10236 EXEEXT
=$ac_cv_exeext
10238 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10239 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10240 if test "${ac_cv_objext+set}" = set; then
10241 echo $ECHO_N "(cached) $ECHO_C" >&6
10243 cat >conftest.
$ac_ext <<_ACEOF
10244 #line $LINENO "configure"
10247 cat confdefs.h
>>conftest.
$ac_ext
10248 cat >>conftest.
$ac_ext <<_ACEOF
10249 /* end confdefs.h. */
10259 rm -f conftest.o conftest.obj
10260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10261 (eval $ac_compile) 2>&5
10263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10264 (exit $ac_status); }; then
10265 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10267 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
10268 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
10273 echo "$as_me: failed program was:" >&5
10274 sed 's/^/| /' conftest.
$ac_ext >&5
10276 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10277 See \`config.log' for more details." >&5
10278 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10279 See \`config.log' for more details." >&2;}
10280 { (exit 1); exit 1; }; }
10283 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
10285 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10286 echo "${ECHO_T}$ac_cv_objext" >&6
10287 OBJEXT
=$ac_cv_objext
10289 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10290 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10291 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10292 echo $ECHO_N "(cached) $ECHO_C" >&6
10294 cat >conftest.
$ac_ext <<_ACEOF
10295 #line $LINENO "configure"
10298 cat confdefs.h
>>conftest.
$ac_ext
10299 cat >>conftest.
$ac_ext <<_ACEOF
10300 /* end confdefs.h. */
10313 rm -f conftest.
$ac_objext
10314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10315 (eval $ac_compile) 2>&5
10317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10318 (exit $ac_status); } &&
10319 { ac_try
='test -s conftest.$ac_objext'
10320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10321 (eval $ac_try) 2>&5
10323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10324 (exit $ac_status); }; }; then
10325 ac_compiler_gnu
=yes
10327 echo "$as_me: failed program was:" >&5
10328 sed 's/^/| /' conftest.
$ac_ext >&5
10332 rm -f conftest.
$ac_objext conftest.
$ac_ext
10333 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
10336 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10337 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10338 GCC
=`test $ac_compiler_gnu = yes && echo yes`
10339 ac_test_CFLAGS
=${CFLAGS+set}
10340 ac_save_CFLAGS
=$CFLAGS
10342 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10343 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10344 if test "${ac_cv_prog_cc_g+set}" = set; then
10345 echo $ECHO_N "(cached) $ECHO_C" >&6
10347 cat >conftest.
$ac_ext <<_ACEOF
10348 #line $LINENO "configure"
10351 cat confdefs.h
>>conftest.
$ac_ext
10352 cat >>conftest.
$ac_ext <<_ACEOF
10353 /* end confdefs.h. */
10363 rm -f conftest.
$ac_objext
10364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10365 (eval $ac_compile) 2>&5
10367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10368 (exit $ac_status); } &&
10369 { ac_try
='test -s conftest.$ac_objext'
10370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10371 (eval $ac_try) 2>&5
10373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10374 (exit $ac_status); }; }; then
10375 ac_cv_prog_cc_g
=yes
10377 echo "$as_me: failed program was:" >&5
10378 sed 's/^/| /' conftest.
$ac_ext >&5
10382 rm -f conftest.
$ac_objext conftest.
$ac_ext
10384 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10385 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10386 if test "$ac_test_CFLAGS" = set; then
10387 CFLAGS
=$ac_save_CFLAGS
10388 elif test $ac_cv_prog_cc_g = yes; then
10389 if test "$GCC" = yes; then
10395 if test "$GCC" = yes; then
10401 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10402 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10403 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10404 echo $ECHO_N "(cached) $ECHO_C" >&6
10406 ac_cv_prog_cc_stdc
=no
10408 cat >conftest.
$ac_ext <<_ACEOF
10409 #line $LINENO "configure"
10412 cat confdefs.h
>>conftest.
$ac_ext
10413 cat >>conftest.
$ac_ext <<_ACEOF
10414 /* end confdefs.h. */
10415 #include <stdarg.h>
10417 #include <sys/types.h>
10418 #include <sys/stat.h>
10419 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10420 struct buf { int x; };
10421 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10422 static char *e (p, i)
10428 static char *f (char * (*g) (char **, int), char **p, ...)
10433 s = g (p, va_arg (v,int));
10437 int test (int i, double x);
10438 struct s1 {int (*f) (int a);};
10439 struct s2 {int (*f) (double a);};
10440 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10446 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10451 # Don't try gcc -ansi; that turns off useful extensions and
10452 # breaks some systems' header files.
10453 # AIX -qlanglvl=ansi
10454 # Ultrix and OSF/1 -std1
10455 # HP-UX 10.20 and later -Ae
10456 # HP-UX older versions -Aa -D_HPUX_SOURCE
10457 # SVR4 -Xc -D__EXTENSIONS__
10458 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10460 CC
="$ac_save_CC $ac_arg"
10461 rm -f conftest.
$ac_objext
10462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10463 (eval $ac_compile) 2>&5
10465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10466 (exit $ac_status); } &&
10467 { ac_try
='test -s conftest.$ac_objext'
10468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10469 (eval $ac_try) 2>&5
10471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10472 (exit $ac_status); }; }; then
10473 ac_cv_prog_cc_stdc
=$ac_arg
10476 echo "$as_me: failed program was:" >&5
10477 sed 's/^/| /' conftest.
$ac_ext >&5
10480 rm -f conftest.
$ac_objext
10482 rm -f conftest.
$ac_ext conftest.
$ac_objext
10487 case "x$ac_cv_prog_cc_stdc" in
10489 echo "$as_me:$LINENO: result: none needed" >&5
10490 echo "${ECHO_T}none needed" >&6 ;;
10492 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10493 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10494 CC
="$CC $ac_cv_prog_cc_stdc" ;;
10497 # Some people use a C++ compiler to compile C. Since we use `exit',
10498 # in C++ we need to declare it. In case someone uses the same compiler
10499 # for both compiling C and C++ we need to have the C++ compiler decide
10500 # the declaration of exit, since it's the most demanding environment.
10501 cat >conftest.
$ac_ext <<_ACEOF
10502 #ifndef __cplusplus
10506 rm -f conftest.
$ac_objext
10507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10508 (eval $ac_compile) 2>&5
10510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10511 (exit $ac_status); } &&
10512 { ac_try
='test -s conftest.$ac_objext'
10513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10514 (eval $ac_try) 2>&5
10516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10517 (exit $ac_status); }; }; then
10518 for ac_declaration
in \
10520 '#include <stdlib.h>' \
10521 'extern "C" void std::exit (int) throw (); using std::exit;' \
10522 'extern "C" void std::exit (int); using std::exit;' \
10523 'extern "C" void exit (int) throw ();' \
10524 'extern "C" void exit (int);' \
10527 cat >conftest.
$ac_ext <<_ACEOF
10528 #line $LINENO "configure"
10531 cat confdefs.h
>>conftest.
$ac_ext
10532 cat >>conftest.
$ac_ext <<_ACEOF
10533 /* end confdefs.h. */
10534 #include <stdlib.h>
10544 rm -f conftest.
$ac_objext
10545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10546 (eval $ac_compile) 2>&5
10548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10549 (exit $ac_status); } &&
10550 { ac_try
='test -s conftest.$ac_objext'
10551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10552 (eval $ac_try) 2>&5
10554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10555 (exit $ac_status); }; }; then
10558 echo "$as_me: failed program was:" >&5
10559 sed 's/^/| /' conftest.
$ac_ext >&5
10563 rm -f conftest.
$ac_objext conftest.
$ac_ext
10564 cat >conftest.
$ac_ext <<_ACEOF
10565 #line $LINENO "configure"
10568 cat confdefs.h
>>conftest.
$ac_ext
10569 cat >>conftest.
$ac_ext <<_ACEOF
10570 /* end confdefs.h. */
10580 rm -f conftest.
$ac_objext
10581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10582 (eval $ac_compile) 2>&5
10584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10585 (exit $ac_status); } &&
10586 { ac_try
='test -s conftest.$ac_objext'
10587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10588 (eval $ac_try) 2>&5
10590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10591 (exit $ac_status); }; }; then
10594 echo "$as_me: failed program was:" >&5
10595 sed 's/^/| /' conftest.
$ac_ext >&5
10598 rm -f conftest.
$ac_objext conftest.
$ac_ext
10601 if test -n "$ac_declaration"; then
10602 echo '#ifdef __cplusplus' >>confdefs.h
10603 echo $ac_declaration >>confdefs.h
10604 echo '#endif' >>confdefs.h
10608 echo "$as_me: failed program was:" >&5
10609 sed 's/^/| /' conftest.
$ac_ext >&5
10612 rm -f conftest.
$ac_objext conftest.
$ac_ext
10614 ac_cpp
='$CPP $CPPFLAGS'
10615 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10616 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10617 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10622 ac_cpp
='$CPP $CPPFLAGS'
10623 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10624 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10625 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10626 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10627 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10628 # On Suns, sometimes $CPP names a directory.
10629 if test -n "$CPP" && test -d "$CPP"; then
10632 if test -z "$CPP"; then
10633 if test "${ac_cv_prog_CPP+set}" = set; then
10634 echo $ECHO_N "(cached) $ECHO_C" >&6
10636 # Double quotes because CPP needs to be expanded
10637 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10639 ac_preproc_ok
=false
10640 for ac_c_preproc_warn_flag
in '' yes
10642 # Use a header file that comes with gcc, so configuring glibc
10643 # with a fresh cross-compiler works.
10644 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10645 # <limits.h> exists even on freestanding compilers.
10646 # On the NeXT, cc -E runs the code through the compiler's parser,
10647 # not just through cpp. "Syntax error" is here to catch this case.
10648 cat >conftest.
$ac_ext <<_ACEOF
10649 #line $LINENO "configure"
10652 cat confdefs.h
>>conftest.
$ac_ext
10653 cat >>conftest.
$ac_ext <<_ACEOF
10654 /* end confdefs.h. */
10656 # include <limits.h>
10658 # include <assert.h>
10662 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10663 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10665 grep -v '^ *+' conftest.er1
>conftest.err
10667 cat conftest.err
>&5
10668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10669 (exit $ac_status); } >/dev
/null
; then
10670 if test -s conftest.err
; then
10671 ac_cpp_err
=$ac_c_preproc_warn_flag
10678 if test -z "$ac_cpp_err"; then
10681 echo "$as_me: failed program was:" >&5
10682 sed 's/^/| /' conftest.
$ac_ext >&5
10684 # Broken: fails on valid input.
10687 rm -f conftest.err conftest.
$ac_ext
10689 # OK, works on sane cases. Now check whether non-existent headers
10690 # can be detected and how.
10691 cat >conftest.
$ac_ext <<_ACEOF
10692 #line $LINENO "configure"
10695 cat confdefs.h
>>conftest.
$ac_ext
10696 cat >>conftest.
$ac_ext <<_ACEOF
10697 /* end confdefs.h. */
10698 #include <ac_nonexistent.h>
10700 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10701 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10703 grep -v '^ *+' conftest.er1
>conftest.err
10705 cat conftest.err
>&5
10706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10707 (exit $ac_status); } >/dev
/null
; then
10708 if test -s conftest.err
; then
10709 ac_cpp_err
=$ac_c_preproc_warn_flag
10716 if test -z "$ac_cpp_err"; then
10717 # Broken: success on invalid input.
10720 echo "$as_me: failed program was:" >&5
10721 sed 's/^/| /' conftest.
$ac_ext >&5
10723 # Passes both tests.
10727 rm -f conftest.err conftest.
$ac_ext
10730 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10731 rm -f conftest.err conftest.
$ac_ext
10732 if $ac_preproc_ok; then
10737 ac_cv_prog_CPP
=$CPP
10740 CPP
=$ac_cv_prog_CPP
10742 ac_cv_prog_CPP
=$CPP
10744 echo "$as_me:$LINENO: result: $CPP" >&5
10745 echo "${ECHO_T}$CPP" >&6
10746 ac_preproc_ok
=false
10747 for ac_c_preproc_warn_flag
in '' yes
10749 # Use a header file that comes with gcc, so configuring glibc
10750 # with a fresh cross-compiler works.
10751 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10752 # <limits.h> exists even on freestanding compilers.
10753 # On the NeXT, cc -E runs the code through the compiler's parser,
10754 # not just through cpp. "Syntax error" is here to catch this case.
10755 cat >conftest.
$ac_ext <<_ACEOF
10756 #line $LINENO "configure"
10759 cat confdefs.h
>>conftest.
$ac_ext
10760 cat >>conftest.
$ac_ext <<_ACEOF
10761 /* end confdefs.h. */
10763 # include <limits.h>
10765 # include <assert.h>
10769 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10770 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10772 grep -v '^ *+' conftest.er1
>conftest.err
10774 cat conftest.err
>&5
10775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10776 (exit $ac_status); } >/dev
/null
; then
10777 if test -s conftest.err
; then
10778 ac_cpp_err
=$ac_c_preproc_warn_flag
10785 if test -z "$ac_cpp_err"; then
10788 echo "$as_me: failed program was:" >&5
10789 sed 's/^/| /' conftest.
$ac_ext >&5
10791 # Broken: fails on valid input.
10794 rm -f conftest.err conftest.
$ac_ext
10796 # OK, works on sane cases. Now check whether non-existent headers
10797 # can be detected and how.
10798 cat >conftest.
$ac_ext <<_ACEOF
10799 #line $LINENO "configure"
10802 cat confdefs.h
>>conftest.
$ac_ext
10803 cat >>conftest.
$ac_ext <<_ACEOF
10804 /* end confdefs.h. */
10805 #include <ac_nonexistent.h>
10807 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10808 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10810 grep -v '^ *+' conftest.er1
>conftest.err
10812 cat conftest.err
>&5
10813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10814 (exit $ac_status); } >/dev
/null
; then
10815 if test -s conftest.err
; then
10816 ac_cpp_err
=$ac_c_preproc_warn_flag
10823 if test -z "$ac_cpp_err"; then
10824 # Broken: success on invalid input.
10827 echo "$as_me: failed program was:" >&5
10828 sed 's/^/| /' conftest.
$ac_ext >&5
10830 # Passes both tests.
10834 rm -f conftest.err conftest.
$ac_ext
10837 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10838 rm -f conftest.err conftest.
$ac_ext
10839 if $ac_preproc_ok; then
10842 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
10843 See \`config.log' for more details." >&5
10844 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
10845 See \`config.log' for more details." >&2;}
10846 { (exit 1); exit 1; }; }
10850 ac_cpp
='$CPP $CPPFLAGS'
10851 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10852 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10853 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10856 echo "$as_me:$LINENO: checking for egrep" >&5
10857 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
10858 if test "${ac_cv_prog_egrep+set}" = set; then
10859 echo $ECHO_N "(cached) $ECHO_C" >&6
10861 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
10862 then ac_cv_prog_egrep
='grep -E'
10863 else ac_cv_prog_egrep
='egrep'
10866 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
10867 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
10868 EGREP
=$ac_cv_prog_egrep
10871 if test $ac_cv_c_compiler_gnu = yes; then
10872 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
10873 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
10874 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
10875 echo $ECHO_N "(cached) $ECHO_C" >&6
10877 ac_pattern
="Autoconf.*'x'"
10878 cat >conftest.
$ac_ext <<_ACEOF
10879 #line $LINENO "configure"
10882 cat confdefs.h
>>conftest.
$ac_ext
10883 cat >>conftest.
$ac_ext <<_ACEOF
10884 /* end confdefs.h. */
10888 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10889 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
10890 ac_cv_prog_gcc_traditional
=yes
10892 ac_cv_prog_gcc_traditional
=no
10897 if test $ac_cv_prog_gcc_traditional = no
; then
10898 cat >conftest.
$ac_ext <<_ACEOF
10899 #line $LINENO "configure"
10902 cat confdefs.h
>>conftest.
$ac_ext
10903 cat >>conftest.
$ac_ext <<_ACEOF
10904 /* end confdefs.h. */
10905 #include <termio.h>
10908 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10909 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
10910 ac_cv_prog_gcc_traditional
=yes
10916 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
10917 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
10918 if test $ac_cv_prog_gcc_traditional = yes; then
10919 CC
="$CC -traditional"
10927 ac_cpp
='$CXXCPP $CPPFLAGS'
10928 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10929 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10930 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10933 CXXFLAGS
=${CXXFLAGS:=}
10935 ac_cpp
='$CXXCPP $CPPFLAGS'
10936 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10937 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10938 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10939 if test -n "$ac_tool_prefix"; then
10940 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
10942 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10943 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10944 echo "$as_me:$LINENO: checking for $ac_word" >&5
10945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10946 if test "${ac_cv_prog_CXX+set}" = set; then
10947 echo $ECHO_N "(cached) $ECHO_C" >&6
10949 if test -n "$CXX"; then
10950 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
10952 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10953 for as_dir
in $PATH
10956 test -z "$as_dir" && as_dir
=.
10957 for ac_exec_ext
in '' $ac_executable_extensions; do
10958 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10959 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
10960 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10968 CXX
=$ac_cv_prog_CXX
10969 if test -n "$CXX"; then
10970 echo "$as_me:$LINENO: result: $CXX" >&5
10971 echo "${ECHO_T}$CXX" >&6
10973 echo "$as_me:$LINENO: result: no" >&5
10974 echo "${ECHO_T}no" >&6
10977 test -n "$CXX" && break
10980 if test -z "$CXX"; then
10982 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
10984 # Extract the first word of "$ac_prog", so it can be a program name with args.
10985 set dummy
$ac_prog; ac_word
=$2
10986 echo "$as_me:$LINENO: checking for $ac_word" >&5
10987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10988 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
10989 echo $ECHO_N "(cached) $ECHO_C" >&6
10991 if test -n "$ac_ct_CXX"; then
10992 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
10994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10995 for as_dir
in $PATH
10998 test -z "$as_dir" && as_dir
=.
10999 for ac_exec_ext
in '' $ac_executable_extensions; do
11000 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11001 ac_cv_prog_ac_ct_CXX
="$ac_prog"
11002 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11010 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11011 if test -n "$ac_ct_CXX"; then
11012 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11013 echo "${ECHO_T}$ac_ct_CXX" >&6
11015 echo "$as_me:$LINENO: result: no" >&5
11016 echo "${ECHO_T}no" >&6
11019 test -n "$ac_ct_CXX" && break
11021 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
11027 # Provide some information about the compiler.
11028 echo "$as_me:$LINENO:" \
11029 "checking for C++ compiler version" >&5
11030 ac_compiler
=`set X $ac_compile; echo $2`
11031 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11032 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11035 (exit $ac_status); }
11036 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11037 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11040 (exit $ac_status); }
11041 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11042 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11045 (exit $ac_status); }
11047 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11048 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11049 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11050 echo $ECHO_N "(cached) $ECHO_C" >&6
11052 cat >conftest.
$ac_ext <<_ACEOF
11053 #line $LINENO "configure"
11056 cat confdefs.h
>>conftest.
$ac_ext
11057 cat >>conftest.
$ac_ext <<_ACEOF
11058 /* end confdefs.h. */
11071 rm -f conftest.
$ac_objext
11072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11073 (eval $ac_compile) 2>&5
11075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11076 (exit $ac_status); } &&
11077 { ac_try
='test -s conftest.$ac_objext'
11078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11079 (eval $ac_try) 2>&5
11081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11082 (exit $ac_status); }; }; then
11083 ac_compiler_gnu
=yes
11085 echo "$as_me: failed program was:" >&5
11086 sed 's/^/| /' conftest.
$ac_ext >&5
11090 rm -f conftest.
$ac_objext conftest.
$ac_ext
11091 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11094 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11095 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11096 GXX
=`test $ac_compiler_gnu = yes && echo yes`
11097 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11098 ac_save_CXXFLAGS
=$CXXFLAGS
11100 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11101 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11102 if test "${ac_cv_prog_cxx_g+set}" = set; then
11103 echo $ECHO_N "(cached) $ECHO_C" >&6
11105 cat >conftest.
$ac_ext <<_ACEOF
11106 #line $LINENO "configure"
11109 cat confdefs.h
>>conftest.
$ac_ext
11110 cat >>conftest.
$ac_ext <<_ACEOF
11111 /* end confdefs.h. */
11121 rm -f conftest.
$ac_objext
11122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11123 (eval $ac_compile) 2>&5
11125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11126 (exit $ac_status); } &&
11127 { ac_try
='test -s conftest.$ac_objext'
11128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11129 (eval $ac_try) 2>&5
11131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11132 (exit $ac_status); }; }; then
11133 ac_cv_prog_cxx_g
=yes
11135 echo "$as_me: failed program was:" >&5
11136 sed 's/^/| /' conftest.
$ac_ext >&5
11138 ac_cv_prog_cxx_g
=no
11140 rm -f conftest.
$ac_objext conftest.
$ac_ext
11142 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11143 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11144 if test "$ac_test_CXXFLAGS" = set; then
11145 CXXFLAGS
=$ac_save_CXXFLAGS
11146 elif test $ac_cv_prog_cxx_g = yes; then
11147 if test "$GXX" = yes; then
11153 if test "$GXX" = yes; then
11159 for ac_declaration
in \
11161 '#include <stdlib.h>' \
11162 'extern "C" void std::exit (int) throw (); using std::exit;' \
11163 'extern "C" void std::exit (int); using std::exit;' \
11164 'extern "C" void exit (int) throw ();' \
11165 'extern "C" void exit (int);' \
11168 cat >conftest.
$ac_ext <<_ACEOF
11169 #line $LINENO "configure"
11172 cat confdefs.h
>>conftest.
$ac_ext
11173 cat >>conftest.
$ac_ext <<_ACEOF
11174 /* end confdefs.h. */
11175 #include <stdlib.h>
11185 rm -f conftest.
$ac_objext
11186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11187 (eval $ac_compile) 2>&5
11189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11190 (exit $ac_status); } &&
11191 { ac_try
='test -s conftest.$ac_objext'
11192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11193 (eval $ac_try) 2>&5
11195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11196 (exit $ac_status); }; }; then
11199 echo "$as_me: failed program was:" >&5
11200 sed 's/^/| /' conftest.
$ac_ext >&5
11204 rm -f conftest.
$ac_objext conftest.
$ac_ext
11205 cat >conftest.
$ac_ext <<_ACEOF
11206 #line $LINENO "configure"
11209 cat confdefs.h
>>conftest.
$ac_ext
11210 cat >>conftest.
$ac_ext <<_ACEOF
11211 /* end confdefs.h. */
11221 rm -f conftest.
$ac_objext
11222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11223 (eval $ac_compile) 2>&5
11225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11226 (exit $ac_status); } &&
11227 { ac_try
='test -s conftest.$ac_objext'
11228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11229 (eval $ac_try) 2>&5
11231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11232 (exit $ac_status); }; }; then
11235 echo "$as_me: failed program was:" >&5
11236 sed 's/^/| /' conftest.
$ac_ext >&5
11239 rm -f conftest.
$ac_objext conftest.
$ac_ext
11242 if test -n "$ac_declaration"; then
11243 echo '#ifdef __cplusplus' >>confdefs.h
11244 echo $ac_declaration >>confdefs.h
11245 echo '#endif' >>confdefs.h
11249 ac_cpp
='$CXXCPP $CPPFLAGS'
11250 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11251 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11252 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11256 ac_cpp
='$CPP $CPPFLAGS'
11257 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11258 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11259 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11262 if test -n "$ac_tool_prefix"; then
11263 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11264 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
11265 echo "$as_me:$LINENO: checking for $ac_word" >&5
11266 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11267 if test "${ac_cv_prog_RANLIB+set}" = set; then
11268 echo $ECHO_N "(cached) $ECHO_C" >&6
11270 if test -n "$RANLIB"; then
11271 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
11273 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11274 for as_dir
in $PATH
11277 test -z "$as_dir" && as_dir
=.
11278 for ac_exec_ext
in '' $ac_executable_extensions; do
11279 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11280 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
11281 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11289 RANLIB
=$ac_cv_prog_RANLIB
11290 if test -n "$RANLIB"; then
11291 echo "$as_me:$LINENO: result: $RANLIB" >&5
11292 echo "${ECHO_T}$RANLIB" >&6
11294 echo "$as_me:$LINENO: result: no" >&5
11295 echo "${ECHO_T}no" >&6
11299 if test -z "$ac_cv_prog_RANLIB"; then
11300 ac_ct_RANLIB
=$RANLIB
11301 # Extract the first word of "ranlib", so it can be a program name with args.
11302 set dummy ranlib
; ac_word
=$2
11303 echo "$as_me:$LINENO: checking for $ac_word" >&5
11304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11305 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11306 echo $ECHO_N "(cached) $ECHO_C" >&6
11308 if test -n "$ac_ct_RANLIB"; then
11309 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
11311 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11312 for as_dir
in $PATH
11315 test -z "$as_dir" && as_dir
=.
11316 for ac_exec_ext
in '' $ac_executable_extensions; do
11317 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11318 ac_cv_prog_ac_ct_RANLIB
="ranlib"
11319 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11325 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
11328 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
11329 if test -n "$ac_ct_RANLIB"; then
11330 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11331 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11333 echo "$as_me:$LINENO: result: no" >&5
11334 echo "${ECHO_T}no" >&6
11337 RANLIB
=$ac_ct_RANLIB
11339 RANLIB
="$ac_cv_prog_RANLIB"
11343 # Extract the first word of "ar", so it can be a program name with args.
11344 set dummy
ar; ac_word
=$2
11345 echo "$as_me:$LINENO: checking for $ac_word" >&5
11346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11347 if test "${ac_cv_prog_AR+set}" = set; then
11348 echo $ECHO_N "(cached) $ECHO_C" >&6
11350 if test -n "$AR"; then
11351 ac_cv_prog_AR
="$AR" # Let the user override the test.
11353 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11354 for as_dir
in $PATH
11357 test -z "$as_dir" && as_dir
=.
11358 for ac_exec_ext
in '' $ac_executable_extensions; do
11359 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11361 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11370 if test -n "$AR"; then
11371 echo "$as_me:$LINENO: result: $AR" >&5
11372 echo "${ECHO_T}$AR" >&6
11374 echo "$as_me:$LINENO: result: no" >&5
11375 echo "${ECHO_T}no" >&6
11378 if test "x$AR" = "x" ; then
11379 { { echo "$as_me:$LINENO: error: ar is needed to build wxWindows" >&5
11380 echo "$as_me: error: ar is needed to build wxWindows" >&2;}
11381 { (exit 1); exit 1; }; }
11384 # Find a good install program. We prefer a C program (faster),
11385 # so one script is as good as another. But avoid the broken or
11386 # incompatible versions:
11387 # SysV /etc/install, /usr/sbin/install
11388 # SunOS /usr/etc/install
11389 # IRIX /sbin/install
11391 # AmigaOS /C/install, which installs bootblocks on floppy discs
11392 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11393 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11394 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11395 # ./install, which can be erroneously created by make from ./install.sh.
11396 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11397 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11398 if test -z "$INSTALL"; then
11399 if test "${ac_cv_path_install+set}" = set; then
11400 echo $ECHO_N "(cached) $ECHO_C" >&6
11402 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11403 for as_dir
in $PATH
11406 test -z "$as_dir" && as_dir
=.
11407 # Account for people who put trailing slashes in PATH elements.
11409 .
/ | .
// | /cC
/* | \
11410 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
11413 # OSF1 and SCO ODT 3.0 have their own names for install.
11414 # Don't use installbsd from OSF since it installs stuff as root
11416 for ac_prog
in ginstall scoinst
install; do
11417 for ac_exec_ext
in '' $ac_executable_extensions; do
11418 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11419 if test $ac_prog = install &&
11420 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11421 # AIX install. It has an incompatible calling convention.
11423 elif test $ac_prog = install &&
11424 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11425 # program-specific install script used by HP pwplus--don't use.
11428 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
11440 if test "${ac_cv_path_install+set}" = set; then
11441 INSTALL
=$ac_cv_path_install
11443 # As a last resort, use the slow shell script. We don't cache a
11444 # path for INSTALL within a source directory, because that will
11445 # break other packages using the cache if that directory is
11446 # removed, or if the path is relative.
11447 INSTALL
=$ac_install_sh
11450 echo "$as_me:$LINENO: result: $INSTALL" >&5
11451 echo "${ECHO_T}$INSTALL" >&6
11453 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11454 # It thinks the first close brace ends the variable substitution.
11455 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
11457 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
11459 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
11465 ?
:* ) # Drive letter, considered as absolute.
11468 INSTALL
=`pwd`/${INSTALL} ;;
11473 INSTALL_DIR
="mkdir"
11476 *) INSTALL_DIR
="$INSTALL -d"
11483 powerpc
-*-darwin* )
11484 INSTALL_PROGRAM
="cp -fp"
11485 INSTALL_DATA
="cp -fp"
11491 # Extract the first word of "strip", so it can be a program name with args.
11492 set dummy strip
; ac_word
=$2
11493 echo "$as_me:$LINENO: checking for $ac_word" >&5
11494 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11495 if test "${ac_cv_prog_STRIP+set}" = set; then
11496 echo $ECHO_N "(cached) $ECHO_C" >&6
11498 if test -n "$STRIP"; then
11499 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
11501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11502 for as_dir
in $PATH
11505 test -z "$as_dir" && as_dir
=.
11506 for ac_exec_ext
in '' $ac_executable_extensions; do
11507 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11508 ac_cv_prog_STRIP
="strip"
11509 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11515 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
11518 STRIP
=$ac_cv_prog_STRIP
11519 if test -n "$STRIP"; then
11520 echo "$as_me:$LINENO: result: $STRIP" >&5
11521 echo "${ECHO_T}$STRIP" >&6
11523 echo "$as_me:$LINENO: result: no" >&5
11524 echo "${ECHO_T}no" >&6
11528 echo "$as_me:$LINENO: checking if make is GNU make" >&5
11529 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11530 if test "${wx_cv_prog_makeisgnu+set}" = set; then
11531 echo $ECHO_N "(cached) $ECHO_C" >&6
11534 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
11535 egrep -s GNU
> /dev
/null
); then
11536 wx_cv_prog_makeisgnu
="yes"
11538 wx_cv_prog_makeisgnu
="no"
11542 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11543 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11545 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11553 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11554 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11555 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11556 if test "${wx_cv_prog_makevpath+set}" = set; then
11557 echo $ECHO_N "(cached) $ECHO_C" >&6
11560 cat - << EOF > confMake
11566 if test ! -d sub
; then
11569 echo dummy
> sub
/file
11570 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
11572 rm -f sub
/file check final_file confMake
11574 if test "$RESULT" = 0; then
11575 wx_cv_prog_makevpath
="yes"
11577 wx_cv_prog_makevpath
="no"
11581 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11582 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11584 if test "x$wx_cv_prog_makevpath" != "xyes"; then
11585 { { echo "$as_me:$LINENO: error:
11586 You need a make-utility that is able to use the variable
11588 If your version of make does not support VPATH correctly,
11589 please install GNU-make (possibly as gmake), and start
11590 configure with the following command:
11591 export MAKE=gmake; ./configure for sh-type shells
11592 setenv MAKE gmake; ./configure for csh-type shells
11593 Also please do remember to use gmake in this case every time
11594 you are trying to compile.
11596 echo "$as_me: error:
11597 You need a make-utility that is able to use the variable
11599 If your version of make does not support VPATH correctly,
11600 please install GNU-make (possibly as gmake), and start
11601 configure with the following command:
11602 export MAKE=gmake; ./configure for sh-type shells
11603 setenv MAKE gmake; ./configure for csh-type shells
11604 Also please do remember to use gmake in this case every time
11605 you are trying to compile.
11607 { (exit 1); exit 1; }; }
11609 for ac_prog
in 'bison -y' byacc
11611 # Extract the first word of "$ac_prog", so it can be a program name with args.
11612 set dummy
$ac_prog; ac_word
=$2
11613 echo "$as_me:$LINENO: checking for $ac_word" >&5
11614 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11615 if test "${ac_cv_prog_YACC+set}" = set; then
11616 echo $ECHO_N "(cached) $ECHO_C" >&6
11618 if test -n "$YACC"; then
11619 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
11621 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11622 for as_dir
in $PATH
11625 test -z "$as_dir" && as_dir
=.
11626 for ac_exec_ext
in '' $ac_executable_extensions; do
11627 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11628 ac_cv_prog_YACC
="$ac_prog"
11629 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11637 YACC
=$ac_cv_prog_YACC
11638 if test -n "$YACC"; then
11639 echo "$as_me:$LINENO: result: $YACC" >&5
11640 echo "${ECHO_T}$YACC" >&6
11642 echo "$as_me:$LINENO: result: no" >&5
11643 echo "${ECHO_T}no" >&6
11646 test -n "$YACC" && break
11648 test -n "$YACC" || YACC
="yacc"
11651 for ac_prog
in flex
lex
11653 # Extract the first word of "$ac_prog", so it can be a program name with args.
11654 set dummy
$ac_prog; ac_word
=$2
11655 echo "$as_me:$LINENO: checking for $ac_word" >&5
11656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11657 if test "${ac_cv_prog_LEX+set}" = set; then
11658 echo $ECHO_N "(cached) $ECHO_C" >&6
11660 if test -n "$LEX"; then
11661 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
11663 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11664 for as_dir
in $PATH
11667 test -z "$as_dir" && as_dir
=.
11668 for ac_exec_ext
in '' $ac_executable_extensions; do
11669 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11670 ac_cv_prog_LEX
="$ac_prog"
11671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11679 LEX
=$ac_cv_prog_LEX
11680 if test -n "$LEX"; then
11681 echo "$as_me:$LINENO: result: $LEX" >&5
11682 echo "${ECHO_T}$LEX" >&6
11684 echo "$as_me:$LINENO: result: no" >&5
11685 echo "${ECHO_T}no" >&6
11688 test -n "$LEX" && break
11690 test -n "$LEX" || LEX
=":"
11692 if test -z "$LEXLIB"
11694 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
11695 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
11696 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
11697 echo $ECHO_N "(cached) $ECHO_C" >&6
11699 ac_check_lib_save_LIBS
=$LIBS
11701 cat >conftest.
$ac_ext <<_ACEOF
11702 #line $LINENO "configure"
11705 cat confdefs.h
>>conftest.
$ac_ext
11706 cat >>conftest.
$ac_ext <<_ACEOF
11707 /* end confdefs.h. */
11709 /* Override any gcc2 internal prototype to avoid an error. */
11713 /* We use char because int might match the return type of a gcc2
11714 builtin and then its argument prototype would still apply. */
11724 rm -f conftest.
$ac_objext conftest
$ac_exeext
11725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11726 (eval $ac_link) 2>&5
11728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11729 (exit $ac_status); } &&
11730 { ac_try
='test -s conftest$ac_exeext'
11731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11732 (eval $ac_try) 2>&5
11734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11735 (exit $ac_status); }; }; then
11736 ac_cv_lib_fl_yywrap
=yes
11738 echo "$as_me: failed program was:" >&5
11739 sed 's/^/| /' conftest.
$ac_ext >&5
11741 ac_cv_lib_fl_yywrap
=no
11743 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11744 LIBS
=$ac_check_lib_save_LIBS
11746 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
11747 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
11748 if test $ac_cv_lib_fl_yywrap = yes; then
11751 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
11752 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
11753 if test "${ac_cv_lib_l_yywrap+set}" = set; then
11754 echo $ECHO_N "(cached) $ECHO_C" >&6
11756 ac_check_lib_save_LIBS
=$LIBS
11758 cat >conftest.
$ac_ext <<_ACEOF
11759 #line $LINENO "configure"
11762 cat confdefs.h
>>conftest.
$ac_ext
11763 cat >>conftest.
$ac_ext <<_ACEOF
11764 /* end confdefs.h. */
11766 /* Override any gcc2 internal prototype to avoid an error. */
11770 /* We use char because int might match the return type of a gcc2
11771 builtin and then its argument prototype would still apply. */
11781 rm -f conftest.
$ac_objext conftest
$ac_exeext
11782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11783 (eval $ac_link) 2>&5
11785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11786 (exit $ac_status); } &&
11787 { ac_try
='test -s conftest$ac_exeext'
11788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11789 (eval $ac_try) 2>&5
11791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11792 (exit $ac_status); }; }; then
11793 ac_cv_lib_l_yywrap
=yes
11795 echo "$as_me: failed program was:" >&5
11796 sed 's/^/| /' conftest.
$ac_ext >&5
11798 ac_cv_lib_l_yywrap
=no
11800 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11801 LIBS
=$ac_check_lib_save_LIBS
11803 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
11804 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
11805 if test $ac_cv_lib_l_yywrap = yes; then
11813 if test "x$LEX" != "x:"; then
11814 echo "$as_me:$LINENO: checking lex output file root" >&5
11815 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
11816 if test "${ac_cv_prog_lex_root+set}" = set; then
11817 echo $ECHO_N "(cached) $ECHO_C" >&6
11819 # The minimal lex program is just a single line: %%. But some broken lexes
11820 # (Solaris, I think it was) want two %% lines, so accommodate them.
11821 cat >conftest.l
<<_ACEOF
11825 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
11826 (eval $LEX conftest.l
) 2>&5
11828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11829 (exit $ac_status); }
11830 if test -f lex.yy.c
; then
11831 ac_cv_prog_lex_root
=lex.yy
11832 elif test -f lexyy.c
; then
11833 ac_cv_prog_lex_root
=lexyy
11835 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
11836 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
11837 { (exit 1); exit 1; }; }
11840 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
11841 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
11843 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
11845 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
11846 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
11847 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
11848 echo $ECHO_N "(cached) $ECHO_C" >&6
11850 # POSIX says lex can declare yytext either as a pointer or an array; the
11851 # default is implementation-dependent. Figure out which it is, since
11852 # not all implementations provide the %pointer and %array declarations.
11853 ac_cv_prog_lex_yytext_pointer
=no
11854 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
11856 LIBS
="$LIBS $LEXLIB"
11857 cat >conftest.
$ac_ext <<_ACEOF
11858 `cat $LEX_OUTPUT_ROOT.c`
11860 rm -f conftest.
$ac_objext conftest
$ac_exeext
11861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11862 (eval $ac_link) 2>&5
11864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11865 (exit $ac_status); } &&
11866 { ac_try
='test -s conftest$ac_exeext'
11867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11868 (eval $ac_try) 2>&5
11870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11871 (exit $ac_status); }; }; then
11872 ac_cv_prog_lex_yytext_pointer
=yes
11874 echo "$as_me: failed program was:" >&5
11875 sed 's/^/| /' conftest.
$ac_ext >&5
11878 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11880 rm -f "${LEX_OUTPUT_ROOT}.c"
11883 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
11884 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
11885 if test $ac_cv_prog_lex_yytext_pointer = yes; then
11887 cat >>confdefs.h
<<\_ACEOF
11888 #define YYTEXT_POINTER 1
11895 echo "$as_me:$LINENO: checking whether ln -s works" >&5
11896 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11898 if test "$LN_S" = "ln -s"; then
11899 echo "$as_me:$LINENO: result: yes" >&5
11900 echo "${ECHO_T}yes" >&6
11902 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11903 echo "${ECHO_T}no, using $LN_S" >&6
11908 *-pc-os2_emx | *-pc-os2-emx )
11909 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11910 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11911 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11912 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11913 echo $ECHO_N "(cached) $ECHO_C" >&6
11915 ac_check_lib_save_LIBS
=$LIBS
11916 LIBS
="-lcExt $LIBS"
11917 cat >conftest.
$ac_ext <<_ACEOF
11918 #line $LINENO "configure"
11921 cat confdefs.h
>>conftest.
$ac_ext
11922 cat >>conftest.
$ac_ext <<_ACEOF
11923 /* end confdefs.h. */
11925 /* Override any gcc2 internal prototype to avoid an error. */
11929 /* We use char because int might match the return type of a gcc2
11930 builtin and then its argument prototype would still apply. */
11940 rm -f conftest.
$ac_objext conftest
$ac_exeext
11941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11942 (eval $ac_link) 2>&5
11944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11945 (exit $ac_status); } &&
11946 { ac_try
='test -s conftest$ac_exeext'
11947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11948 (eval $ac_try) 2>&5
11950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11951 (exit $ac_status); }; }; then
11952 ac_cv_lib_cExt_drand48
=yes
11954 echo "$as_me: failed program was:" >&5
11955 sed 's/^/| /' conftest.
$ac_ext >&5
11957 ac_cv_lib_cExt_drand48
=no
11959 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11960 LIBS
=$ac_check_lib_save_LIBS
11962 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
11963 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
11964 if test $ac_cv_lib_cExt_drand48 = yes; then
11965 LIBS
="$LIBS -lcExt"
11969 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
11975 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
11976 echo "$as_me:$LINENO: checking for strings.h" >&5
11977 echo $ECHO_N "checking for strings.h... $ECHO_C" >&6
11978 if test "${ac_cv_header_strings_h+set}" = set; then
11979 echo $ECHO_N "(cached) $ECHO_C" >&6
11981 ac_cv_header_strings_h
=no
11983 echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5
11984 echo "${ECHO_T}$ac_cv_header_strings_h" >&6
11985 if test "$ac_cv_header_strings_h" = "no"; then
11986 echo "$as_me:$LINENO: result: forced no into cache" >&5
11987 echo "${ECHO_T}forced no into cache" >&6
11989 { echo "$as_me:$LINENO: WARNING: strings.h is not compatible with Mac OS X" >&5
11990 echo "$as_me: WARNING: strings.h is not compatible with Mac OS X" >&2;}
11993 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11994 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11995 if test "${ac_cv_header_stdc+set}" = set; then
11996 echo $ECHO_N "(cached) $ECHO_C" >&6
11998 cat >conftest.
$ac_ext <<_ACEOF
11999 #line $LINENO "configure"
12002 cat confdefs.h
>>conftest.
$ac_ext
12003 cat >>conftest.
$ac_ext <<_ACEOF
12004 /* end confdefs.h. */
12005 #include <stdlib.h>
12006 #include <stdarg.h>
12007 #include <string.h>
12018 rm -f conftest.
$ac_objext
12019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12020 (eval $ac_compile) 2>&5
12022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12023 (exit $ac_status); } &&
12024 { ac_try
='test -s conftest.$ac_objext'
12025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12026 (eval $ac_try) 2>&5
12028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12029 (exit $ac_status); }; }; then
12030 ac_cv_header_stdc
=yes
12032 echo "$as_me: failed program was:" >&5
12033 sed 's/^/| /' conftest.
$ac_ext >&5
12035 ac_cv_header_stdc
=no
12037 rm -f conftest.
$ac_objext conftest.
$ac_ext
12039 if test $ac_cv_header_stdc = yes; then
12040 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12041 cat >conftest.
$ac_ext <<_ACEOF
12042 #line $LINENO "configure"
12045 cat confdefs.h
>>conftest.
$ac_ext
12046 cat >>conftest.
$ac_ext <<_ACEOF
12047 /* end confdefs.h. */
12048 #include <string.h>
12051 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12052 $EGREP "memchr" >/dev
/null
2>&1; then
12055 ac_cv_header_stdc
=no
12061 if test $ac_cv_header_stdc = yes; then
12062 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12063 cat >conftest.
$ac_ext <<_ACEOF
12064 #line $LINENO "configure"
12067 cat confdefs.h
>>conftest.
$ac_ext
12068 cat >>conftest.
$ac_ext <<_ACEOF
12069 /* end confdefs.h. */
12070 #include <stdlib.h>
12073 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12074 $EGREP "free" >/dev
/null
2>&1; then
12077 ac_cv_header_stdc
=no
12083 if test $ac_cv_header_stdc = yes; then
12084 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12085 if test "$cross_compiling" = yes; then
12088 cat >conftest.
$ac_ext <<_ACEOF
12089 #line $LINENO "configure"
12092 cat confdefs.h
>>conftest.
$ac_ext
12093 cat >>conftest.
$ac_ext <<_ACEOF
12094 /* end confdefs.h. */
12096 #if ((' ' & 0x0FF) == 0x020)
12097 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12098 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12100 # define ISLOWER(c) \
12101 (('a' <= (c) && (c) <= 'i') \
12102 || ('j' <= (c) && (c) <= 'r') \
12103 || ('s' <= (c) && (c) <= 'z'))
12104 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12107 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12112 for (i = 0; i < 256; i++)
12113 if (XOR (islower (i), ISLOWER (i))
12114 || toupper (i) != TOUPPER (i))
12119 rm -f conftest
$ac_exeext
12120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12121 (eval $ac_link) 2>&5
12123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12124 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12126 (eval $ac_try) 2>&5
12128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12129 (exit $ac_status); }; }; then
12132 echo "$as_me: program exited with status $ac_status" >&5
12133 echo "$as_me: failed program was:" >&5
12134 sed 's/^/| /' conftest.
$ac_ext >&5
12136 ( exit $ac_status )
12137 ac_cv_header_stdc
=no
12139 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12143 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12144 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12145 if test $ac_cv_header_stdc = yes; then
12147 cat >>confdefs.h
<<\_ACEOF
12148 #define STDC_HEADERS 1
12153 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12163 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
12164 inttypes.h stdint.h unistd.h
12166 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12167 echo "$as_me:$LINENO: checking for $ac_header" >&5
12168 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12169 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12170 echo $ECHO_N "(cached) $ECHO_C" >&6
12172 cat >conftest.
$ac_ext <<_ACEOF
12173 #line $LINENO "configure"
12176 cat confdefs.h
>>conftest.
$ac_ext
12177 cat >>conftest.
$ac_ext <<_ACEOF
12178 /* end confdefs.h. */
12179 $ac_includes_default
12181 #include <$ac_header>
12183 rm -f conftest.
$ac_objext
12184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12185 (eval $ac_compile) 2>&5
12187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12188 (exit $ac_status); } &&
12189 { ac_try
='test -s conftest.$ac_objext'
12190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12191 (eval $ac_try) 2>&5
12193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12194 (exit $ac_status); }; }; then
12195 eval "$as_ac_Header=yes"
12197 echo "$as_me: failed program was:" >&5
12198 sed 's/^/| /' conftest.
$ac_ext >&5
12200 eval "$as_ac_Header=no"
12202 rm -f conftest.
$ac_objext conftest.
$ac_ext
12204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12205 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12206 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12207 cat >>confdefs.h
<<_ACEOF
12208 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12217 for ac_header
in strings.h
12219 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12220 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12221 echo "$as_me:$LINENO: checking for $ac_header" >&5
12222 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12223 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12224 echo $ECHO_N "(cached) $ECHO_C" >&6
12226 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12227 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12229 # Is the header compilable?
12230 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12231 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12232 cat >conftest.
$ac_ext <<_ACEOF
12233 #line $LINENO "configure"
12236 cat confdefs.h
>>conftest.
$ac_ext
12237 cat >>conftest.
$ac_ext <<_ACEOF
12238 /* end confdefs.h. */
12239 $ac_includes_default
12240 #include <$ac_header>
12242 rm -f conftest.
$ac_objext
12243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12244 (eval $ac_compile) 2>&5
12246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12247 (exit $ac_status); } &&
12248 { ac_try
='test -s conftest.$ac_objext'
12249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12250 (eval $ac_try) 2>&5
12252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12253 (exit $ac_status); }; }; then
12254 ac_header_compiler
=yes
12256 echo "$as_me: failed program was:" >&5
12257 sed 's/^/| /' conftest.
$ac_ext >&5
12259 ac_header_compiler
=no
12261 rm -f conftest.
$ac_objext conftest.
$ac_ext
12262 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12263 echo "${ECHO_T}$ac_header_compiler" >&6
12265 # Is the header present?
12266 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12267 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12268 cat >conftest.
$ac_ext <<_ACEOF
12269 #line $LINENO "configure"
12272 cat confdefs.h
>>conftest.
$ac_ext
12273 cat >>conftest.
$ac_ext <<_ACEOF
12274 /* end confdefs.h. */
12275 #include <$ac_header>
12277 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12278 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12280 grep -v '^ *+' conftest.er1
>conftest.err
12282 cat conftest.err
>&5
12283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12284 (exit $ac_status); } >/dev
/null
; then
12285 if test -s conftest.err
; then
12286 ac_cpp_err
=$ac_c_preproc_warn_flag
12293 if test -z "$ac_cpp_err"; then
12294 ac_header_preproc
=yes
12296 echo "$as_me: failed program was:" >&5
12297 sed 's/^/| /' conftest.
$ac_ext >&5
12299 ac_header_preproc
=no
12301 rm -f conftest.err conftest.
$ac_ext
12302 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12303 echo "${ECHO_T}$ac_header_preproc" >&6
12305 # So? What about this header?
12306 case $ac_header_compiler:$ac_header_preproc in
12308 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12309 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12310 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12311 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12314 ## ------------------------------------ ##
12315 ## Report this to bug-autoconf@gnu.org. ##
12316 ## ------------------------------------ ##
12319 sed "s/^/$as_me: WARNING: /" >&2
12322 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12323 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12324 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12325 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12326 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12327 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12330 ## ------------------------------------ ##
12331 ## Report this to bug-autoconf@gnu.org. ##
12332 ## ------------------------------------ ##
12335 sed "s/^/$as_me: WARNING: /" >&2
12338 echo "$as_me:$LINENO: checking for $ac_header" >&5
12339 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12340 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12341 echo $ECHO_N "(cached) $ECHO_C" >&6
12343 eval "$as_ac_Header=$ac_header_preproc"
12345 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12346 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12349 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12350 cat >>confdefs.h
<<_ACEOF
12351 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12360 for ac_header
in stdlib.h
12362 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12363 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12364 echo "$as_me:$LINENO: checking for $ac_header" >&5
12365 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12366 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12367 echo $ECHO_N "(cached) $ECHO_C" >&6
12369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12370 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12372 # Is the header compilable?
12373 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12374 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12375 cat >conftest.
$ac_ext <<_ACEOF
12376 #line $LINENO "configure"
12379 cat confdefs.h
>>conftest.
$ac_ext
12380 cat >>conftest.
$ac_ext <<_ACEOF
12381 /* end confdefs.h. */
12382 $ac_includes_default
12383 #include <$ac_header>
12385 rm -f conftest.
$ac_objext
12386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12387 (eval $ac_compile) 2>&5
12389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12390 (exit $ac_status); } &&
12391 { ac_try
='test -s conftest.$ac_objext'
12392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12393 (eval $ac_try) 2>&5
12395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12396 (exit $ac_status); }; }; then
12397 ac_header_compiler
=yes
12399 echo "$as_me: failed program was:" >&5
12400 sed 's/^/| /' conftest.
$ac_ext >&5
12402 ac_header_compiler
=no
12404 rm -f conftest.
$ac_objext conftest.
$ac_ext
12405 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12406 echo "${ECHO_T}$ac_header_compiler" >&6
12408 # Is the header present?
12409 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12410 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12411 cat >conftest.
$ac_ext <<_ACEOF
12412 #line $LINENO "configure"
12415 cat confdefs.h
>>conftest.
$ac_ext
12416 cat >>conftest.
$ac_ext <<_ACEOF
12417 /* end confdefs.h. */
12418 #include <$ac_header>
12420 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12421 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12423 grep -v '^ *+' conftest.er1
>conftest.err
12425 cat conftest.err
>&5
12426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12427 (exit $ac_status); } >/dev
/null
; then
12428 if test -s conftest.err
; then
12429 ac_cpp_err
=$ac_c_preproc_warn_flag
12436 if test -z "$ac_cpp_err"; then
12437 ac_header_preproc
=yes
12439 echo "$as_me: failed program was:" >&5
12440 sed 's/^/| /' conftest.
$ac_ext >&5
12442 ac_header_preproc
=no
12444 rm -f conftest.err conftest.
$ac_ext
12445 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12446 echo "${ECHO_T}$ac_header_preproc" >&6
12448 # So? What about this header?
12449 case $ac_header_compiler:$ac_header_preproc in
12451 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12452 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12453 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12454 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12457 ## ------------------------------------ ##
12458 ## Report this to bug-autoconf@gnu.org. ##
12459 ## ------------------------------------ ##
12462 sed "s/^/$as_me: WARNING: /" >&2
12465 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12466 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12467 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12468 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12469 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12470 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12473 ## ------------------------------------ ##
12474 ## Report this to bug-autoconf@gnu.org. ##
12475 ## ------------------------------------ ##
12478 sed "s/^/$as_me: WARNING: /" >&2
12481 echo "$as_me:$LINENO: checking for $ac_header" >&5
12482 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12483 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12484 echo $ECHO_N "(cached) $ECHO_C" >&6
12486 eval "$as_ac_Header=$ac_header_preproc"
12488 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12489 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12492 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12493 cat >>confdefs.h
<<_ACEOF
12494 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12502 for ac_header
in malloc.h
12504 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12505 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12506 echo "$as_me:$LINENO: checking for $ac_header" >&5
12507 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12508 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12509 echo $ECHO_N "(cached) $ECHO_C" >&6
12511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12512 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12514 # Is the header compilable?
12515 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12516 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12517 cat >conftest.
$ac_ext <<_ACEOF
12518 #line $LINENO "configure"
12521 cat confdefs.h
>>conftest.
$ac_ext
12522 cat >>conftest.
$ac_ext <<_ACEOF
12523 /* end confdefs.h. */
12524 $ac_includes_default
12525 #include <$ac_header>
12527 rm -f conftest.
$ac_objext
12528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12529 (eval $ac_compile) 2>&5
12531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12532 (exit $ac_status); } &&
12533 { ac_try
='test -s conftest.$ac_objext'
12534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12535 (eval $ac_try) 2>&5
12537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12538 (exit $ac_status); }; }; then
12539 ac_header_compiler
=yes
12541 echo "$as_me: failed program was:" >&5
12542 sed 's/^/| /' conftest.
$ac_ext >&5
12544 ac_header_compiler
=no
12546 rm -f conftest.
$ac_objext conftest.
$ac_ext
12547 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12548 echo "${ECHO_T}$ac_header_compiler" >&6
12550 # Is the header present?
12551 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12552 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12553 cat >conftest.
$ac_ext <<_ACEOF
12554 #line $LINENO "configure"
12557 cat confdefs.h
>>conftest.
$ac_ext
12558 cat >>conftest.
$ac_ext <<_ACEOF
12559 /* end confdefs.h. */
12560 #include <$ac_header>
12562 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12563 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12565 grep -v '^ *+' conftest.er1
>conftest.err
12567 cat conftest.err
>&5
12568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12569 (exit $ac_status); } >/dev
/null
; then
12570 if test -s conftest.err
; then
12571 ac_cpp_err
=$ac_c_preproc_warn_flag
12578 if test -z "$ac_cpp_err"; then
12579 ac_header_preproc
=yes
12581 echo "$as_me: failed program was:" >&5
12582 sed 's/^/| /' conftest.
$ac_ext >&5
12584 ac_header_preproc
=no
12586 rm -f conftest.err conftest.
$ac_ext
12587 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12588 echo "${ECHO_T}$ac_header_preproc" >&6
12590 # So? What about this header?
12591 case $ac_header_compiler:$ac_header_preproc in
12593 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12594 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12595 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12596 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12599 ## ------------------------------------ ##
12600 ## Report this to bug-autoconf@gnu.org. ##
12601 ## ------------------------------------ ##
12604 sed "s/^/$as_me: WARNING: /" >&2
12607 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12608 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12609 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12610 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12611 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12612 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12615 ## ------------------------------------ ##
12616 ## Report this to bug-autoconf@gnu.org. ##
12617 ## ------------------------------------ ##
12620 sed "s/^/$as_me: WARNING: /" >&2
12623 echo "$as_me:$LINENO: checking for $ac_header" >&5
12624 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12625 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12626 echo $ECHO_N "(cached) $ECHO_C" >&6
12628 eval "$as_ac_Header=$ac_header_preproc"
12630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12631 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12634 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12635 cat >>confdefs.h
<<_ACEOF
12636 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12644 for ac_header
in unistd.h
12646 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12647 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12648 echo "$as_me:$LINENO: checking for $ac_header" >&5
12649 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12650 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12651 echo $ECHO_N "(cached) $ECHO_C" >&6
12653 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12654 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12656 # Is the header compilable?
12657 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12658 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12659 cat >conftest.
$ac_ext <<_ACEOF
12660 #line $LINENO "configure"
12663 cat confdefs.h
>>conftest.
$ac_ext
12664 cat >>conftest.
$ac_ext <<_ACEOF
12665 /* end confdefs.h. */
12666 $ac_includes_default
12667 #include <$ac_header>
12669 rm -f conftest.
$ac_objext
12670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12671 (eval $ac_compile) 2>&5
12673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12674 (exit $ac_status); } &&
12675 { ac_try
='test -s conftest.$ac_objext'
12676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12677 (eval $ac_try) 2>&5
12679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12680 (exit $ac_status); }; }; then
12681 ac_header_compiler
=yes
12683 echo "$as_me: failed program was:" >&5
12684 sed 's/^/| /' conftest.
$ac_ext >&5
12686 ac_header_compiler
=no
12688 rm -f conftest.
$ac_objext conftest.
$ac_ext
12689 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12690 echo "${ECHO_T}$ac_header_compiler" >&6
12692 # Is the header present?
12693 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12694 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12695 cat >conftest.
$ac_ext <<_ACEOF
12696 #line $LINENO "configure"
12699 cat confdefs.h
>>conftest.
$ac_ext
12700 cat >>conftest.
$ac_ext <<_ACEOF
12701 /* end confdefs.h. */
12702 #include <$ac_header>
12704 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12705 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12707 grep -v '^ *+' conftest.er1
>conftest.err
12709 cat conftest.err
>&5
12710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12711 (exit $ac_status); } >/dev
/null
; then
12712 if test -s conftest.err
; then
12713 ac_cpp_err
=$ac_c_preproc_warn_flag
12720 if test -z "$ac_cpp_err"; then
12721 ac_header_preproc
=yes
12723 echo "$as_me: failed program was:" >&5
12724 sed 's/^/| /' conftest.
$ac_ext >&5
12726 ac_header_preproc
=no
12728 rm -f conftest.err conftest.
$ac_ext
12729 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12730 echo "${ECHO_T}$ac_header_preproc" >&6
12732 # So? What about this header?
12733 case $ac_header_compiler:$ac_header_preproc in
12735 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12736 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12737 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12738 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12741 ## ------------------------------------ ##
12742 ## Report this to bug-autoconf@gnu.org. ##
12743 ## ------------------------------------ ##
12746 sed "s/^/$as_me: WARNING: /" >&2
12749 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12750 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12751 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12752 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12753 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12754 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12757 ## ------------------------------------ ##
12758 ## Report this to bug-autoconf@gnu.org. ##
12759 ## ------------------------------------ ##
12762 sed "s/^/$as_me: WARNING: /" >&2
12765 echo "$as_me:$LINENO: checking for $ac_header" >&5
12766 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12767 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12768 echo $ECHO_N "(cached) $ECHO_C" >&6
12770 eval "$as_ac_Header=$ac_header_preproc"
12772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12773 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12776 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12777 cat >>confdefs.h
<<_ACEOF
12778 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12786 for ac_header
in wchar.h
12788 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12789 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12790 echo "$as_me:$LINENO: checking for $ac_header" >&5
12791 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12792 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12793 echo $ECHO_N "(cached) $ECHO_C" >&6
12795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12796 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12798 # Is the header compilable?
12799 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12800 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12801 cat >conftest.
$ac_ext <<_ACEOF
12802 #line $LINENO "configure"
12805 cat confdefs.h
>>conftest.
$ac_ext
12806 cat >>conftest.
$ac_ext <<_ACEOF
12807 /* end confdefs.h. */
12808 $ac_includes_default
12809 #include <$ac_header>
12811 rm -f conftest.
$ac_objext
12812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12813 (eval $ac_compile) 2>&5
12815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12816 (exit $ac_status); } &&
12817 { ac_try
='test -s conftest.$ac_objext'
12818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12819 (eval $ac_try) 2>&5
12821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12822 (exit $ac_status); }; }; then
12823 ac_header_compiler
=yes
12825 echo "$as_me: failed program was:" >&5
12826 sed 's/^/| /' conftest.
$ac_ext >&5
12828 ac_header_compiler
=no
12830 rm -f conftest.
$ac_objext conftest.
$ac_ext
12831 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12832 echo "${ECHO_T}$ac_header_compiler" >&6
12834 # Is the header present?
12835 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12836 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12837 cat >conftest.
$ac_ext <<_ACEOF
12838 #line $LINENO "configure"
12841 cat confdefs.h
>>conftest.
$ac_ext
12842 cat >>conftest.
$ac_ext <<_ACEOF
12843 /* end confdefs.h. */
12844 #include <$ac_header>
12846 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12847 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12849 grep -v '^ *+' conftest.er1
>conftest.err
12851 cat conftest.err
>&5
12852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12853 (exit $ac_status); } >/dev
/null
; then
12854 if test -s conftest.err
; then
12855 ac_cpp_err
=$ac_c_preproc_warn_flag
12862 if test -z "$ac_cpp_err"; then
12863 ac_header_preproc
=yes
12865 echo "$as_me: failed program was:" >&5
12866 sed 's/^/| /' conftest.
$ac_ext >&5
12868 ac_header_preproc
=no
12870 rm -f conftest.err conftest.
$ac_ext
12871 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12872 echo "${ECHO_T}$ac_header_preproc" >&6
12874 # So? What about this header?
12875 case $ac_header_compiler:$ac_header_preproc in
12877 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12878 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12879 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12880 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12883 ## ------------------------------------ ##
12884 ## Report this to bug-autoconf@gnu.org. ##
12885 ## ------------------------------------ ##
12888 sed "s/^/$as_me: WARNING: /" >&2
12891 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12892 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12893 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12894 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12895 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12896 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12899 ## ------------------------------------ ##
12900 ## Report this to bug-autoconf@gnu.org. ##
12901 ## ------------------------------------ ##
12904 sed "s/^/$as_me: WARNING: /" >&2
12907 echo "$as_me:$LINENO: checking for $ac_header" >&5
12908 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12909 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12910 echo $ECHO_N "(cached) $ECHO_C" >&6
12912 eval "$as_ac_Header=$ac_header_preproc"
12914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12915 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12918 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12919 cat >>confdefs.h
<<_ACEOF
12920 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12928 if test "$ac_cv_header_wchar_h" != "yes"; then
12930 for ac_header
in wcstr.h
12932 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12933 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12934 echo "$as_me:$LINENO: checking for $ac_header" >&5
12935 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12936 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12937 echo $ECHO_N "(cached) $ECHO_C" >&6
12939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12940 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12942 # Is the header compilable?
12943 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12944 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12945 cat >conftest.
$ac_ext <<_ACEOF
12946 #line $LINENO "configure"
12949 cat confdefs.h
>>conftest.
$ac_ext
12950 cat >>conftest.
$ac_ext <<_ACEOF
12951 /* end confdefs.h. */
12952 $ac_includes_default
12953 #include <$ac_header>
12955 rm -f conftest.
$ac_objext
12956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12957 (eval $ac_compile) 2>&5
12959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12960 (exit $ac_status); } &&
12961 { ac_try
='test -s conftest.$ac_objext'
12962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12963 (eval $ac_try) 2>&5
12965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12966 (exit $ac_status); }; }; then
12967 ac_header_compiler
=yes
12969 echo "$as_me: failed program was:" >&5
12970 sed 's/^/| /' conftest.
$ac_ext >&5
12972 ac_header_compiler
=no
12974 rm -f conftest.
$ac_objext conftest.
$ac_ext
12975 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12976 echo "${ECHO_T}$ac_header_compiler" >&6
12978 # Is the header present?
12979 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12980 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12981 cat >conftest.
$ac_ext <<_ACEOF
12982 #line $LINENO "configure"
12985 cat confdefs.h
>>conftest.
$ac_ext
12986 cat >>conftest.
$ac_ext <<_ACEOF
12987 /* end confdefs.h. */
12988 #include <$ac_header>
12990 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12991 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12993 grep -v '^ *+' conftest.er1
>conftest.err
12995 cat conftest.err
>&5
12996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12997 (exit $ac_status); } >/dev
/null
; then
12998 if test -s conftest.err
; then
12999 ac_cpp_err
=$ac_c_preproc_warn_flag
13006 if test -z "$ac_cpp_err"; then
13007 ac_header_preproc
=yes
13009 echo "$as_me: failed program was:" >&5
13010 sed 's/^/| /' conftest.
$ac_ext >&5
13012 ac_header_preproc
=no
13014 rm -f conftest.err conftest.
$ac_ext
13015 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13016 echo "${ECHO_T}$ac_header_preproc" >&6
13018 # So? What about this header?
13019 case $ac_header_compiler:$ac_header_preproc in
13021 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13022 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13023 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13024 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13027 ## ------------------------------------ ##
13028 ## Report this to bug-autoconf@gnu.org. ##
13029 ## ------------------------------------ ##
13032 sed "s/^/$as_me: WARNING: /" >&2
13035 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13036 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13037 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13038 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13039 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13040 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13043 ## ------------------------------------ ##
13044 ## Report this to bug-autoconf@gnu.org. ##
13045 ## ------------------------------------ ##
13048 sed "s/^/$as_me: WARNING: /" >&2
13051 echo "$as_me:$LINENO: checking for $ac_header" >&5
13052 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13053 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13054 echo $ECHO_N "(cached) $ECHO_C" >&6
13056 eval "$as_ac_Header=$ac_header_preproc"
13058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13059 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13062 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13063 cat >>confdefs.h
<<_ACEOF
13064 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13074 for ac_header
in fnmatch.h
13076 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13077 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13078 echo "$as_me:$LINENO: checking for $ac_header" >&5
13079 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13080 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13081 echo $ECHO_N "(cached) $ECHO_C" >&6
13083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13084 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13086 # Is the header compilable?
13087 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13088 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13089 cat >conftest.
$ac_ext <<_ACEOF
13090 #line $LINENO "configure"
13093 cat confdefs.h
>>conftest.
$ac_ext
13094 cat >>conftest.
$ac_ext <<_ACEOF
13095 /* end confdefs.h. */
13096 $ac_includes_default
13097 #include <$ac_header>
13099 rm -f conftest.
$ac_objext
13100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13101 (eval $ac_compile) 2>&5
13103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13104 (exit $ac_status); } &&
13105 { ac_try
='test -s conftest.$ac_objext'
13106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13107 (eval $ac_try) 2>&5
13109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13110 (exit $ac_status); }; }; then
13111 ac_header_compiler
=yes
13113 echo "$as_me: failed program was:" >&5
13114 sed 's/^/| /' conftest.
$ac_ext >&5
13116 ac_header_compiler
=no
13118 rm -f conftest.
$ac_objext conftest.
$ac_ext
13119 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13120 echo "${ECHO_T}$ac_header_compiler" >&6
13122 # Is the header present?
13123 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13124 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13125 cat >conftest.
$ac_ext <<_ACEOF
13126 #line $LINENO "configure"
13129 cat confdefs.h
>>conftest.
$ac_ext
13130 cat >>conftest.
$ac_ext <<_ACEOF
13131 /* end confdefs.h. */
13132 #include <$ac_header>
13134 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13135 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13137 grep -v '^ *+' conftest.er1
>conftest.err
13139 cat conftest.err
>&5
13140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13141 (exit $ac_status); } >/dev
/null
; then
13142 if test -s conftest.err
; then
13143 ac_cpp_err
=$ac_c_preproc_warn_flag
13150 if test -z "$ac_cpp_err"; then
13151 ac_header_preproc
=yes
13153 echo "$as_me: failed program was:" >&5
13154 sed 's/^/| /' conftest.
$ac_ext >&5
13156 ac_header_preproc
=no
13158 rm -f conftest.err conftest.
$ac_ext
13159 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13160 echo "${ECHO_T}$ac_header_preproc" >&6
13162 # So? What about this header?
13163 case $ac_header_compiler:$ac_header_preproc in
13165 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13166 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13167 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13168 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13171 ## ------------------------------------ ##
13172 ## Report this to bug-autoconf@gnu.org. ##
13173 ## ------------------------------------ ##
13176 sed "s/^/$as_me: WARNING: /" >&2
13179 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13180 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13181 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13182 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13183 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13184 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13187 ## ------------------------------------ ##
13188 ## Report this to bug-autoconf@gnu.org. ##
13189 ## ------------------------------------ ##
13192 sed "s/^/$as_me: WARNING: /" >&2
13195 echo "$as_me:$LINENO: checking for $ac_header" >&5
13196 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13197 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13198 echo $ECHO_N "(cached) $ECHO_C" >&6
13200 eval "$as_ac_Header=$ac_header_preproc"
13202 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13203 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13206 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13207 cat >>confdefs.h
<<_ACEOF
13208 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13216 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13218 for ac_func
in fnmatch
13220 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13221 echo "$as_me:$LINENO: checking for $ac_func" >&5
13222 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13223 if eval "test \"\${$as_ac_var+set}\" = set"; then
13224 echo $ECHO_N "(cached) $ECHO_C" >&6
13226 cat >conftest.
$ac_ext <<_ACEOF
13227 #line $LINENO "configure"
13230 cat confdefs.h
>>conftest.
$ac_ext
13231 cat >>conftest.
$ac_ext <<_ACEOF
13232 /* end confdefs.h. */
13233 /* System header to define __stub macros and hopefully few prototypes,
13234 which can conflict with char $ac_func (); below.
13235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13236 <limits.h> exists even on freestanding compilers. */
13238 # include <limits.h>
13240 # include <assert.h>
13242 /* Override any gcc2 internal prototype to avoid an error. */
13247 /* We use char because int might match the return type of a gcc2
13248 builtin and then its argument prototype would still apply. */
13250 /* The GNU C library defines this for functions which it implements
13251 to always fail with ENOSYS. Some functions are actually named
13252 something starting with __ and the normal name is an alias. */
13253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13256 char (*f) () = $ac_func;
13265 return f != $ac_func;
13270 rm -f conftest.
$ac_objext conftest
$ac_exeext
13271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13272 (eval $ac_link) 2>&5
13274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13275 (exit $ac_status); } &&
13276 { ac_try
='test -s conftest$ac_exeext'
13277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13278 (eval $ac_try) 2>&5
13280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13281 (exit $ac_status); }; }; then
13282 eval "$as_ac_var=yes"
13284 echo "$as_me: failed program was:" >&5
13285 sed 's/^/| /' conftest.
$ac_ext >&5
13287 eval "$as_ac_var=no"
13289 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13292 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13293 if test `eval echo '${'$as_ac_var'}'` = yes; then
13294 cat >>confdefs.h
<<_ACEOF
13295 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13304 for ac_header
in langinfo.h
13306 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13307 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13308 echo "$as_me:$LINENO: checking for $ac_header" >&5
13309 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13310 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13311 echo $ECHO_N "(cached) $ECHO_C" >&6
13313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13314 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13316 # Is the header compilable?
13317 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13318 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13319 cat >conftest.
$ac_ext <<_ACEOF
13320 #line $LINENO "configure"
13323 cat confdefs.h
>>conftest.
$ac_ext
13324 cat >>conftest.
$ac_ext <<_ACEOF
13325 /* end confdefs.h. */
13326 $ac_includes_default
13327 #include <$ac_header>
13329 rm -f conftest.
$ac_objext
13330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13331 (eval $ac_compile) 2>&5
13333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13334 (exit $ac_status); } &&
13335 { ac_try
='test -s conftest.$ac_objext'
13336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13337 (eval $ac_try) 2>&5
13339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13340 (exit $ac_status); }; }; then
13341 ac_header_compiler
=yes
13343 echo "$as_me: failed program was:" >&5
13344 sed 's/^/| /' conftest.
$ac_ext >&5
13346 ac_header_compiler
=no
13348 rm -f conftest.
$ac_objext conftest.
$ac_ext
13349 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13350 echo "${ECHO_T}$ac_header_compiler" >&6
13352 # Is the header present?
13353 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13354 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13355 cat >conftest.
$ac_ext <<_ACEOF
13356 #line $LINENO "configure"
13359 cat confdefs.h
>>conftest.
$ac_ext
13360 cat >>conftest.
$ac_ext <<_ACEOF
13361 /* end confdefs.h. */
13362 #include <$ac_header>
13364 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13365 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13367 grep -v '^ *+' conftest.er1
>conftest.err
13369 cat conftest.err
>&5
13370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13371 (exit $ac_status); } >/dev
/null
; then
13372 if test -s conftest.err
; then
13373 ac_cpp_err
=$ac_c_preproc_warn_flag
13380 if test -z "$ac_cpp_err"; then
13381 ac_header_preproc
=yes
13383 echo "$as_me: failed program was:" >&5
13384 sed 's/^/| /' conftest.
$ac_ext >&5
13386 ac_header_preproc
=no
13388 rm -f conftest.err conftest.
$ac_ext
13389 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13390 echo "${ECHO_T}$ac_header_preproc" >&6
13392 # So? What about this header?
13393 case $ac_header_compiler:$ac_header_preproc in
13395 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13396 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13397 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13398 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13401 ## ------------------------------------ ##
13402 ## Report this to bug-autoconf@gnu.org. ##
13403 ## ------------------------------------ ##
13406 sed "s/^/$as_me: WARNING: /" >&2
13409 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13410 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13411 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13412 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13413 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13414 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13417 ## ------------------------------------ ##
13418 ## Report this to bug-autoconf@gnu.org. ##
13419 ## ------------------------------------ ##
13422 sed "s/^/$as_me: WARNING: /" >&2
13425 echo "$as_me:$LINENO: checking for $ac_header" >&5
13426 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13427 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13428 echo $ECHO_N "(cached) $ECHO_C" >&6
13430 eval "$as_ac_Header=$ac_header_preproc"
13432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13433 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13436 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13437 cat >>confdefs.h
<<_ACEOF
13438 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13447 *-pc-os2_emx | *-pc-os2-emx )
13448 if test $ac_cv_header_langinfo_h = "yes"; then
13449 LIBS
="$LIBS -lintl"
13454 if test "$wxUSE_GUI" = "yes"; then
13455 if test "$wxUSE_UNIX" = "yes"; then
13457 for ac_header
in X
11/Xlib.h
13459 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13460 if eval "test \"\${$as_ac_Header+set}\" = set"; then
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 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13467 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13469 # Is the header compilable?
13470 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13471 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13472 cat >conftest.
$ac_ext <<_ACEOF
13473 #line $LINENO "configure"
13476 cat confdefs.h
>>conftest.
$ac_ext
13477 cat >>conftest.
$ac_ext <<_ACEOF
13478 /* end confdefs.h. */
13479 $ac_includes_default
13480 #include <$ac_header>
13482 rm -f conftest.
$ac_objext
13483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13484 (eval $ac_compile) 2>&5
13486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13487 (exit $ac_status); } &&
13488 { ac_try
='test -s conftest.$ac_objext'
13489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13490 (eval $ac_try) 2>&5
13492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13493 (exit $ac_status); }; }; then
13494 ac_header_compiler
=yes
13496 echo "$as_me: failed program was:" >&5
13497 sed 's/^/| /' conftest.
$ac_ext >&5
13499 ac_header_compiler
=no
13501 rm -f conftest.
$ac_objext conftest.
$ac_ext
13502 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13503 echo "${ECHO_T}$ac_header_compiler" >&6
13505 # Is the header present?
13506 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13507 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13508 cat >conftest.
$ac_ext <<_ACEOF
13509 #line $LINENO "configure"
13512 cat confdefs.h
>>conftest.
$ac_ext
13513 cat >>conftest.
$ac_ext <<_ACEOF
13514 /* end confdefs.h. */
13515 #include <$ac_header>
13517 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13518 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13520 grep -v '^ *+' conftest.er1
>conftest.err
13522 cat conftest.err
>&5
13523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13524 (exit $ac_status); } >/dev
/null
; then
13525 if test -s conftest.err
; then
13526 ac_cpp_err
=$ac_c_preproc_warn_flag
13533 if test -z "$ac_cpp_err"; then
13534 ac_header_preproc
=yes
13536 echo "$as_me: failed program was:" >&5
13537 sed 's/^/| /' conftest.
$ac_ext >&5
13539 ac_header_preproc
=no
13541 rm -f conftest.err conftest.
$ac_ext
13542 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13543 echo "${ECHO_T}$ac_header_preproc" >&6
13545 # So? What about this header?
13546 case $ac_header_compiler:$ac_header_preproc in
13548 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13549 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13550 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13551 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13554 ## ------------------------------------ ##
13555 ## Report this to bug-autoconf@gnu.org. ##
13556 ## ------------------------------------ ##
13559 sed "s/^/$as_me: WARNING: /" >&2
13562 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13563 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13564 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13565 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13566 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13567 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13570 ## ------------------------------------ ##
13571 ## Report this to bug-autoconf@gnu.org. ##
13572 ## ------------------------------------ ##
13575 sed "s/^/$as_me: WARNING: /" >&2
13578 echo "$as_me:$LINENO: checking for $ac_header" >&5
13579 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13580 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13581 echo $ECHO_N "(cached) $ECHO_C" >&6
13583 eval "$as_ac_Header=$ac_header_preproc"
13585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13586 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13589 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13590 cat >>confdefs.h
<<_ACEOF
13591 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13599 for ac_header
in X
11/XKBlib.h
13601 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13602 echo "$as_me:$LINENO: checking for $ac_header" >&5
13603 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13604 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13605 echo $ECHO_N "(cached) $ECHO_C" >&6
13607 cat >conftest.
$ac_ext <<_ACEOF
13608 #line $LINENO "configure"
13611 cat confdefs.h
>>conftest.
$ac_ext
13612 cat >>conftest.
$ac_ext <<_ACEOF
13613 /* end confdefs.h. */
13615 #if HAVE_X11_XLIB_H
13616 #include <X11/Xlib.h>
13620 #include <$ac_header>
13622 rm -f conftest.
$ac_objext
13623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13624 (eval $ac_compile) 2>&5
13626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13627 (exit $ac_status); } &&
13628 { ac_try
='test -s conftest.$ac_objext'
13629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13630 (eval $ac_try) 2>&5
13632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13633 (exit $ac_status); }; }; then
13634 eval "$as_ac_Header=yes"
13636 echo "$as_me: failed program was:" >&5
13637 sed 's/^/| /' conftest.
$ac_ext >&5
13639 eval "$as_ac_Header=no"
13641 rm -f conftest.
$ac_objext conftest.
$ac_ext
13643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13644 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13645 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13646 cat >>confdefs.h
<<_ACEOF
13647 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13658 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13659 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13660 if test "${ac_cv_c_const+set}" = set; then
13661 echo $ECHO_N "(cached) $ECHO_C" >&6
13663 cat >conftest.
$ac_ext <<_ACEOF
13664 #line $LINENO "configure"
13667 cat confdefs.h
>>conftest.
$ac_ext
13668 cat >>conftest.
$ac_ext <<_ACEOF
13669 /* end confdefs.h. */
13674 /* FIXME: Include the comments suggested by Paul. */
13675 #ifndef __cplusplus
13676 /* Ultrix mips cc rejects this. */
13677 typedef int charset[2];
13679 /* SunOS 4.1.1 cc rejects this. */
13680 char const *const *ccp;
13682 /* NEC SVR4.0.2 mips cc rejects this. */
13683 struct point {int x, y;};
13684 static struct point const zero = {0,0};
13685 /* AIX XL C 1.02.0.0 rejects this.
13686 It does not let you subtract one const X* pointer from another in
13687 an arm of an if-expression whose if-part is not a constant
13689 const char *g = "string";
13690 ccp = &g + (g ? g-g : 0);
13691 /* HPUX 7.0 cc rejects these. */
13694 ccp = (char const *const *) p;
13695 { /* SCO 3.2v4 cc rejects this. */
13697 char const *s = 0 ? (char *) 0 : (char const *) 0;
13701 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13702 int x[] = {25, 17};
13703 const int *foo = &x[0];
13706 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13707 typedef const int *iptr;
13711 { /* AIX XL C 1.02.0.0 rejects this saying
13712 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13713 struct s { int j; const int *ap[3]; };
13714 struct s *b; b->j = 5;
13716 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13717 const int foo = 10;
13725 rm -f conftest.
$ac_objext
13726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13727 (eval $ac_compile) 2>&5
13729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13730 (exit $ac_status); } &&
13731 { ac_try
='test -s conftest.$ac_objext'
13732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13733 (eval $ac_try) 2>&5
13735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13736 (exit $ac_status); }; }; then
13739 echo "$as_me: failed program was:" >&5
13740 sed 's/^/| /' conftest.
$ac_ext >&5
13744 rm -f conftest.
$ac_objext conftest.
$ac_ext
13746 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13747 echo "${ECHO_T}$ac_cv_c_const" >&6
13748 if test $ac_cv_c_const = no
; then
13750 cat >>confdefs.h
<<\_ACEOF
13756 echo "$as_me:$LINENO: checking for inline" >&5
13757 echo $ECHO_N "checking for inline... $ECHO_C" >&6
13758 if test "${ac_cv_c_inline+set}" = set; then
13759 echo $ECHO_N "(cached) $ECHO_C" >&6
13762 for ac_kw
in inline __inline__ __inline
; do
13763 cat >conftest.
$ac_ext <<_ACEOF
13764 #line $LINENO "configure"
13767 cat confdefs.h
>>conftest.
$ac_ext
13768 cat >>conftest.
$ac_ext <<_ACEOF
13769 /* end confdefs.h. */
13770 #ifndef __cplusplus
13772 static $ac_kw foo_t static_foo () {return 0; }
13773 $ac_kw foo_t foo () {return 0; }
13777 rm -f conftest.
$ac_objext
13778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13779 (eval $ac_compile) 2>&5
13781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13782 (exit $ac_status); } &&
13783 { ac_try
='test -s conftest.$ac_objext'
13784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13785 (eval $ac_try) 2>&5
13787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13788 (exit $ac_status); }; }; then
13789 ac_cv_c_inline
=$ac_kw; break
13791 echo "$as_me: failed program was:" >&5
13792 sed 's/^/| /' conftest.
$ac_ext >&5
13795 rm -f conftest.
$ac_objext conftest.
$ac_ext
13799 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13800 echo "${ECHO_T}$ac_cv_c_inline" >&6
13801 case $ac_cv_c_inline in
13804 cat >>confdefs.h
<<\_ACEOF
13808 *) cat >>confdefs.h
<<_ACEOF
13809 #define inline $ac_cv_c_inline
13815 echo "$as_me:$LINENO: checking for char" >&5
13816 echo $ECHO_N "checking for char... $ECHO_C" >&6
13817 if test "${ac_cv_type_char+set}" = set; then
13818 echo $ECHO_N "(cached) $ECHO_C" >&6
13820 cat >conftest.
$ac_ext <<_ACEOF
13821 #line $LINENO "configure"
13824 cat confdefs.h
>>conftest.
$ac_ext
13825 cat >>conftest.
$ac_ext <<_ACEOF
13826 /* end confdefs.h. */
13827 $ac_includes_default
13839 rm -f conftest.
$ac_objext
13840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13841 (eval $ac_compile) 2>&5
13843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13844 (exit $ac_status); } &&
13845 { ac_try
='test -s conftest.$ac_objext'
13846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13847 (eval $ac_try) 2>&5
13849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13850 (exit $ac_status); }; }; then
13851 ac_cv_type_char
=yes
13853 echo "$as_me: failed program was:" >&5
13854 sed 's/^/| /' conftest.
$ac_ext >&5
13858 rm -f conftest.
$ac_objext conftest.
$ac_ext
13860 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13861 echo "${ECHO_T}$ac_cv_type_char" >&6
13863 echo "$as_me:$LINENO: checking size of char" >&5
13864 echo $ECHO_N "checking size of char... $ECHO_C" >&6
13865 if test "${ac_cv_sizeof_char+set}" = set; then
13866 echo $ECHO_N "(cached) $ECHO_C" >&6
13868 if test "$ac_cv_type_char" = yes; then
13869 # The cast to unsigned long works around a bug in the HP C Compiler
13870 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13871 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13872 # This bug is HP SR number 8606223364.
13873 if test "$cross_compiling" = yes; then
13874 # Depending upon the size, compute the lo and hi bounds.
13875 cat >conftest.
$ac_ext <<_ACEOF
13876 #line $LINENO "configure"
13879 cat confdefs.h
>>conftest.
$ac_ext
13880 cat >>conftest.
$ac_ext <<_ACEOF
13881 /* end confdefs.h. */
13882 $ac_includes_default
13886 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13893 rm -f conftest.
$ac_objext
13894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13895 (eval $ac_compile) 2>&5
13897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13898 (exit $ac_status); } &&
13899 { ac_try
='test -s conftest.$ac_objext'
13900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13901 (eval $ac_try) 2>&5
13903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13904 (exit $ac_status); }; }; then
13907 cat >conftest.
$ac_ext <<_ACEOF
13908 #line $LINENO "configure"
13911 cat confdefs.h
>>conftest.
$ac_ext
13912 cat >>conftest.
$ac_ext <<_ACEOF
13913 /* end confdefs.h. */
13914 $ac_includes_default
13918 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13925 rm -f conftest.
$ac_objext
13926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13927 (eval $ac_compile) 2>&5
13929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13930 (exit $ac_status); } &&
13931 { ac_try
='test -s conftest.$ac_objext'
13932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13933 (eval $ac_try) 2>&5
13935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13936 (exit $ac_status); }; }; then
13937 ac_hi
=$ac_mid; break
13939 echo "$as_me: failed program was:" >&5
13940 sed 's/^/| /' conftest.
$ac_ext >&5
13942 ac_lo
=`expr $ac_mid + 1`
13943 if test $ac_lo -le $ac_mid; then
13947 ac_mid
=`expr 2 '*' $ac_mid + 1`
13949 rm -f conftest.
$ac_objext conftest.
$ac_ext
13952 echo "$as_me: failed program was:" >&5
13953 sed 's/^/| /' conftest.
$ac_ext >&5
13955 cat >conftest.
$ac_ext <<_ACEOF
13956 #line $LINENO "configure"
13959 cat confdefs.h
>>conftest.
$ac_ext
13960 cat >>conftest.
$ac_ext <<_ACEOF
13961 /* end confdefs.h. */
13962 $ac_includes_default
13966 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
13973 rm -f conftest.
$ac_objext
13974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13975 (eval $ac_compile) 2>&5
13977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13978 (exit $ac_status); } &&
13979 { ac_try
='test -s conftest.$ac_objext'
13980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13981 (eval $ac_try) 2>&5
13983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13984 (exit $ac_status); }; }; then
13987 cat >conftest.
$ac_ext <<_ACEOF
13988 #line $LINENO "configure"
13991 cat confdefs.h
>>conftest.
$ac_ext
13992 cat >>conftest.
$ac_ext <<_ACEOF
13993 /* end confdefs.h. */
13994 $ac_includes_default
13998 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14005 rm -f conftest.
$ac_objext
14006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14007 (eval $ac_compile) 2>&5
14009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14010 (exit $ac_status); } &&
14011 { ac_try
='test -s conftest.$ac_objext'
14012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14013 (eval $ac_try) 2>&5
14015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14016 (exit $ac_status); }; }; then
14017 ac_lo
=$ac_mid; break
14019 echo "$as_me: failed program was:" >&5
14020 sed 's/^/| /' conftest.
$ac_ext >&5
14022 ac_hi
=`expr '(' $ac_mid ')' - 1`
14023 if test $ac_mid -le $ac_hi; then
14027 ac_mid
=`expr 2 '*' $ac_mid`
14029 rm -f conftest.
$ac_objext conftest.
$ac_ext
14032 echo "$as_me: failed program was:" >&5
14033 sed 's/^/| /' conftest.
$ac_ext >&5
14037 rm -f conftest.
$ac_objext conftest.
$ac_ext
14039 rm -f conftest.
$ac_objext conftest.
$ac_ext
14040 # Binary search between lo and hi bounds.
14041 while test "x$ac_lo" != "x$ac_hi"; do
14042 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14043 cat >conftest.
$ac_ext <<_ACEOF
14044 #line $LINENO "configure"
14047 cat confdefs.h
>>conftest.
$ac_ext
14048 cat >>conftest.
$ac_ext <<_ACEOF
14049 /* end confdefs.h. */
14050 $ac_includes_default
14054 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14061 rm -f conftest.
$ac_objext
14062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14063 (eval $ac_compile) 2>&5
14065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14066 (exit $ac_status); } &&
14067 { ac_try
='test -s conftest.$ac_objext'
14068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14069 (eval $ac_try) 2>&5
14071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14072 (exit $ac_status); }; }; then
14075 echo "$as_me: failed program was:" >&5
14076 sed 's/^/| /' conftest.
$ac_ext >&5
14078 ac_lo
=`expr '(' $ac_mid ')' + 1`
14080 rm -f conftest.
$ac_objext conftest.
$ac_ext
14083 ?
*) ac_cv_sizeof_char
=$ac_lo;;
14084 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14085 See \`config.log' for more details." >&5
14086 echo "$as_me: error: cannot compute sizeof (char), 77
14087 See \`config.log' for more details." >&2;}
14088 { (exit 1); exit 1; }; } ;;
14091 if test "$cross_compiling" = yes; then
14092 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14093 See \`config.log' for more details." >&5
14094 echo "$as_me: error: cannot run test program while cross compiling
14095 See \`config.log' for more details." >&2;}
14096 { (exit 1); exit 1; }; }
14098 cat >conftest.
$ac_ext <<_ACEOF
14099 #line $LINENO "configure"
14102 cat confdefs.h
>>conftest.
$ac_ext
14103 cat >>conftest.
$ac_ext <<_ACEOF
14104 /* end confdefs.h. */
14105 $ac_includes_default
14106 long longval () { return (long) (sizeof (char)); }
14107 unsigned long ulongval () { return (long) (sizeof (char)); }
14109 #include <stdlib.h>
14114 FILE *f = fopen ("conftest.val", "w");
14117 if (((long) (sizeof (char))) < 0)
14119 long i = longval ();
14120 if (i != ((long) (sizeof (char))))
14122 fprintf (f, "%ld\n", i);
14126 unsigned long i = ulongval ();
14127 if (i != ((long) (sizeof (char))))
14129 fprintf (f, "%lu\n", i);
14131 exit (ferror (f) || fclose (f) != 0);
14137 rm -f conftest
$ac_exeext
14138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14139 (eval $ac_link) 2>&5
14141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14142 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14144 (eval $ac_try) 2>&5
14146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14147 (exit $ac_status); }; }; then
14148 ac_cv_sizeof_char
=`cat conftest.val`
14150 echo "$as_me: program exited with status $ac_status" >&5
14151 echo "$as_me: failed program was:" >&5
14152 sed 's/^/| /' conftest.
$ac_ext >&5
14154 ( exit $ac_status )
14155 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14156 See \`config.log' for more details." >&5
14157 echo "$as_me: error: cannot compute sizeof (char), 77
14158 See \`config.log' for more details." >&2;}
14159 { (exit 1); exit 1; }; }
14161 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14166 ac_cv_sizeof_char
=0
14169 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14170 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14171 cat >>confdefs.h
<<_ACEOF
14172 #define SIZEOF_CHAR $ac_cv_sizeof_char
14176 echo "$as_me:$LINENO: checking for short" >&5
14177 echo $ECHO_N "checking for short... $ECHO_C" >&6
14178 if test "${ac_cv_type_short+set}" = set; then
14179 echo $ECHO_N "(cached) $ECHO_C" >&6
14181 cat >conftest.
$ac_ext <<_ACEOF
14182 #line $LINENO "configure"
14185 cat confdefs.h
>>conftest.
$ac_ext
14186 cat >>conftest.
$ac_ext <<_ACEOF
14187 /* end confdefs.h. */
14188 $ac_includes_default
14194 if (sizeof (short))
14200 rm -f conftest.
$ac_objext
14201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14202 (eval $ac_compile) 2>&5
14204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14205 (exit $ac_status); } &&
14206 { ac_try
='test -s conftest.$ac_objext'
14207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14208 (eval $ac_try) 2>&5
14210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14211 (exit $ac_status); }; }; then
14212 ac_cv_type_short
=yes
14214 echo "$as_me: failed program was:" >&5
14215 sed 's/^/| /' conftest.
$ac_ext >&5
14217 ac_cv_type_short
=no
14219 rm -f conftest.
$ac_objext conftest.
$ac_ext
14221 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14222 echo "${ECHO_T}$ac_cv_type_short" >&6
14224 echo "$as_me:$LINENO: checking size of short" >&5
14225 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14226 if test "${ac_cv_sizeof_short+set}" = set; then
14227 echo $ECHO_N "(cached) $ECHO_C" >&6
14229 if test "$ac_cv_type_short" = yes; then
14230 # The cast to unsigned long works around a bug in the HP C Compiler
14231 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14232 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14233 # This bug is HP SR number 8606223364.
14234 if test "$cross_compiling" = yes; then
14235 # Depending upon the size, compute the lo and hi bounds.
14236 cat >conftest.
$ac_ext <<_ACEOF
14237 #line $LINENO "configure"
14240 cat confdefs.h
>>conftest.
$ac_ext
14241 cat >>conftest.
$ac_ext <<_ACEOF
14242 /* end confdefs.h. */
14243 $ac_includes_default
14247 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14254 rm -f conftest.
$ac_objext
14255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14256 (eval $ac_compile) 2>&5
14258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14259 (exit $ac_status); } &&
14260 { ac_try
='test -s conftest.$ac_objext'
14261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14262 (eval $ac_try) 2>&5
14264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14265 (exit $ac_status); }; }; then
14268 cat >conftest.
$ac_ext <<_ACEOF
14269 #line $LINENO "configure"
14272 cat confdefs.h
>>conftest.
$ac_ext
14273 cat >>conftest.
$ac_ext <<_ACEOF
14274 /* end confdefs.h. */
14275 $ac_includes_default
14279 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14286 rm -f conftest.
$ac_objext
14287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14288 (eval $ac_compile) 2>&5
14290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14291 (exit $ac_status); } &&
14292 { ac_try
='test -s conftest.$ac_objext'
14293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14294 (eval $ac_try) 2>&5
14296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14297 (exit $ac_status); }; }; then
14298 ac_hi
=$ac_mid; break
14300 echo "$as_me: failed program was:" >&5
14301 sed 's/^/| /' conftest.
$ac_ext >&5
14303 ac_lo
=`expr $ac_mid + 1`
14304 if test $ac_lo -le $ac_mid; then
14308 ac_mid
=`expr 2 '*' $ac_mid + 1`
14310 rm -f conftest.
$ac_objext conftest.
$ac_ext
14313 echo "$as_me: failed program was:" >&5
14314 sed 's/^/| /' conftest.
$ac_ext >&5
14316 cat >conftest.
$ac_ext <<_ACEOF
14317 #line $LINENO "configure"
14320 cat confdefs.h
>>conftest.
$ac_ext
14321 cat >>conftest.
$ac_ext <<_ACEOF
14322 /* end confdefs.h. */
14323 $ac_includes_default
14327 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14334 rm -f conftest.
$ac_objext
14335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14336 (eval $ac_compile) 2>&5
14338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14339 (exit $ac_status); } &&
14340 { ac_try
='test -s conftest.$ac_objext'
14341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14342 (eval $ac_try) 2>&5
14344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14345 (exit $ac_status); }; }; then
14348 cat >conftest.
$ac_ext <<_ACEOF
14349 #line $LINENO "configure"
14352 cat confdefs.h
>>conftest.
$ac_ext
14353 cat >>conftest.
$ac_ext <<_ACEOF
14354 /* end confdefs.h. */
14355 $ac_includes_default
14359 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14366 rm -f conftest.
$ac_objext
14367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14368 (eval $ac_compile) 2>&5
14370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14371 (exit $ac_status); } &&
14372 { ac_try
='test -s conftest.$ac_objext'
14373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14374 (eval $ac_try) 2>&5
14376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14377 (exit $ac_status); }; }; then
14378 ac_lo
=$ac_mid; break
14380 echo "$as_me: failed program was:" >&5
14381 sed 's/^/| /' conftest.
$ac_ext >&5
14383 ac_hi
=`expr '(' $ac_mid ')' - 1`
14384 if test $ac_mid -le $ac_hi; then
14388 ac_mid
=`expr 2 '*' $ac_mid`
14390 rm -f conftest.
$ac_objext conftest.
$ac_ext
14393 echo "$as_me: failed program was:" >&5
14394 sed 's/^/| /' conftest.
$ac_ext >&5
14398 rm -f conftest.
$ac_objext conftest.
$ac_ext
14400 rm -f conftest.
$ac_objext conftest.
$ac_ext
14401 # Binary search between lo and hi bounds.
14402 while test "x$ac_lo" != "x$ac_hi"; do
14403 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14404 cat >conftest.
$ac_ext <<_ACEOF
14405 #line $LINENO "configure"
14408 cat confdefs.h
>>conftest.
$ac_ext
14409 cat >>conftest.
$ac_ext <<_ACEOF
14410 /* end confdefs.h. */
14411 $ac_includes_default
14415 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14422 rm -f conftest.
$ac_objext
14423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14424 (eval $ac_compile) 2>&5
14426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14427 (exit $ac_status); } &&
14428 { ac_try
='test -s conftest.$ac_objext'
14429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14430 (eval $ac_try) 2>&5
14432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14433 (exit $ac_status); }; }; then
14436 echo "$as_me: failed program was:" >&5
14437 sed 's/^/| /' conftest.
$ac_ext >&5
14439 ac_lo
=`expr '(' $ac_mid ')' + 1`
14441 rm -f conftest.
$ac_objext conftest.
$ac_ext
14444 ?
*) ac_cv_sizeof_short
=$ac_lo;;
14445 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14446 See \`config.log' for more details." >&5
14447 echo "$as_me: error: cannot compute sizeof (short), 77
14448 See \`config.log' for more details." >&2;}
14449 { (exit 1); exit 1; }; } ;;
14452 if test "$cross_compiling" = yes; then
14453 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14454 See \`config.log' for more details." >&5
14455 echo "$as_me: error: cannot run test program while cross compiling
14456 See \`config.log' for more details." >&2;}
14457 { (exit 1); exit 1; }; }
14459 cat >conftest.
$ac_ext <<_ACEOF
14460 #line $LINENO "configure"
14463 cat confdefs.h
>>conftest.
$ac_ext
14464 cat >>conftest.
$ac_ext <<_ACEOF
14465 /* end confdefs.h. */
14466 $ac_includes_default
14467 long longval () { return (long) (sizeof (short)); }
14468 unsigned long ulongval () { return (long) (sizeof (short)); }
14470 #include <stdlib.h>
14475 FILE *f = fopen ("conftest.val", "w");
14478 if (((long) (sizeof (short))) < 0)
14480 long i = longval ();
14481 if (i != ((long) (sizeof (short))))
14483 fprintf (f, "%ld\n", i);
14487 unsigned long i = ulongval ();
14488 if (i != ((long) (sizeof (short))))
14490 fprintf (f, "%lu\n", i);
14492 exit (ferror (f) || fclose (f) != 0);
14498 rm -f conftest
$ac_exeext
14499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14500 (eval $ac_link) 2>&5
14502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14503 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14505 (eval $ac_try) 2>&5
14507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14508 (exit $ac_status); }; }; then
14509 ac_cv_sizeof_short
=`cat conftest.val`
14511 echo "$as_me: program exited with status $ac_status" >&5
14512 echo "$as_me: failed program was:" >&5
14513 sed 's/^/| /' conftest.
$ac_ext >&5
14515 ( exit $ac_status )
14516 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14517 See \`config.log' for more details." >&5
14518 echo "$as_me: error: cannot compute sizeof (short), 77
14519 See \`config.log' for more details." >&2;}
14520 { (exit 1); exit 1; }; }
14522 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14527 ac_cv_sizeof_short
=0
14530 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14531 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14532 cat >>confdefs.h
<<_ACEOF
14533 #define SIZEOF_SHORT $ac_cv_sizeof_short
14537 echo "$as_me:$LINENO: checking for void *" >&5
14538 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14539 if test "${ac_cv_type_void_p+set}" = set; then
14540 echo $ECHO_N "(cached) $ECHO_C" >&6
14542 cat >conftest.
$ac_ext <<_ACEOF
14543 #line $LINENO "configure"
14546 cat confdefs.h
>>conftest.
$ac_ext
14547 cat >>conftest.
$ac_ext <<_ACEOF
14548 /* end confdefs.h. */
14549 $ac_includes_default
14555 if (sizeof (void *))
14561 rm -f conftest.
$ac_objext
14562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14563 (eval $ac_compile) 2>&5
14565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14566 (exit $ac_status); } &&
14567 { ac_try
='test -s conftest.$ac_objext'
14568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14569 (eval $ac_try) 2>&5
14571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14572 (exit $ac_status); }; }; then
14573 ac_cv_type_void_p
=yes
14575 echo "$as_me: failed program was:" >&5
14576 sed 's/^/| /' conftest.
$ac_ext >&5
14578 ac_cv_type_void_p
=no
14580 rm -f conftest.
$ac_objext conftest.
$ac_ext
14582 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14583 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14585 echo "$as_me:$LINENO: checking size of void *" >&5
14586 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14587 if test "${ac_cv_sizeof_void_p+set}" = set; then
14588 echo $ECHO_N "(cached) $ECHO_C" >&6
14590 if test "$ac_cv_type_void_p" = yes; then
14591 # The cast to unsigned long works around a bug in the HP C Compiler
14592 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14593 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14594 # This bug is HP SR number 8606223364.
14595 if test "$cross_compiling" = yes; then
14596 # Depending upon the size, compute the lo and hi bounds.
14597 cat >conftest.
$ac_ext <<_ACEOF
14598 #line $LINENO "configure"
14601 cat confdefs.h
>>conftest.
$ac_ext
14602 cat >>conftest.
$ac_ext <<_ACEOF
14603 /* end confdefs.h. */
14604 $ac_includes_default
14608 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14615 rm -f conftest.
$ac_objext
14616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14617 (eval $ac_compile) 2>&5
14619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14620 (exit $ac_status); } &&
14621 { ac_try
='test -s conftest.$ac_objext'
14622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14623 (eval $ac_try) 2>&5
14625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14626 (exit $ac_status); }; }; then
14629 cat >conftest.
$ac_ext <<_ACEOF
14630 #line $LINENO "configure"
14633 cat confdefs.h
>>conftest.
$ac_ext
14634 cat >>conftest.
$ac_ext <<_ACEOF
14635 /* end confdefs.h. */
14636 $ac_includes_default
14640 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14647 rm -f conftest.
$ac_objext
14648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14649 (eval $ac_compile) 2>&5
14651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14652 (exit $ac_status); } &&
14653 { ac_try
='test -s conftest.$ac_objext'
14654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14655 (eval $ac_try) 2>&5
14657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14658 (exit $ac_status); }; }; then
14659 ac_hi
=$ac_mid; break
14661 echo "$as_me: failed program was:" >&5
14662 sed 's/^/| /' conftest.
$ac_ext >&5
14664 ac_lo
=`expr $ac_mid + 1`
14665 if test $ac_lo -le $ac_mid; then
14669 ac_mid
=`expr 2 '*' $ac_mid + 1`
14671 rm -f conftest.
$ac_objext conftest.
$ac_ext
14674 echo "$as_me: failed program was:" >&5
14675 sed 's/^/| /' conftest.
$ac_ext >&5
14677 cat >conftest.
$ac_ext <<_ACEOF
14678 #line $LINENO "configure"
14681 cat confdefs.h
>>conftest.
$ac_ext
14682 cat >>conftest.
$ac_ext <<_ACEOF
14683 /* end confdefs.h. */
14684 $ac_includes_default
14688 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14695 rm -f conftest.
$ac_objext
14696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14697 (eval $ac_compile) 2>&5
14699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14700 (exit $ac_status); } &&
14701 { ac_try
='test -s conftest.$ac_objext'
14702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14703 (eval $ac_try) 2>&5
14705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14706 (exit $ac_status); }; }; then
14709 cat >conftest.
$ac_ext <<_ACEOF
14710 #line $LINENO "configure"
14713 cat confdefs.h
>>conftest.
$ac_ext
14714 cat >>conftest.
$ac_ext <<_ACEOF
14715 /* end confdefs.h. */
14716 $ac_includes_default
14720 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14727 rm -f conftest.
$ac_objext
14728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14729 (eval $ac_compile) 2>&5
14731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14732 (exit $ac_status); } &&
14733 { ac_try
='test -s conftest.$ac_objext'
14734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14735 (eval $ac_try) 2>&5
14737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14738 (exit $ac_status); }; }; then
14739 ac_lo
=$ac_mid; break
14741 echo "$as_me: failed program was:" >&5
14742 sed 's/^/| /' conftest.
$ac_ext >&5
14744 ac_hi
=`expr '(' $ac_mid ')' - 1`
14745 if test $ac_mid -le $ac_hi; then
14749 ac_mid
=`expr 2 '*' $ac_mid`
14751 rm -f conftest.
$ac_objext conftest.
$ac_ext
14754 echo "$as_me: failed program was:" >&5
14755 sed 's/^/| /' conftest.
$ac_ext >&5
14759 rm -f conftest.
$ac_objext conftest.
$ac_ext
14761 rm -f conftest.
$ac_objext conftest.
$ac_ext
14762 # Binary search between lo and hi bounds.
14763 while test "x$ac_lo" != "x$ac_hi"; do
14764 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14765 cat >conftest.
$ac_ext <<_ACEOF
14766 #line $LINENO "configure"
14769 cat confdefs.h
>>conftest.
$ac_ext
14770 cat >>conftest.
$ac_ext <<_ACEOF
14771 /* end confdefs.h. */
14772 $ac_includes_default
14776 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14783 rm -f conftest.
$ac_objext
14784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14785 (eval $ac_compile) 2>&5
14787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14788 (exit $ac_status); } &&
14789 { ac_try
='test -s conftest.$ac_objext'
14790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14791 (eval $ac_try) 2>&5
14793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14794 (exit $ac_status); }; }; then
14797 echo "$as_me: failed program was:" >&5
14798 sed 's/^/| /' conftest.
$ac_ext >&5
14800 ac_lo
=`expr '(' $ac_mid ')' + 1`
14802 rm -f conftest.
$ac_objext conftest.
$ac_ext
14805 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
14806 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14807 See \`config.log' for more details." >&5
14808 echo "$as_me: error: cannot compute sizeof (void *), 77
14809 See \`config.log' for more details." >&2;}
14810 { (exit 1); exit 1; }; } ;;
14813 if test "$cross_compiling" = yes; then
14814 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14815 See \`config.log' for more details." >&5
14816 echo "$as_me: error: cannot run test program while cross compiling
14817 See \`config.log' for more details." >&2;}
14818 { (exit 1); exit 1; }; }
14820 cat >conftest.
$ac_ext <<_ACEOF
14821 #line $LINENO "configure"
14824 cat confdefs.h
>>conftest.
$ac_ext
14825 cat >>conftest.
$ac_ext <<_ACEOF
14826 /* end confdefs.h. */
14827 $ac_includes_default
14828 long longval () { return (long) (sizeof (void *)); }
14829 unsigned long ulongval () { return (long) (sizeof (void *)); }
14831 #include <stdlib.h>
14836 FILE *f = fopen ("conftest.val", "w");
14839 if (((long) (sizeof (void *))) < 0)
14841 long i = longval ();
14842 if (i != ((long) (sizeof (void *))))
14844 fprintf (f, "%ld\n", i);
14848 unsigned long i = ulongval ();
14849 if (i != ((long) (sizeof (void *))))
14851 fprintf (f, "%lu\n", i);
14853 exit (ferror (f) || fclose (f) != 0);
14859 rm -f conftest
$ac_exeext
14860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14861 (eval $ac_link) 2>&5
14863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14864 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14866 (eval $ac_try) 2>&5
14868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14869 (exit $ac_status); }; }; then
14870 ac_cv_sizeof_void_p
=`cat conftest.val`
14872 echo "$as_me: program exited with status $ac_status" >&5
14873 echo "$as_me: failed program was:" >&5
14874 sed 's/^/| /' conftest.
$ac_ext >&5
14876 ( exit $ac_status )
14877 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14878 See \`config.log' for more details." >&5
14879 echo "$as_me: error: cannot compute sizeof (void *), 77
14880 See \`config.log' for more details." >&2;}
14881 { (exit 1); exit 1; }; }
14883 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14888 ac_cv_sizeof_void_p
=0
14891 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14892 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14893 cat >>confdefs.h
<<_ACEOF
14894 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14898 echo "$as_me:$LINENO: checking for int" >&5
14899 echo $ECHO_N "checking for int... $ECHO_C" >&6
14900 if test "${ac_cv_type_int+set}" = set; then
14901 echo $ECHO_N "(cached) $ECHO_C" >&6
14903 cat >conftest.
$ac_ext <<_ACEOF
14904 #line $LINENO "configure"
14907 cat confdefs.h
>>conftest.
$ac_ext
14908 cat >>conftest.
$ac_ext <<_ACEOF
14909 /* end confdefs.h. */
14910 $ac_includes_default
14922 rm -f conftest.
$ac_objext
14923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14924 (eval $ac_compile) 2>&5
14926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14927 (exit $ac_status); } &&
14928 { ac_try
='test -s conftest.$ac_objext'
14929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14930 (eval $ac_try) 2>&5
14932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14933 (exit $ac_status); }; }; then
14936 echo "$as_me: failed program was:" >&5
14937 sed 's/^/| /' conftest.
$ac_ext >&5
14941 rm -f conftest.
$ac_objext conftest.
$ac_ext
14943 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14944 echo "${ECHO_T}$ac_cv_type_int" >&6
14946 echo "$as_me:$LINENO: checking size of int" >&5
14947 echo $ECHO_N "checking size of int... $ECHO_C" >&6
14948 if test "${ac_cv_sizeof_int+set}" = set; then
14949 echo $ECHO_N "(cached) $ECHO_C" >&6
14951 if test "$ac_cv_type_int" = yes; then
14952 # The cast to unsigned long works around a bug in the HP C Compiler
14953 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14954 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14955 # This bug is HP SR number 8606223364.
14956 if test "$cross_compiling" = yes; then
14957 # Depending upon the size, compute the lo and hi bounds.
14958 cat >conftest.
$ac_ext <<_ACEOF
14959 #line $LINENO "configure"
14962 cat confdefs.h
>>conftest.
$ac_ext
14963 cat >>conftest.
$ac_ext <<_ACEOF
14964 /* end confdefs.h. */
14965 $ac_includes_default
14969 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14976 rm -f conftest.
$ac_objext
14977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14978 (eval $ac_compile) 2>&5
14980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14981 (exit $ac_status); } &&
14982 { ac_try
='test -s conftest.$ac_objext'
14983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14984 (eval $ac_try) 2>&5
14986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14987 (exit $ac_status); }; }; then
14990 cat >conftest.
$ac_ext <<_ACEOF
14991 #line $LINENO "configure"
14994 cat confdefs.h
>>conftest.
$ac_ext
14995 cat >>conftest.
$ac_ext <<_ACEOF
14996 /* end confdefs.h. */
14997 $ac_includes_default
15001 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15008 rm -f conftest.
$ac_objext
15009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15010 (eval $ac_compile) 2>&5
15012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15013 (exit $ac_status); } &&
15014 { ac_try
='test -s conftest.$ac_objext'
15015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15016 (eval $ac_try) 2>&5
15018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15019 (exit $ac_status); }; }; then
15020 ac_hi
=$ac_mid; break
15022 echo "$as_me: failed program was:" >&5
15023 sed 's/^/| /' conftest.
$ac_ext >&5
15025 ac_lo
=`expr $ac_mid + 1`
15026 if test $ac_lo -le $ac_mid; then
15030 ac_mid
=`expr 2 '*' $ac_mid + 1`
15032 rm -f conftest.
$ac_objext conftest.
$ac_ext
15035 echo "$as_me: failed program was:" >&5
15036 sed 's/^/| /' conftest.
$ac_ext >&5
15038 cat >conftest.
$ac_ext <<_ACEOF
15039 #line $LINENO "configure"
15042 cat confdefs.h
>>conftest.
$ac_ext
15043 cat >>conftest.
$ac_ext <<_ACEOF
15044 /* end confdefs.h. */
15045 $ac_includes_default
15049 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15056 rm -f conftest.
$ac_objext
15057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15058 (eval $ac_compile) 2>&5
15060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15061 (exit $ac_status); } &&
15062 { ac_try
='test -s conftest.$ac_objext'
15063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15064 (eval $ac_try) 2>&5
15066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15067 (exit $ac_status); }; }; then
15070 cat >conftest.
$ac_ext <<_ACEOF
15071 #line $LINENO "configure"
15074 cat confdefs.h
>>conftest.
$ac_ext
15075 cat >>conftest.
$ac_ext <<_ACEOF
15076 /* end confdefs.h. */
15077 $ac_includes_default
15081 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15088 rm -f conftest.
$ac_objext
15089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15090 (eval $ac_compile) 2>&5
15092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15093 (exit $ac_status); } &&
15094 { ac_try
='test -s conftest.$ac_objext'
15095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15096 (eval $ac_try) 2>&5
15098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15099 (exit $ac_status); }; }; then
15100 ac_lo
=$ac_mid; break
15102 echo "$as_me: failed program was:" >&5
15103 sed 's/^/| /' conftest.
$ac_ext >&5
15105 ac_hi
=`expr '(' $ac_mid ')' - 1`
15106 if test $ac_mid -le $ac_hi; then
15110 ac_mid
=`expr 2 '*' $ac_mid`
15112 rm -f conftest.
$ac_objext conftest.
$ac_ext
15115 echo "$as_me: failed program was:" >&5
15116 sed 's/^/| /' conftest.
$ac_ext >&5
15120 rm -f conftest.
$ac_objext conftest.
$ac_ext
15122 rm -f conftest.
$ac_objext conftest.
$ac_ext
15123 # Binary search between lo and hi bounds.
15124 while test "x$ac_lo" != "x$ac_hi"; do
15125 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15126 cat >conftest.
$ac_ext <<_ACEOF
15127 #line $LINENO "configure"
15130 cat confdefs.h
>>conftest.
$ac_ext
15131 cat >>conftest.
$ac_ext <<_ACEOF
15132 /* end confdefs.h. */
15133 $ac_includes_default
15137 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15144 rm -f conftest.
$ac_objext
15145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15146 (eval $ac_compile) 2>&5
15148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15149 (exit $ac_status); } &&
15150 { ac_try
='test -s conftest.$ac_objext'
15151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15152 (eval $ac_try) 2>&5
15154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15155 (exit $ac_status); }; }; then
15158 echo "$as_me: failed program was:" >&5
15159 sed 's/^/| /' conftest.
$ac_ext >&5
15161 ac_lo
=`expr '(' $ac_mid ')' + 1`
15163 rm -f conftest.
$ac_objext conftest.
$ac_ext
15166 ?
*) ac_cv_sizeof_int
=$ac_lo;;
15167 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15168 See \`config.log' for more details." >&5
15169 echo "$as_me: error: cannot compute sizeof (int), 77
15170 See \`config.log' for more details." >&2;}
15171 { (exit 1); exit 1; }; } ;;
15174 if test "$cross_compiling" = yes; then
15175 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15176 See \`config.log' for more details." >&5
15177 echo "$as_me: error: cannot run test program while cross compiling
15178 See \`config.log' for more details." >&2;}
15179 { (exit 1); exit 1; }; }
15181 cat >conftest.
$ac_ext <<_ACEOF
15182 #line $LINENO "configure"
15185 cat confdefs.h
>>conftest.
$ac_ext
15186 cat >>conftest.
$ac_ext <<_ACEOF
15187 /* end confdefs.h. */
15188 $ac_includes_default
15189 long longval () { return (long) (sizeof (int)); }
15190 unsigned long ulongval () { return (long) (sizeof (int)); }
15192 #include <stdlib.h>
15197 FILE *f = fopen ("conftest.val", "w");
15200 if (((long) (sizeof (int))) < 0)
15202 long i = longval ();
15203 if (i != ((long) (sizeof (int))))
15205 fprintf (f, "%ld\n", i);
15209 unsigned long i = ulongval ();
15210 if (i != ((long) (sizeof (int))))
15212 fprintf (f, "%lu\n", i);
15214 exit (ferror (f) || fclose (f) != 0);
15220 rm -f conftest
$ac_exeext
15221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15222 (eval $ac_link) 2>&5
15224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15225 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15227 (eval $ac_try) 2>&5
15229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15230 (exit $ac_status); }; }; then
15231 ac_cv_sizeof_int
=`cat conftest.val`
15233 echo "$as_me: program exited with status $ac_status" >&5
15234 echo "$as_me: failed program was:" >&5
15235 sed 's/^/| /' conftest.
$ac_ext >&5
15237 ( exit $ac_status )
15238 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15239 See \`config.log' for more details." >&5
15240 echo "$as_me: error: cannot compute sizeof (int), 77
15241 See \`config.log' for more details." >&2;}
15242 { (exit 1); exit 1; }; }
15244 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15252 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15253 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15254 cat >>confdefs.h
<<_ACEOF
15255 #define SIZEOF_INT $ac_cv_sizeof_int
15259 echo "$as_me:$LINENO: checking for long" >&5
15260 echo $ECHO_N "checking for long... $ECHO_C" >&6
15261 if test "${ac_cv_type_long+set}" = set; then
15262 echo $ECHO_N "(cached) $ECHO_C" >&6
15264 cat >conftest.
$ac_ext <<_ACEOF
15265 #line $LINENO "configure"
15268 cat confdefs.h
>>conftest.
$ac_ext
15269 cat >>conftest.
$ac_ext <<_ACEOF
15270 /* end confdefs.h. */
15271 $ac_includes_default
15283 rm -f conftest.
$ac_objext
15284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15285 (eval $ac_compile) 2>&5
15287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15288 (exit $ac_status); } &&
15289 { ac_try
='test -s conftest.$ac_objext'
15290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15291 (eval $ac_try) 2>&5
15293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15294 (exit $ac_status); }; }; then
15295 ac_cv_type_long
=yes
15297 echo "$as_me: failed program was:" >&5
15298 sed 's/^/| /' conftest.
$ac_ext >&5
15302 rm -f conftest.
$ac_objext conftest.
$ac_ext
15304 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15305 echo "${ECHO_T}$ac_cv_type_long" >&6
15307 echo "$as_me:$LINENO: checking size of long" >&5
15308 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15309 if test "${ac_cv_sizeof_long+set}" = set; then
15310 echo $ECHO_N "(cached) $ECHO_C" >&6
15312 if test "$ac_cv_type_long" = yes; then
15313 # The cast to unsigned long works around a bug in the HP C Compiler
15314 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15315 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15316 # This bug is HP SR number 8606223364.
15317 if test "$cross_compiling" = yes; then
15318 # Depending upon the size, compute the lo and hi bounds.
15319 cat >conftest.
$ac_ext <<_ACEOF
15320 #line $LINENO "configure"
15323 cat confdefs.h
>>conftest.
$ac_ext
15324 cat >>conftest.
$ac_ext <<_ACEOF
15325 /* end confdefs.h. */
15326 $ac_includes_default
15330 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15337 rm -f conftest.
$ac_objext
15338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15339 (eval $ac_compile) 2>&5
15341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15342 (exit $ac_status); } &&
15343 { ac_try
='test -s conftest.$ac_objext'
15344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15345 (eval $ac_try) 2>&5
15347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15348 (exit $ac_status); }; }; then
15351 cat >conftest.
$ac_ext <<_ACEOF
15352 #line $LINENO "configure"
15355 cat confdefs.h
>>conftest.
$ac_ext
15356 cat >>conftest.
$ac_ext <<_ACEOF
15357 /* end confdefs.h. */
15358 $ac_includes_default
15362 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15369 rm -f conftest.
$ac_objext
15370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15371 (eval $ac_compile) 2>&5
15373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15374 (exit $ac_status); } &&
15375 { ac_try
='test -s conftest.$ac_objext'
15376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15377 (eval $ac_try) 2>&5
15379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15380 (exit $ac_status); }; }; then
15381 ac_hi
=$ac_mid; break
15383 echo "$as_me: failed program was:" >&5
15384 sed 's/^/| /' conftest.
$ac_ext >&5
15386 ac_lo
=`expr $ac_mid + 1`
15387 if test $ac_lo -le $ac_mid; then
15391 ac_mid
=`expr 2 '*' $ac_mid + 1`
15393 rm -f conftest.
$ac_objext conftest.
$ac_ext
15396 echo "$as_me: failed program was:" >&5
15397 sed 's/^/| /' conftest.
$ac_ext >&5
15399 cat >conftest.
$ac_ext <<_ACEOF
15400 #line $LINENO "configure"
15403 cat confdefs.h
>>conftest.
$ac_ext
15404 cat >>conftest.
$ac_ext <<_ACEOF
15405 /* end confdefs.h. */
15406 $ac_includes_default
15410 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15417 rm -f conftest.
$ac_objext
15418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15419 (eval $ac_compile) 2>&5
15421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15422 (exit $ac_status); } &&
15423 { ac_try
='test -s conftest.$ac_objext'
15424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15425 (eval $ac_try) 2>&5
15427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15428 (exit $ac_status); }; }; then
15431 cat >conftest.
$ac_ext <<_ACEOF
15432 #line $LINENO "configure"
15435 cat confdefs.h
>>conftest.
$ac_ext
15436 cat >>conftest.
$ac_ext <<_ACEOF
15437 /* end confdefs.h. */
15438 $ac_includes_default
15442 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15449 rm -f conftest.
$ac_objext
15450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15451 (eval $ac_compile) 2>&5
15453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15454 (exit $ac_status); } &&
15455 { ac_try
='test -s conftest.$ac_objext'
15456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15457 (eval $ac_try) 2>&5
15459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15460 (exit $ac_status); }; }; then
15461 ac_lo
=$ac_mid; break
15463 echo "$as_me: failed program was:" >&5
15464 sed 's/^/| /' conftest.
$ac_ext >&5
15466 ac_hi
=`expr '(' $ac_mid ')' - 1`
15467 if test $ac_mid -le $ac_hi; then
15471 ac_mid
=`expr 2 '*' $ac_mid`
15473 rm -f conftest.
$ac_objext conftest.
$ac_ext
15476 echo "$as_me: failed program was:" >&5
15477 sed 's/^/| /' conftest.
$ac_ext >&5
15481 rm -f conftest.
$ac_objext conftest.
$ac_ext
15483 rm -f conftest.
$ac_objext conftest.
$ac_ext
15484 # Binary search between lo and hi bounds.
15485 while test "x$ac_lo" != "x$ac_hi"; do
15486 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15487 cat >conftest.
$ac_ext <<_ACEOF
15488 #line $LINENO "configure"
15491 cat confdefs.h
>>conftest.
$ac_ext
15492 cat >>conftest.
$ac_ext <<_ACEOF
15493 /* end confdefs.h. */
15494 $ac_includes_default
15498 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15505 rm -f conftest.
$ac_objext
15506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15507 (eval $ac_compile) 2>&5
15509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15510 (exit $ac_status); } &&
15511 { ac_try
='test -s conftest.$ac_objext'
15512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15513 (eval $ac_try) 2>&5
15515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15516 (exit $ac_status); }; }; then
15519 echo "$as_me: failed program was:" >&5
15520 sed 's/^/| /' conftest.
$ac_ext >&5
15522 ac_lo
=`expr '(' $ac_mid ')' + 1`
15524 rm -f conftest.
$ac_objext conftest.
$ac_ext
15527 ?
*) ac_cv_sizeof_long
=$ac_lo;;
15528 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15529 See \`config.log' for more details." >&5
15530 echo "$as_me: error: cannot compute sizeof (long), 77
15531 See \`config.log' for more details." >&2;}
15532 { (exit 1); exit 1; }; } ;;
15535 if test "$cross_compiling" = yes; then
15536 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15537 See \`config.log' for more details." >&5
15538 echo "$as_me: error: cannot run test program while cross compiling
15539 See \`config.log' for more details." >&2;}
15540 { (exit 1); exit 1; }; }
15542 cat >conftest.
$ac_ext <<_ACEOF
15543 #line $LINENO "configure"
15546 cat confdefs.h
>>conftest.
$ac_ext
15547 cat >>conftest.
$ac_ext <<_ACEOF
15548 /* end confdefs.h. */
15549 $ac_includes_default
15550 long longval () { return (long) (sizeof (long)); }
15551 unsigned long ulongval () { return (long) (sizeof (long)); }
15553 #include <stdlib.h>
15558 FILE *f = fopen ("conftest.val", "w");
15561 if (((long) (sizeof (long))) < 0)
15563 long i = longval ();
15564 if (i != ((long) (sizeof (long))))
15566 fprintf (f, "%ld\n", i);
15570 unsigned long i = ulongval ();
15571 if (i != ((long) (sizeof (long))))
15573 fprintf (f, "%lu\n", i);
15575 exit (ferror (f) || fclose (f) != 0);
15581 rm -f conftest
$ac_exeext
15582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15583 (eval $ac_link) 2>&5
15585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15586 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15588 (eval $ac_try) 2>&5
15590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15591 (exit $ac_status); }; }; then
15592 ac_cv_sizeof_long
=`cat conftest.val`
15594 echo "$as_me: program exited with status $ac_status" >&5
15595 echo "$as_me: failed program was:" >&5
15596 sed 's/^/| /' conftest.
$ac_ext >&5
15598 ( exit $ac_status )
15599 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15600 See \`config.log' for more details." >&5
15601 echo "$as_me: error: cannot compute sizeof (long), 77
15602 See \`config.log' for more details." >&2;}
15603 { (exit 1); exit 1; }; }
15605 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15610 ac_cv_sizeof_long
=0
15613 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15614 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15615 cat >>confdefs.h
<<_ACEOF
15616 #define SIZEOF_LONG $ac_cv_sizeof_long
15623 echo "$as_me:$LINENO: checking for long long" >&5
15624 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15625 if test "${ac_cv_type_long_long+set}" = set; then
15626 echo $ECHO_N "(cached) $ECHO_C" >&6
15628 cat >conftest.
$ac_ext <<_ACEOF
15629 #line $LINENO "configure"
15632 cat confdefs.h
>>conftest.
$ac_ext
15633 cat >>conftest.
$ac_ext <<_ACEOF
15634 /* end confdefs.h. */
15635 $ac_includes_default
15639 if ((long long *) 0)
15641 if (sizeof (long long))
15647 rm -f conftest.
$ac_objext
15648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15649 (eval $ac_compile) 2>&5
15651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15652 (exit $ac_status); } &&
15653 { ac_try
='test -s conftest.$ac_objext'
15654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15655 (eval $ac_try) 2>&5
15657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15658 (exit $ac_status); }; }; then
15659 ac_cv_type_long_long
=yes
15661 echo "$as_me: failed program was:" >&5
15662 sed 's/^/| /' conftest.
$ac_ext >&5
15664 ac_cv_type_long_long
=no
15666 rm -f conftest.
$ac_objext conftest.
$ac_ext
15668 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15669 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15671 echo "$as_me:$LINENO: checking size of long long" >&5
15672 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15673 if test "${ac_cv_sizeof_long_long+set}" = set; then
15674 echo $ECHO_N "(cached) $ECHO_C" >&6
15676 if test "$ac_cv_type_long_long" = yes; then
15677 # The cast to unsigned long works around a bug in the HP C Compiler
15678 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15679 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15680 # This bug is HP SR number 8606223364.
15681 if test "$cross_compiling" = yes; then
15682 # Depending upon the size, compute the lo and hi bounds.
15683 cat >conftest.
$ac_ext <<_ACEOF
15684 #line $LINENO "configure"
15687 cat confdefs.h
>>conftest.
$ac_ext
15688 cat >>conftest.
$ac_ext <<_ACEOF
15689 /* end confdefs.h. */
15690 $ac_includes_default
15694 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15701 rm -f conftest.
$ac_objext
15702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15703 (eval $ac_compile) 2>&5
15705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15706 (exit $ac_status); } &&
15707 { ac_try
='test -s conftest.$ac_objext'
15708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15709 (eval $ac_try) 2>&5
15711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15712 (exit $ac_status); }; }; then
15715 cat >conftest.
$ac_ext <<_ACEOF
15716 #line $LINENO "configure"
15719 cat confdefs.h
>>conftest.
$ac_ext
15720 cat >>conftest.
$ac_ext <<_ACEOF
15721 /* end confdefs.h. */
15722 $ac_includes_default
15726 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15733 rm -f conftest.
$ac_objext
15734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15735 (eval $ac_compile) 2>&5
15737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15738 (exit $ac_status); } &&
15739 { ac_try
='test -s conftest.$ac_objext'
15740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15741 (eval $ac_try) 2>&5
15743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15744 (exit $ac_status); }; }; then
15745 ac_hi
=$ac_mid; break
15747 echo "$as_me: failed program was:" >&5
15748 sed 's/^/| /' conftest.
$ac_ext >&5
15750 ac_lo
=`expr $ac_mid + 1`
15751 if test $ac_lo -le $ac_mid; then
15755 ac_mid
=`expr 2 '*' $ac_mid + 1`
15757 rm -f conftest.
$ac_objext conftest.
$ac_ext
15760 echo "$as_me: failed program was:" >&5
15761 sed 's/^/| /' conftest.
$ac_ext >&5
15763 cat >conftest.
$ac_ext <<_ACEOF
15764 #line $LINENO "configure"
15767 cat confdefs.h
>>conftest.
$ac_ext
15768 cat >>conftest.
$ac_ext <<_ACEOF
15769 /* end confdefs.h. */
15770 $ac_includes_default
15774 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15781 rm -f conftest.
$ac_objext
15782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15783 (eval $ac_compile) 2>&5
15785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15786 (exit $ac_status); } &&
15787 { ac_try
='test -s conftest.$ac_objext'
15788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15789 (eval $ac_try) 2>&5
15791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15792 (exit $ac_status); }; }; then
15795 cat >conftest.
$ac_ext <<_ACEOF
15796 #line $LINENO "configure"
15799 cat confdefs.h
>>conftest.
$ac_ext
15800 cat >>conftest.
$ac_ext <<_ACEOF
15801 /* end confdefs.h. */
15802 $ac_includes_default
15806 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15813 rm -f conftest.
$ac_objext
15814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15815 (eval $ac_compile) 2>&5
15817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15818 (exit $ac_status); } &&
15819 { ac_try
='test -s conftest.$ac_objext'
15820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15821 (eval $ac_try) 2>&5
15823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15824 (exit $ac_status); }; }; then
15825 ac_lo
=$ac_mid; break
15827 echo "$as_me: failed program was:" >&5
15828 sed 's/^/| /' conftest.
$ac_ext >&5
15830 ac_hi
=`expr '(' $ac_mid ')' - 1`
15831 if test $ac_mid -le $ac_hi; then
15835 ac_mid
=`expr 2 '*' $ac_mid`
15837 rm -f conftest.
$ac_objext conftest.
$ac_ext
15840 echo "$as_me: failed program was:" >&5
15841 sed 's/^/| /' conftest.
$ac_ext >&5
15845 rm -f conftest.
$ac_objext conftest.
$ac_ext
15847 rm -f conftest.
$ac_objext conftest.
$ac_ext
15848 # Binary search between lo and hi bounds.
15849 while test "x$ac_lo" != "x$ac_hi"; do
15850 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15851 cat >conftest.
$ac_ext <<_ACEOF
15852 #line $LINENO "configure"
15855 cat confdefs.h
>>conftest.
$ac_ext
15856 cat >>conftest.
$ac_ext <<_ACEOF
15857 /* end confdefs.h. */
15858 $ac_includes_default
15862 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15869 rm -f conftest.
$ac_objext
15870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15871 (eval $ac_compile) 2>&5
15873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15874 (exit $ac_status); } &&
15875 { ac_try
='test -s conftest.$ac_objext'
15876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15877 (eval $ac_try) 2>&5
15879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15880 (exit $ac_status); }; }; then
15883 echo "$as_me: failed program was:" >&5
15884 sed 's/^/| /' conftest.
$ac_ext >&5
15886 ac_lo
=`expr '(' $ac_mid ')' + 1`
15888 rm -f conftest.
$ac_objext conftest.
$ac_ext
15891 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
15892 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15893 See \`config.log' for more details." >&5
15894 echo "$as_me: error: cannot compute sizeof (long long), 77
15895 See \`config.log' for more details." >&2;}
15896 { (exit 1); exit 1; }; } ;;
15899 if test "$cross_compiling" = yes; then
15900 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15901 See \`config.log' for more details." >&5
15902 echo "$as_me: error: cannot run test program while cross compiling
15903 See \`config.log' for more details." >&2;}
15904 { (exit 1); exit 1; }; }
15906 cat >conftest.
$ac_ext <<_ACEOF
15907 #line $LINENO "configure"
15910 cat confdefs.h
>>conftest.
$ac_ext
15911 cat >>conftest.
$ac_ext <<_ACEOF
15912 /* end confdefs.h. */
15913 $ac_includes_default
15914 long longval () { return (long) (sizeof (long long)); }
15915 unsigned long ulongval () { return (long) (sizeof (long long)); }
15917 #include <stdlib.h>
15922 FILE *f = fopen ("conftest.val", "w");
15925 if (((long) (sizeof (long long))) < 0)
15927 long i = longval ();
15928 if (i != ((long) (sizeof (long long))))
15930 fprintf (f, "%ld\n", i);
15934 unsigned long i = ulongval ();
15935 if (i != ((long) (sizeof (long long))))
15937 fprintf (f, "%lu\n", i);
15939 exit (ferror (f) || fclose (f) != 0);
15945 rm -f conftest
$ac_exeext
15946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15947 (eval $ac_link) 2>&5
15949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15950 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15952 (eval $ac_try) 2>&5
15954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15955 (exit $ac_status); }; }; then
15956 ac_cv_sizeof_long_long
=`cat conftest.val`
15958 echo "$as_me: program exited with status $ac_status" >&5
15959 echo "$as_me: failed program was:" >&5
15960 sed 's/^/| /' conftest.
$ac_ext >&5
15962 ( exit $ac_status )
15963 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15964 See \`config.log' for more details." >&5
15965 echo "$as_me: error: cannot compute sizeof (long long), 77
15966 See \`config.log' for more details." >&2;}
15967 { (exit 1); exit 1; }; }
15969 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15974 ac_cv_sizeof_long_long
=0
15977 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
15978 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
15979 cat >>confdefs.h
<<_ACEOF
15980 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15986 echo "$as_me:$LINENO: checking for long long" >&5
15987 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15988 if test "${ac_cv_type_long_long+set}" = set; then
15989 echo $ECHO_N "(cached) $ECHO_C" >&6
15991 cat >conftest.
$ac_ext <<_ACEOF
15992 #line $LINENO "configure"
15995 cat confdefs.h
>>conftest.
$ac_ext
15996 cat >>conftest.
$ac_ext <<_ACEOF
15997 /* end confdefs.h. */
15998 $ac_includes_default
16002 if ((long long *) 0)
16004 if (sizeof (long long))
16010 rm -f conftest.
$ac_objext
16011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16012 (eval $ac_compile) 2>&5
16014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16015 (exit $ac_status); } &&
16016 { ac_try
='test -s conftest.$ac_objext'
16017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16018 (eval $ac_try) 2>&5
16020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16021 (exit $ac_status); }; }; then
16022 ac_cv_type_long_long
=yes
16024 echo "$as_me: failed program was:" >&5
16025 sed 's/^/| /' conftest.
$ac_ext >&5
16027 ac_cv_type_long_long
=no
16029 rm -f conftest.
$ac_objext conftest.
$ac_ext
16031 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16032 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16034 echo "$as_me:$LINENO: checking size of long long" >&5
16035 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16036 if test "${ac_cv_sizeof_long_long+set}" = set; then
16037 echo $ECHO_N "(cached) $ECHO_C" >&6
16039 if test "$ac_cv_type_long_long" = yes; then
16040 # The cast to unsigned long works around a bug in the HP C Compiler
16041 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16042 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16043 # This bug is HP SR number 8606223364.
16044 if test "$cross_compiling" = yes; then
16045 # Depending upon the size, compute the lo and hi bounds.
16046 cat >conftest.
$ac_ext <<_ACEOF
16047 #line $LINENO "configure"
16050 cat confdefs.h
>>conftest.
$ac_ext
16051 cat >>conftest.
$ac_ext <<_ACEOF
16052 /* end confdefs.h. */
16053 $ac_includes_default
16057 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16064 rm -f conftest.
$ac_objext
16065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16066 (eval $ac_compile) 2>&5
16068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16069 (exit $ac_status); } &&
16070 { ac_try
='test -s conftest.$ac_objext'
16071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16072 (eval $ac_try) 2>&5
16074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16075 (exit $ac_status); }; }; then
16078 cat >conftest.
$ac_ext <<_ACEOF
16079 #line $LINENO "configure"
16082 cat confdefs.h
>>conftest.
$ac_ext
16083 cat >>conftest.
$ac_ext <<_ACEOF
16084 /* end confdefs.h. */
16085 $ac_includes_default
16089 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16096 rm -f conftest.
$ac_objext
16097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16098 (eval $ac_compile) 2>&5
16100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16101 (exit $ac_status); } &&
16102 { ac_try
='test -s conftest.$ac_objext'
16103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16104 (eval $ac_try) 2>&5
16106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16107 (exit $ac_status); }; }; then
16108 ac_hi
=$ac_mid; break
16110 echo "$as_me: failed program was:" >&5
16111 sed 's/^/| /' conftest.
$ac_ext >&5
16113 ac_lo
=`expr $ac_mid + 1`
16114 if test $ac_lo -le $ac_mid; then
16118 ac_mid
=`expr 2 '*' $ac_mid + 1`
16120 rm -f conftest.
$ac_objext conftest.
$ac_ext
16123 echo "$as_me: failed program was:" >&5
16124 sed 's/^/| /' conftest.
$ac_ext >&5
16126 cat >conftest.
$ac_ext <<_ACEOF
16127 #line $LINENO "configure"
16130 cat confdefs.h
>>conftest.
$ac_ext
16131 cat >>conftest.
$ac_ext <<_ACEOF
16132 /* end confdefs.h. */
16133 $ac_includes_default
16137 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16144 rm -f conftest.
$ac_objext
16145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16146 (eval $ac_compile) 2>&5
16148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16149 (exit $ac_status); } &&
16150 { ac_try
='test -s conftest.$ac_objext'
16151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16152 (eval $ac_try) 2>&5
16154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16155 (exit $ac_status); }; }; then
16158 cat >conftest.
$ac_ext <<_ACEOF
16159 #line $LINENO "configure"
16162 cat confdefs.h
>>conftest.
$ac_ext
16163 cat >>conftest.
$ac_ext <<_ACEOF
16164 /* end confdefs.h. */
16165 $ac_includes_default
16169 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16176 rm -f conftest.
$ac_objext
16177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16178 (eval $ac_compile) 2>&5
16180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16181 (exit $ac_status); } &&
16182 { ac_try
='test -s conftest.$ac_objext'
16183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16184 (eval $ac_try) 2>&5
16186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16187 (exit $ac_status); }; }; then
16188 ac_lo
=$ac_mid; break
16190 echo "$as_me: failed program was:" >&5
16191 sed 's/^/| /' conftest.
$ac_ext >&5
16193 ac_hi
=`expr '(' $ac_mid ')' - 1`
16194 if test $ac_mid -le $ac_hi; then
16198 ac_mid
=`expr 2 '*' $ac_mid`
16200 rm -f conftest.
$ac_objext conftest.
$ac_ext
16203 echo "$as_me: failed program was:" >&5
16204 sed 's/^/| /' conftest.
$ac_ext >&5
16208 rm -f conftest.
$ac_objext conftest.
$ac_ext
16210 rm -f conftest.
$ac_objext conftest.
$ac_ext
16211 # Binary search between lo and hi bounds.
16212 while test "x$ac_lo" != "x$ac_hi"; do
16213 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16214 cat >conftest.
$ac_ext <<_ACEOF
16215 #line $LINENO "configure"
16218 cat confdefs.h
>>conftest.
$ac_ext
16219 cat >>conftest.
$ac_ext <<_ACEOF
16220 /* end confdefs.h. */
16221 $ac_includes_default
16225 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16232 rm -f conftest.
$ac_objext
16233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16234 (eval $ac_compile) 2>&5
16236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16237 (exit $ac_status); } &&
16238 { ac_try
='test -s conftest.$ac_objext'
16239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16240 (eval $ac_try) 2>&5
16242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16243 (exit $ac_status); }; }; then
16246 echo "$as_me: failed program was:" >&5
16247 sed 's/^/| /' conftest.
$ac_ext >&5
16249 ac_lo
=`expr '(' $ac_mid ')' + 1`
16251 rm -f conftest.
$ac_objext conftest.
$ac_ext
16254 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
16255 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16256 See \`config.log' for more details." >&5
16257 echo "$as_me: error: cannot compute sizeof (long long), 77
16258 See \`config.log' for more details." >&2;}
16259 { (exit 1); exit 1; }; } ;;
16262 if test "$cross_compiling" = yes; then
16263 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16264 See \`config.log' for more details." >&5
16265 echo "$as_me: error: cannot run test program while cross compiling
16266 See \`config.log' for more details." >&2;}
16267 { (exit 1); exit 1; }; }
16269 cat >conftest.
$ac_ext <<_ACEOF
16270 #line $LINENO "configure"
16273 cat confdefs.h
>>conftest.
$ac_ext
16274 cat >>conftest.
$ac_ext <<_ACEOF
16275 /* end confdefs.h. */
16276 $ac_includes_default
16277 long longval () { return (long) (sizeof (long long)); }
16278 unsigned long ulongval () { return (long) (sizeof (long long)); }
16280 #include <stdlib.h>
16285 FILE *f = fopen ("conftest.val", "w");
16288 if (((long) (sizeof (long long))) < 0)
16290 long i = longval ();
16291 if (i != ((long) (sizeof (long long))))
16293 fprintf (f, "%ld\n", i);
16297 unsigned long i = ulongval ();
16298 if (i != ((long) (sizeof (long long))))
16300 fprintf (f, "%lu\n", i);
16302 exit (ferror (f) || fclose (f) != 0);
16308 rm -f conftest
$ac_exeext
16309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16310 (eval $ac_link) 2>&5
16312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16313 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16315 (eval $ac_try) 2>&5
16317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16318 (exit $ac_status); }; }; then
16319 ac_cv_sizeof_long_long
=`cat conftest.val`
16321 echo "$as_me: program exited with status $ac_status" >&5
16322 echo "$as_me: failed program was:" >&5
16323 sed 's/^/| /' conftest.
$ac_ext >&5
16325 ( exit $ac_status )
16326 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16327 See \`config.log' for more details." >&5
16328 echo "$as_me: error: cannot compute sizeof (long long), 77
16329 See \`config.log' for more details." >&2;}
16330 { (exit 1); exit 1; }; }
16332 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16337 ac_cv_sizeof_long_long
=0
16340 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16341 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16342 cat >>confdefs.h
<<_ACEOF
16343 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16347 if test "$ac_cv_sizeof_long_long" != "0"; then
16348 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
16352 echo "$as_me:$LINENO: checking for long long" >&5
16353 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16354 if test "${ac_cv_type_long_long+set}" = set; then
16355 echo $ECHO_N "(cached) $ECHO_C" >&6
16357 cat >conftest.
$ac_ext <<_ACEOF
16358 #line $LINENO "configure"
16361 cat confdefs.h
>>conftest.
$ac_ext
16362 cat >>conftest.
$ac_ext <<_ACEOF
16363 /* end confdefs.h. */
16364 $ac_includes_default
16368 if ((long long *) 0)
16370 if (sizeof (long long))
16376 rm -f conftest.
$ac_objext
16377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16378 (eval $ac_compile) 2>&5
16380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16381 (exit $ac_status); } &&
16382 { ac_try
='test -s conftest.$ac_objext'
16383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16384 (eval $ac_try) 2>&5
16386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16387 (exit $ac_status); }; }; then
16388 ac_cv_type_long_long
=yes
16390 echo "$as_me: failed program was:" >&5
16391 sed 's/^/| /' conftest.
$ac_ext >&5
16393 ac_cv_type_long_long
=no
16395 rm -f conftest.
$ac_objext conftest.
$ac_ext
16397 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16398 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16400 echo "$as_me:$LINENO: checking size of long long" >&5
16401 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16402 if test "${ac_cv_sizeof_long_long+set}" = set; then
16403 echo $ECHO_N "(cached) $ECHO_C" >&6
16405 if test "$ac_cv_type_long_long" = yes; then
16406 # The cast to unsigned long works around a bug in the HP C Compiler
16407 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16408 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16409 # This bug is HP SR number 8606223364.
16410 if test "$cross_compiling" = yes; then
16411 # Depending upon the size, compute the lo and hi bounds.
16412 cat >conftest.
$ac_ext <<_ACEOF
16413 #line $LINENO "configure"
16416 cat confdefs.h
>>conftest.
$ac_ext
16417 cat >>conftest.
$ac_ext <<_ACEOF
16418 /* end confdefs.h. */
16419 $ac_includes_default
16423 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16430 rm -f conftest.
$ac_objext
16431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16432 (eval $ac_compile) 2>&5
16434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16435 (exit $ac_status); } &&
16436 { ac_try
='test -s conftest.$ac_objext'
16437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16438 (eval $ac_try) 2>&5
16440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16441 (exit $ac_status); }; }; then
16444 cat >conftest.
$ac_ext <<_ACEOF
16445 #line $LINENO "configure"
16448 cat confdefs.h
>>conftest.
$ac_ext
16449 cat >>conftest.
$ac_ext <<_ACEOF
16450 /* end confdefs.h. */
16451 $ac_includes_default
16455 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16462 rm -f conftest.
$ac_objext
16463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16464 (eval $ac_compile) 2>&5
16466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16467 (exit $ac_status); } &&
16468 { ac_try
='test -s conftest.$ac_objext'
16469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16470 (eval $ac_try) 2>&5
16472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16473 (exit $ac_status); }; }; then
16474 ac_hi
=$ac_mid; break
16476 echo "$as_me: failed program was:" >&5
16477 sed 's/^/| /' conftest.
$ac_ext >&5
16479 ac_lo
=`expr $ac_mid + 1`
16480 if test $ac_lo -le $ac_mid; then
16484 ac_mid
=`expr 2 '*' $ac_mid + 1`
16486 rm -f conftest.
$ac_objext conftest.
$ac_ext
16489 echo "$as_me: failed program was:" >&5
16490 sed 's/^/| /' conftest.
$ac_ext >&5
16492 cat >conftest.
$ac_ext <<_ACEOF
16493 #line $LINENO "configure"
16496 cat confdefs.h
>>conftest.
$ac_ext
16497 cat >>conftest.
$ac_ext <<_ACEOF
16498 /* end confdefs.h. */
16499 $ac_includes_default
16503 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16510 rm -f conftest.
$ac_objext
16511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16512 (eval $ac_compile) 2>&5
16514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16515 (exit $ac_status); } &&
16516 { ac_try
='test -s conftest.$ac_objext'
16517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16518 (eval $ac_try) 2>&5
16520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16521 (exit $ac_status); }; }; then
16524 cat >conftest.
$ac_ext <<_ACEOF
16525 #line $LINENO "configure"
16528 cat confdefs.h
>>conftest.
$ac_ext
16529 cat >>conftest.
$ac_ext <<_ACEOF
16530 /* end confdefs.h. */
16531 $ac_includes_default
16535 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16542 rm -f conftest.
$ac_objext
16543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16544 (eval $ac_compile) 2>&5
16546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16547 (exit $ac_status); } &&
16548 { ac_try
='test -s conftest.$ac_objext'
16549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16550 (eval $ac_try) 2>&5
16552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16553 (exit $ac_status); }; }; then
16554 ac_lo
=$ac_mid; break
16556 echo "$as_me: failed program was:" >&5
16557 sed 's/^/| /' conftest.
$ac_ext >&5
16559 ac_hi
=`expr '(' $ac_mid ')' - 1`
16560 if test $ac_mid -le $ac_hi; then
16564 ac_mid
=`expr 2 '*' $ac_mid`
16566 rm -f conftest.
$ac_objext conftest.
$ac_ext
16569 echo "$as_me: failed program was:" >&5
16570 sed 's/^/| /' conftest.
$ac_ext >&5
16574 rm -f conftest.
$ac_objext conftest.
$ac_ext
16576 rm -f conftest.
$ac_objext conftest.
$ac_ext
16577 # Binary search between lo and hi bounds.
16578 while test "x$ac_lo" != "x$ac_hi"; do
16579 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16580 cat >conftest.
$ac_ext <<_ACEOF
16581 #line $LINENO "configure"
16584 cat confdefs.h
>>conftest.
$ac_ext
16585 cat >>conftest.
$ac_ext <<_ACEOF
16586 /* end confdefs.h. */
16587 $ac_includes_default
16591 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16598 rm -f conftest.
$ac_objext
16599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16600 (eval $ac_compile) 2>&5
16602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16603 (exit $ac_status); } &&
16604 { ac_try
='test -s conftest.$ac_objext'
16605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16606 (eval $ac_try) 2>&5
16608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16609 (exit $ac_status); }; }; then
16612 echo "$as_me: failed program was:" >&5
16613 sed 's/^/| /' conftest.
$ac_ext >&5
16615 ac_lo
=`expr '(' $ac_mid ')' + 1`
16617 rm -f conftest.
$ac_objext conftest.
$ac_ext
16620 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
16621 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16622 See \`config.log' for more details." >&5
16623 echo "$as_me: error: cannot compute sizeof (long long), 77
16624 See \`config.log' for more details." >&2;}
16625 { (exit 1); exit 1; }; } ;;
16628 if test "$cross_compiling" = yes; then
16629 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16630 See \`config.log' for more details." >&5
16631 echo "$as_me: error: cannot run test program while cross compiling
16632 See \`config.log' for more details." >&2;}
16633 { (exit 1); exit 1; }; }
16635 cat >conftest.
$ac_ext <<_ACEOF
16636 #line $LINENO "configure"
16639 cat confdefs.h
>>conftest.
$ac_ext
16640 cat >>conftest.
$ac_ext <<_ACEOF
16641 /* end confdefs.h. */
16642 $ac_includes_default
16643 long longval () { return (long) (sizeof (long long)); }
16644 unsigned long ulongval () { return (long) (sizeof (long long)); }
16646 #include <stdlib.h>
16651 FILE *f = fopen ("conftest.val", "w");
16654 if (((long) (sizeof (long long))) < 0)
16656 long i = longval ();
16657 if (i != ((long) (sizeof (long long))))
16659 fprintf (f, "%ld\n", i);
16663 unsigned long i = ulongval ();
16664 if (i != ((long) (sizeof (long long))))
16666 fprintf (f, "%lu\n", i);
16668 exit (ferror (f) || fclose (f) != 0);
16674 rm -f conftest
$ac_exeext
16675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16676 (eval $ac_link) 2>&5
16678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16679 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16681 (eval $ac_try) 2>&5
16683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16684 (exit $ac_status); }; }; then
16685 ac_cv_sizeof_long_long
=`cat conftest.val`
16687 echo "$as_me: program exited with status $ac_status" >&5
16688 echo "$as_me: failed program was:" >&5
16689 sed 's/^/| /' conftest.
$ac_ext >&5
16691 ( exit $ac_status )
16692 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16693 See \`config.log' for more details." >&5
16694 echo "$as_me: error: cannot compute sizeof (long long), 77
16695 See \`config.log' for more details." >&2;}
16696 { (exit 1); exit 1; }; }
16698 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16703 ac_cv_sizeof_long_long
=0
16706 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16707 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16708 cat >>confdefs.h
<<_ACEOF
16709 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16715 echo "$as_me:$LINENO: checking size of wchar_t" >&5
16716 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
16717 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
16718 echo $ECHO_N "(cached) $ECHO_C" >&6
16721 if test "$cross_compiling" = yes; then
16725 wx_cv_sizeof_wchar_t
=0
16728 wx_cv_sizeof_wchar_t
=4
16734 cat >conftest.
$ac_ext <<_ACEOF
16735 #line $LINENO "configure"
16738 cat confdefs.h
>>conftest.
$ac_ext
16739 cat >>conftest.
$ac_ext <<_ACEOF
16740 /* end confdefs.h. */
16742 /* DJGPP only has fake wchar_t: */
16744 # error "fake wchar_t"
16746 #ifdef HAVE_WCHAR_H
16748 # include <stddef.h>
16750 # include <wchar.h>
16752 #ifdef HAVE_STDLIB_H
16753 # include <stdlib.h>
16758 FILE *f=fopen("conftestval", "w");
16760 fprintf(f, "%i", sizeof(wchar_t));
16765 rm -f conftest
$ac_exeext
16766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16767 (eval $ac_link) 2>&5
16769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16770 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16772 (eval $ac_try) 2>&5
16774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16775 (exit $ac_status); }; }; then
16776 wx_cv_sizeof_wchar_t
=`cat conftestval`
16778 echo "$as_me: program exited with status $ac_status" >&5
16779 echo "$as_me: failed program was:" >&5
16780 sed 's/^/| /' conftest.
$ac_ext >&5
16782 ( exit $ac_status )
16783 wx_cv_sizeof_wchar_t
=0
16785 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16789 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
16790 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
16792 cat >>confdefs.h
<<_ACEOF
16793 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
16797 # Check whether --enable-largefile or --disable-largefile was given.
16798 if test "${enable_largefile+set}" = set; then
16799 enableval
="$enable_largefile"
16802 if test "$enable_largefile" != no
; then
16805 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16806 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
16807 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
16808 echo $ECHO_N "(cached) $ECHO_C" >&6
16811 cat >conftest.
$ac_ext <<_ACEOF
16812 #line $LINENO "configure"
16815 cat confdefs.h
>>conftest.
$ac_ext
16816 cat >>conftest.
$ac_ext <<_ACEOF
16817 /* end confdefs.h. */
16818 #define _FILE_OFFSET_BITS 64
16819 #include <sys/types.h>
16824 unsigned int field: sizeof(off_t) == 8;
16831 rm -f conftest.
$ac_objext
16832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16833 (eval $ac_compile) 2>&5
16835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16836 (exit $ac_status); } &&
16837 { ac_try
='test -s conftest.$ac_objext'
16838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16839 (eval $ac_try) 2>&5
16841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16842 (exit $ac_status); }; }; then
16843 ac_cv_sys_file_offset_bits
=64
16845 echo "$as_me: failed program was:" >&5
16846 sed 's/^/| /' conftest.
$ac_ext >&5
16848 ac_cv_sys_file_offset_bits
=no
16850 rm -f conftest.
$ac_objext conftest.
$ac_ext
16854 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
16855 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
16857 if test "$ac_cv_sys_file_offset_bits" != no
; then
16859 cat >>confdefs.h
<<_ACEOF
16860 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16865 if test "x$wx_largefile" != "xyes"; then
16867 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
16868 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
16869 if test "${ac_cv_sys_large_files+set}" = set; then
16870 echo $ECHO_N "(cached) $ECHO_C" >&6
16873 cat >conftest.
$ac_ext <<_ACEOF
16874 #line $LINENO "configure"
16877 cat confdefs.h
>>conftest.
$ac_ext
16878 cat >>conftest.
$ac_ext <<_ACEOF
16879 /* end confdefs.h. */
16880 #define _LARGE_FILES 1
16881 #include <sys/types.h>
16886 unsigned int field: sizeof(off_t) == 8;
16893 rm -f conftest.
$ac_objext
16894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16895 (eval $ac_compile) 2>&5
16897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16898 (exit $ac_status); } &&
16899 { ac_try
='test -s conftest.$ac_objext'
16900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16901 (eval $ac_try) 2>&5
16903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16904 (exit $ac_status); }; }; then
16905 ac_cv_sys_large_files
=1
16907 echo "$as_me: failed program was:" >&5
16908 sed 's/^/| /' conftest.
$ac_ext >&5
16910 ac_cv_sys_large_files
=no
16912 rm -f conftest.
$ac_objext conftest.
$ac_ext
16916 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
16917 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
16919 if test "$ac_cv_sys_large_files" != no
; then
16921 cat >>confdefs.h
<<_ACEOF
16922 #define _LARGE_FILES $ac_cv_sys_large_files
16929 echo "$as_me:$LINENO: checking if large file support is available" >&5
16930 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
16931 if test "x$wx_largefile" = "xyes"; then
16932 cat >>confdefs.h
<<\_ACEOF
16933 #define HAVE_LARGEFILE_SUPPORT 1
16937 echo "$as_me:$LINENO: result: $wx_largefile" >&5
16938 echo "${ECHO_T}$wx_largefile" >&6
16942 if test "x$wx_largefile" = "xyes"; then
16943 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
16944 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
16946 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
16948 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
16951 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16952 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16953 if test "${ac_cv_c_bigendian+set}" = set; then
16954 echo $ECHO_N "(cached) $ECHO_C" >&6
16956 ac_cv_c_bigendian
=unknown
16957 # See if sys/param.h defines the BYTE_ORDER macro.
16958 cat >conftest.
$ac_ext <<_ACEOF
16959 #line $LINENO "configure"
16962 cat confdefs.h
>>conftest.
$ac_ext
16963 cat >>conftest.
$ac_ext <<_ACEOF
16964 /* end confdefs.h. */
16965 #include <sys/types.h>
16966 #include <sys/param.h>
16971 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16972 bogus endian macros
16978 rm -f conftest.
$ac_objext
16979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16980 (eval $ac_compile) 2>&5
16982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16983 (exit $ac_status); } &&
16984 { ac_try
='test -s conftest.$ac_objext'
16985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16986 (eval $ac_try) 2>&5
16988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16989 (exit $ac_status); }; }; then
16990 # It does; now see whether it defined to BIG_ENDIAN or not.
16991 cat >conftest.
$ac_ext <<_ACEOF
16992 #line $LINENO "configure"
16995 cat confdefs.h
>>conftest.
$ac_ext
16996 cat >>conftest.
$ac_ext <<_ACEOF
16997 /* end confdefs.h. */
16998 #include <sys/types.h>
16999 #include <sys/param.h>
17004 #if BYTE_ORDER != BIG_ENDIAN
17011 rm -f conftest.
$ac_objext
17012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17013 (eval $ac_compile) 2>&5
17015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17016 (exit $ac_status); } &&
17017 { ac_try
='test -s conftest.$ac_objext'
17018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17019 (eval $ac_try) 2>&5
17021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17022 (exit $ac_status); }; }; then
17023 ac_cv_c_bigendian
=yes
17025 echo "$as_me: failed program was:" >&5
17026 sed 's/^/| /' conftest.
$ac_ext >&5
17028 ac_cv_c_bigendian
=no
17030 rm -f conftest.
$ac_objext conftest.
$ac_ext
17032 echo "$as_me: failed program was:" >&5
17033 sed 's/^/| /' conftest.
$ac_ext >&5
17036 rm -f conftest.
$ac_objext conftest.
$ac_ext
17037 if test $ac_cv_c_bigendian = unknown
; then
17038 if test "$cross_compiling" = yes; then
17039 ac_cv_c_bigendian
=unknown
17041 cat >conftest.
$ac_ext <<_ACEOF
17042 #line $LINENO "configure"
17045 cat confdefs.h
>>conftest.
$ac_ext
17046 cat >>conftest.
$ac_ext <<_ACEOF
17047 /* end confdefs.h. */
17049 /* Are we little or big endian? From Harbison&Steele. */
17053 char c[sizeof (long)];
17056 exit (u.c[sizeof (long) - 1] == 1);
17059 rm -f conftest
$ac_exeext
17060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17061 (eval $ac_link) 2>&5
17063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17064 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17066 (eval $ac_try) 2>&5
17068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17069 (exit $ac_status); }; }; then
17070 ac_cv_c_bigendian
=no
17072 echo "$as_me: program exited with status $ac_status" >&5
17073 echo "$as_me: failed program was:" >&5
17074 sed 's/^/| /' conftest.
$ac_ext >&5
17076 ( exit $ac_status )
17077 ac_cv_c_bigendian
=yes
17079 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17083 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
17084 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
17085 if test $ac_cv_c_bigendian = unknown
; then
17086 { 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
17087 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;}
17089 if test $ac_cv_c_bigendian = yes; then
17090 cat >>confdefs.h
<<\_ACEOF
17091 #define WORDS_BIGENDIAN 1
17099 ac_cpp
='$CXXCPP $CPPFLAGS'
17100 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17101 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17102 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17103 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
17104 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
17105 if test -z "$CXXCPP"; then
17106 if test "${ac_cv_prog_CXXCPP+set}" = set; then
17107 echo $ECHO_N "(cached) $ECHO_C" >&6
17109 # Double quotes because CXXCPP needs to be expanded
17110 for CXXCPP
in "$CXX -E" "/lib/cpp"
17112 ac_preproc_ok
=false
17113 for ac_cxx_preproc_warn_flag
in '' yes
17115 # Use a header file that comes with gcc, so configuring glibc
17116 # with a fresh cross-compiler works.
17117 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17118 # <limits.h> exists even on freestanding compilers.
17119 # On the NeXT, cc -E runs the code through the compiler's parser,
17120 # not just through cpp. "Syntax error" is here to catch this case.
17121 cat >conftest.
$ac_ext <<_ACEOF
17122 #line $LINENO "configure"
17125 cat confdefs.h
>>conftest.
$ac_ext
17126 cat >>conftest.
$ac_ext <<_ACEOF
17127 /* end confdefs.h. */
17129 # include <limits.h>
17131 # include <assert.h>
17135 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17136 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17138 grep -v '^ *+' conftest.er1
>conftest.err
17140 cat conftest.err
>&5
17141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17142 (exit $ac_status); } >/dev
/null
; then
17143 if test -s conftest.err
; then
17144 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17151 if test -z "$ac_cpp_err"; then
17154 echo "$as_me: failed program was:" >&5
17155 sed 's/^/| /' conftest.
$ac_ext >&5
17157 # Broken: fails on valid input.
17160 rm -f conftest.err conftest.
$ac_ext
17162 # OK, works on sane cases. Now check whether non-existent headers
17163 # can be detected and how.
17164 cat >conftest.
$ac_ext <<_ACEOF
17165 #line $LINENO "configure"
17168 cat confdefs.h
>>conftest.
$ac_ext
17169 cat >>conftest.
$ac_ext <<_ACEOF
17170 /* end confdefs.h. */
17171 #include <ac_nonexistent.h>
17173 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17174 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17176 grep -v '^ *+' conftest.er1
>conftest.err
17178 cat conftest.err
>&5
17179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17180 (exit $ac_status); } >/dev
/null
; then
17181 if test -s conftest.err
; then
17182 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17189 if test -z "$ac_cpp_err"; then
17190 # Broken: success on invalid input.
17193 echo "$as_me: failed program was:" >&5
17194 sed 's/^/| /' conftest.
$ac_ext >&5
17196 # Passes both tests.
17200 rm -f conftest.err conftest.
$ac_ext
17203 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17204 rm -f conftest.err conftest.
$ac_ext
17205 if $ac_preproc_ok; then
17210 ac_cv_prog_CXXCPP
=$CXXCPP
17213 CXXCPP
=$ac_cv_prog_CXXCPP
17215 ac_cv_prog_CXXCPP
=$CXXCPP
17217 echo "$as_me:$LINENO: result: $CXXCPP" >&5
17218 echo "${ECHO_T}$CXXCPP" >&6
17219 ac_preproc_ok
=false
17220 for ac_cxx_preproc_warn_flag
in '' yes
17222 # Use a header file that comes with gcc, so configuring glibc
17223 # with a fresh cross-compiler works.
17224 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17225 # <limits.h> exists even on freestanding compilers.
17226 # On the NeXT, cc -E runs the code through the compiler's parser,
17227 # not just through cpp. "Syntax error" is here to catch this case.
17228 cat >conftest.
$ac_ext <<_ACEOF
17229 #line $LINENO "configure"
17232 cat confdefs.h
>>conftest.
$ac_ext
17233 cat >>conftest.
$ac_ext <<_ACEOF
17234 /* end confdefs.h. */
17236 # include <limits.h>
17238 # include <assert.h>
17242 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17243 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17245 grep -v '^ *+' conftest.er1
>conftest.err
17247 cat conftest.err
>&5
17248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17249 (exit $ac_status); } >/dev
/null
; then
17250 if test -s conftest.err
; then
17251 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17258 if test -z "$ac_cpp_err"; then
17261 echo "$as_me: failed program was:" >&5
17262 sed 's/^/| /' conftest.
$ac_ext >&5
17264 # Broken: fails on valid input.
17267 rm -f conftest.err conftest.
$ac_ext
17269 # OK, works on sane cases. Now check whether non-existent headers
17270 # can be detected and how.
17271 cat >conftest.
$ac_ext <<_ACEOF
17272 #line $LINENO "configure"
17275 cat confdefs.h
>>conftest.
$ac_ext
17276 cat >>conftest.
$ac_ext <<_ACEOF
17277 /* end confdefs.h. */
17278 #include <ac_nonexistent.h>
17280 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17281 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17283 grep -v '^ *+' conftest.er1
>conftest.err
17285 cat conftest.err
>&5
17286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17287 (exit $ac_status); } >/dev
/null
; then
17288 if test -s conftest.err
; then
17289 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17296 if test -z "$ac_cpp_err"; then
17297 # Broken: success on invalid input.
17300 echo "$as_me: failed program was:" >&5
17301 sed 's/^/| /' conftest.
$ac_ext >&5
17303 # Passes both tests.
17307 rm -f conftest.err conftest.
$ac_ext
17310 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17311 rm -f conftest.err conftest.
$ac_ext
17312 if $ac_preproc_ok; then
17315 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17316 See \`config.log' for more details." >&5
17317 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17318 See \`config.log' for more details." >&2;}
17319 { (exit 1); exit 1; }; }
17323 ac_cpp
='$CXXCPP $CPPFLAGS'
17324 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17325 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17326 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17330 if test "$cross_compiling" = "yes"; then
17331 cat >>confdefs.h
<<\_ACEOF
17332 #define wxUSE_IOSTREAMH 1
17339 ac_cpp
='$CXXCPP $CPPFLAGS'
17340 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17341 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17342 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17346 for ac_header
in iostream
17348 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17349 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17350 echo "$as_me:$LINENO: checking for $ac_header" >&5
17351 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17352 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17353 echo $ECHO_N "(cached) $ECHO_C" >&6
17355 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17356 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17358 # Is the header compilable?
17359 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17360 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17361 cat >conftest.
$ac_ext <<_ACEOF
17362 #line $LINENO "configure"
17365 cat confdefs.h
>>conftest.
$ac_ext
17366 cat >>conftest.
$ac_ext <<_ACEOF
17367 /* end confdefs.h. */
17368 $ac_includes_default
17369 #include <$ac_header>
17371 rm -f conftest.
$ac_objext
17372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17373 (eval $ac_compile) 2>&5
17375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17376 (exit $ac_status); } &&
17377 { ac_try
='test -s conftest.$ac_objext'
17378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17379 (eval $ac_try) 2>&5
17381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17382 (exit $ac_status); }; }; then
17383 ac_header_compiler
=yes
17385 echo "$as_me: failed program was:" >&5
17386 sed 's/^/| /' conftest.
$ac_ext >&5
17388 ac_header_compiler
=no
17390 rm -f conftest.
$ac_objext conftest.
$ac_ext
17391 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17392 echo "${ECHO_T}$ac_header_compiler" >&6
17394 # Is the header present?
17395 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17396 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17397 cat >conftest.
$ac_ext <<_ACEOF
17398 #line $LINENO "configure"
17401 cat confdefs.h
>>conftest.
$ac_ext
17402 cat >>conftest.
$ac_ext <<_ACEOF
17403 /* end confdefs.h. */
17404 #include <$ac_header>
17406 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17407 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17409 grep -v '^ *+' conftest.er1
>conftest.err
17411 cat conftest.err
>&5
17412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17413 (exit $ac_status); } >/dev
/null
; then
17414 if test -s conftest.err
; then
17415 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17422 if test -z "$ac_cpp_err"; then
17423 ac_header_preproc
=yes
17425 echo "$as_me: failed program was:" >&5
17426 sed 's/^/| /' conftest.
$ac_ext >&5
17428 ac_header_preproc
=no
17430 rm -f conftest.err conftest.
$ac_ext
17431 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17432 echo "${ECHO_T}$ac_header_preproc" >&6
17434 # So? What about this header?
17435 case $ac_header_compiler:$ac_header_preproc in
17437 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17438 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17439 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17440 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17443 ## ------------------------------------ ##
17444 ## Report this to bug-autoconf@gnu.org. ##
17445 ## ------------------------------------ ##
17448 sed "s/^/$as_me: WARNING: /" >&2
17451 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17452 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17453 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17454 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17455 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17456 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17459 ## ------------------------------------ ##
17460 ## Report this to bug-autoconf@gnu.org. ##
17461 ## ------------------------------------ ##
17464 sed "s/^/$as_me: WARNING: /" >&2
17467 echo "$as_me:$LINENO: checking for $ac_header" >&5
17468 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17469 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17470 echo $ECHO_N "(cached) $ECHO_C" >&6
17472 eval "$as_ac_Header=$ac_header_preproc"
17474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17475 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17478 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17479 cat >>confdefs.h
<<_ACEOF
17480 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17488 if test "$ac_cv_header_iostream" = "yes" ; then
17491 cat >>confdefs.h
<<\_ACEOF
17492 #define wxUSE_IOSTREAMH 1
17498 ac_cpp
='$CPP $CPPFLAGS'
17499 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17500 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17501 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17507 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
17508 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
17509 if test "${wx_cv_cpp_bool+set}" = set; then
17510 echo $ECHO_N "(cached) $ECHO_C" >&6
17516 ac_cpp
='$CXXCPP $CPPFLAGS'
17517 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17518 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17519 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17522 cat >conftest.
$ac_ext <<_ACEOF
17523 #line $LINENO "configure"
17526 cat confdefs.h
>>conftest.
$ac_ext
17527 cat >>conftest.
$ac_ext <<_ACEOF
17528 /* end confdefs.h. */
17543 rm -f conftest.
$ac_objext
17544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17545 (eval $ac_compile) 2>&5
17547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17548 (exit $ac_status); } &&
17549 { ac_try
='test -s conftest.$ac_objext'
17550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17551 (eval $ac_try) 2>&5
17553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17554 (exit $ac_status); }; }; then
17559 echo "$as_me: failed program was:" >&5
17560 sed 's/^/| /' conftest.
$ac_ext >&5
17567 rm -f conftest.
$ac_objext conftest.
$ac_ext
17570 ac_cpp
='$CPP $CPPFLAGS'
17571 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17572 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17573 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17577 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
17578 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
17580 if test "$wx_cv_cpp_bool" = "yes"; then
17581 cat >>confdefs.h
<<\_ACEOF
17582 #define HAVE_BOOL 1
17589 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
17590 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
17591 if test "${wx_cv_explicit+set}" = set; then
17592 echo $ECHO_N "(cached) $ECHO_C" >&6
17598 ac_cpp
='$CXXCPP $CPPFLAGS'
17599 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17600 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17601 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17604 cat >conftest.
$ac_ext <<_ACEOF
17605 #line $LINENO "configure"
17608 cat confdefs.h
>>conftest.
$ac_ext
17609 cat >>conftest.
$ac_ext <<_ACEOF
17610 /* end confdefs.h. */
17612 class Foo { public: explicit Foo(int) {} };
17624 rm -f conftest.
$ac_objext
17625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17626 (eval $ac_compile) 2>&5
17628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17629 (exit $ac_status); } &&
17630 { ac_try
='test -s conftest.$ac_objext'
17631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17632 (eval $ac_try) 2>&5
17634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17635 (exit $ac_status); }; }; then
17637 cat >conftest.
$ac_ext <<_ACEOF
17638 #line $LINENO "configure"
17641 cat confdefs.h
>>conftest.
$ac_ext
17642 cat >>conftest.
$ac_ext <<_ACEOF
17643 /* end confdefs.h. */
17645 class Foo { public: explicit Foo(int) {} };
17646 static void TakeFoo(const Foo& foo) { }
17659 rm -f conftest.
$ac_objext
17660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17661 (eval $ac_compile) 2>&5
17663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17664 (exit $ac_status); } &&
17665 { ac_try
='test -s conftest.$ac_objext'
17666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17667 (eval $ac_try) 2>&5
17669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17670 (exit $ac_status); }; }; then
17673 echo "$as_me: failed program was:" >&5
17674 sed 's/^/| /' conftest.
$ac_ext >&5
17679 rm -f conftest.
$ac_objext conftest.
$ac_ext
17682 echo "$as_me: failed program was:" >&5
17683 sed 's/^/| /' conftest.
$ac_ext >&5
17688 rm -f conftest.
$ac_objext conftest.
$ac_ext
17691 ac_cpp
='$CPP $CPPFLAGS'
17692 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17693 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17694 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17698 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
17699 echo "${ECHO_T}$wx_cv_explicit" >&6
17701 if test "$wx_cv_explicit" = "yes"; then
17702 cat >>confdefs.h
<<\_ACEOF
17703 #define HAVE_EXPLICIT 1
17709 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
17710 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
17711 if test "${ac_cv_cxx_const_cast+set}" = set; then
17712 echo $ECHO_N "(cached) $ECHO_C" >&6
17717 ac_cpp
='$CXXCPP $CPPFLAGS'
17718 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17719 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17720 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17722 cat >conftest.
$ac_ext <<_ACEOF
17723 #line $LINENO "configure"
17726 cat confdefs.h
>>conftest.
$ac_ext
17727 cat >>conftest.
$ac_ext <<_ACEOF
17728 /* end confdefs.h. */
17733 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
17738 rm -f conftest.
$ac_objext
17739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17740 (eval $ac_compile) 2>&5
17742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17743 (exit $ac_status); } &&
17744 { ac_try
='test -s conftest.$ac_objext'
17745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17746 (eval $ac_try) 2>&5
17748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17749 (exit $ac_status); }; }; then
17750 ac_cv_cxx_const_cast
=yes
17752 echo "$as_me: failed program was:" >&5
17753 sed 's/^/| /' conftest.
$ac_ext >&5
17755 ac_cv_cxx_const_cast
=no
17757 rm -f conftest.
$ac_objext conftest.
$ac_ext
17759 ac_cpp
='$CPP $CPPFLAGS'
17760 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17761 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17762 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17766 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
17767 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
17768 if test "$ac_cv_cxx_const_cast" = yes; then
17770 cat >>confdefs.h
<<\_ACEOF
17771 #define HAVE_CONST_CAST
17777 if test "$wxUSE_STL" = "yes"; then
17779 ac_cpp
='$CXXCPP $CPPFLAGS'
17780 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17781 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17782 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17785 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
17786 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
17787 cat >conftest.
$ac_ext <<_ACEOF
17788 #line $LINENO "configure"
17791 cat confdefs.h
>>conftest.
$ac_ext
17792 cat >>conftest.
$ac_ext <<_ACEOF
17793 /* end confdefs.h. */
17795 #include <functional>
17796 #include <algorithm>
17802 std::vector<int> moo;
17803 std::list<int> foo;
17804 std::vector<int>::iterator it =
17805 std::find_if(moo.begin(), moo.end(),
17806 std::bind2nd(std::less<int>(), 3));
17811 rm -f conftest.
$ac_objext
17812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17813 (eval $ac_compile) 2>&5
17815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17816 (exit $ac_status); } &&
17817 { ac_try
='test -s conftest.$ac_objext'
17818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17819 (eval $ac_try) 2>&5
17821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17822 (exit $ac_status); }; }; then
17823 echo "$as_me:$LINENO: result: yes" >&5
17824 echo "${ECHO_T}yes" >&6
17826 echo "$as_me: failed program was:" >&5
17827 sed 's/^/| /' conftest.
$ac_ext >&5
17829 echo "$as_me:$LINENO: result: no" >&5
17830 echo "${ECHO_T}no" >&6
17831 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
17832 echo "$as_me: error: Basic STL functionality missing" >&2;}
17833 { (exit 1); exit 1; }; }
17835 rm -f conftest.
$ac_objext conftest.
$ac_ext
17837 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
17838 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
17839 cat >conftest.
$ac_ext <<_ACEOF
17840 #line $LINENO "configure"
17843 cat confdefs.h
>>conftest.
$ac_ext
17844 cat >>conftest.
$ac_ext <<_ACEOF
17845 /* end confdefs.h. */
17855 rm -f conftest.
$ac_objext
17856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17857 (eval $ac_compile) 2>&5
17859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17860 (exit $ac_status); } &&
17861 { ac_try
='test -s conftest.$ac_objext'
17862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17863 (eval $ac_try) 2>&5
17865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17866 (exit $ac_status); }; }; then
17867 echo "$as_me:$LINENO: result: yes" >&5
17868 echo "${ECHO_T}yes" >&6
17869 cat >>confdefs.h
<<\_ACEOF
17870 #define HAVE_STD_WSTRING 1
17874 echo "$as_me: failed program was:" >&5
17875 sed 's/^/| /' conftest.
$ac_ext >&5
17877 echo "$as_me:$LINENO: result: no" >&5
17878 echo "${ECHO_T}no" >&6
17880 rm -f conftest.
$ac_objext conftest.
$ac_ext
17882 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
17883 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
17884 cat >conftest.
$ac_ext <<_ACEOF
17885 #line $LINENO "configure"
17888 cat confdefs.h
>>conftest.
$ac_ext
17889 cat >>conftest.
$ac_ext <<_ACEOF
17890 /* end confdefs.h. */
17895 std::string foo, bar;
17897 foo.compare(1, 1, bar);
17898 foo.compare(1, 1, bar, 1, 1);
17900 foo.compare(1, 1, "");
17901 foo.compare(1, 1, "", 2);
17906 rm -f conftest.
$ac_objext
17907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17908 (eval $ac_compile) 2>&5
17910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17911 (exit $ac_status); } &&
17912 { ac_try
='test -s conftest.$ac_objext'
17913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17914 (eval $ac_try) 2>&5
17916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17917 (exit $ac_status); }; }; then
17918 echo "$as_me:$LINENO: result: yes" >&5
17919 echo "${ECHO_T}yes" >&6
17920 cat >>confdefs.h
<<\_ACEOF
17921 #define HAVE_STD_STRING_COMPARE 1
17925 echo "$as_me: failed program was:" >&5
17926 sed 's/^/| /' conftest.
$ac_ext >&5
17928 echo "$as_me:$LINENO: result: no" >&5
17929 echo "${ECHO_T}no" >&6
17931 rm -f conftest.
$ac_objext conftest.
$ac_ext
17934 ac_cpp
='$CPP $CPPFLAGS'
17935 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17936 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17937 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17943 /usr/local/include \
17945 /usr/Motif-1.2/include \
17946 /usr/Motif-2.1/include \
17948 /usr/include/Motif1.2 \
17949 /opt/xpm/include/X11 \
17950 /opt/GBxpm/include/ \
17951 /opt/GBxpm/X11/include/ \
17953 /usr/Motif1.2/include \
17955 /usr/openwin/include \
17959 /usr/X11R6/include \
17960 /usr/X11R6.4/include \
17961 /usr/X11R5/include \
17962 /usr/X11R4/include \
17964 /usr/include/X11R6 \
17965 /usr/include/X11R5 \
17966 /usr/include/X11R4 \
17968 /usr/local/X11R6/include \
17969 /usr/local/X11R5/include \
17970 /usr/local/X11R4/include \
17972 /usr/local/include/X11R6 \
17973 /usr/local/include/X11R5 \
17974 /usr/local/include/X11R4 \
17978 /usr/local/X11/include \
17979 /usr/local/include/X11 \
17981 /usr/X386/include \
17982 /usr/x386/include \
17983 /usr/XFree86/include/X11 \
17985 X:/XFree86/include \
17986 X:/XFree86/include/X11 \
17989 /usr/local/include/gtk \
17990 /usr/include/glib \
17991 /usr/local/include/glib \
17994 /usr/local/include/qt \
17996 /usr/include/windows \
17997 /usr/include/wine \
17998 /usr/local/include/wine \
18000 /usr/unsupported/include \
18001 /usr/athena/include \
18002 /usr/local/x11r5/include \
18003 /usr/lpp/Xamples/include \
18005 /usr/openwin/share/include"
18007 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
18010 cat >confcache
<<\_ACEOF
18011 # This file is a shell script that caches the results of configure
18012 # tests run on this system so they can be shared between configure
18013 # scripts and configure runs, see configure's option --config-cache.
18014 # It is not useful on other systems. If it contains results you don't
18015 # want to keep, you may remove or edit it.
18017 # config.status only pays attention to the cache file if you give it
18018 # the --recheck option to rerun configure.
18020 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18021 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18022 # following values.
18026 # The following way of writing the cache mishandles newlines in values,
18027 # but we know of no workaround that is simple, portable, and efficient.
18028 # So, don't put newlines in cache variables' values.
18029 # Ultrix sh set writes to stderr and can't be redirected directly,
18030 # and sets the high bit in the cache file unless we assign to the vars.
18033 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18035 # `set' does not quote correctly, so add quotes (double-quote
18036 # substitution turns \\\\ into \\, and sed turns \\ into \).
18039 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18042 # `set' quotes correctly as required by POSIX, so do not add quotes.
18044 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
18051 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18053 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18055 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
18056 if test -w $cache_file; then
18057 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
18058 cat confcache
>$cache_file
18060 echo "not updating unwritable cache $cache_file"
18065 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
18066 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
18067 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
18068 if test "${wx_cv_lib_glibc21+set}" = set; then
18069 echo $ECHO_N "(cached) $ECHO_C" >&6
18072 cat >conftest.
$ac_ext <<_ACEOF
18073 #line $LINENO "configure"
18076 cat confdefs.h
>>conftest.
$ac_ext
18077 cat >>conftest.
$ac_ext <<_ACEOF
18078 /* end confdefs.h. */
18079 #include <features.h>
18084 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
18085 #error not glibc2.1
18092 rm -f conftest.
$ac_objext
18093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18094 (eval $ac_compile) 2>&5
18096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18097 (exit $ac_status); } &&
18098 { ac_try
='test -s conftest.$ac_objext'
18099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18100 (eval $ac_try) 2>&5
18102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18103 (exit $ac_status); }; }; then
18105 wx_cv_lib_glibc21
=yes
18108 echo "$as_me: failed program was:" >&5
18109 sed 's/^/| /' conftest.
$ac_ext >&5
18112 wx_cv_lib_glibc21
=no
18116 rm -f conftest.
$ac_objext conftest.
$ac_ext
18119 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
18120 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
18121 if test "$wx_cv_lib_glibc21" = "yes"; then
18122 cat >>confdefs.h
<<\_ACEOF
18123 #define wxHAVE_GLIBC2 1
18129 if test "x$wx_cv_lib_glibc21" = "xyes"; then
18130 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
18131 cat >>confdefs.h
<<\_ACEOF
18132 #define _GNU_SOURCE 1
18141 if test "$wxUSE_REGEX" != "no"; then
18142 cat >>confdefs.h
<<\_ACEOF
18143 #define wxUSE_REGEX 1
18147 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
18148 if test "${ac_cv_header_regex_h+set}" = set; then
18149 echo "$as_me:$LINENO: checking for regex.h" >&5
18150 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18151 if test "${ac_cv_header_regex_h+set}" = set; then
18152 echo $ECHO_N "(cached) $ECHO_C" >&6
18154 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18155 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18157 # Is the header compilable?
18158 echo "$as_me:$LINENO: checking regex.h usability" >&5
18159 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
18160 cat >conftest.
$ac_ext <<_ACEOF
18161 #line $LINENO "configure"
18164 cat confdefs.h
>>conftest.
$ac_ext
18165 cat >>conftest.
$ac_ext <<_ACEOF
18166 /* end confdefs.h. */
18167 $ac_includes_default
18170 rm -f conftest.
$ac_objext
18171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18172 (eval $ac_compile) 2>&5
18174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18175 (exit $ac_status); } &&
18176 { ac_try
='test -s conftest.$ac_objext'
18177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18178 (eval $ac_try) 2>&5
18180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18181 (exit $ac_status); }; }; then
18182 ac_header_compiler
=yes
18184 echo "$as_me: failed program was:" >&5
18185 sed 's/^/| /' conftest.
$ac_ext >&5
18187 ac_header_compiler
=no
18189 rm -f conftest.
$ac_objext conftest.
$ac_ext
18190 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18191 echo "${ECHO_T}$ac_header_compiler" >&6
18193 # Is the header present?
18194 echo "$as_me:$LINENO: checking regex.h presence" >&5
18195 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
18196 cat >conftest.
$ac_ext <<_ACEOF
18197 #line $LINENO "configure"
18200 cat confdefs.h
>>conftest.
$ac_ext
18201 cat >>conftest.
$ac_ext <<_ACEOF
18202 /* end confdefs.h. */
18205 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18206 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18208 grep -v '^ *+' conftest.er1
>conftest.err
18210 cat conftest.err
>&5
18211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18212 (exit $ac_status); } >/dev
/null
; then
18213 if test -s conftest.err
; then
18214 ac_cpp_err
=$ac_c_preproc_warn_flag
18221 if test -z "$ac_cpp_err"; then
18222 ac_header_preproc
=yes
18224 echo "$as_me: failed program was:" >&5
18225 sed 's/^/| /' conftest.
$ac_ext >&5
18227 ac_header_preproc
=no
18229 rm -f conftest.err conftest.
$ac_ext
18230 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18231 echo "${ECHO_T}$ac_header_preproc" >&6
18233 # So? What about this header?
18234 case $ac_header_compiler:$ac_header_preproc in
18236 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
18237 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18238 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18239 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18242 ## ------------------------------------ ##
18243 ## Report this to bug-autoconf@gnu.org. ##
18244 ## ------------------------------------ ##
18247 sed "s/^/$as_me: WARNING: /" >&2
18250 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
18251 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
18252 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
18253 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
18254 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18255 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18258 ## ------------------------------------ ##
18259 ## Report this to bug-autoconf@gnu.org. ##
18260 ## ------------------------------------ ##
18263 sed "s/^/$as_me: WARNING: /" >&2
18266 echo "$as_me:$LINENO: checking for regex.h" >&5
18267 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18268 if test "${ac_cv_header_regex_h+set}" = set; then
18269 echo $ECHO_N "(cached) $ECHO_C" >&6
18271 ac_cv_header_regex_h
=$ac_header_preproc
18273 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18274 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18277 if test $ac_cv_header_regex_h = yes; then
18279 for ac_func
in regcomp
18281 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18282 echo "$as_me:$LINENO: checking for $ac_func" >&5
18283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18284 if eval "test \"\${$as_ac_var+set}\" = set"; then
18285 echo $ECHO_N "(cached) $ECHO_C" >&6
18287 cat >conftest.
$ac_ext <<_ACEOF
18288 #line $LINENO "configure"
18291 cat confdefs.h
>>conftest.
$ac_ext
18292 cat >>conftest.
$ac_ext <<_ACEOF
18293 /* end confdefs.h. */
18294 /* System header to define __stub macros and hopefully few prototypes,
18295 which can conflict with char $ac_func (); below.
18296 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18297 <limits.h> exists even on freestanding compilers. */
18299 # include <limits.h>
18301 # include <assert.h>
18303 /* Override any gcc2 internal prototype to avoid an error. */
18308 /* We use char because int might match the return type of a gcc2
18309 builtin and then its argument prototype would still apply. */
18311 /* The GNU C library defines this for functions which it implements
18312 to always fail with ENOSYS. Some functions are actually named
18313 something starting with __ and the normal name is an alias. */
18314 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18317 char (*f) () = $ac_func;
18326 return f != $ac_func;
18331 rm -f conftest.
$ac_objext conftest
$ac_exeext
18332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18333 (eval $ac_link) 2>&5
18335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18336 (exit $ac_status); } &&
18337 { ac_try
='test -s conftest$ac_exeext'
18338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18339 (eval $ac_try) 2>&5
18341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18342 (exit $ac_status); }; }; then
18343 eval "$as_ac_var=yes"
18345 echo "$as_me: failed program was:" >&5
18346 sed 's/^/| /' conftest.
$ac_ext >&5
18348 eval "$as_ac_var=no"
18350 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18354 if test `eval echo '${'$as_ac_var'}'` = yes; then
18355 cat >>confdefs.h
<<_ACEOF
18356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18366 if test "x$ac_cv_func_regcomp" != "xyes"; then
18367 if test "$wxUSE_REGEX" = "sys" ; then
18368 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
18369 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
18370 { (exit 1); exit 1; }; }
18372 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
18373 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
18374 wxUSE_REGEX
=builtin
18381 if test "$wxUSE_REGEX" = "builtin" ; then
18382 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
18389 if test "$wxUSE_ZLIB" != "no" ; then
18390 cat >>confdefs.h
<<\_ACEOF
18391 #define wxUSE_ZLIB 1
18395 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
18396 if test "$USE_DARWIN" = 1; then
18397 system_zlib_h_ok
="yes"
18399 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
18400 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
18401 if test "${ac_cv_header_zlib_h+set}" = set; then
18402 echo $ECHO_N "(cached) $ECHO_C" >&6
18404 if test "$cross_compiling" = yes; then
18405 unset ac_cv_header_zlib_h
18408 cat >conftest.
$ac_ext <<_ACEOF
18409 #line $LINENO "configure"
18412 cat confdefs.h
>>conftest.
$ac_ext
18413 cat >>conftest.
$ac_ext <<_ACEOF
18414 /* end confdefs.h. */
18421 FILE *f=fopen("conftestval", "w");
18424 ZLIB_VERSION[0] == '1' &&
18425 (ZLIB_VERSION[2] > '1' ||
18426 (ZLIB_VERSION[2] == '1' &&
18427 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
18432 rm -f conftest
$ac_exeext
18433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18434 (eval $ac_link) 2>&5
18436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18437 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18439 (eval $ac_try) 2>&5
18441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18442 (exit $ac_status); }; }; then
18443 ac_cv_header_zlib_h
=`cat conftestval`
18445 echo "$as_me: program exited with status $ac_status" >&5
18446 echo "$as_me: failed program was:" >&5
18447 sed 's/^/| /' conftest.
$ac_ext >&5
18449 ( exit $ac_status )
18450 ac_cv_header_zlib_h
=no
18452 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18456 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18457 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18458 if test "${ac_cv_header_zlib_h+set}" = set; then
18459 echo "$as_me:$LINENO: checking for zlib.h" >&5
18460 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18461 if test "${ac_cv_header_zlib_h+set}" = set; then
18462 echo $ECHO_N "(cached) $ECHO_C" >&6
18464 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18465 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18467 # Is the header compilable?
18468 echo "$as_me:$LINENO: checking zlib.h usability" >&5
18469 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
18470 cat >conftest.
$ac_ext <<_ACEOF
18471 #line $LINENO "configure"
18474 cat confdefs.h
>>conftest.
$ac_ext
18475 cat >>conftest.
$ac_ext <<_ACEOF
18476 /* end confdefs.h. */
18477 $ac_includes_default
18480 rm -f conftest.
$ac_objext
18481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18482 (eval $ac_compile) 2>&5
18484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18485 (exit $ac_status); } &&
18486 { ac_try
='test -s conftest.$ac_objext'
18487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18488 (eval $ac_try) 2>&5
18490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18491 (exit $ac_status); }; }; then
18492 ac_header_compiler
=yes
18494 echo "$as_me: failed program was:" >&5
18495 sed 's/^/| /' conftest.
$ac_ext >&5
18497 ac_header_compiler
=no
18499 rm -f conftest.
$ac_objext conftest.
$ac_ext
18500 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18501 echo "${ECHO_T}$ac_header_compiler" >&6
18503 # Is the header present?
18504 echo "$as_me:$LINENO: checking zlib.h presence" >&5
18505 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
18506 cat >conftest.
$ac_ext <<_ACEOF
18507 #line $LINENO "configure"
18510 cat confdefs.h
>>conftest.
$ac_ext
18511 cat >>conftest.
$ac_ext <<_ACEOF
18512 /* end confdefs.h. */
18515 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18516 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18518 grep -v '^ *+' conftest.er1
>conftest.err
18520 cat conftest.err
>&5
18521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18522 (exit $ac_status); } >/dev
/null
; then
18523 if test -s conftest.err
; then
18524 ac_cpp_err
=$ac_c_preproc_warn_flag
18531 if test -z "$ac_cpp_err"; then
18532 ac_header_preproc
=yes
18534 echo "$as_me: failed program was:" >&5
18535 sed 's/^/| /' conftest.
$ac_ext >&5
18537 ac_header_preproc
=no
18539 rm -f conftest.err conftest.
$ac_ext
18540 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18541 echo "${ECHO_T}$ac_header_preproc" >&6
18543 # So? What about this header?
18544 case $ac_header_compiler:$ac_header_preproc in
18546 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
18547 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18548 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18549 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18552 ## ------------------------------------ ##
18553 ## Report this to bug-autoconf@gnu.org. ##
18554 ## ------------------------------------ ##
18557 sed "s/^/$as_me: WARNING: /" >&2
18560 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
18561 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
18562 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
18563 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
18564 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18565 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18568 ## ------------------------------------ ##
18569 ## Report this to bug-autoconf@gnu.org. ##
18570 ## ------------------------------------ ##
18573 sed "s/^/$as_me: WARNING: /" >&2
18576 echo "$as_me:$LINENO: checking for zlib.h" >&5
18577 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18578 if test "${ac_cv_header_zlib_h+set}" = set; then
18579 echo $ECHO_N "(cached) $ECHO_C" >&6
18581 ac_cv_header_zlib_h
=$ac_header_preproc
18583 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18584 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18590 system_zlib_h_ok
=$ac_cv_header_zlib_h
18593 if test "$system_zlib_h_ok" = "yes"; then
18594 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
18595 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
18596 if test "${ac_cv_lib_z_deflate+set}" = set; then
18597 echo $ECHO_N "(cached) $ECHO_C" >&6
18599 ac_check_lib_save_LIBS
=$LIBS
18601 cat >conftest.
$ac_ext <<_ACEOF
18602 #line $LINENO "configure"
18605 cat confdefs.h
>>conftest.
$ac_ext
18606 cat >>conftest.
$ac_ext <<_ACEOF
18607 /* end confdefs.h. */
18609 /* Override any gcc2 internal prototype to avoid an error. */
18613 /* We use char because int might match the return type of a gcc2
18614 builtin and then its argument prototype would still apply. */
18624 rm -f conftest.
$ac_objext conftest
$ac_exeext
18625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18626 (eval $ac_link) 2>&5
18628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18629 (exit $ac_status); } &&
18630 { ac_try
='test -s conftest$ac_exeext'
18631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18632 (eval $ac_try) 2>&5
18634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18635 (exit $ac_status); }; }; then
18636 ac_cv_lib_z_deflate
=yes
18638 echo "$as_me: failed program was:" >&5
18639 sed 's/^/| /' conftest.
$ac_ext >&5
18641 ac_cv_lib_z_deflate
=no
18643 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18644 LIBS
=$ac_check_lib_save_LIBS
18646 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
18647 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
18648 if test $ac_cv_lib_z_deflate = yes; then
18654 if test "x$ZLIB_LINK" = "x" ; then
18655 if test "$wxUSE_ZLIB" = "sys" ; then
18656 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
18657 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
18658 { (exit 1); exit 1; }; }
18660 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
18661 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
18669 if test "$wxUSE_ZLIB" = "builtin" ; then
18670 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
18677 if test "$wxUSE_LIBPNG" != "no" ; then
18678 cat >>confdefs.h
<<\_ACEOF
18679 #define wxUSE_LIBPNG 1
18683 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
18684 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
18685 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
18689 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
18690 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
18691 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
18692 wxUSE_LIBPNG
=builtin
18695 if test "$wxUSE_MGL" != 1 ; then
18696 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
18697 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
18698 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
18699 if test "${ac_cv_header_png_h+set}" = set; then
18700 echo $ECHO_N "(cached) $ECHO_C" >&6
18702 if test "$cross_compiling" = yes; then
18703 unset ac_cv_header_png_h
18706 cat >conftest.
$ac_ext <<_ACEOF
18707 #line $LINENO "configure"
18710 cat confdefs.h
>>conftest.
$ac_ext
18711 cat >>conftest.
$ac_ext <<_ACEOF
18712 /* end confdefs.h. */
18719 FILE *f=fopen("conftestval", "w");
18722 PNG_LIBPNG_VER > 90 ? "yes" : "no");
18727 rm -f conftest
$ac_exeext
18728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18729 (eval $ac_link) 2>&5
18731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18732 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18734 (eval $ac_try) 2>&5
18736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18737 (exit $ac_status); }; }; then
18738 ac_cv_header_png_h
=`cat conftestval`
18740 echo "$as_me: program exited with status $ac_status" >&5
18741 echo "$as_me: failed program was:" >&5
18742 sed 's/^/| /' conftest.
$ac_ext >&5
18744 ( exit $ac_status )
18745 ac_cv_header_png_h
=no
18747 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18751 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18752 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18753 if test "${ac_cv_header_png_h+set}" = set; then
18754 echo "$as_me:$LINENO: checking for png.h" >&5
18755 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18756 if test "${ac_cv_header_png_h+set}" = set; then
18757 echo $ECHO_N "(cached) $ECHO_C" >&6
18759 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18760 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18762 # Is the header compilable?
18763 echo "$as_me:$LINENO: checking png.h usability" >&5
18764 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
18765 cat >conftest.
$ac_ext <<_ACEOF
18766 #line $LINENO "configure"
18769 cat confdefs.h
>>conftest.
$ac_ext
18770 cat >>conftest.
$ac_ext <<_ACEOF
18771 /* end confdefs.h. */
18772 $ac_includes_default
18775 rm -f conftest.
$ac_objext
18776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18777 (eval $ac_compile) 2>&5
18779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18780 (exit $ac_status); } &&
18781 { ac_try
='test -s conftest.$ac_objext'
18782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18783 (eval $ac_try) 2>&5
18785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18786 (exit $ac_status); }; }; then
18787 ac_header_compiler
=yes
18789 echo "$as_me: failed program was:" >&5
18790 sed 's/^/| /' conftest.
$ac_ext >&5
18792 ac_header_compiler
=no
18794 rm -f conftest.
$ac_objext conftest.
$ac_ext
18795 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18796 echo "${ECHO_T}$ac_header_compiler" >&6
18798 # Is the header present?
18799 echo "$as_me:$LINENO: checking png.h presence" >&5
18800 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
18801 cat >conftest.
$ac_ext <<_ACEOF
18802 #line $LINENO "configure"
18805 cat confdefs.h
>>conftest.
$ac_ext
18806 cat >>conftest.
$ac_ext <<_ACEOF
18807 /* end confdefs.h. */
18810 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18811 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18813 grep -v '^ *+' conftest.er1
>conftest.err
18815 cat conftest.err
>&5
18816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18817 (exit $ac_status); } >/dev
/null
; then
18818 if test -s conftest.err
; then
18819 ac_cpp_err
=$ac_c_preproc_warn_flag
18826 if test -z "$ac_cpp_err"; then
18827 ac_header_preproc
=yes
18829 echo "$as_me: failed program was:" >&5
18830 sed 's/^/| /' conftest.
$ac_ext >&5
18832 ac_header_preproc
=no
18834 rm -f conftest.err conftest.
$ac_ext
18835 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18836 echo "${ECHO_T}$ac_header_preproc" >&6
18838 # So? What about this header?
18839 case $ac_header_compiler:$ac_header_preproc in
18841 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
18842 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18843 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18844 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18847 ## ------------------------------------ ##
18848 ## Report this to bug-autoconf@gnu.org. ##
18849 ## ------------------------------------ ##
18852 sed "s/^/$as_me: WARNING: /" >&2
18855 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
18856 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
18857 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
18858 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
18859 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18860 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18863 ## ------------------------------------ ##
18864 ## Report this to bug-autoconf@gnu.org. ##
18865 ## ------------------------------------ ##
18868 sed "s/^/$as_me: WARNING: /" >&2
18871 echo "$as_me:$LINENO: checking for png.h" >&5
18872 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18873 if test "${ac_cv_header_png_h+set}" = set; then
18874 echo $ECHO_N "(cached) $ECHO_C" >&6
18876 ac_cv_header_png_h
=$ac_header_preproc
18878 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18879 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18885 if test "$ac_cv_header_png_h" = "yes"; then
18886 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
18887 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
18888 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
18889 echo $ECHO_N "(cached) $ECHO_C" >&6
18891 ac_check_lib_save_LIBS
=$LIBS
18892 LIBS
="-lpng -lz -lm $LIBS"
18893 cat >conftest.
$ac_ext <<_ACEOF
18894 #line $LINENO "configure"
18897 cat confdefs.h
>>conftest.
$ac_ext
18898 cat >>conftest.
$ac_ext <<_ACEOF
18899 /* end confdefs.h. */
18901 /* Override any gcc2 internal prototype to avoid an error. */
18905 /* We use char because int might match the return type of a gcc2
18906 builtin and then its argument prototype would still apply. */
18907 char png_check_sig ();
18916 rm -f conftest.
$ac_objext conftest
$ac_exeext
18917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18918 (eval $ac_link) 2>&5
18920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18921 (exit $ac_status); } &&
18922 { ac_try
='test -s conftest$ac_exeext'
18923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18924 (eval $ac_try) 2>&5
18926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18927 (exit $ac_status); }; }; then
18928 ac_cv_lib_png_png_check_sig
=yes
18930 echo "$as_me: failed program was:" >&5
18931 sed 's/^/| /' conftest.
$ac_ext >&5
18933 ac_cv_lib_png_png_check_sig
=no
18935 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18936 LIBS
=$ac_check_lib_save_LIBS
18938 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
18939 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
18940 if test $ac_cv_lib_png_png_check_sig = yes; then
18946 if test "x$PNG_LINK" = "x" ; then
18947 if test "$wxUSE_LIBPNG" = "sys" ; then
18948 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
18949 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
18950 { (exit 1); exit 1; }; }
18952 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
18953 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
18954 wxUSE_LIBPNG
=builtin
18962 if test "$wxUSE_LIBPNG" = "builtin" ; then
18963 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
18966 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
18972 if test "$wxUSE_LIBJPEG" != "no" ; then
18973 cat >>confdefs.h
<<\_ACEOF
18974 #define wxUSE_LIBJPEG 1
18978 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
18979 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
18980 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
18984 if test "$wxUSE_MGL" != 1 ; then
18985 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
18986 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
18987 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
18988 if test "${ac_cv_header_jpeglib_h+set}" = set; then
18989 echo $ECHO_N "(cached) $ECHO_C" >&6
18991 cat >conftest.
$ac_ext <<_ACEOF
18992 #line $LINENO "configure"
18995 cat confdefs.h
>>conftest.
$ac_ext
18996 cat >>conftest.
$ac_ext <<_ACEOF
18997 /* end confdefs.h. */
18999 #undef HAVE_STDLIB_H
19001 #include <jpeglib.h>
19012 rm -f conftest.
$ac_objext
19013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19014 (eval $ac_compile) 2>&5
19016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19017 (exit $ac_status); } &&
19018 { ac_try
='test -s conftest.$ac_objext'
19019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19020 (eval $ac_try) 2>&5
19022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19023 (exit $ac_status); }; }; then
19024 ac_cv_header_jpeglib_h
=yes
19026 echo "$as_me: failed program was:" >&5
19027 sed 's/^/| /' conftest.
$ac_ext >&5
19029 ac_cv_header_jpeglib_h
=no
19032 rm -f conftest.
$ac_objext conftest.
$ac_ext
19036 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
19037 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
19039 if test "$ac_cv_header_jpeglib_h" = "yes"; then
19040 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
19041 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
19042 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
19043 echo $ECHO_N "(cached) $ECHO_C" >&6
19045 ac_check_lib_save_LIBS
=$LIBS
19046 LIBS
="-ljpeg $LIBS"
19047 cat >conftest.
$ac_ext <<_ACEOF
19048 #line $LINENO "configure"
19051 cat confdefs.h
>>conftest.
$ac_ext
19052 cat >>conftest.
$ac_ext <<_ACEOF
19053 /* end confdefs.h. */
19055 /* Override any gcc2 internal prototype to avoid an error. */
19059 /* We use char because int might match the return type of a gcc2
19060 builtin and then its argument prototype would still apply. */
19061 char jpeg_read_header ();
19065 jpeg_read_header ();
19070 rm -f conftest.
$ac_objext conftest
$ac_exeext
19071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19072 (eval $ac_link) 2>&5
19074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19075 (exit $ac_status); } &&
19076 { ac_try
='test -s conftest$ac_exeext'
19077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19078 (eval $ac_try) 2>&5
19080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19081 (exit $ac_status); }; }; then
19082 ac_cv_lib_jpeg_jpeg_read_header
=yes
19084 echo "$as_me: failed program was:" >&5
19085 sed 's/^/| /' conftest.
$ac_ext >&5
19087 ac_cv_lib_jpeg_jpeg_read_header
=no
19089 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19090 LIBS
=$ac_check_lib_save_LIBS
19092 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
19093 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
19094 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
19095 JPEG_LINK
=" -ljpeg"
19100 if test "x$JPEG_LINK" = "x" ; then
19101 if test "$wxUSE_LIBJPEG" = "sys" ; then
19102 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
19103 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
19104 { (exit 1); exit 1; }; }
19106 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
19107 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
19108 wxUSE_LIBJPEG
=builtin
19116 if test "$wxUSE_LIBJPEG" = "builtin" ; then
19117 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
19124 TIFF_PREREQ_LINKS
=-lm
19125 if test "$wxUSE_LIBTIFF" != "no" ; then
19126 cat >>confdefs.h
<<\_ACEOF
19127 #define wxUSE_LIBTIFF 1
19131 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
19132 if test "$wxUSE_LIBJPEG" = "sys"; then
19133 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
19135 if test "$wxUSE_ZLIB" = "sys"; then
19136 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
19138 if test "${ac_cv_header_tiffio_h+set}" = set; then
19139 echo "$as_me:$LINENO: checking for tiffio.h" >&5
19140 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19141 if test "${ac_cv_header_tiffio_h+set}" = set; then
19142 echo $ECHO_N "(cached) $ECHO_C" >&6
19144 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19145 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19147 # Is the header compilable?
19148 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
19149 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
19150 cat >conftest.
$ac_ext <<_ACEOF
19151 #line $LINENO "configure"
19154 cat confdefs.h
>>conftest.
$ac_ext
19155 cat >>conftest.
$ac_ext <<_ACEOF
19156 /* end confdefs.h. */
19157 $ac_includes_default
19158 #include <tiffio.h>
19160 rm -f conftest.
$ac_objext
19161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19162 (eval $ac_compile) 2>&5
19164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19165 (exit $ac_status); } &&
19166 { ac_try
='test -s conftest.$ac_objext'
19167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19168 (eval $ac_try) 2>&5
19170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19171 (exit $ac_status); }; }; then
19172 ac_header_compiler
=yes
19174 echo "$as_me: failed program was:" >&5
19175 sed 's/^/| /' conftest.
$ac_ext >&5
19177 ac_header_compiler
=no
19179 rm -f conftest.
$ac_objext conftest.
$ac_ext
19180 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19181 echo "${ECHO_T}$ac_header_compiler" >&6
19183 # Is the header present?
19184 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
19185 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
19186 cat >conftest.
$ac_ext <<_ACEOF
19187 #line $LINENO "configure"
19190 cat confdefs.h
>>conftest.
$ac_ext
19191 cat >>conftest.
$ac_ext <<_ACEOF
19192 /* end confdefs.h. */
19193 #include <tiffio.h>
19195 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19196 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19198 grep -v '^ *+' conftest.er1
>conftest.err
19200 cat conftest.err
>&5
19201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19202 (exit $ac_status); } >/dev
/null
; then
19203 if test -s conftest.err
; then
19204 ac_cpp_err
=$ac_c_preproc_warn_flag
19211 if test -z "$ac_cpp_err"; then
19212 ac_header_preproc
=yes
19214 echo "$as_me: failed program was:" >&5
19215 sed 's/^/| /' conftest.
$ac_ext >&5
19217 ac_header_preproc
=no
19219 rm -f conftest.err conftest.
$ac_ext
19220 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19221 echo "${ECHO_T}$ac_header_preproc" >&6
19223 # So? What about this header?
19224 case $ac_header_compiler:$ac_header_preproc in
19226 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
19227 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19228 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19229 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19232 ## ------------------------------------ ##
19233 ## Report this to bug-autoconf@gnu.org. ##
19234 ## ------------------------------------ ##
19237 sed "s/^/$as_me: WARNING: /" >&2
19240 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
19241 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
19242 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
19243 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
19244 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19245 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19248 ## ------------------------------------ ##
19249 ## Report this to bug-autoconf@gnu.org. ##
19250 ## ------------------------------------ ##
19253 sed "s/^/$as_me: WARNING: /" >&2
19256 echo "$as_me:$LINENO: checking for tiffio.h" >&5
19257 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19258 if test "${ac_cv_header_tiffio_h+set}" = set; then
19259 echo $ECHO_N "(cached) $ECHO_C" >&6
19261 ac_cv_header_tiffio_h
=$ac_header_preproc
19263 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19264 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19267 if test $ac_cv_header_tiffio_h = yes; then
19268 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
19269 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
19270 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
19271 echo $ECHO_N "(cached) $ECHO_C" >&6
19273 ac_check_lib_save_LIBS
=$LIBS
19274 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
19275 cat >conftest.
$ac_ext <<_ACEOF
19276 #line $LINENO "configure"
19279 cat confdefs.h
>>conftest.
$ac_ext
19280 cat >>conftest.
$ac_ext <<_ACEOF
19281 /* end confdefs.h. */
19283 /* Override any gcc2 internal prototype to avoid an error. */
19287 /* We use char because int might match the return type of a gcc2
19288 builtin and then its argument prototype would still apply. */
19298 rm -f conftest.
$ac_objext conftest
$ac_exeext
19299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19300 (eval $ac_link) 2>&5
19302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19303 (exit $ac_status); } &&
19304 { ac_try
='test -s conftest$ac_exeext'
19305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19306 (eval $ac_try) 2>&5
19308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19309 (exit $ac_status); }; }; then
19310 ac_cv_lib_tiff_TIFFError
=yes
19312 echo "$as_me: failed program was:" >&5
19313 sed 's/^/| /' conftest.
$ac_ext >&5
19315 ac_cv_lib_tiff_TIFFError
=no
19317 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19318 LIBS
=$ac_check_lib_save_LIBS
19320 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
19321 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
19322 if test $ac_cv_lib_tiff_TIFFError = yes; then
19323 TIFF_LINK
=" -ltiff"
19331 if test "x$TIFF_LINK" = "x" ; then
19332 if test "$wxUSE_LIBTIFF" = "sys" ; then
19333 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
19334 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
19335 { (exit 1); exit 1; }; }
19337 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
19338 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
19339 wxUSE_LIBTIFF
=builtin
19346 if test "$wxUSE_LIBTIFF" = "builtin" ; then
19347 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
19352 if test "$wxUSE_EXPAT" != "no"; then
19354 cat >>confdefs.h
<<\_ACEOF
19355 #define wxUSE_EXPAT 1
19358 cat >>confdefs.h
<<\_ACEOF
19359 #define wxUSE_XML 1
19363 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
19364 if test "${ac_cv_header_expat_h+set}" = set; then
19365 echo "$as_me:$LINENO: checking for expat.h" >&5
19366 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19367 if test "${ac_cv_header_expat_h+set}" = set; then
19368 echo $ECHO_N "(cached) $ECHO_C" >&6
19370 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19371 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19373 # Is the header compilable?
19374 echo "$as_me:$LINENO: checking expat.h usability" >&5
19375 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
19376 cat >conftest.
$ac_ext <<_ACEOF
19377 #line $LINENO "configure"
19380 cat confdefs.h
>>conftest.
$ac_ext
19381 cat >>conftest.
$ac_ext <<_ACEOF
19382 /* end confdefs.h. */
19383 $ac_includes_default
19386 rm -f conftest.
$ac_objext
19387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19388 (eval $ac_compile) 2>&5
19390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19391 (exit $ac_status); } &&
19392 { ac_try
='test -s conftest.$ac_objext'
19393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19394 (eval $ac_try) 2>&5
19396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19397 (exit $ac_status); }; }; then
19398 ac_header_compiler
=yes
19400 echo "$as_me: failed program was:" >&5
19401 sed 's/^/| /' conftest.
$ac_ext >&5
19403 ac_header_compiler
=no
19405 rm -f conftest.
$ac_objext conftest.
$ac_ext
19406 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19407 echo "${ECHO_T}$ac_header_compiler" >&6
19409 # Is the header present?
19410 echo "$as_me:$LINENO: checking expat.h presence" >&5
19411 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
19412 cat >conftest.
$ac_ext <<_ACEOF
19413 #line $LINENO "configure"
19416 cat confdefs.h
>>conftest.
$ac_ext
19417 cat >>conftest.
$ac_ext <<_ACEOF
19418 /* end confdefs.h. */
19421 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19422 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19424 grep -v '^ *+' conftest.er1
>conftest.err
19426 cat conftest.err
>&5
19427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19428 (exit $ac_status); } >/dev
/null
; then
19429 if test -s conftest.err
; then
19430 ac_cpp_err
=$ac_c_preproc_warn_flag
19437 if test -z "$ac_cpp_err"; then
19438 ac_header_preproc
=yes
19440 echo "$as_me: failed program was:" >&5
19441 sed 's/^/| /' conftest.
$ac_ext >&5
19443 ac_header_preproc
=no
19445 rm -f conftest.err conftest.
$ac_ext
19446 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19447 echo "${ECHO_T}$ac_header_preproc" >&6
19449 # So? What about this header?
19450 case $ac_header_compiler:$ac_header_preproc in
19452 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
19453 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19454 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19455 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19458 ## ------------------------------------ ##
19459 ## Report this to bug-autoconf@gnu.org. ##
19460 ## ------------------------------------ ##
19463 sed "s/^/$as_me: WARNING: /" >&2
19466 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
19467 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
19468 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
19469 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
19470 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19471 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19474 ## ------------------------------------ ##
19475 ## Report this to bug-autoconf@gnu.org. ##
19476 ## ------------------------------------ ##
19479 sed "s/^/$as_me: WARNING: /" >&2
19482 echo "$as_me:$LINENO: checking for expat.h" >&5
19483 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19484 if test "${ac_cv_header_expat_h+set}" = set; then
19485 echo $ECHO_N "(cached) $ECHO_C" >&6
19487 ac_cv_header_expat_h
=$ac_header_preproc
19489 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19490 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19493 if test $ac_cv_header_expat_h = yes; then
19498 if test "x$found_expat_h" = "x1"; then
19499 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
19500 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
19501 if test "${wx_cv_expat_is_not_broken+set}" = set; then
19502 echo $ECHO_N "(cached) $ECHO_C" >&6
19508 ac_cpp
='$CXXCPP $CPPFLAGS'
19509 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19510 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19511 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19513 cat >conftest.
$ac_ext <<_ACEOF
19514 #line $LINENO "configure"
19517 cat confdefs.h
>>conftest.
$ac_ext
19518 cat >>conftest.
$ac_ext <<_ACEOF
19519 /* end confdefs.h. */
19529 rm -f conftest.
$ac_objext
19530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19531 (eval $ac_compile) 2>&5
19533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19534 (exit $ac_status); } &&
19535 { ac_try
='test -s conftest.$ac_objext'
19536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19537 (eval $ac_try) 2>&5
19539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19540 (exit $ac_status); }; }; then
19541 wx_cv_expat_is_not_broken
=yes
19543 echo "$as_me: failed program was:" >&5
19544 sed 's/^/| /' conftest.
$ac_ext >&5
19546 wx_cv_expat_is_not_broken
=no
19549 rm -f conftest.
$ac_objext conftest.
$ac_ext
19551 ac_cpp
='$CPP $CPPFLAGS'
19552 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19553 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19554 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19559 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
19560 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
19561 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
19562 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
19563 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
19564 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
19565 echo $ECHO_N "(cached) $ECHO_C" >&6
19567 ac_check_lib_save_LIBS
=$LIBS
19568 LIBS
="-lexpat $LIBS"
19569 cat >conftest.
$ac_ext <<_ACEOF
19570 #line $LINENO "configure"
19573 cat confdefs.h
>>conftest.
$ac_ext
19574 cat >>conftest.
$ac_ext <<_ACEOF
19575 /* end confdefs.h. */
19577 /* Override any gcc2 internal prototype to avoid an error. */
19581 /* We use char because int might match the return type of a gcc2
19582 builtin and then its argument prototype would still apply. */
19583 char XML_ParserCreate ();
19587 XML_ParserCreate ();
19592 rm -f conftest.
$ac_objext conftest
$ac_exeext
19593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19594 (eval $ac_link) 2>&5
19596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19597 (exit $ac_status); } &&
19598 { ac_try
='test -s conftest$ac_exeext'
19599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19600 (eval $ac_try) 2>&5
19602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19603 (exit $ac_status); }; }; then
19604 ac_cv_lib_expat_XML_ParserCreate
=yes
19606 echo "$as_me: failed program was:" >&5
19607 sed 's/^/| /' conftest.
$ac_ext >&5
19609 ac_cv_lib_expat_XML_ParserCreate
=no
19611 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19612 LIBS
=$ac_check_lib_save_LIBS
19614 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
19615 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
19616 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
19617 EXPAT_LINK
=" -lexpat"
19622 if test "x$EXPAT_LINK" = "x" ; then
19623 if test "$wxUSE_EXPAT" = "sys" ; then
19624 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
19625 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
19626 { (exit 1); exit 1; }; }
19628 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
19629 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
19630 wxUSE_EXPAT
=builtin
19636 if test "$wxUSE_EXPAT" = "builtin" ; then
19639 subdirs
="$subdirs src/expat"
19653 if test "$USE_WIN32" = 1 ; then
19655 for ac_header
in w32api.h
19657 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19658 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19659 echo "$as_me:$LINENO: checking for $ac_header" >&5
19660 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19661 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19662 echo $ECHO_N "(cached) $ECHO_C" >&6
19664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19665 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19667 # Is the header compilable?
19668 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19669 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19670 cat >conftest.
$ac_ext <<_ACEOF
19671 #line $LINENO "configure"
19674 cat confdefs.h
>>conftest.
$ac_ext
19675 cat >>conftest.
$ac_ext <<_ACEOF
19676 /* end confdefs.h. */
19677 $ac_includes_default
19678 #include <$ac_header>
19680 rm -f conftest.
$ac_objext
19681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19682 (eval $ac_compile) 2>&5
19684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19685 (exit $ac_status); } &&
19686 { ac_try
='test -s conftest.$ac_objext'
19687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19688 (eval $ac_try) 2>&5
19690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19691 (exit $ac_status); }; }; then
19692 ac_header_compiler
=yes
19694 echo "$as_me: failed program was:" >&5
19695 sed 's/^/| /' conftest.
$ac_ext >&5
19697 ac_header_compiler
=no
19699 rm -f conftest.
$ac_objext conftest.
$ac_ext
19700 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19701 echo "${ECHO_T}$ac_header_compiler" >&6
19703 # Is the header present?
19704 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19705 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19706 cat >conftest.
$ac_ext <<_ACEOF
19707 #line $LINENO "configure"
19710 cat confdefs.h
>>conftest.
$ac_ext
19711 cat >>conftest.
$ac_ext <<_ACEOF
19712 /* end confdefs.h. */
19713 #include <$ac_header>
19715 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19716 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19718 grep -v '^ *+' conftest.er1
>conftest.err
19720 cat conftest.err
>&5
19721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19722 (exit $ac_status); } >/dev
/null
; then
19723 if test -s conftest.err
; then
19724 ac_cpp_err
=$ac_c_preproc_warn_flag
19731 if test -z "$ac_cpp_err"; then
19732 ac_header_preproc
=yes
19734 echo "$as_me: failed program was:" >&5
19735 sed 's/^/| /' conftest.
$ac_ext >&5
19737 ac_header_preproc
=no
19739 rm -f conftest.err conftest.
$ac_ext
19740 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19741 echo "${ECHO_T}$ac_header_preproc" >&6
19743 # So? What about this header?
19744 case $ac_header_compiler:$ac_header_preproc in
19746 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19747 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19748 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19749 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19752 ## ------------------------------------ ##
19753 ## Report this to bug-autoconf@gnu.org. ##
19754 ## ------------------------------------ ##
19757 sed "s/^/$as_me: WARNING: /" >&2
19760 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19761 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19762 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19763 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19764 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19765 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19768 ## ------------------------------------ ##
19769 ## Report this to bug-autoconf@gnu.org. ##
19770 ## ------------------------------------ ##
19773 sed "s/^/$as_me: WARNING: /" >&2
19776 echo "$as_me:$LINENO: checking for $ac_header" >&5
19777 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19778 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19779 echo $ECHO_N "(cached) $ECHO_C" >&6
19781 eval "$as_ac_Header=$ac_header_preproc"
19783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19784 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19787 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19788 cat >>confdefs.h
<<_ACEOF
19789 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19796 if test "${ac_cv_header_windows_h+set}" = set; then
19797 echo "$as_me:$LINENO: checking for windows.h" >&5
19798 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19799 if test "${ac_cv_header_windows_h+set}" = set; then
19800 echo $ECHO_N "(cached) $ECHO_C" >&6
19802 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19803 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19805 # Is the header compilable?
19806 echo "$as_me:$LINENO: checking windows.h usability" >&5
19807 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
19808 cat >conftest.
$ac_ext <<_ACEOF
19809 #line $LINENO "configure"
19812 cat confdefs.h
>>conftest.
$ac_ext
19813 cat >>conftest.
$ac_ext <<_ACEOF
19814 /* end confdefs.h. */
19815 $ac_includes_default
19816 #include <windows.h>
19818 rm -f conftest.
$ac_objext
19819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19820 (eval $ac_compile) 2>&5
19822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19823 (exit $ac_status); } &&
19824 { ac_try
='test -s conftest.$ac_objext'
19825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19826 (eval $ac_try) 2>&5
19828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19829 (exit $ac_status); }; }; then
19830 ac_header_compiler
=yes
19832 echo "$as_me: failed program was:" >&5
19833 sed 's/^/| /' conftest.
$ac_ext >&5
19835 ac_header_compiler
=no
19837 rm -f conftest.
$ac_objext conftest.
$ac_ext
19838 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19839 echo "${ECHO_T}$ac_header_compiler" >&6
19841 # Is the header present?
19842 echo "$as_me:$LINENO: checking windows.h presence" >&5
19843 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
19844 cat >conftest.
$ac_ext <<_ACEOF
19845 #line $LINENO "configure"
19848 cat confdefs.h
>>conftest.
$ac_ext
19849 cat >>conftest.
$ac_ext <<_ACEOF
19850 /* end confdefs.h. */
19851 #include <windows.h>
19853 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19854 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19856 grep -v '^ *+' conftest.er1
>conftest.err
19858 cat conftest.err
>&5
19859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19860 (exit $ac_status); } >/dev
/null
; then
19861 if test -s conftest.err
; then
19862 ac_cpp_err
=$ac_c_preproc_warn_flag
19869 if test -z "$ac_cpp_err"; then
19870 ac_header_preproc
=yes
19872 echo "$as_me: failed program was:" >&5
19873 sed 's/^/| /' conftest.
$ac_ext >&5
19875 ac_header_preproc
=no
19877 rm -f conftest.err conftest.
$ac_ext
19878 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19879 echo "${ECHO_T}$ac_header_preproc" >&6
19881 # So? What about this header?
19882 case $ac_header_compiler:$ac_header_preproc in
19884 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
19885 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19886 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19887 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19890 ## ------------------------------------ ##
19891 ## Report this to bug-autoconf@gnu.org. ##
19892 ## ------------------------------------ ##
19895 sed "s/^/$as_me: WARNING: /" >&2
19898 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
19899 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
19900 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
19901 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
19902 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19903 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19906 ## ------------------------------------ ##
19907 ## Report this to bug-autoconf@gnu.org. ##
19908 ## ------------------------------------ ##
19911 sed "s/^/$as_me: WARNING: /" >&2
19914 echo "$as_me:$LINENO: checking for windows.h" >&5
19915 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19916 if test "${ac_cv_header_windows_h+set}" = set; then
19917 echo $ECHO_N "(cached) $ECHO_C" >&6
19919 ac_cv_header_windows_h
=$ac_header_preproc
19921 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19922 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19925 if test $ac_cv_header_windows_h = yes; then
19929 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
19930 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
19931 { (exit 1); exit 1; }; }
19937 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
19939 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
19940 LIBS
="$LIBS -loleacc"
19945 LIBS
="$LIBS -lkernel32 -luser32"
19946 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
19949 if test "$wxUSE_ODBC" = "sys" ; then
19952 if test "$wxUSE_ODBC" = "yes" ; then
19953 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
19954 cat >>confdefs.h
<<\_ACEOF
19955 #define wxUSE_ODBC 1
19960 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
19961 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
19963 WIN32INSTALL
=win32install
19966 if test "$wxUSE_GUI" = "yes"; then
19975 if test "$wxUSE_MSW" = 1 ; then
19981 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
19985 if test "$wxUSE_GTK" = 1; then
19986 echo "$as_me:$LINENO: checking for GTK+ version" >&5
19987 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
19989 gtk_version_cached
=1
19990 if test "${wx_cv_lib_gtk+set}" = set; then
19991 echo $ECHO_N "(cached) $ECHO_C" >&6
19994 gtk_version_cached
=0
19995 echo "$as_me:$LINENO: result: " >&5
19996 echo "${ECHO_T}" >&6
19999 if test "$wxUSE_THREADS" = "yes"; then
20000 GTK_MODULES
=gthread
20004 if test "x$wxUSE_GTK2" = "xyes"; then
20005 # Check whether --enable-gtktest or --disable-gtktest was given.
20006 if test "${enable_gtktest+set}" = set; then
20007 enableval
="$enable_gtktest"
20013 pkg_config_args
=gtk
+-2.0
20014 for module
in .
$GTK_MODULES
20018 pkg_config_args
="$pkg_config_args gthread-2.0"
20025 # Extract the first word of "pkg-config", so it can be a program name with args.
20026 set dummy pkg
-config; ac_word
=$2
20027 echo "$as_me:$LINENO: checking for $ac_word" >&5
20028 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20029 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20030 echo $ECHO_N "(cached) $ECHO_C" >&6
20032 case $PKG_CONFIG in
20034 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20038 for as_dir
in $PATH
20041 test -z "$as_dir" && as_dir
=.
20042 for ac_exec_ext
in '' $ac_executable_extensions; do
20043 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20044 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20045 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20051 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
20055 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20057 if test -n "$PKG_CONFIG"; then
20058 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20059 echo "${ECHO_T}$PKG_CONFIG" >&6
20061 echo "$as_me:$LINENO: result: no" >&5
20062 echo "${ECHO_T}no" >&6
20066 if test x
$PKG_CONFIG != xno
; then
20067 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
20070 echo *** pkg
-config too old
; version
0.7 or better required.
20078 min_gtk_version
=2.0.0
20079 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
20080 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
20082 if test x
$PKG_CONFIG != xno
; then
20083 ## don't try to run the test against uninstalled libtool libs
20084 if $PKG_CONFIG --uninstalled $pkg_config_args; then
20085 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
20089 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
20096 if test x
"$no_gtk" = x
; then
20097 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
20098 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
20099 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
20100 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20101 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
20102 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20103 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
20104 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20105 if test "x$enable_gtktest" = "xyes" ; then
20106 ac_save_CFLAGS
="$CFLAGS"
20107 ac_save_LIBS
="$LIBS"
20108 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20109 LIBS
="$GTK_LIBS $LIBS"
20111 if test "$cross_compiling" = yes; then
20112 echo $ac_n "cross compiling; assumed OK... $ac_c"
20114 cat >conftest.
$ac_ext <<_ACEOF
20115 #line $LINENO "configure"
20118 cat confdefs.h
>>conftest.
$ac_ext
20119 cat >>conftest.
$ac_ext <<_ACEOF
20120 /* end confdefs.h. */
20122 #include <gtk/gtk.h>
20124 #include <stdlib.h>
20129 int major, minor, micro;
20132 system ("touch conf.gtktest");
20134 /* HP/UX 9 (%@#!) writes to sscanf strings */
20135 tmp_version = g_strdup("$min_gtk_version");
20136 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
20137 printf("%s, bad version string\n", "$min_gtk_version");
20141 if ((gtk_major_version != $gtk_config_major_version) ||
20142 (gtk_minor_version != $gtk_config_minor_version) ||
20143 (gtk_micro_version != $gtk_config_micro_version))
20145 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20146 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20147 gtk_major_version, gtk_minor_version, gtk_micro_version);
20148 printf ("*** was found! If pkg-config was correct, then it is best\n");
20149 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20150 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20151 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20152 printf("*** required on your system.\n");
20153 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
20154 printf("*** to point to the correct configuration files\n");
20156 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20157 (gtk_minor_version != GTK_MINOR_VERSION) ||
20158 (gtk_micro_version != GTK_MICRO_VERSION))
20160 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20161 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20162 printf("*** library (version %d.%d.%d)\n",
20163 gtk_major_version, gtk_minor_version, gtk_micro_version);
20167 if ((gtk_major_version > major) ||
20168 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20169 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20175 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20176 gtk_major_version, gtk_minor_version, gtk_micro_version);
20177 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20178 major, minor, micro);
20179 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20181 printf("*** If you have already installed a sufficiently new version, this error\n");
20182 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
20183 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20184 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
20185 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
20186 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20187 printf("*** so that the correct libraries are found at run-time))\n");
20194 rm -f conftest
$ac_exeext
20195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20196 (eval $ac_link) 2>&5
20198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20199 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20201 (eval $ac_try) 2>&5
20203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20204 (exit $ac_status); }; }; then
20207 echo "$as_me: program exited with status $ac_status" >&5
20208 echo "$as_me: failed program was:" >&5
20209 sed 's/^/| /' conftest.
$ac_ext >&5
20211 ( exit $ac_status )
20214 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20216 CFLAGS
="$ac_save_CFLAGS"
20217 LIBS
="$ac_save_LIBS"
20220 if test "x$no_gtk" = x
; then
20221 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
20222 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
20225 echo "$as_me:$LINENO: result: no" >&5
20226 echo "${ECHO_T}no" >&6
20227 if test "$PKG_CONFIG" = "no" ; then
20228 echo "*** A new enough version of pkg-config was not found."
20229 echo "*** See http://pkgconfig.sourceforge.net"
20231 if test -f conf.gtktest
; then
20234 echo "*** Could not run GTK+ test program, checking why..."
20235 ac_save_CFLAGS
="$CFLAGS"
20236 ac_save_LIBS
="$LIBS"
20237 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20238 LIBS
="$LIBS $GTK_LIBS"
20239 cat >conftest.
$ac_ext <<_ACEOF
20240 #line $LINENO "configure"
20243 cat confdefs.h
>>conftest.
$ac_ext
20244 cat >>conftest.
$ac_ext <<_ACEOF
20245 /* end confdefs.h. */
20247 #include <gtk/gtk.h>
20253 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20258 rm -f conftest.
$ac_objext conftest
$ac_exeext
20259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20260 (eval $ac_link) 2>&5
20262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20263 (exit $ac_status); } &&
20264 { ac_try
='test -s conftest$ac_exeext'
20265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20266 (eval $ac_try) 2>&5
20268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20269 (exit $ac_status); }; }; then
20270 echo "*** The test program compiled, but did not run. This usually means"
20271 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
20272 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
20273 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20274 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20275 echo "*** is required on your system"
20277 echo "*** If you have an old version installed, it is best to remove it, although"
20278 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20280 echo "$as_me: failed program was:" >&5
20281 sed 's/^/| /' conftest.
$ac_ext >&5
20283 echo "*** The test program failed to compile or link. See the file config.log for the"
20284 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
20286 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20287 CFLAGS
="$ac_save_CFLAGS"
20288 LIBS
="$ac_save_LIBS"
20301 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20302 if test "${with_gtk_prefix+set}" = set; then
20303 withval
="$with_gtk_prefix"
20304 gtk_config_prefix
="$withval"
20306 gtk_config_prefix
=""
20309 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20310 if test "${with_gtk_exec_prefix+set}" = set; then
20311 withval
="$with_gtk_exec_prefix"
20312 gtk_config_exec_prefix
="$withval"
20314 gtk_config_exec_prefix
=""
20316 # Check whether --enable-gtktest or --disable-gtktest was given.
20317 if test "${enable_gtktest+set}" = set; then
20318 enableval
="$enable_gtktest"
20324 for module
in .
$GTK_MODULES
20328 gtk_config_args
="$gtk_config_args gthread"
20333 if test x
$gtk_config_exec_prefix != x
; then
20334 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20335 if test x
${GTK_CONFIG+set} != xset
; then
20336 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
20339 if test x
$gtk_config_prefix != x
; then
20340 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
20341 if test x
${GTK_CONFIG+set} != xset
; then
20342 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
20346 # Extract the first word of "gtk-config", so it can be a program name with args.
20347 set dummy gtk
-config; ac_word
=$2
20348 echo "$as_me:$LINENO: checking for $ac_word" >&5
20349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20350 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20351 echo $ECHO_N "(cached) $ECHO_C" >&6
20353 case $GTK_CONFIG in
20355 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
20358 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20359 for as_dir
in $PATH
20362 test -z "$as_dir" && as_dir
=.
20363 for ac_exec_ext
in '' $ac_executable_extensions; do
20364 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20365 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20366 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20372 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
20376 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
20378 if test -n "$GTK_CONFIG"; then
20379 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20380 echo "${ECHO_T}$GTK_CONFIG" >&6
20382 echo "$as_me:$LINENO: result: no" >&5
20383 echo "${ECHO_T}no" >&6
20386 min_gtk_version
=1.2.7
20387 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20388 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20390 if test "$GTK_CONFIG" = "no" ; then
20393 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
20394 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
20395 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
20396 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20397 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
20398 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20399 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
20400 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20401 if test "x$enable_gtktest" = "xyes" ; then
20402 ac_save_CFLAGS
="$CFLAGS"
20403 ac_save_LIBS
="$LIBS"
20404 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20405 LIBS
="$GTK_LIBS $LIBS"
20407 if test "$cross_compiling" = yes; then
20408 echo $ac_n "cross compiling; assumed OK... $ac_c"
20410 cat >conftest.
$ac_ext <<_ACEOF
20411 #line $LINENO "configure"
20414 cat confdefs.h
>>conftest.
$ac_ext
20415 cat >>conftest.
$ac_ext <<_ACEOF
20416 /* end confdefs.h. */
20418 #include <gtk/gtk.h>
20420 #include <stdlib.h>
20425 int major, minor, micro;
20428 system ("touch conf.gtktest");
20430 /* HP/UX 9 (%@#!) writes to sscanf strings */
20431 tmp_version = g_strdup("$min_gtk_version");
20432 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
20433 printf("%s, bad version string\n", "$min_gtk_version");
20437 if ((gtk_major_version != $gtk_config_major_version) ||
20438 (gtk_minor_version != $gtk_config_minor_version) ||
20439 (gtk_micro_version != $gtk_config_micro_version))
20441 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20442 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20443 gtk_major_version, gtk_minor_version, gtk_micro_version);
20444 printf ("*** was found! If gtk-config was correct, then it is best\n");
20445 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20446 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20447 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20448 printf("*** required on your system.\n");
20449 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20450 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20451 printf("*** before re-running configure\n");
20453 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20454 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20455 (gtk_minor_version != GTK_MINOR_VERSION) ||
20456 (gtk_micro_version != GTK_MICRO_VERSION))
20458 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20459 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20460 printf("*** library (version %d.%d.%d)\n",
20461 gtk_major_version, gtk_minor_version, gtk_micro_version);
20463 #endif /* defined (GTK_MAJOR_VERSION) ... */
20466 if ((gtk_major_version > major) ||
20467 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20468 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20474 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20475 gtk_major_version, gtk_minor_version, gtk_micro_version);
20476 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20477 major, minor, micro);
20478 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20480 printf("*** If you have already installed a sufficiently new version, this error\n");
20481 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20482 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20483 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20484 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20485 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20486 printf("*** so that the correct libraries are found at run-time))\n");
20493 rm -f conftest
$ac_exeext
20494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20495 (eval $ac_link) 2>&5
20497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20498 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20500 (eval $ac_try) 2>&5
20502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20503 (exit $ac_status); }; }; then
20506 echo "$as_me: program exited with status $ac_status" >&5
20507 echo "$as_me: failed program was:" >&5
20508 sed 's/^/| /' conftest.
$ac_ext >&5
20510 ( exit $ac_status )
20513 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20515 CFLAGS
="$ac_save_CFLAGS"
20516 LIBS
="$ac_save_LIBS"
20519 if test "x$no_gtk" = x
; then
20520 echo "$as_me:$LINENO: result: yes" >&5
20521 echo "${ECHO_T}yes" >&6
20522 wx_cv_lib_gtk
=1.2.7
20524 echo "$as_me:$LINENO: result: no" >&5
20525 echo "${ECHO_T}no" >&6
20526 if test "$GTK_CONFIG" = "no" ; then
20527 echo "*** The gtk-config script installed by GTK could not be found"
20528 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20529 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20530 echo "*** full path to gtk-config."
20532 if test -f conf.gtktest
; then
20535 echo "*** Could not run GTK test program, checking why..."
20536 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20537 LIBS
="$LIBS $GTK_LIBS"
20538 cat >conftest.
$ac_ext <<_ACEOF
20539 #line $LINENO "configure"
20542 cat confdefs.h
>>conftest.
$ac_ext
20543 cat >>conftest.
$ac_ext <<_ACEOF
20544 /* end confdefs.h. */
20546 #include <gtk/gtk.h>
20552 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20557 rm -f conftest.
$ac_objext conftest
$ac_exeext
20558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20559 (eval $ac_link) 2>&5
20561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20562 (exit $ac_status); } &&
20563 { ac_try
='test -s conftest$ac_exeext'
20564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20565 (eval $ac_try) 2>&5
20567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20568 (exit $ac_status); }; }; then
20569 echo "*** The test program compiled, but did not run. This usually means"
20570 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20571 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20572 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20573 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20574 echo "*** is required on your system"
20576 echo "*** If you have an old version installed, it is best to remove it, although"
20577 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20579 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20580 echo "*** came with the system with the command"
20582 echo "*** rpm --erase --nodeps gtk gtk-devel"
20584 echo "$as_me: failed program was:" >&5
20585 sed 's/^/| /' conftest.
$ac_ext >&5
20587 echo "*** The test program failed to compile or link. See the file config.log for the"
20588 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20589 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20590 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20592 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20593 CFLAGS
="$ac_save_CFLAGS"
20594 LIBS
="$ac_save_LIBS"
20606 if test -z "$wx_cv_lib_gtk"; then
20608 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20609 if test "${with_gtk_prefix+set}" = set; then
20610 withval
="$with_gtk_prefix"
20611 gtk_config_prefix
="$withval"
20613 gtk_config_prefix
=""
20616 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20617 if test "${with_gtk_exec_prefix+set}" = set; then
20618 withval
="$with_gtk_exec_prefix"
20619 gtk_config_exec_prefix
="$withval"
20621 gtk_config_exec_prefix
=""
20623 # Check whether --enable-gtktest or --disable-gtktest was given.
20624 if test "${enable_gtktest+set}" = set; then
20625 enableval
="$enable_gtktest"
20631 for module
in .
$GTK_MODULES
20635 gtk_config_args
="$gtk_config_args gthread"
20640 if test x
$gtk_config_exec_prefix != x
; then
20641 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20642 if test x
${GTK_CONFIG+set} != xset
; then
20643 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
20646 if test x
$gtk_config_prefix != x
; then
20647 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
20648 if test x
${GTK_CONFIG+set} != xset
; then
20649 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
20653 # Extract the first word of "gtk-config", so it can be a program name with args.
20654 set dummy gtk
-config; ac_word
=$2
20655 echo "$as_me:$LINENO: checking for $ac_word" >&5
20656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20657 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20658 echo $ECHO_N "(cached) $ECHO_C" >&6
20660 case $GTK_CONFIG in
20662 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
20665 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20666 for as_dir
in $PATH
20669 test -z "$as_dir" && as_dir
=.
20670 for ac_exec_ext
in '' $ac_executable_extensions; do
20671 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20672 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20673 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20679 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
20683 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
20685 if test -n "$GTK_CONFIG"; then
20686 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20687 echo "${ECHO_T}$GTK_CONFIG" >&6
20689 echo "$as_me:$LINENO: result: no" >&5
20690 echo "${ECHO_T}no" >&6
20693 min_gtk_version
=1.2.3
20694 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20695 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20697 if test "$GTK_CONFIG" = "no" ; then
20700 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
20701 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
20702 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
20703 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20704 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
20705 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20706 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
20707 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20708 if test "x$enable_gtktest" = "xyes" ; then
20709 ac_save_CFLAGS
="$CFLAGS"
20710 ac_save_LIBS
="$LIBS"
20711 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20712 LIBS
="$GTK_LIBS $LIBS"
20714 if test "$cross_compiling" = yes; then
20715 echo $ac_n "cross compiling; assumed OK... $ac_c"
20717 cat >conftest.
$ac_ext <<_ACEOF
20718 #line $LINENO "configure"
20721 cat confdefs.h
>>conftest.
$ac_ext
20722 cat >>conftest.
$ac_ext <<_ACEOF
20723 /* end confdefs.h. */
20725 #include <gtk/gtk.h>
20727 #include <stdlib.h>
20732 int major, minor, micro;
20735 system ("touch conf.gtktest");
20737 /* HP/UX 9 (%@#!) writes to sscanf strings */
20738 tmp_version = g_strdup("$min_gtk_version");
20739 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
20740 printf("%s, bad version string\n", "$min_gtk_version");
20744 if ((gtk_major_version != $gtk_config_major_version) ||
20745 (gtk_minor_version != $gtk_config_minor_version) ||
20746 (gtk_micro_version != $gtk_config_micro_version))
20748 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20749 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20750 gtk_major_version, gtk_minor_version, gtk_micro_version);
20751 printf ("*** was found! If gtk-config was correct, then it is best\n");
20752 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20753 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20754 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20755 printf("*** required on your system.\n");
20756 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20757 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20758 printf("*** before re-running configure\n");
20760 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20761 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20762 (gtk_minor_version != GTK_MINOR_VERSION) ||
20763 (gtk_micro_version != GTK_MICRO_VERSION))
20765 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20766 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20767 printf("*** library (version %d.%d.%d)\n",
20768 gtk_major_version, gtk_minor_version, gtk_micro_version);
20770 #endif /* defined (GTK_MAJOR_VERSION) ... */
20773 if ((gtk_major_version > major) ||
20774 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20775 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20781 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20782 gtk_major_version, gtk_minor_version, gtk_micro_version);
20783 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20784 major, minor, micro);
20785 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20787 printf("*** If you have already installed a sufficiently new version, this error\n");
20788 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20789 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20790 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20791 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20792 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20793 printf("*** so that the correct libraries are found at run-time))\n");
20800 rm -f conftest
$ac_exeext
20801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20802 (eval $ac_link) 2>&5
20804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20805 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20807 (eval $ac_try) 2>&5
20809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20810 (exit $ac_status); }; }; then
20813 echo "$as_me: program exited with status $ac_status" >&5
20814 echo "$as_me: failed program was:" >&5
20815 sed 's/^/| /' conftest.
$ac_ext >&5
20817 ( exit $ac_status )
20820 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20822 CFLAGS
="$ac_save_CFLAGS"
20823 LIBS
="$ac_save_LIBS"
20826 if test "x$no_gtk" = x
; then
20827 echo "$as_me:$LINENO: result: yes" >&5
20828 echo "${ECHO_T}yes" >&6
20829 wx_cv_lib_gtk
=1.2.3
20831 echo "$as_me:$LINENO: result: no" >&5
20832 echo "${ECHO_T}no" >&6
20833 if test "$GTK_CONFIG" = "no" ; then
20834 echo "*** The gtk-config script installed by GTK could not be found"
20835 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20836 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20837 echo "*** full path to gtk-config."
20839 if test -f conf.gtktest
; then
20842 echo "*** Could not run GTK test program, checking why..."
20843 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20844 LIBS
="$LIBS $GTK_LIBS"
20845 cat >conftest.
$ac_ext <<_ACEOF
20846 #line $LINENO "configure"
20849 cat confdefs.h
>>conftest.
$ac_ext
20850 cat >>conftest.
$ac_ext <<_ACEOF
20851 /* end confdefs.h. */
20853 #include <gtk/gtk.h>
20859 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20864 rm -f conftest.
$ac_objext conftest
$ac_exeext
20865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20866 (eval $ac_link) 2>&5
20868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20869 (exit $ac_status); } &&
20870 { ac_try
='test -s conftest$ac_exeext'
20871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20872 (eval $ac_try) 2>&5
20874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20875 (exit $ac_status); }; }; then
20876 echo "*** The test program compiled, but did not run. This usually means"
20877 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20878 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20879 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20880 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20881 echo "*** is required on your system"
20883 echo "*** If you have an old version installed, it is best to remove it, although"
20884 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20886 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20887 echo "*** came with the system with the command"
20889 echo "*** rpm --erase --nodeps gtk gtk-devel"
20891 echo "$as_me: failed program was:" >&5
20892 sed 's/^/| /' conftest.
$ac_ext >&5
20894 echo "*** The test program failed to compile or link. See the file config.log for the"
20895 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20896 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20897 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20899 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20900 CFLAGS
="$ac_save_CFLAGS"
20901 LIBS
="$ac_save_LIBS"
20915 if test -z "$wx_cv_lib_gtk"; then
20918 wx_cv_cflags_gtk
=$GTK_CFLAGS
20919 wx_cv_libs_gtk
=$GTK_LIBS
20926 if test "$gtk_version_cached" = 1; then
20927 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
20928 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
20931 case "$wx_cv_lib_gtk" in
20940 *) { { echo "$as_me:$LINENO: error:
20941 Please check that gtk-config is in path, the directory
20942 where GTK+ libraries are installed (returned by
20943 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20944 equivalent variable and GTK+ is version 1.2.3 or above.
20946 echo "$as_me: error:
20947 Please check that gtk-config is in path, the directory
20948 where GTK+ libraries are installed (returned by
20949 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20950 equivalent variable and GTK+ is version 1.2.3 or above.
20952 { (exit 1); exit 1; }; }
20956 if test "$WXGTK20" = 1; then
20957 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
20961 if test -z "$PKG_CONFIG"; then
20962 # Extract the first word of "pkg-config", so it can be a program name with args.
20963 set dummy pkg
-config; ac_word
=$2
20964 echo "$as_me:$LINENO: checking for $ac_word" >&5
20965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20966 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20967 echo $ECHO_N "(cached) $ECHO_C" >&6
20969 case $PKG_CONFIG in
20971 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20974 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20975 for as_dir
in $PATH
20978 test -z "$as_dir" && as_dir
=.
20979 for ac_exec_ext
in '' $ac_executable_extensions; do
20980 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20981 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20982 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20988 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
20992 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20994 if test -n "$PKG_CONFIG"; then
20995 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20996 echo "${ECHO_T}$PKG_CONFIG" >&6
20998 echo "$as_me:$LINENO: result: no" >&5
20999 echo "${ECHO_T}no" >&6
21004 if test "$PKG_CONFIG" = "no" ; then
21005 echo "*** The pkg-config script could not be found. Make sure it is"
21006 echo "*** in your path, or set the PKG_CONFIG environment variable"
21007 echo "*** to the full path to pkg-config."
21008 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21010 PKG_CONFIG_MIN_VERSION
=0.9.0
21011 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21012 echo "$as_me:$LINENO: checking for pangoft2" >&5
21013 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
21015 if $PKG_CONFIG --exists "pangoft2" ; then
21016 echo "$as_me:$LINENO: result: yes" >&5
21017 echo "${ECHO_T}yes" >&6
21020 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
21021 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
21022 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
21023 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
21024 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
21026 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
21027 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
21028 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
21029 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
21030 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
21034 ## If we have a custom action on failure, don't print errors, but
21035 ## do set a variable so people can do so.
21036 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
21043 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21044 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21048 if test $succeeded = yes; then
21050 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
21051 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
21055 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
21056 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
21057 wxUSE_PRINTING_ARCHITECTURE
="no"
21064 if test "$wxUSE_UNICODE" = "yes"; then
21065 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
21066 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
21071 if test "$USE_DARWIN" != 1; then
21073 for ac_func
in poll
21075 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21076 echo "$as_me:$LINENO: checking for $ac_func" >&5
21077 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21078 if eval "test \"\${$as_ac_var+set}\" = set"; then
21079 echo $ECHO_N "(cached) $ECHO_C" >&6
21081 cat >conftest.
$ac_ext <<_ACEOF
21082 #line $LINENO "configure"
21085 cat confdefs.h
>>conftest.
$ac_ext
21086 cat >>conftest.
$ac_ext <<_ACEOF
21087 /* end confdefs.h. */
21088 /* System header to define __stub macros and hopefully few prototypes,
21089 which can conflict with char $ac_func (); below.
21090 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21091 <limits.h> exists even on freestanding compilers. */
21093 # include <limits.h>
21095 # include <assert.h>
21097 /* Override any gcc2 internal prototype to avoid an error. */
21102 /* We use char because int might match the return type of a gcc2
21103 builtin and then its argument prototype would still apply. */
21105 /* The GNU C library defines this for functions which it implements
21106 to always fail with ENOSYS. Some functions are actually named
21107 something starting with __ and the normal name is an alias. */
21108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21111 char (*f) () = $ac_func;
21120 return f != $ac_func;
21125 rm -f conftest.
$ac_objext conftest
$ac_exeext
21126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21127 (eval $ac_link) 2>&5
21129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21130 (exit $ac_status); } &&
21131 { ac_try
='test -s conftest$ac_exeext'
21132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21133 (eval $ac_try) 2>&5
21135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21136 (exit $ac_status); }; }; then
21137 eval "$as_ac_var=yes"
21139 echo "$as_me: failed program was:" >&5
21140 sed 's/^/| /' conftest.
$ac_ext >&5
21142 eval "$as_ac_var=no"
21144 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21147 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21148 if test `eval echo '${'$as_ac_var'}'` = yes; then
21149 cat >>confdefs.h
<<_ACEOF
21150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21158 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
21159 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
21161 AFMINSTALL
=afminstall
21165 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
21166 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
21167 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
21168 echo $ECHO_N "(cached) $ECHO_C" >&6
21170 ac_check_lib_save_LIBS
=$LIBS
21172 cat >conftest.
$ac_ext <<_ACEOF
21173 #line $LINENO "configure"
21176 cat confdefs.h
>>conftest.
$ac_ext
21177 cat >>conftest.
$ac_ext <<_ACEOF
21178 /* end confdefs.h. */
21180 /* Override any gcc2 internal prototype to avoid an error. */
21184 /* We use char because int might match the return type of a gcc2
21185 builtin and then its argument prototype would still apply. */
21186 char gdk_im_open ();
21195 rm -f conftest.
$ac_objext conftest
$ac_exeext
21196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21197 (eval $ac_link) 2>&5
21199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21200 (exit $ac_status); } &&
21201 { ac_try
='test -s conftest$ac_exeext'
21202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21203 (eval $ac_try) 2>&5
21205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21206 (exit $ac_status); }; }; then
21207 ac_cv_lib_gdk_gdk_im_open
=yes
21209 echo "$as_me: failed program was:" >&5
21210 sed 's/^/| /' conftest.
$ac_ext >&5
21212 ac_cv_lib_gdk_gdk_im_open
=no
21214 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21215 LIBS
=$ac_check_lib_save_LIBS
21217 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
21218 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
21219 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
21220 cat >>confdefs.h
<<\_ACEOF
21228 if test "$wxUSE_MGL" = 1; then
21229 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
21230 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
21231 if test "x$MGL_ROOT" = x
; then
21232 echo "$as_me:$LINENO: result: not found" >&5
21233 echo "${ECHO_T}not found" >&6
21234 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
21235 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
21236 { (exit 1); exit 1; }; }
21238 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
21239 echo "${ECHO_T}$MGL_ROOT" >&6
21242 echo "$as_me:$LINENO: checking for libmgl location" >&5
21243 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
21246 if test "x$wxUSE_SHARED" = xyes
; then
21247 mgl_os_candidates
="linux/gcc/glibc.so linux/gcc/glibc"
21249 mgl_os_candidates
="linux/gcc/glibc linux/gcc/glibc.so"
21253 mgl_os_candidates
="dos32/dj2"
21256 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
21257 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
21258 { (exit 1); exit 1; }; }
21264 for mgl_os_i
in $mgl_os_candidates ; do
21265 if test "x$mgl_os" = x
; then
21266 if test "$wxUSE_DEBUG_FLAG" = yes ; then
21267 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
21268 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
21273 if test "x$mgl_lib_type" = x
; then
21274 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
21275 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
21276 mgl_lib_type
=release
21283 if test "x$mgl_os" = x
; then
21284 echo "$as_me:$LINENO: result: not found" >&5
21285 echo "${ECHO_T}not found" >&6
21286 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
21287 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
21288 { (exit 1); exit 1; }; }
21290 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
21291 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
21293 wxUSE_UNIVERSAL
="yes"
21295 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
21296 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
21298 AFMINSTALL
=afminstall
21303 if test "$wxUSE_MICROWIN" = 1; then
21304 echo "$as_me:$LINENO: checking for MicroWindows" >&5
21305 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
21306 if test "x$MICROWINDOWS" = x
; then
21307 echo "$as_me:$LINENO: result: not found" >&5
21308 echo "${ECHO_T}not found" >&6
21309 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
21310 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
21311 { (exit 1); exit 1; }; }
21313 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
21314 echo "${ECHO_T}$MICROWINDOWS" >&6
21317 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
21318 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
21319 echo "${ECHO_T}MicroWindows' libraries found." >&6
21321 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
21322 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
21323 { (exit 1); exit 1; }; }
21326 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
21327 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
21329 wxUSE_UNIVERSAL
="yes"
21331 AFMINSTALL
=afminstall
21333 GUIDIST
=MICROWIN_DIST
21335 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
21338 if test "$wxUSE_X11" = 1; then
21339 echo "$as_me:$LINENO: checking for X" >&5
21340 echo $ECHO_N "checking for X... $ECHO_C" >&6
21343 # Check whether --with-x or --without-x was given.
21344 if test "${with_x+set}" = set; then
21348 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
21349 if test "x$with_x" = xno
; then
21350 # The user explicitly disabled X.
21353 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
21354 # Both variables are already set.
21357 if test "${ac_cv_have_x+set}" = set; then
21358 echo $ECHO_N "(cached) $ECHO_C" >&6
21360 # One or both of the vars are not set, and there is no cached value.
21361 ac_x_includes
=no ac_x_libraries
=no
21362 rm -fr conftest.dir
21363 if mkdir conftest.dir
; then
21365 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
21366 cat >Imakefile
<<'_ACEOF'
21368 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
21370 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
21371 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
21372 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
21373 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
21374 for ac_extension
in a so sl
; do
21375 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
21376 test -f $ac_im_libdir/libX11.
$ac_extension; then
21377 ac_im_usrlibdir
=$ac_im_libdir; break
21380 # Screen out bogus values from the imake configuration. They are
21381 # bogus both because they are the default anyway, and because
21382 # using them would break gcc on systems where it needs fixed includes.
21383 case $ac_im_incroot in
21385 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
21387 case $ac_im_usrlibdir in
21388 /usr
/lib
| /lib
) ;;
21389 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
21393 rm -fr conftest.dir
21396 # Standard set of common directories for X headers.
21397 # Check X11 before X11Rn because it is often a symlink to the current release.
21409 /usr/local/X11/include
21410 /usr/local/X11R6/include
21411 /usr/local/X11R5/include
21412 /usr/local/X11R4/include
21414 /usr/local/include/X11
21415 /usr/local/include/X11R6
21416 /usr/local/include/X11R5
21417 /usr/local/include/X11R4
21421 /usr/XFree86/include/X11
21425 /usr/unsupported/include
21426 /usr/athena/include
21427 /usr/local/x11r5/include
21428 /usr/lpp/Xamples/include
21430 /usr/openwin/include
21431 /usr/openwin/share/include'
21433 if test "$ac_x_includes" = no
; then
21434 # Guess where to find include files, by looking for Intrinsic.h.
21435 # First, try using that file with no special directory specified.
21436 cat >conftest.
$ac_ext <<_ACEOF
21437 #line $LINENO "configure"
21440 cat confdefs.h
>>conftest.
$ac_ext
21441 cat >>conftest.
$ac_ext <<_ACEOF
21442 /* end confdefs.h. */
21443 #include <X11/Intrinsic.h>
21445 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21446 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21448 grep -v '^ *+' conftest.er1
>conftest.err
21450 cat conftest.err
>&5
21451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21452 (exit $ac_status); } >/dev
/null
; then
21453 if test -s conftest.err
; then
21454 ac_cpp_err
=$ac_c_preproc_warn_flag
21461 if test -z "$ac_cpp_err"; then
21462 # We can compile using X headers with no special include directory.
21465 echo "$as_me: failed program was:" >&5
21466 sed 's/^/| /' conftest.
$ac_ext >&5
21468 for ac_dir
in $ac_x_header_dirs; do
21469 if test -r "$ac_dir/X11/Intrinsic.h"; then
21470 ac_x_includes
=$ac_dir
21475 rm -f conftest.err conftest.
$ac_ext
21476 fi # $ac_x_includes = no
21478 if test "$ac_x_libraries" = no
; then
21479 # Check for the libraries.
21480 # See if we find them without any special options.
21481 # Don't add to $LIBS permanently.
21484 cat >conftest.
$ac_ext <<_ACEOF
21485 #line $LINENO "configure"
21488 cat confdefs.h
>>conftest.
$ac_ext
21489 cat >>conftest.
$ac_ext <<_ACEOF
21490 /* end confdefs.h. */
21491 #include <X11/Intrinsic.h>
21500 rm -f conftest.
$ac_objext conftest
$ac_exeext
21501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21502 (eval $ac_link) 2>&5
21504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21505 (exit $ac_status); } &&
21506 { ac_try
='test -s conftest$ac_exeext'
21507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21508 (eval $ac_try) 2>&5
21510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21511 (exit $ac_status); }; }; then
21513 # We can link X programs with no special library path.
21516 echo "$as_me: failed program was:" >&5
21517 sed 's/^/| /' conftest.
$ac_ext >&5
21520 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
21522 # Don't even attempt the hair of trying to link an X program!
21523 for ac_extension
in a so sl
; do
21524 if test -r $ac_dir/libXt.
$ac_extension; then
21525 ac_x_libraries
=$ac_dir
21531 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21532 fi # $ac_x_libraries = no
21534 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
21535 # Didn't find X anywhere. Cache the known absence of X.
21536 ac_cv_have_x
="have_x=no"
21538 # Record where we found X for the cache.
21539 ac_cv_have_x
="have_x=yes \
21540 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
21545 eval "$ac_cv_have_x"
21548 if test "$have_x" != yes; then
21549 echo "$as_me:$LINENO: result: $have_x" >&5
21550 echo "${ECHO_T}$have_x" >&6
21553 # If each of the values was on the command line, it overrides each guess.
21554 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
21555 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
21556 # Update the cache value to reflect the command line values.
21557 ac_cv_have_x
="have_x=yes \
21558 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
21559 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
21560 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
21563 if test "$no_x" = yes; then
21564 # Not all programs may use this symbol, but it does not hurt to define it.
21566 cat >>confdefs.h
<<\_ACEOF
21567 #define X_DISPLAY_MISSING 1
21570 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
21572 if test -n "$x_includes"; then
21573 X_CFLAGS
="$X_CFLAGS -I$x_includes"
21576 # It would also be nice to do this for all -L options, not just this one.
21577 if test -n "$x_libraries"; then
21578 X_LIBS
="$X_LIBS -L$x_libraries"
21579 # For Solaris; some versions of Sun CC require a space after -R and
21580 # others require no space. Words are not sufficient . . . .
21581 case `(uname -sr) 2>/dev/null` in
21583 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
21584 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
21585 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
21586 cat >conftest.
$ac_ext <<_ACEOF
21587 #line $LINENO "configure"
21590 cat confdefs.h
>>conftest.
$ac_ext
21591 cat >>conftest.
$ac_ext <<_ACEOF
21592 /* end confdefs.h. */
21602 rm -f conftest.
$ac_objext conftest
$ac_exeext
21603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21604 (eval $ac_link) 2>&5
21606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21607 (exit $ac_status); } &&
21608 { ac_try
='test -s conftest$ac_exeext'
21609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21610 (eval $ac_try) 2>&5
21612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21613 (exit $ac_status); }; }; then
21616 echo "$as_me: failed program was:" >&5
21617 sed 's/^/| /' conftest.
$ac_ext >&5
21621 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21622 if test $ac_R_nospace = yes; then
21623 echo "$as_me:$LINENO: result: no" >&5
21624 echo "${ECHO_T}no" >&6
21625 X_LIBS
="$X_LIBS -R$x_libraries"
21627 LIBS
="$ac_xsave_LIBS -R $x_libraries"
21628 cat >conftest.
$ac_ext <<_ACEOF
21629 #line $LINENO "configure"
21632 cat confdefs.h
>>conftest.
$ac_ext
21633 cat >>conftest.
$ac_ext <<_ACEOF
21634 /* end confdefs.h. */
21644 rm -f conftest.
$ac_objext conftest
$ac_exeext
21645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21646 (eval $ac_link) 2>&5
21648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21649 (exit $ac_status); } &&
21650 { ac_try
='test -s conftest$ac_exeext'
21651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21652 (eval $ac_try) 2>&5
21654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21655 (exit $ac_status); }; }; then
21658 echo "$as_me: failed program was:" >&5
21659 sed 's/^/| /' conftest.
$ac_ext >&5
21663 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21664 if test $ac_R_space = yes; then
21665 echo "$as_me:$LINENO: result: yes" >&5
21666 echo "${ECHO_T}yes" >&6
21667 X_LIBS
="$X_LIBS -R $x_libraries"
21669 echo "$as_me:$LINENO: result: neither works" >&5
21670 echo "${ECHO_T}neither works" >&6
21673 LIBS
=$ac_xsave_LIBS
21677 # Check for system-dependent libraries X programs must link with.
21678 # Do this before checking for the system-independent R6 libraries
21679 # (-lICE), since we may need -lsocket or whatever for X linking.
21681 if test "$ISC" = yes; then
21682 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
21684 # Martyn Johnson says this is needed for Ultrix, if the X
21685 # libraries were built with DECnet support. And Karl Berry says
21686 # the Alpha needs dnet_stub (dnet does not exist).
21687 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
21688 cat >conftest.
$ac_ext <<_ACEOF
21689 #line $LINENO "configure"
21692 cat confdefs.h
>>conftest.
$ac_ext
21693 cat >>conftest.
$ac_ext <<_ACEOF
21694 /* end confdefs.h. */
21696 /* Override any gcc2 internal prototype to avoid an error. */
21700 /* We use char because int might match the return type of a gcc2
21701 builtin and then its argument prototype would still apply. */
21702 char XOpenDisplay ();
21711 rm -f conftest.
$ac_objext conftest
$ac_exeext
21712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21713 (eval $ac_link) 2>&5
21715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21716 (exit $ac_status); } &&
21717 { ac_try
='test -s conftest$ac_exeext'
21718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21719 (eval $ac_try) 2>&5
21721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21722 (exit $ac_status); }; }; then
21725 echo "$as_me: failed program was:" >&5
21726 sed 's/^/| /' conftest.
$ac_ext >&5
21728 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
21729 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
21730 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
21731 echo $ECHO_N "(cached) $ECHO_C" >&6
21733 ac_check_lib_save_LIBS
=$LIBS
21734 LIBS
="-ldnet $LIBS"
21735 cat >conftest.
$ac_ext <<_ACEOF
21736 #line $LINENO "configure"
21739 cat confdefs.h
>>conftest.
$ac_ext
21740 cat >>conftest.
$ac_ext <<_ACEOF
21741 /* end confdefs.h. */
21743 /* Override any gcc2 internal prototype to avoid an error. */
21747 /* We use char because int might match the return type of a gcc2
21748 builtin and then its argument prototype would still apply. */
21758 rm -f conftest.
$ac_objext conftest
$ac_exeext
21759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21760 (eval $ac_link) 2>&5
21762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21763 (exit $ac_status); } &&
21764 { ac_try
='test -s conftest$ac_exeext'
21765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21766 (eval $ac_try) 2>&5
21768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21769 (exit $ac_status); }; }; then
21770 ac_cv_lib_dnet_dnet_ntoa
=yes
21772 echo "$as_me: failed program was:" >&5
21773 sed 's/^/| /' conftest.
$ac_ext >&5
21775 ac_cv_lib_dnet_dnet_ntoa
=no
21777 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21778 LIBS
=$ac_check_lib_save_LIBS
21780 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
21781 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
21782 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
21783 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
21786 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
21787 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
21788 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
21789 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
21790 echo $ECHO_N "(cached) $ECHO_C" >&6
21792 ac_check_lib_save_LIBS
=$LIBS
21793 LIBS
="-ldnet_stub $LIBS"
21794 cat >conftest.
$ac_ext <<_ACEOF
21795 #line $LINENO "configure"
21798 cat confdefs.h
>>conftest.
$ac_ext
21799 cat >>conftest.
$ac_ext <<_ACEOF
21800 /* end confdefs.h. */
21802 /* Override any gcc2 internal prototype to avoid an error. */
21806 /* We use char because int might match the return type of a gcc2
21807 builtin and then its argument prototype would still apply. */
21817 rm -f conftest.
$ac_objext conftest
$ac_exeext
21818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21819 (eval $ac_link) 2>&5
21821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21822 (exit $ac_status); } &&
21823 { ac_try
='test -s conftest$ac_exeext'
21824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21825 (eval $ac_try) 2>&5
21827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21828 (exit $ac_status); }; }; then
21829 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
21831 echo "$as_me: failed program was:" >&5
21832 sed 's/^/| /' conftest.
$ac_ext >&5
21834 ac_cv_lib_dnet_stub_dnet_ntoa
=no
21836 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21837 LIBS
=$ac_check_lib_save_LIBS
21839 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
21840 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
21841 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
21842 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
21847 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21848 LIBS
="$ac_xsave_LIBS"
21850 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
21851 # to get the SysV transport functions.
21852 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
21854 # The nsl library prevents programs from opening the X display
21855 # on Irix 5.2, according to T.E. Dickey.
21856 # The functions gethostbyname, getservbyname, and inet_addr are
21857 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
21858 echo "$as_me:$LINENO: checking for gethostbyname" >&5
21859 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
21860 if test "${ac_cv_func_gethostbyname+set}" = set; then
21861 echo $ECHO_N "(cached) $ECHO_C" >&6
21863 cat >conftest.
$ac_ext <<_ACEOF
21864 #line $LINENO "configure"
21867 cat confdefs.h
>>conftest.
$ac_ext
21868 cat >>conftest.
$ac_ext <<_ACEOF
21869 /* end confdefs.h. */
21870 /* System header to define __stub macros and hopefully few prototypes,
21871 which can conflict with char gethostbyname (); below.
21872 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21873 <limits.h> exists even on freestanding compilers. */
21875 # include <limits.h>
21877 # include <assert.h>
21879 /* Override any gcc2 internal prototype to avoid an error. */
21884 /* We use char because int might match the return type of a gcc2
21885 builtin and then its argument prototype would still apply. */
21886 char gethostbyname ();
21887 /* The GNU C library defines this for functions which it implements
21888 to always fail with ENOSYS. Some functions are actually named
21889 something starting with __ and the normal name is an alias. */
21890 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
21893 char (*f) () = gethostbyname;
21902 return f != gethostbyname;
21907 rm -f conftest.
$ac_objext conftest
$ac_exeext
21908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21909 (eval $ac_link) 2>&5
21911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21912 (exit $ac_status); } &&
21913 { ac_try
='test -s conftest$ac_exeext'
21914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21915 (eval $ac_try) 2>&5
21917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21918 (exit $ac_status); }; }; then
21919 ac_cv_func_gethostbyname
=yes
21921 echo "$as_me: failed program was:" >&5
21922 sed 's/^/| /' conftest.
$ac_ext >&5
21924 ac_cv_func_gethostbyname
=no
21926 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21928 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
21929 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
21931 if test $ac_cv_func_gethostbyname = no
; then
21932 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
21933 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
21934 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
21935 echo $ECHO_N "(cached) $ECHO_C" >&6
21937 ac_check_lib_save_LIBS
=$LIBS
21939 cat >conftest.
$ac_ext <<_ACEOF
21940 #line $LINENO "configure"
21943 cat confdefs.h
>>conftest.
$ac_ext
21944 cat >>conftest.
$ac_ext <<_ACEOF
21945 /* end confdefs.h. */
21947 /* Override any gcc2 internal prototype to avoid an error. */
21951 /* We use char because int might match the return type of a gcc2
21952 builtin and then its argument prototype would still apply. */
21953 char gethostbyname ();
21962 rm -f conftest.
$ac_objext conftest
$ac_exeext
21963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21964 (eval $ac_link) 2>&5
21966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21967 (exit $ac_status); } &&
21968 { ac_try
='test -s conftest$ac_exeext'
21969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21970 (eval $ac_try) 2>&5
21972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21973 (exit $ac_status); }; }; then
21974 ac_cv_lib_nsl_gethostbyname
=yes
21976 echo "$as_me: failed program was:" >&5
21977 sed 's/^/| /' conftest.
$ac_ext >&5
21979 ac_cv_lib_nsl_gethostbyname
=no
21981 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21982 LIBS
=$ac_check_lib_save_LIBS
21984 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
21985 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
21986 if test $ac_cv_lib_nsl_gethostbyname = yes; then
21987 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
21990 if test $ac_cv_lib_nsl_gethostbyname = no
; then
21991 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
21992 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
21993 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
21994 echo $ECHO_N "(cached) $ECHO_C" >&6
21996 ac_check_lib_save_LIBS
=$LIBS
21998 cat >conftest.
$ac_ext <<_ACEOF
21999 #line $LINENO "configure"
22002 cat confdefs.h
>>conftest.
$ac_ext
22003 cat >>conftest.
$ac_ext <<_ACEOF
22004 /* end confdefs.h. */
22006 /* Override any gcc2 internal prototype to avoid an error. */
22010 /* We use char because int might match the return type of a gcc2
22011 builtin and then its argument prototype would still apply. */
22012 char gethostbyname ();
22021 rm -f conftest.
$ac_objext conftest
$ac_exeext
22022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22023 (eval $ac_link) 2>&5
22025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22026 (exit $ac_status); } &&
22027 { ac_try
='test -s conftest$ac_exeext'
22028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22029 (eval $ac_try) 2>&5
22031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22032 (exit $ac_status); }; }; then
22033 ac_cv_lib_bsd_gethostbyname
=yes
22035 echo "$as_me: failed program was:" >&5
22036 sed 's/^/| /' conftest.
$ac_ext >&5
22038 ac_cv_lib_bsd_gethostbyname
=no
22040 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22041 LIBS
=$ac_check_lib_save_LIBS
22043 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
22044 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
22045 if test $ac_cv_lib_bsd_gethostbyname = yes; then
22046 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
22052 # lieder@skyler.mavd.honeywell.com says without -lsocket,
22053 # socket/setsockopt and other routines are undefined under SCO ODT
22054 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
22055 # on later versions), says Simon Leinen: it contains gethostby*
22056 # variants that don't use the name server (or something). -lsocket
22057 # must be given before -lnsl if both are needed. We assume that
22058 # if connect needs -lnsl, so does gethostbyname.
22059 echo "$as_me:$LINENO: checking for connect" >&5
22060 echo $ECHO_N "checking for connect... $ECHO_C" >&6
22061 if test "${ac_cv_func_connect+set}" = set; then
22062 echo $ECHO_N "(cached) $ECHO_C" >&6
22064 cat >conftest.
$ac_ext <<_ACEOF
22065 #line $LINENO "configure"
22068 cat confdefs.h
>>conftest.
$ac_ext
22069 cat >>conftest.
$ac_ext <<_ACEOF
22070 /* end confdefs.h. */
22071 /* System header to define __stub macros and hopefully few prototypes,
22072 which can conflict with char connect (); below.
22073 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22074 <limits.h> exists even on freestanding compilers. */
22076 # include <limits.h>
22078 # include <assert.h>
22080 /* Override any gcc2 internal prototype to avoid an error. */
22085 /* We use char because int might match the return type of a gcc2
22086 builtin and then its argument prototype would still apply. */
22088 /* The GNU C library defines this for functions which it implements
22089 to always fail with ENOSYS. Some functions are actually named
22090 something starting with __ and the normal name is an alias. */
22091 #if defined (__stub_connect) || defined (__stub___connect)
22094 char (*f) () = connect;
22103 return f != connect;
22108 rm -f conftest.
$ac_objext conftest
$ac_exeext
22109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22110 (eval $ac_link) 2>&5
22112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22113 (exit $ac_status); } &&
22114 { ac_try
='test -s conftest$ac_exeext'
22115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22116 (eval $ac_try) 2>&5
22118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22119 (exit $ac_status); }; }; then
22120 ac_cv_func_connect
=yes
22122 echo "$as_me: failed program was:" >&5
22123 sed 's/^/| /' conftest.
$ac_ext >&5
22125 ac_cv_func_connect
=no
22127 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22129 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
22130 echo "${ECHO_T}$ac_cv_func_connect" >&6
22132 if test $ac_cv_func_connect = no
; then
22133 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
22134 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
22135 if test "${ac_cv_lib_socket_connect+set}" = set; then
22136 echo $ECHO_N "(cached) $ECHO_C" >&6
22138 ac_check_lib_save_LIBS
=$LIBS
22139 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
22140 cat >conftest.
$ac_ext <<_ACEOF
22141 #line $LINENO "configure"
22144 cat confdefs.h
>>conftest.
$ac_ext
22145 cat >>conftest.
$ac_ext <<_ACEOF
22146 /* end confdefs.h. */
22148 /* Override any gcc2 internal prototype to avoid an error. */
22152 /* We use char because int might match the return type of a gcc2
22153 builtin and then its argument prototype would still apply. */
22163 rm -f conftest.
$ac_objext conftest
$ac_exeext
22164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22165 (eval $ac_link) 2>&5
22167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22168 (exit $ac_status); } &&
22169 { ac_try
='test -s conftest$ac_exeext'
22170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22171 (eval $ac_try) 2>&5
22173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22174 (exit $ac_status); }; }; then
22175 ac_cv_lib_socket_connect
=yes
22177 echo "$as_me: failed program was:" >&5
22178 sed 's/^/| /' conftest.
$ac_ext >&5
22180 ac_cv_lib_socket_connect
=no
22182 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22183 LIBS
=$ac_check_lib_save_LIBS
22185 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
22186 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
22187 if test $ac_cv_lib_socket_connect = yes; then
22188 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
22193 # Guillermo Gomez says -lposix is necessary on A/UX.
22194 echo "$as_me:$LINENO: checking for remove" >&5
22195 echo $ECHO_N "checking for remove... $ECHO_C" >&6
22196 if test "${ac_cv_func_remove+set}" = set; then
22197 echo $ECHO_N "(cached) $ECHO_C" >&6
22199 cat >conftest.
$ac_ext <<_ACEOF
22200 #line $LINENO "configure"
22203 cat confdefs.h
>>conftest.
$ac_ext
22204 cat >>conftest.
$ac_ext <<_ACEOF
22205 /* end confdefs.h. */
22206 /* System header to define __stub macros and hopefully few prototypes,
22207 which can conflict with char remove (); below.
22208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22209 <limits.h> exists even on freestanding compilers. */
22211 # include <limits.h>
22213 # include <assert.h>
22215 /* Override any gcc2 internal prototype to avoid an error. */
22220 /* We use char because int might match the return type of a gcc2
22221 builtin and then its argument prototype would still apply. */
22223 /* The GNU C library defines this for functions which it implements
22224 to always fail with ENOSYS. Some functions are actually named
22225 something starting with __ and the normal name is an alias. */
22226 #if defined (__stub_remove) || defined (__stub___remove)
22229 char (*f) () = remove;
22238 return f != remove;
22243 rm -f conftest.
$ac_objext conftest
$ac_exeext
22244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22245 (eval $ac_link) 2>&5
22247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22248 (exit $ac_status); } &&
22249 { ac_try
='test -s conftest$ac_exeext'
22250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22251 (eval $ac_try) 2>&5
22253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22254 (exit $ac_status); }; }; then
22255 ac_cv_func_remove
=yes
22257 echo "$as_me: failed program was:" >&5
22258 sed 's/^/| /' conftest.
$ac_ext >&5
22260 ac_cv_func_remove
=no
22262 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22264 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
22265 echo "${ECHO_T}$ac_cv_func_remove" >&6
22267 if test $ac_cv_func_remove = no
; then
22268 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
22269 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
22270 if test "${ac_cv_lib_posix_remove+set}" = set; then
22271 echo $ECHO_N "(cached) $ECHO_C" >&6
22273 ac_check_lib_save_LIBS
=$LIBS
22274 LIBS
="-lposix $LIBS"
22275 cat >conftest.
$ac_ext <<_ACEOF
22276 #line $LINENO "configure"
22279 cat confdefs.h
>>conftest.
$ac_ext
22280 cat >>conftest.
$ac_ext <<_ACEOF
22281 /* end confdefs.h. */
22283 /* Override any gcc2 internal prototype to avoid an error. */
22287 /* We use char because int might match the return type of a gcc2
22288 builtin and then its argument prototype would still apply. */
22298 rm -f conftest.
$ac_objext conftest
$ac_exeext
22299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22300 (eval $ac_link) 2>&5
22302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22303 (exit $ac_status); } &&
22304 { ac_try
='test -s conftest$ac_exeext'
22305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22306 (eval $ac_try) 2>&5
22308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22309 (exit $ac_status); }; }; then
22310 ac_cv_lib_posix_remove
=yes
22312 echo "$as_me: failed program was:" >&5
22313 sed 's/^/| /' conftest.
$ac_ext >&5
22315 ac_cv_lib_posix_remove
=no
22317 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22318 LIBS
=$ac_check_lib_save_LIBS
22320 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
22321 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
22322 if test $ac_cv_lib_posix_remove = yes; then
22323 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
22328 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
22329 echo "$as_me:$LINENO: checking for shmat" >&5
22330 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
22331 if test "${ac_cv_func_shmat+set}" = set; then
22332 echo $ECHO_N "(cached) $ECHO_C" >&6
22334 cat >conftest.
$ac_ext <<_ACEOF
22335 #line $LINENO "configure"
22338 cat confdefs.h
>>conftest.
$ac_ext
22339 cat >>conftest.
$ac_ext <<_ACEOF
22340 /* end confdefs.h. */
22341 /* System header to define __stub macros and hopefully few prototypes,
22342 which can conflict with char shmat (); below.
22343 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22344 <limits.h> exists even on freestanding compilers. */
22346 # include <limits.h>
22348 # include <assert.h>
22350 /* Override any gcc2 internal prototype to avoid an error. */
22355 /* We use char because int might match the return type of a gcc2
22356 builtin and then its argument prototype would still apply. */
22358 /* The GNU C library defines this for functions which it implements
22359 to always fail with ENOSYS. Some functions are actually named
22360 something starting with __ and the normal name is an alias. */
22361 #if defined (__stub_shmat) || defined (__stub___shmat)
22364 char (*f) () = shmat;
22378 rm -f conftest.
$ac_objext conftest
$ac_exeext
22379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22380 (eval $ac_link) 2>&5
22382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22383 (exit $ac_status); } &&
22384 { ac_try
='test -s conftest$ac_exeext'
22385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22386 (eval $ac_try) 2>&5
22388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22389 (exit $ac_status); }; }; then
22390 ac_cv_func_shmat
=yes
22392 echo "$as_me: failed program was:" >&5
22393 sed 's/^/| /' conftest.
$ac_ext >&5
22395 ac_cv_func_shmat
=no
22397 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22399 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
22400 echo "${ECHO_T}$ac_cv_func_shmat" >&6
22402 if test $ac_cv_func_shmat = no
; then
22403 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
22404 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
22405 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
22406 echo $ECHO_N "(cached) $ECHO_C" >&6
22408 ac_check_lib_save_LIBS
=$LIBS
22410 cat >conftest.
$ac_ext <<_ACEOF
22411 #line $LINENO "configure"
22414 cat confdefs.h
>>conftest.
$ac_ext
22415 cat >>conftest.
$ac_ext <<_ACEOF
22416 /* end confdefs.h. */
22418 /* Override any gcc2 internal prototype to avoid an error. */
22422 /* We use char because int might match the return type of a gcc2
22423 builtin and then its argument prototype would still apply. */
22433 rm -f conftest.
$ac_objext conftest
$ac_exeext
22434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22435 (eval $ac_link) 2>&5
22437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22438 (exit $ac_status); } &&
22439 { ac_try
='test -s conftest$ac_exeext'
22440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22441 (eval $ac_try) 2>&5
22443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22444 (exit $ac_status); }; }; then
22445 ac_cv_lib_ipc_shmat
=yes
22447 echo "$as_me: failed program was:" >&5
22448 sed 's/^/| /' conftest.
$ac_ext >&5
22450 ac_cv_lib_ipc_shmat
=no
22452 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22453 LIBS
=$ac_check_lib_save_LIBS
22455 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
22456 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
22457 if test $ac_cv_lib_ipc_shmat = yes; then
22458 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
22464 # Check for libraries that X11R6 Xt/Xaw programs need.
22465 ac_save_LDFLAGS
=$LDFLAGS
22466 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
22467 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
22468 # check for ICE first), but we must link in the order -lSM -lICE or
22469 # we get undefined symbols. So assume we have SM if we have ICE.
22470 # These have to be linked with before -lX11, unlike the other
22471 # libraries we check for below, so use a different variable.
22472 # John Interrante, Karl Berry
22473 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
22474 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
22475 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
22476 echo $ECHO_N "(cached) $ECHO_C" >&6
22478 ac_check_lib_save_LIBS
=$LIBS
22479 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
22480 cat >conftest.
$ac_ext <<_ACEOF
22481 #line $LINENO "configure"
22484 cat confdefs.h
>>conftest.
$ac_ext
22485 cat >>conftest.
$ac_ext <<_ACEOF
22486 /* end confdefs.h. */
22488 /* Override any gcc2 internal prototype to avoid an error. */
22492 /* We use char because int might match the return type of a gcc2
22493 builtin and then its argument prototype would still apply. */
22494 char IceConnectionNumber ();
22498 IceConnectionNumber ();
22503 rm -f conftest.
$ac_objext conftest
$ac_exeext
22504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22505 (eval $ac_link) 2>&5
22507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22508 (exit $ac_status); } &&
22509 { ac_try
='test -s conftest$ac_exeext'
22510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22511 (eval $ac_try) 2>&5
22513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22514 (exit $ac_status); }; }; then
22515 ac_cv_lib_ICE_IceConnectionNumber
=yes
22517 echo "$as_me: failed program was:" >&5
22518 sed 's/^/| /' conftest.
$ac_ext >&5
22520 ac_cv_lib_ICE_IceConnectionNumber
=no
22522 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22523 LIBS
=$ac_check_lib_save_LIBS
22525 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
22526 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
22527 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
22528 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
22531 LDFLAGS
=$ac_save_LDFLAGS
22536 if test "$no_x" = "yes"; then
22537 { { echo "$as_me:$LINENO: error: X11 not found" >&5
22538 echo "$as_me: error: X11 not found" >&2;}
22539 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
22542 GUI_TK_LIBRARY
="$X_LIBS"
22543 TOOLKIT_INCLUDE
="$X_CFLAGS"
22544 AFMINSTALL
=afminstall
22545 COMPILED_X_PROGRAM
=0
22547 if test "$wxUSE_NANOX" = "yes"; then
22548 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
22549 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
22550 if test "x$MICROWIN" = x
; then
22551 echo "$as_me:$LINENO: result: not found" >&5
22552 echo "${ECHO_T}not found" >&6
22553 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
22554 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
22555 { (exit 1); exit 1; }; }
22557 echo "$as_me:$LINENO: result: $MICROWIN" >&5
22558 echo "${ECHO_T}$MICROWIN" >&6
22559 cat >>confdefs.h
<<\_ACEOF
22560 #define wxUSE_NANOX 1
22567 echo "$as_me:$LINENO: checking for Xpm library" >&5
22568 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
22571 for ac_dir
in $SEARCH_LIB /usr
/lib
;
22573 for ac_extension
in a so sl dylib
; do
22574 if test -f "$ac_dir/libXpm.$ac_extension"; then
22575 ac_find_libraries
=$ac_dir
22581 if test "$ac_find_libraries" != "" ; then
22583 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
22585 if test $result = 0; then
22588 ac_path_to_link
=" -L$ac_find_libraries"
22591 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
22593 cat >>confdefs.h
<<\_ACEOF
22594 #define wxHAVE_LIB_XPM 1
22597 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
22598 echo "${ECHO_T}found at $ac_find_libraries" >&6
22600 cat >conftest.
$ac_ext <<_ACEOF
22601 #line $LINENO "configure"
22604 cat confdefs.h
>>conftest.
$ac_ext
22605 cat >>conftest.
$ac_ext <<_ACEOF
22606 /* end confdefs.h. */
22608 #include <X11/xpm.h>
22615 version = XpmLibraryVersion();
22621 rm -f conftest.
$ac_objext
22622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22623 (eval $ac_compile) 2>&5
22625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22626 (exit $ac_status); } &&
22627 { ac_try
='test -s conftest.$ac_objext'
22628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22629 (eval $ac_try) 2>&5
22631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22632 (exit $ac_status); }; }; then
22635 cat >>confdefs.h
<<\_ACEOF
22636 #define wxHAVE_LIB_XPM 1
22639 echo "$as_me:$LINENO: result: found in default search path" >&5
22640 echo "${ECHO_T}found in default search path" >&6
22641 COMPILED_X_PROGRAM
=0
22644 echo "$as_me: failed program was:" >&5
22645 sed 's/^/| /' conftest.
$ac_ext >&5
22648 echo "$as_me:$LINENO: result: no" >&5
22649 echo "${ECHO_T}no" >&6
22650 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
22651 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
22655 rm -f conftest.
$ac_objext conftest.
$ac_ext
22658 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
22659 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
22660 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
22661 echo $ECHO_N "(cached) $ECHO_C" >&6
22663 ac_check_lib_save_LIBS
=$LIBS
22664 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
22665 cat >conftest.
$ac_ext <<_ACEOF
22666 #line $LINENO "configure"
22669 cat confdefs.h
>>conftest.
$ac_ext
22670 cat >>conftest.
$ac_ext <<_ACEOF
22671 /* end confdefs.h. */
22673 /* Override any gcc2 internal prototype to avoid an error. */
22677 /* We use char because int might match the return type of a gcc2
22678 builtin and then its argument prototype would still apply. */
22679 char XShapeQueryExtension ();
22683 XShapeQueryExtension ();
22688 rm -f conftest.
$ac_objext conftest
$ac_exeext
22689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22690 (eval $ac_link) 2>&5
22692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22693 (exit $ac_status); } &&
22694 { ac_try
='test -s conftest$ac_exeext'
22695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22696 (eval $ac_try) 2>&5
22698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22699 (exit $ac_status); }; }; then
22700 ac_cv_lib_Xext_XShapeQueryExtension
=yes
22702 echo "$as_me: failed program was:" >&5
22703 sed 's/^/| /' conftest.
$ac_ext >&5
22705 ac_cv_lib_Xext_XShapeQueryExtension
=no
22707 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22708 LIBS
=$ac_check_lib_save_LIBS
22710 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
22711 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
22712 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
22714 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
22720 if test "$wxUSE_UNICODE" = "yes"; then
22724 if test -z "$PKG_CONFIG"; then
22725 # Extract the first word of "pkg-config", so it can be a program name with args.
22726 set dummy pkg
-config; ac_word
=$2
22727 echo "$as_me:$LINENO: checking for $ac_word" >&5
22728 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22729 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22730 echo $ECHO_N "(cached) $ECHO_C" >&6
22732 case $PKG_CONFIG in
22734 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22737 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22738 for as_dir
in $PATH
22741 test -z "$as_dir" && as_dir
=.
22742 for ac_exec_ext
in '' $ac_executable_extensions; do
22743 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22744 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22745 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22751 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22755 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22757 if test -n "$PKG_CONFIG"; then
22758 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22759 echo "${ECHO_T}$PKG_CONFIG" >&6
22761 echo "$as_me:$LINENO: result: no" >&5
22762 echo "${ECHO_T}no" >&6
22767 if test "$PKG_CONFIG" = "no" ; then
22768 echo "*** The pkg-config script could not be found. Make sure it is"
22769 echo "*** in your path, or set the PKG_CONFIG environment variable"
22770 echo "*** to the full path to pkg-config."
22771 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22773 PKG_CONFIG_MIN_VERSION
=0.9.0
22774 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22775 echo "$as_me:$LINENO: checking for pangox" >&5
22776 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
22778 if $PKG_CONFIG --exists "pangox" ; then
22779 echo "$as_me:$LINENO: result: yes" >&5
22780 echo "${ECHO_T}yes" >&6
22783 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
22784 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
22785 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
22786 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
22787 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
22789 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
22790 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
22791 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
22792 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
22793 echo "${ECHO_T}$PANGOX_LIBS" >&6
22797 ## If we have a custom action on failure, don't print errors, but
22798 ## do set a variable so people can do so.
22799 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
22806 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22807 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22811 if test $succeeded = yes; then
22813 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
22814 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
22818 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
22819 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
22820 { (exit 1); exit 1; }; }
22828 if test -z "$PKG_CONFIG"; then
22829 # Extract the first word of "pkg-config", so it can be a program name with args.
22830 set dummy pkg
-config; ac_word
=$2
22831 echo "$as_me:$LINENO: checking for $ac_word" >&5
22832 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22833 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22834 echo $ECHO_N "(cached) $ECHO_C" >&6
22836 case $PKG_CONFIG in
22838 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22841 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22842 for as_dir
in $PATH
22845 test -z "$as_dir" && as_dir
=.
22846 for ac_exec_ext
in '' $ac_executable_extensions; do
22847 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22848 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22849 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22855 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22859 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22861 if test -n "$PKG_CONFIG"; then
22862 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22863 echo "${ECHO_T}$PKG_CONFIG" >&6
22865 echo "$as_me:$LINENO: result: no" >&5
22866 echo "${ECHO_T}no" >&6
22871 if test "$PKG_CONFIG" = "no" ; then
22872 echo "*** The pkg-config script could not be found. Make sure it is"
22873 echo "*** in your path, or set the PKG_CONFIG environment variable"
22874 echo "*** to the full path to pkg-config."
22875 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22877 PKG_CONFIG_MIN_VERSION
=0.9.0
22878 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22879 echo "$as_me:$LINENO: checking for pangoft2" >&5
22880 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22882 if $PKG_CONFIG --exists "pangoft2" ; then
22883 echo "$as_me:$LINENO: result: yes" >&5
22884 echo "${ECHO_T}yes" >&6
22887 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22888 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22889 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
22890 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22891 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22893 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22894 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22895 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
22896 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22897 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22901 ## If we have a custom action on failure, don't print errors, but
22902 ## do set a variable so people can do so.
22903 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22910 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22911 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22915 if test $succeeded = yes; then
22917 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
22918 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22922 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22923 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22924 wxUSE_PRINTING_ARCHITECTURE
="no"
22932 if test -z "$PKG_CONFIG"; then
22933 # Extract the first word of "pkg-config", so it can be a program name with args.
22934 set dummy pkg
-config; ac_word
=$2
22935 echo "$as_me:$LINENO: checking for $ac_word" >&5
22936 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22937 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22938 echo $ECHO_N "(cached) $ECHO_C" >&6
22940 case $PKG_CONFIG in
22942 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22945 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22946 for as_dir
in $PATH
22949 test -z "$as_dir" && as_dir
=.
22950 for ac_exec_ext
in '' $ac_executable_extensions; do
22951 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22952 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22953 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22959 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22963 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22965 if test -n "$PKG_CONFIG"; then
22966 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22967 echo "${ECHO_T}$PKG_CONFIG" >&6
22969 echo "$as_me:$LINENO: result: no" >&5
22970 echo "${ECHO_T}no" >&6
22975 if test "$PKG_CONFIG" = "no" ; then
22976 echo "*** The pkg-config script could not be found. Make sure it is"
22977 echo "*** in your path, or set the PKG_CONFIG environment variable"
22978 echo "*** to the full path to pkg-config."
22979 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22981 PKG_CONFIG_MIN_VERSION
=0.9.0
22982 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22983 echo "$as_me:$LINENO: checking for pangoxft" >&5
22984 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
22986 if $PKG_CONFIG --exists "pangoxft" ; then
22987 echo "$as_me:$LINENO: result: yes" >&5
22988 echo "${ECHO_T}yes" >&6
22991 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
22992 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
22993 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
22994 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
22995 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
22997 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
22998 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
22999 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
23000 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
23001 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
23005 ## If we have a custom action on failure, don't print errors, but
23006 ## do set a variable so people can do so.
23007 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
23014 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23015 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23019 if test $succeeded = yes; then
23021 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
23022 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
23026 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
23027 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
23034 wxUSE_UNIVERSAL
="yes"
23036 if test "$wxUSE_NANOX" = "yes"; then
23037 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
23038 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"
23039 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
23041 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11$xpm_link"
23044 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
23049 if test "$wxUSE_MOTIF" = 1; then
23050 if test "$no_x" = yes; then
23051 # Not all programs may use this symbol, but it does not hurt to define it.
23053 cat >>confdefs.h
<<\_ACEOF
23054 #define X_DISPLAY_MISSING 1
23057 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
23059 if test -n "$x_includes"; then
23060 X_CFLAGS
="$X_CFLAGS -I$x_includes"
23063 # It would also be nice to do this for all -L options, not just this one.
23064 if test -n "$x_libraries"; then
23065 X_LIBS
="$X_LIBS -L$x_libraries"
23066 # For Solaris; some versions of Sun CC require a space after -R and
23067 # others require no space. Words are not sufficient . . . .
23068 case `(uname -sr) 2>/dev/null` in
23070 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
23071 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
23072 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
23073 cat >conftest.
$ac_ext <<_ACEOF
23074 #line $LINENO "configure"
23077 cat confdefs.h
>>conftest.
$ac_ext
23078 cat >>conftest.
$ac_ext <<_ACEOF
23079 /* end confdefs.h. */
23089 rm -f conftest.
$ac_objext conftest
$ac_exeext
23090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23091 (eval $ac_link) 2>&5
23093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23094 (exit $ac_status); } &&
23095 { ac_try
='test -s conftest$ac_exeext'
23096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23097 (eval $ac_try) 2>&5
23099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23100 (exit $ac_status); }; }; then
23103 echo "$as_me: failed program was:" >&5
23104 sed 's/^/| /' conftest.
$ac_ext >&5
23108 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23109 if test $ac_R_nospace = yes; then
23110 echo "$as_me:$LINENO: result: no" >&5
23111 echo "${ECHO_T}no" >&6
23112 X_LIBS
="$X_LIBS -R$x_libraries"
23114 LIBS
="$ac_xsave_LIBS -R $x_libraries"
23115 cat >conftest.
$ac_ext <<_ACEOF
23116 #line $LINENO "configure"
23119 cat confdefs.h
>>conftest.
$ac_ext
23120 cat >>conftest.
$ac_ext <<_ACEOF
23121 /* end confdefs.h. */
23131 rm -f conftest.
$ac_objext conftest
$ac_exeext
23132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23133 (eval $ac_link) 2>&5
23135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23136 (exit $ac_status); } &&
23137 { ac_try
='test -s conftest$ac_exeext'
23138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23139 (eval $ac_try) 2>&5
23141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23142 (exit $ac_status); }; }; then
23145 echo "$as_me: failed program was:" >&5
23146 sed 's/^/| /' conftest.
$ac_ext >&5
23150 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23151 if test $ac_R_space = yes; then
23152 echo "$as_me:$LINENO: result: yes" >&5
23153 echo "${ECHO_T}yes" >&6
23154 X_LIBS
="$X_LIBS -R $x_libraries"
23156 echo "$as_me:$LINENO: result: neither works" >&5
23157 echo "${ECHO_T}neither works" >&6
23160 LIBS
=$ac_xsave_LIBS
23164 # Check for system-dependent libraries X programs must link with.
23165 # Do this before checking for the system-independent R6 libraries
23166 # (-lICE), since we may need -lsocket or whatever for X linking.
23168 if test "$ISC" = yes; then
23169 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
23171 # Martyn Johnson says this is needed for Ultrix, if the X
23172 # libraries were built with DECnet support. And Karl Berry says
23173 # the Alpha needs dnet_stub (dnet does not exist).
23174 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
23175 cat >conftest.
$ac_ext <<_ACEOF
23176 #line $LINENO "configure"
23179 cat confdefs.h
>>conftest.
$ac_ext
23180 cat >>conftest.
$ac_ext <<_ACEOF
23181 /* end confdefs.h. */
23183 /* Override any gcc2 internal prototype to avoid an error. */
23187 /* We use char because int might match the return type of a gcc2
23188 builtin and then its argument prototype would still apply. */
23189 char XOpenDisplay ();
23198 rm -f conftest.
$ac_objext conftest
$ac_exeext
23199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23200 (eval $ac_link) 2>&5
23202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23203 (exit $ac_status); } &&
23204 { ac_try
='test -s conftest$ac_exeext'
23205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23206 (eval $ac_try) 2>&5
23208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23209 (exit $ac_status); }; }; then
23212 echo "$as_me: failed program was:" >&5
23213 sed 's/^/| /' conftest.
$ac_ext >&5
23215 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
23216 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
23217 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
23218 echo $ECHO_N "(cached) $ECHO_C" >&6
23220 ac_check_lib_save_LIBS
=$LIBS
23221 LIBS
="-ldnet $LIBS"
23222 cat >conftest.
$ac_ext <<_ACEOF
23223 #line $LINENO "configure"
23226 cat confdefs.h
>>conftest.
$ac_ext
23227 cat >>conftest.
$ac_ext <<_ACEOF
23228 /* end confdefs.h. */
23230 /* Override any gcc2 internal prototype to avoid an error. */
23234 /* We use char because int might match the return type of a gcc2
23235 builtin and then its argument prototype would still apply. */
23245 rm -f conftest.
$ac_objext conftest
$ac_exeext
23246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23247 (eval $ac_link) 2>&5
23249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23250 (exit $ac_status); } &&
23251 { ac_try
='test -s conftest$ac_exeext'
23252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23253 (eval $ac_try) 2>&5
23255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23256 (exit $ac_status); }; }; then
23257 ac_cv_lib_dnet_dnet_ntoa
=yes
23259 echo "$as_me: failed program was:" >&5
23260 sed 's/^/| /' conftest.
$ac_ext >&5
23262 ac_cv_lib_dnet_dnet_ntoa
=no
23264 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23265 LIBS
=$ac_check_lib_save_LIBS
23267 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23268 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
23269 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23270 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
23273 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
23274 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23275 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
23276 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23277 echo $ECHO_N "(cached) $ECHO_C" >&6
23279 ac_check_lib_save_LIBS
=$LIBS
23280 LIBS
="-ldnet_stub $LIBS"
23281 cat >conftest.
$ac_ext <<_ACEOF
23282 #line $LINENO "configure"
23285 cat confdefs.h
>>conftest.
$ac_ext
23286 cat >>conftest.
$ac_ext <<_ACEOF
23287 /* end confdefs.h. */
23289 /* Override any gcc2 internal prototype to avoid an error. */
23293 /* We use char because int might match the return type of a gcc2
23294 builtin and then its argument prototype would still apply. */
23304 rm -f conftest.
$ac_objext conftest
$ac_exeext
23305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23306 (eval $ac_link) 2>&5
23308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23309 (exit $ac_status); } &&
23310 { ac_try
='test -s conftest$ac_exeext'
23311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23312 (eval $ac_try) 2>&5
23314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23315 (exit $ac_status); }; }; then
23316 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
23318 echo "$as_me: failed program was:" >&5
23319 sed 's/^/| /' conftest.
$ac_ext >&5
23321 ac_cv_lib_dnet_stub_dnet_ntoa
=no
23323 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23324 LIBS
=$ac_check_lib_save_LIBS
23326 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23327 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23328 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23329 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
23334 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23335 LIBS
="$ac_xsave_LIBS"
23337 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23338 # to get the SysV transport functions.
23339 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23341 # The nsl library prevents programs from opening the X display
23342 # on Irix 5.2, according to T.E. Dickey.
23343 # The functions gethostbyname, getservbyname, and inet_addr are
23344 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23345 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23346 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23347 if test "${ac_cv_func_gethostbyname+set}" = set; then
23348 echo $ECHO_N "(cached) $ECHO_C" >&6
23350 cat >conftest.
$ac_ext <<_ACEOF
23351 #line $LINENO "configure"
23354 cat confdefs.h
>>conftest.
$ac_ext
23355 cat >>conftest.
$ac_ext <<_ACEOF
23356 /* end confdefs.h. */
23357 /* System header to define __stub macros and hopefully few prototypes,
23358 which can conflict with char gethostbyname (); below.
23359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23360 <limits.h> exists even on freestanding compilers. */
23362 # include <limits.h>
23364 # include <assert.h>
23366 /* Override any gcc2 internal prototype to avoid an error. */
23371 /* We use char because int might match the return type of a gcc2
23372 builtin and then its argument prototype would still apply. */
23373 char gethostbyname ();
23374 /* The GNU C library defines this for functions which it implements
23375 to always fail with ENOSYS. Some functions are actually named
23376 something starting with __ and the normal name is an alias. */
23377 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23380 char (*f) () = gethostbyname;
23389 return f != gethostbyname;
23394 rm -f conftest.
$ac_objext conftest
$ac_exeext
23395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23396 (eval $ac_link) 2>&5
23398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23399 (exit $ac_status); } &&
23400 { ac_try
='test -s conftest$ac_exeext'
23401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23402 (eval $ac_try) 2>&5
23404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23405 (exit $ac_status); }; }; then
23406 ac_cv_func_gethostbyname
=yes
23408 echo "$as_me: failed program was:" >&5
23409 sed 's/^/| /' conftest.
$ac_ext >&5
23411 ac_cv_func_gethostbyname
=no
23413 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23415 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23416 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23418 if test $ac_cv_func_gethostbyname = no
; then
23419 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23420 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23421 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23422 echo $ECHO_N "(cached) $ECHO_C" >&6
23424 ac_check_lib_save_LIBS
=$LIBS
23426 cat >conftest.
$ac_ext <<_ACEOF
23427 #line $LINENO "configure"
23430 cat confdefs.h
>>conftest.
$ac_ext
23431 cat >>conftest.
$ac_ext <<_ACEOF
23432 /* end confdefs.h. */
23434 /* Override any gcc2 internal prototype to avoid an error. */
23438 /* We use char because int might match the return type of a gcc2
23439 builtin and then its argument prototype would still apply. */
23440 char gethostbyname ();
23449 rm -f conftest.
$ac_objext conftest
$ac_exeext
23450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23451 (eval $ac_link) 2>&5
23453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23454 (exit $ac_status); } &&
23455 { ac_try
='test -s conftest$ac_exeext'
23456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23457 (eval $ac_try) 2>&5
23459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23460 (exit $ac_status); }; }; then
23461 ac_cv_lib_nsl_gethostbyname
=yes
23463 echo "$as_me: failed program was:" >&5
23464 sed 's/^/| /' conftest.
$ac_ext >&5
23466 ac_cv_lib_nsl_gethostbyname
=no
23468 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23469 LIBS
=$ac_check_lib_save_LIBS
23471 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23472 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
23473 if test $ac_cv_lib_nsl_gethostbyname = yes; then
23474 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
23477 if test $ac_cv_lib_nsl_gethostbyname = no
; then
23478 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23479 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
23480 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23481 echo $ECHO_N "(cached) $ECHO_C" >&6
23483 ac_check_lib_save_LIBS
=$LIBS
23485 cat >conftest.
$ac_ext <<_ACEOF
23486 #line $LINENO "configure"
23489 cat confdefs.h
>>conftest.
$ac_ext
23490 cat >>conftest.
$ac_ext <<_ACEOF
23491 /* end confdefs.h. */
23493 /* Override any gcc2 internal prototype to avoid an error. */
23497 /* We use char because int might match the return type of a gcc2
23498 builtin and then its argument prototype would still apply. */
23499 char gethostbyname ();
23508 rm -f conftest.
$ac_objext conftest
$ac_exeext
23509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23510 (eval $ac_link) 2>&5
23512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23513 (exit $ac_status); } &&
23514 { ac_try
='test -s conftest$ac_exeext'
23515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23516 (eval $ac_try) 2>&5
23518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23519 (exit $ac_status); }; }; then
23520 ac_cv_lib_bsd_gethostbyname
=yes
23522 echo "$as_me: failed program was:" >&5
23523 sed 's/^/| /' conftest.
$ac_ext >&5
23525 ac_cv_lib_bsd_gethostbyname
=no
23527 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23528 LIBS
=$ac_check_lib_save_LIBS
23530 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
23531 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
23532 if test $ac_cv_lib_bsd_gethostbyname = yes; then
23533 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
23539 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23540 # socket/setsockopt and other routines are undefined under SCO ODT
23541 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23542 # on later versions), says Simon Leinen: it contains gethostby*
23543 # variants that don't use the name server (or something). -lsocket
23544 # must be given before -lnsl if both are needed. We assume that
23545 # if connect needs -lnsl, so does gethostbyname.
23546 echo "$as_me:$LINENO: checking for connect" >&5
23547 echo $ECHO_N "checking for connect... $ECHO_C" >&6
23548 if test "${ac_cv_func_connect+set}" = set; then
23549 echo $ECHO_N "(cached) $ECHO_C" >&6
23551 cat >conftest.
$ac_ext <<_ACEOF
23552 #line $LINENO "configure"
23555 cat confdefs.h
>>conftest.
$ac_ext
23556 cat >>conftest.
$ac_ext <<_ACEOF
23557 /* end confdefs.h. */
23558 /* System header to define __stub macros and hopefully few prototypes,
23559 which can conflict with char connect (); below.
23560 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23561 <limits.h> exists even on freestanding compilers. */
23563 # include <limits.h>
23565 # include <assert.h>
23567 /* Override any gcc2 internal prototype to avoid an error. */
23572 /* We use char because int might match the return type of a gcc2
23573 builtin and then its argument prototype would still apply. */
23575 /* The GNU C library defines this for functions which it implements
23576 to always fail with ENOSYS. Some functions are actually named
23577 something starting with __ and the normal name is an alias. */
23578 #if defined (__stub_connect) || defined (__stub___connect)
23581 char (*f) () = connect;
23590 return f != connect;
23595 rm -f conftest.
$ac_objext conftest
$ac_exeext
23596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23597 (eval $ac_link) 2>&5
23599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23600 (exit $ac_status); } &&
23601 { ac_try
='test -s conftest$ac_exeext'
23602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23603 (eval $ac_try) 2>&5
23605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23606 (exit $ac_status); }; }; then
23607 ac_cv_func_connect
=yes
23609 echo "$as_me: failed program was:" >&5
23610 sed 's/^/| /' conftest.
$ac_ext >&5
23612 ac_cv_func_connect
=no
23614 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23616 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23617 echo "${ECHO_T}$ac_cv_func_connect" >&6
23619 if test $ac_cv_func_connect = no
; then
23620 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23621 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23622 if test "${ac_cv_lib_socket_connect+set}" = set; then
23623 echo $ECHO_N "(cached) $ECHO_C" >&6
23625 ac_check_lib_save_LIBS
=$LIBS
23626 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
23627 cat >conftest.
$ac_ext <<_ACEOF
23628 #line $LINENO "configure"
23631 cat confdefs.h
>>conftest.
$ac_ext
23632 cat >>conftest.
$ac_ext <<_ACEOF
23633 /* end confdefs.h. */
23635 /* Override any gcc2 internal prototype to avoid an error. */
23639 /* We use char because int might match the return type of a gcc2
23640 builtin and then its argument prototype would still apply. */
23650 rm -f conftest.
$ac_objext conftest
$ac_exeext
23651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23652 (eval $ac_link) 2>&5
23654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23655 (exit $ac_status); } &&
23656 { ac_try
='test -s conftest$ac_exeext'
23657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23658 (eval $ac_try) 2>&5
23660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23661 (exit $ac_status); }; }; then
23662 ac_cv_lib_socket_connect
=yes
23664 echo "$as_me: failed program was:" >&5
23665 sed 's/^/| /' conftest.
$ac_ext >&5
23667 ac_cv_lib_socket_connect
=no
23669 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23670 LIBS
=$ac_check_lib_save_LIBS
23672 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23673 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23674 if test $ac_cv_lib_socket_connect = yes; then
23675 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
23680 # Guillermo Gomez says -lposix is necessary on A/UX.
23681 echo "$as_me:$LINENO: checking for remove" >&5
23682 echo $ECHO_N "checking for remove... $ECHO_C" >&6
23683 if test "${ac_cv_func_remove+set}" = set; then
23684 echo $ECHO_N "(cached) $ECHO_C" >&6
23686 cat >conftest.
$ac_ext <<_ACEOF
23687 #line $LINENO "configure"
23690 cat confdefs.h
>>conftest.
$ac_ext
23691 cat >>conftest.
$ac_ext <<_ACEOF
23692 /* end confdefs.h. */
23693 /* System header to define __stub macros and hopefully few prototypes,
23694 which can conflict with char remove (); below.
23695 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23696 <limits.h> exists even on freestanding compilers. */
23698 # include <limits.h>
23700 # include <assert.h>
23702 /* Override any gcc2 internal prototype to avoid an error. */
23707 /* We use char because int might match the return type of a gcc2
23708 builtin and then its argument prototype would still apply. */
23710 /* The GNU C library defines this for functions which it implements
23711 to always fail with ENOSYS. Some functions are actually named
23712 something starting with __ and the normal name is an alias. */
23713 #if defined (__stub_remove) || defined (__stub___remove)
23716 char (*f) () = remove;
23725 return f != remove;
23730 rm -f conftest.
$ac_objext conftest
$ac_exeext
23731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23732 (eval $ac_link) 2>&5
23734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23735 (exit $ac_status); } &&
23736 { ac_try
='test -s conftest$ac_exeext'
23737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23738 (eval $ac_try) 2>&5
23740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23741 (exit $ac_status); }; }; then
23742 ac_cv_func_remove
=yes
23744 echo "$as_me: failed program was:" >&5
23745 sed 's/^/| /' conftest.
$ac_ext >&5
23747 ac_cv_func_remove
=no
23749 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23751 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23752 echo "${ECHO_T}$ac_cv_func_remove" >&6
23754 if test $ac_cv_func_remove = no
; then
23755 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23756 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23757 if test "${ac_cv_lib_posix_remove+set}" = set; then
23758 echo $ECHO_N "(cached) $ECHO_C" >&6
23760 ac_check_lib_save_LIBS
=$LIBS
23761 LIBS
="-lposix $LIBS"
23762 cat >conftest.
$ac_ext <<_ACEOF
23763 #line $LINENO "configure"
23766 cat confdefs.h
>>conftest.
$ac_ext
23767 cat >>conftest.
$ac_ext <<_ACEOF
23768 /* end confdefs.h. */
23770 /* Override any gcc2 internal prototype to avoid an error. */
23774 /* We use char because int might match the return type of a gcc2
23775 builtin and then its argument prototype would still apply. */
23785 rm -f conftest.
$ac_objext conftest
$ac_exeext
23786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23787 (eval $ac_link) 2>&5
23789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23790 (exit $ac_status); } &&
23791 { ac_try
='test -s conftest$ac_exeext'
23792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23793 (eval $ac_try) 2>&5
23795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23796 (exit $ac_status); }; }; then
23797 ac_cv_lib_posix_remove
=yes
23799 echo "$as_me: failed program was:" >&5
23800 sed 's/^/| /' conftest.
$ac_ext >&5
23802 ac_cv_lib_posix_remove
=no
23804 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23805 LIBS
=$ac_check_lib_save_LIBS
23807 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23808 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23809 if test $ac_cv_lib_posix_remove = yes; then
23810 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
23815 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23816 echo "$as_me:$LINENO: checking for shmat" >&5
23817 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23818 if test "${ac_cv_func_shmat+set}" = set; then
23819 echo $ECHO_N "(cached) $ECHO_C" >&6
23821 cat >conftest.
$ac_ext <<_ACEOF
23822 #line $LINENO "configure"
23825 cat confdefs.h
>>conftest.
$ac_ext
23826 cat >>conftest.
$ac_ext <<_ACEOF
23827 /* end confdefs.h. */
23828 /* System header to define __stub macros and hopefully few prototypes,
23829 which can conflict with char shmat (); below.
23830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23831 <limits.h> exists even on freestanding compilers. */
23833 # include <limits.h>
23835 # include <assert.h>
23837 /* Override any gcc2 internal prototype to avoid an error. */
23842 /* We use char because int might match the return type of a gcc2
23843 builtin and then its argument prototype would still apply. */
23845 /* The GNU C library defines this for functions which it implements
23846 to always fail with ENOSYS. Some functions are actually named
23847 something starting with __ and the normal name is an alias. */
23848 #if defined (__stub_shmat) || defined (__stub___shmat)
23851 char (*f) () = shmat;
23865 rm -f conftest.
$ac_objext conftest
$ac_exeext
23866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23867 (eval $ac_link) 2>&5
23869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23870 (exit $ac_status); } &&
23871 { ac_try
='test -s conftest$ac_exeext'
23872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23873 (eval $ac_try) 2>&5
23875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23876 (exit $ac_status); }; }; then
23877 ac_cv_func_shmat
=yes
23879 echo "$as_me: failed program was:" >&5
23880 sed 's/^/| /' conftest.
$ac_ext >&5
23882 ac_cv_func_shmat
=no
23884 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23886 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23887 echo "${ECHO_T}$ac_cv_func_shmat" >&6
23889 if test $ac_cv_func_shmat = no
; then
23890 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23891 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23892 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23893 echo $ECHO_N "(cached) $ECHO_C" >&6
23895 ac_check_lib_save_LIBS
=$LIBS
23897 cat >conftest.
$ac_ext <<_ACEOF
23898 #line $LINENO "configure"
23901 cat confdefs.h
>>conftest.
$ac_ext
23902 cat >>conftest.
$ac_ext <<_ACEOF
23903 /* end confdefs.h. */
23905 /* Override any gcc2 internal prototype to avoid an error. */
23909 /* We use char because int might match the return type of a gcc2
23910 builtin and then its argument prototype would still apply. */
23920 rm -f conftest.
$ac_objext conftest
$ac_exeext
23921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23922 (eval $ac_link) 2>&5
23924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23925 (exit $ac_status); } &&
23926 { ac_try
='test -s conftest$ac_exeext'
23927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23928 (eval $ac_try) 2>&5
23930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23931 (exit $ac_status); }; }; then
23932 ac_cv_lib_ipc_shmat
=yes
23934 echo "$as_me: failed program was:" >&5
23935 sed 's/^/| /' conftest.
$ac_ext >&5
23937 ac_cv_lib_ipc_shmat
=no
23939 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23940 LIBS
=$ac_check_lib_save_LIBS
23942 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23943 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23944 if test $ac_cv_lib_ipc_shmat = yes; then
23945 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
23951 # Check for libraries that X11R6 Xt/Xaw programs need.
23952 ac_save_LDFLAGS
=$LDFLAGS
23953 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
23954 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23955 # check for ICE first), but we must link in the order -lSM -lICE or
23956 # we get undefined symbols. So assume we have SM if we have ICE.
23957 # These have to be linked with before -lX11, unlike the other
23958 # libraries we check for below, so use a different variable.
23959 # John Interrante, Karl Berry
23960 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23961 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23962 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23963 echo $ECHO_N "(cached) $ECHO_C" >&6
23965 ac_check_lib_save_LIBS
=$LIBS
23966 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
23967 cat >conftest.
$ac_ext <<_ACEOF
23968 #line $LINENO "configure"
23971 cat confdefs.h
>>conftest.
$ac_ext
23972 cat >>conftest.
$ac_ext <<_ACEOF
23973 /* end confdefs.h. */
23975 /* Override any gcc2 internal prototype to avoid an error. */
23979 /* We use char because int might match the return type of a gcc2
23980 builtin and then its argument prototype would still apply. */
23981 char IceConnectionNumber ();
23985 IceConnectionNumber ();
23990 rm -f conftest.
$ac_objext conftest
$ac_exeext
23991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23992 (eval $ac_link) 2>&5
23994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23995 (exit $ac_status); } &&
23996 { ac_try
='test -s conftest$ac_exeext'
23997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23998 (eval $ac_try) 2>&5
24000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24001 (exit $ac_status); }; }; then
24002 ac_cv_lib_ICE_IceConnectionNumber
=yes
24004 echo "$as_me: failed program was:" >&5
24005 sed 's/^/| /' conftest.
$ac_ext >&5
24007 ac_cv_lib_ICE_IceConnectionNumber
=no
24009 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24010 LIBS
=$ac_check_lib_save_LIBS
24012 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
24013 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
24014 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
24015 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
24018 LDFLAGS
=$ac_save_LDFLAGS
24023 if test "$no_x" = "yes"; then
24024 { { echo "$as_me:$LINENO: error: X11 not found" >&5
24025 echo "$as_me: error: X11 not found" >&2;}
24026 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
24029 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//'`
24030 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
24031 AFMINSTALL
=afminstall
24032 COMPILED_X_PROGRAM
=0
24034 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
24035 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
24038 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
24040 if test -f "$ac_dir/Xm/Xm.h"; then
24041 ac_find_includes
=$ac_dir
24046 if test "$ac_find_includes" != "" ; then
24047 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
24048 echo "${ECHO_T}found in $ac_find_includes" >&6
24050 if test "x$ac_find_includes" = "x/usr/include"; then
24051 ac_path_to_include
=""
24053 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
24055 if test $result = 0; then
24056 ac_path_to_include
=""
24058 ac_path_to_include
=" -I$ac_find_includes"
24062 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
24064 cat >conftest.
$ac_ext <<_ACEOF
24065 #line $LINENO "configure"
24068 cat confdefs.h
>>conftest.
$ac_ext
24069 cat >>conftest.
$ac_ext <<_ACEOF
24070 /* end confdefs.h. */
24079 version = xmUseVersion;
24085 rm -f conftest.
$ac_objext
24086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24087 (eval $ac_compile) 2>&5
24089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24090 (exit $ac_status); } &&
24091 { ac_try
='test -s conftest.$ac_objext'
24092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24093 (eval $ac_try) 2>&5
24095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24096 (exit $ac_status); }; }; then
24098 echo "$as_me:$LINENO: result: found in default search path" >&5
24099 echo "${ECHO_T}found in default search path" >&6
24100 COMPILED_X_PROGRAM
=1
24103 echo "$as_me: failed program was:" >&5
24104 sed 's/^/| /' conftest.
$ac_ext >&5
24107 echo "$as_me:$LINENO: result: no" >&5
24108 echo "${ECHO_T}no" >&6
24109 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
24110 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
24111 { (exit 1); exit 1; }; }
24115 rm -f conftest.
$ac_objext conftest.
$ac_ext
24118 if test "$COMPILED_X_PROGRAM" = 0; then
24119 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
24120 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
24123 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24125 for ac_extension
in a so sl dylib
; do
24126 if test -f "$ac_dir/libXm.$ac_extension"; then
24127 ac_find_libraries
=$ac_dir
24133 if test "$ac_find_libraries" != "" ; then
24134 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24135 echo "${ECHO_T}found at $ac_find_libraries" >&6
24138 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
24140 if test $result = 0; then
24143 ac_path_to_link
=" -L$ac_find_libraries"
24146 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
24148 save_CFLAGS
=$CFLAGS
24149 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24151 cat >conftest.
$ac_ext <<_ACEOF
24152 #line $LINENO "configure"
24155 cat confdefs.h
>>conftest.
$ac_ext
24156 cat >>conftest.
$ac_ext <<_ACEOF
24157 /* end confdefs.h. */
24166 version = xmUseVersion;
24172 rm -f conftest.
$ac_objext
24173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24174 (eval $ac_compile) 2>&5
24176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24177 (exit $ac_status); } &&
24178 { ac_try
='test -s conftest.$ac_objext'
24179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24180 (eval $ac_try) 2>&5
24182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24183 (exit $ac_status); }; }; then
24185 echo "$as_me:$LINENO: result: found in default search path" >&5
24186 echo "${ECHO_T}found in default search path" >&6
24187 COMPILED_X_PROGRAM
=1
24190 echo "$as_me: failed program was:" >&5
24191 sed 's/^/| /' conftest.
$ac_ext >&5
24194 echo "$as_me:$LINENO: result: no" >&5
24195 echo "${ECHO_T}no" >&6
24196 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
24197 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
24198 { (exit 1); exit 1; }; }
24202 rm -f conftest.
$ac_objext conftest.
$ac_ext
24204 CFLAGS
=$save_CFLAGS
24209 echo "$as_me:$LINENO: checking for Xpm library" >&5
24210 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
24213 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24215 for ac_extension
in a so sl dylib
; do
24216 if test -f "$ac_dir/libXpm.$ac_extension"; then
24217 ac_find_libraries
=$ac_dir
24223 if test "$ac_find_libraries" != "" ; then
24225 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
24227 if test $result = 0; then
24230 ac_path_to_link
=" -L$ac_find_libraries"
24233 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
24236 cat >>confdefs.h
<<\_ACEOF
24237 #define wxHAVE_LIB_XPM 1
24240 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24241 echo "${ECHO_T}found at $ac_find_libraries" >&6
24243 save_CFLAGS
=$CFLAGS
24244 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24246 cat >conftest.
$ac_ext <<_ACEOF
24247 #line $LINENO "configure"
24250 cat confdefs.h
>>conftest.
$ac_ext
24251 cat >>conftest.
$ac_ext <<_ACEOF
24252 /* end confdefs.h. */
24254 #include <X11/xpm.h>
24261 version = XpmLibraryVersion();
24267 rm -f conftest.
$ac_objext
24268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24269 (eval $ac_compile) 2>&5
24271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24272 (exit $ac_status); } &&
24273 { ac_try
='test -s conftest.$ac_objext'
24274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24275 (eval $ac_try) 2>&5
24277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24278 (exit $ac_status); }; }; then
24281 cat >>confdefs.h
<<\_ACEOF
24282 #define wxHAVE_LIB_XPM 1
24285 echo "$as_me:$LINENO: result: found in default search path" >&5
24286 echo "${ECHO_T}found in default search path" >&6
24287 COMPILED_X_PROGRAM
=0
24290 echo "$as_me: failed program was:" >&5
24291 sed 's/^/| /' conftest.
$ac_ext >&5
24294 echo "$as_me:$LINENO: result: no" >&5
24295 echo "${ECHO_T}no" >&6
24296 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
24297 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
24301 rm -f conftest.
$ac_objext conftest.
$ac_ext
24303 CFLAGS
=$save_CFLAGS
24306 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
24307 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
24311 for libp
in "" " -lXp"; do
24312 if test "$libs_found" = "0"; then
24313 for libsm_ice
in " -lSM -lICE"; do
24314 if test "$libs_found" = "0"; then
24316 LIBS
="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
24317 save_CFLAGS
=$CFLAGS
24318 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24320 cat >conftest.
$ac_ext <<_ACEOF
24321 #line $LINENO "configure"
24324 cat confdefs.h
>>conftest.
$ac_ext
24325 cat >>conftest.
$ac_ext <<_ACEOF
24326 /* end confdefs.h. */
24329 #include <Xm/List.h>
24335 XmString string = NULL;
24338 XmListAddItem(w, string, position);
24344 rm -f conftest.
$ac_objext conftest
$ac_exeext
24345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24346 (eval $ac_link) 2>&5
24348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24349 (exit $ac_status); } &&
24350 { ac_try
='test -s conftest$ac_exeext'
24351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24352 (eval $ac_try) 2>&5
24354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24355 (exit $ac_status); }; }; then
24358 libsm_ice_link
="$libsm_ice"
24359 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
24360 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
24364 echo "$as_me: failed program was:" >&5
24365 sed 's/^/| /' conftest.
$ac_ext >&5
24370 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24373 CFLAGS
=$save_CFLAGS
24379 if test "$libs_found" = "0"; then
24380 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
24381 echo "${ECHO_T}can't find the right libraries" >&6
24382 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
24383 echo "$as_me: error: can't link a simple motif program" >&2;}
24384 { (exit 1); exit 1; }; }
24387 save_CFLAGS
=$CFLAGS
24388 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24389 echo "$as_me:$LINENO: checking for Motif 2" >&5
24390 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
24391 cat >conftest.
$ac_ext <<_ACEOF
24392 #line $LINENO "configure"
24395 cat confdefs.h
>>conftest.
$ac_ext
24396 cat >>conftest.
$ac_ext <<_ACEOF
24397 /* end confdefs.h. */
24405 #if XmVersion < 2000
24406 #error "Not Motif 2"
24413 rm -f conftest.
$ac_objext
24414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24415 (eval $ac_compile) 2>&5
24417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24418 (exit $ac_status); } &&
24419 { ac_try
='test -s conftest.$ac_objext'
24420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24421 (eval $ac_try) 2>&5
24423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24424 (exit $ac_status); }; }; then
24426 cat >>confdefs.h
<<\_ACEOF
24427 #define __WXMOTIF20__ 1
24430 echo "$as_me:$LINENO: result: found" >&5
24431 echo "${ECHO_T}found" >&6
24434 echo "$as_me: failed program was:" >&5
24435 sed 's/^/| /' conftest.
$ac_ext >&5
24438 cat >>confdefs.h
<<\_ACEOF
24439 #define __WXMOTIF20__ 0
24442 echo "$as_me:$LINENO: result: not found" >&5
24443 echo "${ECHO_T}not found" >&6
24446 rm -f conftest.
$ac_objext conftest.
$ac_ext
24447 CFLAGS
=$save_CFLAGS
24449 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
24450 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
24456 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1 &&
24457 test "$wxHAVE_XEXT_LIB" = 1; then
24458 save_CFLAGS
="$CFLAGS"
24459 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24461 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
24462 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
24463 cat >conftest.
$ac_ext <<_ACEOF
24464 #line $LINENO "configure"
24467 cat confdefs.h
>>conftest.
$ac_ext
24468 cat >>conftest.
$ac_ext <<_ACEOF
24469 /* end confdefs.h. */
24471 #include <X11/Xlib.h>
24472 #include <X11/extensions/shape.h>
24478 int dummy1, dummy2;
24479 XShapeQueryExtension((Display*)NULL,
24480 (int*)NULL, (int*)NULL);
24486 rm -f conftest.
$ac_objext
24487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24488 (eval $ac_compile) 2>&5
24490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24491 (exit $ac_status); } &&
24492 { ac_try
='test -s conftest.$ac_objext'
24493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24494 (eval $ac_try) 2>&5
24496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24497 (exit $ac_status); }; }; then
24499 cat >>confdefs.h
<<\_ACEOF
24500 #define HAVE_XSHAPE 1
24503 echo "$as_me:$LINENO: result: found" >&5
24504 echo "${ECHO_T}found" >&6
24507 echo "$as_me: failed program was:" >&5
24508 sed 's/^/| /' conftest.
$ac_ext >&5
24511 echo "$as_me:$LINENO: result: not found" >&5
24512 echo "${ECHO_T}not found" >&6
24515 rm -f conftest.
$ac_objext conftest.
$ac_ext
24516 CFLAGS
="$save_CFLAGS"
24519 if test "$wxUSE_MAC" = 1; then
24520 CPPFLAGS
="$CPPFLAGS -fpascal-strings -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
24522 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
24525 WXBASEPORT
="_carbon"
24528 if test "$wxUSE_COCOA" = 1; then
24529 TOOLKIT_VPATH
="\${top_srcdir}/src/cocoa"
24534 if test "$wxUSE_PM" = 1; then
24537 { echo "$as_me:$LINENO: WARNING: OS/2 threads are not yet supported... disabled" >&5
24538 echo "$as_me: WARNING: OS/2 threads are not yet supported... disabled" >&2;}
24542 if test "$TOOLKIT" = "PM" ; then
24545 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
24548 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
24550 if test "$wxUSE_UNIVERSAL" = "yes"; then
24551 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
24553 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
24554 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
24556 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
24557 if test "$wxUSE_X11" = 1; then
24558 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
24560 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
24562 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
24565 ALL_OBJECTS
="\$(GUIOBJS)"
24566 ALL_SOURCES
="\$(ALL_SOURCES)"
24567 ALL_HEADERS
="\$(ALL_HEADERS)"
24570 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
24572 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
24573 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
24576 if test "$wxUSE_HTML" = "yes"; then
24577 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
24580 if test "$wxUSE_LIBJPEG" = "builtin" ; then
24581 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
24583 if test "$wxUSE_LIBTIFF" = "builtin" ; then
24584 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
24586 if test "$wxUSE_LIBPNG" = "builtin" ; then
24587 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
24590 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
24591 DISTDIR
="wx\$(TOOLKIT)"
24597 if test "$USE_WIN32" = 1 ; then
24598 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
24599 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
24603 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
24604 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
24607 ALL_SOURCES
="\$(ALL_SOURCES)"
24608 ALL_HEADERS
="\$(ALL_HEADERS)"
24610 PORT_FILES
="\${top_srcdir}/src/files.lst"
24612 GUIDIST
="BASE_DIST"
24622 if test "$TOOLKIT" != "MSW" ; then
24624 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
24626 if test "${ac_cv_header_sql_h+set}" = set; then
24627 echo "$as_me:$LINENO: checking for sql.h" >&5
24628 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24629 if test "${ac_cv_header_sql_h+set}" = set; then
24630 echo $ECHO_N "(cached) $ECHO_C" >&6
24632 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24633 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24635 # Is the header compilable?
24636 echo "$as_me:$LINENO: checking sql.h usability" >&5
24637 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
24638 cat >conftest.
$ac_ext <<_ACEOF
24639 #line $LINENO "configure"
24642 cat confdefs.h
>>conftest.
$ac_ext
24643 cat >>conftest.
$ac_ext <<_ACEOF
24644 /* end confdefs.h. */
24645 $ac_includes_default
24648 rm -f conftest.
$ac_objext
24649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24650 (eval $ac_compile) 2>&5
24652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24653 (exit $ac_status); } &&
24654 { ac_try
='test -s conftest.$ac_objext'
24655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24656 (eval $ac_try) 2>&5
24658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24659 (exit $ac_status); }; }; then
24660 ac_header_compiler
=yes
24662 echo "$as_me: failed program was:" >&5
24663 sed 's/^/| /' conftest.
$ac_ext >&5
24665 ac_header_compiler
=no
24667 rm -f conftest.
$ac_objext conftest.
$ac_ext
24668 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24669 echo "${ECHO_T}$ac_header_compiler" >&6
24671 # Is the header present?
24672 echo "$as_me:$LINENO: checking sql.h presence" >&5
24673 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
24674 cat >conftest.
$ac_ext <<_ACEOF
24675 #line $LINENO "configure"
24678 cat confdefs.h
>>conftest.
$ac_ext
24679 cat >>conftest.
$ac_ext <<_ACEOF
24680 /* end confdefs.h. */
24683 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24684 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24686 grep -v '^ *+' conftest.er1
>conftest.err
24688 cat conftest.err
>&5
24689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24690 (exit $ac_status); } >/dev
/null
; then
24691 if test -s conftest.err
; then
24692 ac_cpp_err
=$ac_c_preproc_warn_flag
24699 if test -z "$ac_cpp_err"; then
24700 ac_header_preproc
=yes
24702 echo "$as_me: failed program was:" >&5
24703 sed 's/^/| /' conftest.
$ac_ext >&5
24705 ac_header_preproc
=no
24707 rm -f conftest.err conftest.
$ac_ext
24708 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24709 echo "${ECHO_T}$ac_header_preproc" >&6
24711 # So? What about this header?
24712 case $ac_header_compiler:$ac_header_preproc in
24714 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
24715 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24716 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24717 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24720 ## ------------------------------------ ##
24721 ## Report this to bug-autoconf@gnu.org. ##
24722 ## ------------------------------------ ##
24725 sed "s/^/$as_me: WARNING: /" >&2
24728 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
24729 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
24730 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
24731 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
24732 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24733 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24736 ## ------------------------------------ ##
24737 ## Report this to bug-autoconf@gnu.org. ##
24738 ## ------------------------------------ ##
24741 sed "s/^/$as_me: WARNING: /" >&2
24744 echo "$as_me:$LINENO: checking for sql.h" >&5
24745 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24746 if test "${ac_cv_header_sql_h+set}" = set; then
24747 echo $ECHO_N "(cached) $ECHO_C" >&6
24749 ac_cv_header_sql_h
=$ac_header_preproc
24751 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24752 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24755 if test $ac_cv_header_sql_h = yes; then
24760 if test "x$found_sql_h" = "x1" ; then
24761 echo "$as_me:$LINENO: checking for iodbc in -lSQLAllocEnv" >&5
24762 echo $ECHO_N "checking for iodbc in -lSQLAllocEnv... $ECHO_C" >&6
24763 if test "${ac_cv_lib_SQLAllocEnv_iodbc+set}" = set; then
24764 echo $ECHO_N "(cached) $ECHO_C" >&6
24766 ac_check_lib_save_LIBS
=$LIBS
24767 LIBS
="-lSQLAllocEnv $LIBS"
24768 cat >conftest.
$ac_ext <<_ACEOF
24769 #line $LINENO "configure"
24772 cat confdefs.h
>>conftest.
$ac_ext
24773 cat >>conftest.
$ac_ext <<_ACEOF
24774 /* end confdefs.h. */
24776 /* Override any gcc2 internal prototype to avoid an error. */
24780 /* We use char because int might match the return type of a gcc2
24781 builtin and then its argument prototype would still apply. */
24791 rm -f conftest.
$ac_objext conftest
$ac_exeext
24792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24793 (eval $ac_link) 2>&5
24795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24796 (exit $ac_status); } &&
24797 { ac_try
='test -s conftest$ac_exeext'
24798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24799 (eval $ac_try) 2>&5
24801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24802 (exit $ac_status); }; }; then
24803 ac_cv_lib_SQLAllocEnv_iodbc
=yes
24805 echo "$as_me: failed program was:" >&5
24806 sed 's/^/| /' conftest.
$ac_ext >&5
24808 ac_cv_lib_SQLAllocEnv_iodbc
=no
24810 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24811 LIBS
=$ac_check_lib_save_LIBS
24813 echo "$as_me:$LINENO: result: $ac_cv_lib_SQLAllocEnv_iodbc" >&5
24814 echo "${ECHO_T}$ac_cv_lib_SQLAllocEnv_iodbc" >&6
24815 if test $ac_cv_lib_SQLAllocEnv_iodbc = yes; then
24816 ODBC_LINK
=" -liodbc"
24819 echo "$as_me:$LINENO: checking for unixodbc in -lSQLAllocEnv" >&5
24820 echo $ECHO_N "checking for unixodbc in -lSQLAllocEnv... $ECHO_C" >&6
24821 if test "${ac_cv_lib_SQLAllocEnv_unixodbc+set}" = set; then
24822 echo $ECHO_N "(cached) $ECHO_C" >&6
24824 ac_check_lib_save_LIBS
=$LIBS
24825 LIBS
="-lSQLAllocEnv $LIBS"
24826 cat >conftest.
$ac_ext <<_ACEOF
24827 #line $LINENO "configure"
24830 cat confdefs.h
>>conftest.
$ac_ext
24831 cat >>conftest.
$ac_ext <<_ACEOF
24832 /* end confdefs.h. */
24834 /* Override any gcc2 internal prototype to avoid an error. */
24838 /* We use char because int might match the return type of a gcc2
24839 builtin and then its argument prototype would still apply. */
24849 rm -f conftest.
$ac_objext conftest
$ac_exeext
24850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24851 (eval $ac_link) 2>&5
24853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24854 (exit $ac_status); } &&
24855 { ac_try
='test -s conftest$ac_exeext'
24856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24857 (eval $ac_try) 2>&5
24859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24860 (exit $ac_status); }; }; then
24861 ac_cv_lib_SQLAllocEnv_unixodbc
=yes
24863 echo "$as_me: failed program was:" >&5
24864 sed 's/^/| /' conftest.
$ac_ext >&5
24866 ac_cv_lib_SQLAllocEnv_unixodbc
=no
24868 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24869 LIBS
=$ac_check_lib_save_LIBS
24871 echo "$as_me:$LINENO: result: $ac_cv_lib_SQLAllocEnv_unixodbc" >&5
24872 echo "${ECHO_T}$ac_cv_lib_SQLAllocEnv_unixodbc" >&6
24873 if test $ac_cv_lib_SQLAllocEnv_unixodbc = yes; then
24874 ODBC_LINK
=" -lunixodbc"
24877 echo "$as_me:$LINENO: checking for odbc in -lSQLAllocEnv" >&5
24878 echo $ECHO_N "checking for odbc in -lSQLAllocEnv... $ECHO_C" >&6
24879 if test "${ac_cv_lib_SQLAllocEnv_odbc+set}" = set; then
24880 echo $ECHO_N "(cached) $ECHO_C" >&6
24882 ac_check_lib_save_LIBS
=$LIBS
24883 LIBS
="-lSQLAllocEnv $LIBS"
24884 cat >conftest.
$ac_ext <<_ACEOF
24885 #line $LINENO "configure"
24888 cat confdefs.h
>>conftest.
$ac_ext
24889 cat >>conftest.
$ac_ext <<_ACEOF
24890 /* end confdefs.h. */
24892 /* Override any gcc2 internal prototype to avoid an error. */
24896 /* We use char because int might match the return type of a gcc2
24897 builtin and then its argument prototype would still apply. */
24907 rm -f conftest.
$ac_objext conftest
$ac_exeext
24908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24909 (eval $ac_link) 2>&5
24911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24912 (exit $ac_status); } &&
24913 { ac_try
='test -s conftest$ac_exeext'
24914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24915 (eval $ac_try) 2>&5
24917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24918 (exit $ac_status); }; }; then
24919 ac_cv_lib_SQLAllocEnv_odbc
=yes
24921 echo "$as_me: failed program was:" >&5
24922 sed 's/^/| /' conftest.
$ac_ext >&5
24924 ac_cv_lib_SQLAllocEnv_odbc
=no
24926 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24927 LIBS
=$ac_check_lib_save_LIBS
24929 echo "$as_me:$LINENO: result: $ac_cv_lib_SQLAllocEnv_odbc" >&5
24930 echo "${ECHO_T}$ac_cv_lib_SQLAllocEnv_odbc" >&6
24931 if test $ac_cv_lib_SQLAllocEnv_odbc = yes; then
24932 ODBC_LINK
=" -lodbc"
24942 if test "x$ODBC_LINK" = "x" ; then
24943 if test "$wxUSE_ODBC" = "sys" ; then
24944 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
24945 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
24946 { (exit 1); exit 1; }; }
24948 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
24949 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
24956 if test "$wxUSE_ODBC" != "no" ; then
24957 cat >>confdefs.h
<<\_ACEOF
24958 #define wxUSE_ODBC 1
24961 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
24963 WXODBCFLAG
="-D_IODBC_"
24967 if test "$wxUSE_REGEX" = "builtin" ; then
24968 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
24970 if test "$wxUSE_ZLIB" = "builtin" ; then
24971 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
24976 if test "$wxUSE_OPENGL" = "yes"; then
24977 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
24978 OPENGL_LIBS
="-framework OpenGL -framework AGL"
24979 elif test "$wxUSE_MSW" = 1; then
24980 OPENGL_LIBS
="-lopengl32 -lglu32"
24985 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
24987 if test -f "$ac_dir/GL/gl.h"; then
24988 ac_find_includes
=$ac_dir
24993 if test "$ac_find_includes" != "" ; then
24994 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
24995 echo "${ECHO_T}found in $ac_find_includes" >&6
24997 if test "x$ac_find_includes" = "x/usr/include"; then
24998 ac_path_to_include
=""
25000 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
25002 if test $result = 0; then
25003 ac_path_to_include
=""
25005 ac_path_to_include
=" -I$ac_find_includes"
25009 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
25012 if test "${ac_cv_header_GL_gl_h+set}" = set; then
25013 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
25014 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
25015 if test "${ac_cv_header_GL_gl_h+set}" = set; then
25016 echo $ECHO_N "(cached) $ECHO_C" >&6
25018 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
25019 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
25021 # Is the header compilable?
25022 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
25023 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
25024 cat >conftest.
$ac_ext <<_ACEOF
25025 #line $LINENO "configure"
25028 cat confdefs.h
>>conftest.
$ac_ext
25029 cat >>conftest.
$ac_ext <<_ACEOF
25030 /* end confdefs.h. */
25031 $ac_includes_default
25034 rm -f conftest.
$ac_objext
25035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25036 (eval $ac_compile) 2>&5
25038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25039 (exit $ac_status); } &&
25040 { ac_try
='test -s conftest.$ac_objext'
25041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25042 (eval $ac_try) 2>&5
25044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25045 (exit $ac_status); }; }; then
25046 ac_header_compiler
=yes
25048 echo "$as_me: failed program was:" >&5
25049 sed 's/^/| /' conftest.
$ac_ext >&5
25051 ac_header_compiler
=no
25053 rm -f conftest.
$ac_objext conftest.
$ac_ext
25054 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25055 echo "${ECHO_T}$ac_header_compiler" >&6
25057 # Is the header present?
25058 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
25059 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
25060 cat >conftest.
$ac_ext <<_ACEOF
25061 #line $LINENO "configure"
25064 cat confdefs.h
>>conftest.
$ac_ext
25065 cat >>conftest.
$ac_ext <<_ACEOF
25066 /* end confdefs.h. */
25069 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25070 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25072 grep -v '^ *+' conftest.er1
>conftest.err
25074 cat conftest.err
>&5
25075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25076 (exit $ac_status); } >/dev
/null
; then
25077 if test -s conftest.err
; then
25078 ac_cpp_err
=$ac_c_preproc_warn_flag
25085 if test -z "$ac_cpp_err"; then
25086 ac_header_preproc
=yes
25088 echo "$as_me: failed program was:" >&5
25089 sed 's/^/| /' conftest.
$ac_ext >&5
25091 ac_header_preproc
=no
25093 rm -f conftest.err conftest.
$ac_ext
25094 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25095 echo "${ECHO_T}$ac_header_preproc" >&6
25097 # So? What about this header?
25098 case $ac_header_compiler:$ac_header_preproc in
25100 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
25101 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25102 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
25103 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
25106 ## ------------------------------------ ##
25107 ## Report this to bug-autoconf@gnu.org. ##
25108 ## ------------------------------------ ##
25111 sed "s/^/$as_me: WARNING: /" >&2
25114 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
25115 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
25116 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
25117 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
25118 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
25119 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
25122 ## ------------------------------------ ##
25123 ## Report this to bug-autoconf@gnu.org. ##
25124 ## ------------------------------------ ##
25127 sed "s/^/$as_me: WARNING: /" >&2
25130 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
25131 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
25132 if test "${ac_cv_header_GL_gl_h+set}" = set; then
25133 echo $ECHO_N "(cached) $ECHO_C" >&6
25135 ac_cv_header_GL_gl_h
=$ac_header_preproc
25137 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
25138 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
25141 if test $ac_cv_header_GL_gl_h = yes; then
25145 echo "$as_me:$LINENO: checking for -lGL" >&5
25146 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
25149 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25151 for ac_extension
in a so sl dylib
; do
25152 if test -f "$ac_dir/libGL.$ac_extension"; then
25153 ac_find_libraries
=$ac_dir
25159 if test "$ac_find_libraries" != "" ; then
25161 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
25163 if test $result = 0; then
25166 ac_path_to_link
=" -L$ac_find_libraries"
25169 if test "$ac_path_to_link" != " -L/usr/lib" ; then
25170 LDFLAGS_GL
="$ac_path_to_link"
25175 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25177 for ac_extension
in a so sl dylib
; do
25178 if test -f "$ac_dir/libGLU.$ac_extension"; then
25179 ac_find_libraries
=$ac_dir
25185 if test "$ac_find_libraries" != "" ; then
25187 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
25189 if test $result = 0; then
25192 ac_path_to_link
=" -L$ac_find_libraries"
25195 if test "$ac_path_to_link" != " -L/usr/lib" -a \
25196 "$ac_path_to_link" != "$LDFLAGS_GL"; then
25197 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
25201 OPENGL_LIBS
="-lGL -lGLU"
25202 echo "$as_me:$LINENO: result: yes" >&5
25203 echo "${ECHO_T}yes" >&6
25207 if test "$found_gl" != 1; then
25208 echo "$as_me:$LINENO: result: no" >&5
25209 echo "${ECHO_T}no" >&6
25210 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
25211 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
25214 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25216 for ac_extension
in a so sl dylib
; do
25217 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
25218 ac_find_libraries
=$ac_dir
25224 if test "$ac_find_libraries" != "" ; then
25226 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
25228 if test $result = 0; then
25231 ac_path_to_link
=" -L$ac_find_libraries"
25234 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
25235 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
25236 echo "$as_me:$LINENO: result: yes" >&5
25237 echo "${ECHO_T}yes" >&6
25239 echo "$as_me:$LINENO: result: no" >&5
25240 echo "${ECHO_T}no" >&6
25248 if test "x$OPENGL_LIBS" = "x"; then
25249 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
25250 echo "$as_me: error: OpenGL libraries not available" >&2;}
25251 { (exit 1); exit 1; }; }
25255 if test "$wxUSE_OPENGL" = "yes"; then
25257 cat >>confdefs.h
<<\_ACEOF
25258 #define wxUSE_OPENGL 1
25261 cat >>confdefs.h
<<\_ACEOF
25262 #define wxUSE_GLCANVAS 1
25265 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
25269 if test -z "$TOOLKIT_VPATH" ; then
25270 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
25273 if test -n "$TOOLKIT" ; then
25274 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
25278 lib_unicode_suffix
=
25279 if test "$wxUSE_UNICODE" = "yes"; then
25280 lib_unicode_suffix
=u
25286 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
25292 if test "$wxUSE_DEBUG_INFO" = "yes"; then
25296 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
25298 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
25299 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
25301 if test "$cross_compiling" = "yes"; then
25302 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
25303 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
25304 HOST_SUFFIX
="-${host_alias}"
25307 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
25308 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
25309 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
25310 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
25312 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25313 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25315 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
25316 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
25317 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
25318 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25321 *-*-cygwin* | *-*-mingw32* )
25322 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
25323 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25328 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25329 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25331 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
25332 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
25333 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
25334 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25336 if test "$wxUSE_MAC" = 1; then
25337 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.${WX_CURRENT}.r"
25338 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
25343 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
25344 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
25346 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
25347 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
25349 if test "$wxUSE_OPENGL" = "yes"; then
25350 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
25351 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
25356 if test "$wxUSE_SHARED" = "yes"; then
25358 *-pc-os2_emx | *-pc-os2-emx | \
25361 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
25362 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
25368 if test "$wxUSE_SHARED" = "yes"; then
25372 found_versioning
=no
25375 if test $found_versioning = no
; then
25376 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
25377 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
25378 if test "${wx_cv_version_script+set}" = set; then
25379 echo $ECHO_N "(cached) $ECHO_C" >&6
25382 echo "VER_1 { *; };" >conftest.sym
25383 echo "int main() { return 0; }" >conftest.cpp
25386 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
25387 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
25388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25389 (eval $ac_try) 2>&5
25391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25392 (exit $ac_status); }; } ; then
25393 if test -s conftest.stderr
; then
25394 wx_cv_version_script
=no
25396 wx_cv_version_script
=yes
25399 wx_cv_version_script
=no
25401 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
25404 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
25405 echo "${ECHO_T}$wx_cv_version_script" >&6
25406 if test $wx_cv_version_script = yes ; then
25407 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
25413 *-*-linux* | *-*-gnu* )
25414 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
25418 if test "$GCC" = yes ; then
25419 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
25421 saveLdflags
="$LDFLAGS"
25422 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
25423 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
25424 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
25425 cat >conftest.
$ac_ext <<_ACEOF
25426 #line $LINENO "configure"
25429 cat confdefs.h
>>conftest.
$ac_ext
25430 cat >>conftest.
$ac_ext <<_ACEOF
25431 /* end confdefs.h. */
25441 rm -f conftest.
$ac_objext conftest
$ac_exeext
25442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25443 (eval $ac_link) 2>&5
25445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25446 (exit $ac_status); } &&
25447 { ac_try
='test -s conftest$ac_exeext'
25448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25449 (eval $ac_try) 2>&5
25451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25452 (exit $ac_status); }; }; then
25454 echo "$as_me:$LINENO: result: yes" >&5
25455 echo "${ECHO_T}yes" >&6
25456 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
25459 echo "$as_me: failed program was:" >&5
25460 sed 's/^/| /' conftest.
$ac_ext >&5
25463 echo "$as_me:$LINENO: result: no" >&5
25464 echo "${ECHO_T}no" >&6
25465 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
25466 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
25467 LDFLAGS
="$saveLdflags -Wl,-R,/"
25468 cat >conftest.
$ac_ext <<_ACEOF
25469 #line $LINENO "configure"
25472 cat confdefs.h
>>conftest.
$ac_ext
25473 cat >>conftest.
$ac_ext <<_ACEOF
25474 /* end confdefs.h. */
25484 rm -f conftest.
$ac_objext conftest
$ac_exeext
25485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25486 (eval $ac_link) 2>&5
25488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25489 (exit $ac_status); } &&
25490 { ac_try
='test -s conftest$ac_exeext'
25491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25492 (eval $ac_try) 2>&5
25494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25495 (exit $ac_status); }; }; then
25497 echo "$as_me:$LINENO: result: yes" >&5
25498 echo "${ECHO_T}yes" >&6
25499 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
25501 echo "$as_me: failed program was:" >&5
25502 sed 's/^/| /' conftest.
$ac_ext >&5
25505 echo "$as_me:$LINENO: result: no" >&5
25506 echo "${ECHO_T}no" >&6
25509 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25512 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25513 LDFLAGS
="$saveLdflags"
25515 SHARED_LD
="${CXX} -G -o"
25517 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
25521 powerpc
-*-darwin* )
25522 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
25523 cat <<EOF >change-install-names
25525 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
25526 inst_cmd="install_name_tool "
25527 for i in \${libnames} ; do
25528 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
25532 chmod +x change
-install-names
25537 if test "x$WX_TARGET_LIBRARY" = "x"; then
25538 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
25539 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
25542 WX_TARGET_LIBRARY_TYPE
="so"
25543 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
25546 if test "$wxUSE_SHARED" = "no"; then
25548 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
25549 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
25552 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
25553 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
25556 if test "$wxUSE_OPENGL" = "yes"; then
25557 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
25558 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
25560 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
25563 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
25564 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
25566 WX_TARGET_LIBRARY_TYPE
="a"
25567 INSTALL_LIBRARY
='$(INSTALL_DATA)'
25577 if test "$wxUSE_MAC" = 1; then
25578 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
25579 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
25580 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
25581 # Extract the first word of "Rez", so it can be a program name with args.
25582 set dummy Rez
; ac_word
=$2
25583 echo "$as_me:$LINENO: checking for $ac_word" >&5
25584 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25585 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25586 echo $ECHO_N "(cached) $ECHO_C" >&6
25588 if test -n "$RESCOMP"; then
25589 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
25591 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25592 for as_dir
in $PATH
25595 test -z "$as_dir" && as_dir
=.
25596 for ac_exec_ext
in '' $ac_executable_extensions; do
25597 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25598 ac_cv_prog_RESCOMP
="Rez"
25599 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25605 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
25608 RESCOMP
=$ac_cv_prog_RESCOMP
25609 if test -n "$RESCOMP"; then
25610 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25611 echo "${ECHO_T}$RESCOMP" >&6
25613 echo "$as_me:$LINENO: result: no" >&5
25614 echo "${ECHO_T}no" >&6
25617 # Extract the first word of "DeRez", so it can be a program name with args.
25618 set dummy DeRez
; ac_word
=$2
25619 echo "$as_me:$LINENO: checking for $ac_word" >&5
25620 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25621 if test "${ac_cv_prog_DEREZ+set}" = set; then
25622 echo $ECHO_N "(cached) $ECHO_C" >&6
25624 if test -n "$DEREZ"; then
25625 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
25627 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25628 for as_dir
in $PATH
25631 test -z "$as_dir" && as_dir
=.
25632 for ac_exec_ext
in '' $ac_executable_extensions; do
25633 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25634 ac_cv_prog_DEREZ
="DeRez"
25635 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25641 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
25644 DEREZ
=$ac_cv_prog_DEREZ
25645 if test -n "$DEREZ"; then
25646 echo "$as_me:$LINENO: result: $DEREZ" >&5
25647 echo "${ECHO_T}$DEREZ" >&6
25649 echo "$as_me:$LINENO: result: no" >&5
25650 echo "${ECHO_T}no" >&6
25653 # Extract the first word of "SetFile", so it can be a program name with args.
25654 set dummy SetFile
; ac_word
=$2
25655 echo "$as_me:$LINENO: checking for $ac_word" >&5
25656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25657 if test "${ac_cv_prog_SETFILE+set}" = set; then
25658 echo $ECHO_N "(cached) $ECHO_C" >&6
25660 if test -n "$SETFILE"; then
25661 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
25663 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25664 for as_dir
in $PATH
25667 test -z "$as_dir" && as_dir
=.
25668 for ac_exec_ext
in '' $ac_executable_extensions; do
25669 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25670 ac_cv_prog_SETFILE
="SetFile"
25671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25677 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
25680 SETFILE
=$ac_cv_prog_SETFILE
25681 if test -n "$SETFILE"; then
25682 echo "$as_me:$LINENO: result: $SETFILE" >&5
25683 echo "${ECHO_T}$SETFILE" >&6
25685 echo "$as_me:$LINENO: result: no" >&5
25686 echo "${ECHO_T}no" >&6
25689 MACOSX_BUNDLE
="bundle"
25690 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
25691 MACSETFILE
="\$(SETFILE)"
25692 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25693 elif test "$wxUSE_COCOA" = 1; then
25694 # Extract the first word of "Rez", so it can be a program name with args.
25695 set dummy Rez
; ac_word
=$2
25696 echo "$as_me:$LINENO: checking for $ac_word" >&5
25697 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25698 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25699 echo $ECHO_N "(cached) $ECHO_C" >&6
25701 if test -n "$RESCOMP"; then
25702 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
25704 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25705 for as_dir
in $PATH
25708 test -z "$as_dir" && as_dir
=.
25709 for ac_exec_ext
in '' $ac_executable_extensions; do
25710 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25711 ac_cv_prog_RESCOMP
="Rez"
25712 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25718 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
25721 RESCOMP
=$ac_cv_prog_RESCOMP
25722 if test -n "$RESCOMP"; then
25723 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25724 echo "${ECHO_T}$RESCOMP" >&6
25726 echo "$as_me:$LINENO: result: no" >&5
25727 echo "${ECHO_T}no" >&6
25730 # Extract the first word of "DeRez", so it can be a program name with args.
25731 set dummy DeRez
; ac_word
=$2
25732 echo "$as_me:$LINENO: checking for $ac_word" >&5
25733 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25734 if test "${ac_cv_prog_DEREZ+set}" = set; then
25735 echo $ECHO_N "(cached) $ECHO_C" >&6
25737 if test -n "$DEREZ"; then
25738 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
25740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25741 for as_dir
in $PATH
25744 test -z "$as_dir" && as_dir
=.
25745 for ac_exec_ext
in '' $ac_executable_extensions; do
25746 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25747 ac_cv_prog_DEREZ
="DeRez"
25748 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25754 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
25757 DEREZ
=$ac_cv_prog_DEREZ
25758 if test -n "$DEREZ"; then
25759 echo "$as_me:$LINENO: result: $DEREZ" >&5
25760 echo "${ECHO_T}$DEREZ" >&6
25762 echo "$as_me:$LINENO: result: no" >&5
25763 echo "${ECHO_T}no" >&6
25766 # Extract the first word of "SetFile", so it can be a program name with args.
25767 set dummy SetFile
; ac_word
=$2
25768 echo "$as_me:$LINENO: checking for $ac_word" >&5
25769 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25770 if test "${ac_cv_prog_SETFILE+set}" = set; then
25771 echo $ECHO_N "(cached) $ECHO_C" >&6
25773 if test -n "$SETFILE"; then
25774 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
25776 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25777 for as_dir
in $PATH
25780 test -z "$as_dir" && as_dir
=.
25781 for ac_exec_ext
in '' $ac_executable_extensions; do
25782 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25783 ac_cv_prog_SETFILE
="SetFile"
25784 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25790 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
25793 SETFILE
=$ac_cv_prog_SETFILE
25794 if test -n "$SETFILE"; then
25795 echo "$as_me:$LINENO: result: $SETFILE" >&5
25796 echo "${ECHO_T}$SETFILE" >&6
25798 echo "$as_me:$LINENO: result: no" >&5
25799 echo "${ECHO_T}no" >&6
25802 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
25803 MACSETFILE
="\$(SETFILE)"
25804 MACRESWXCONFIG
="echo -n | ${RESCOMP} -d __DARWIN__ -t APPL \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25806 if test "$wxUSE_PM" = 1; then
25807 MACRESCOMP
="emxbind -ep"
25812 echo "$as_me:$LINENO: checking for mode_t" >&5
25813 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
25814 if test "${ac_cv_type_mode_t+set}" = set; then
25815 echo $ECHO_N "(cached) $ECHO_C" >&6
25817 cat >conftest.
$ac_ext <<_ACEOF
25818 #line $LINENO "configure"
25821 cat confdefs.h
>>conftest.
$ac_ext
25822 cat >>conftest.
$ac_ext <<_ACEOF
25823 /* end confdefs.h. */
25824 $ac_includes_default
25830 if (sizeof (mode_t))
25836 rm -f conftest.
$ac_objext
25837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25838 (eval $ac_compile) 2>&5
25840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25841 (exit $ac_status); } &&
25842 { ac_try
='test -s conftest.$ac_objext'
25843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25844 (eval $ac_try) 2>&5
25846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25847 (exit $ac_status); }; }; then
25848 ac_cv_type_mode_t
=yes
25850 echo "$as_me: failed program was:" >&5
25851 sed 's/^/| /' conftest.
$ac_ext >&5
25853 ac_cv_type_mode_t
=no
25855 rm -f conftest.
$ac_objext conftest.
$ac_ext
25857 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
25858 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
25859 if test $ac_cv_type_mode_t = yes; then
25863 cat >>confdefs.h
<<_ACEOF
25869 echo "$as_me:$LINENO: checking for off_t" >&5
25870 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
25871 if test "${ac_cv_type_off_t+set}" = set; then
25872 echo $ECHO_N "(cached) $ECHO_C" >&6
25874 cat >conftest.
$ac_ext <<_ACEOF
25875 #line $LINENO "configure"
25878 cat confdefs.h
>>conftest.
$ac_ext
25879 cat >>conftest.
$ac_ext <<_ACEOF
25880 /* end confdefs.h. */
25881 $ac_includes_default
25887 if (sizeof (off_t))
25893 rm -f conftest.
$ac_objext
25894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25895 (eval $ac_compile) 2>&5
25897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25898 (exit $ac_status); } &&
25899 { ac_try
='test -s conftest.$ac_objext'
25900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25901 (eval $ac_try) 2>&5
25903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25904 (exit $ac_status); }; }; then
25905 ac_cv_type_off_t
=yes
25907 echo "$as_me: failed program was:" >&5
25908 sed 's/^/| /' conftest.
$ac_ext >&5
25910 ac_cv_type_off_t
=no
25912 rm -f conftest.
$ac_objext conftest.
$ac_ext
25914 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
25915 echo "${ECHO_T}$ac_cv_type_off_t" >&6
25916 if test $ac_cv_type_off_t = yes; then
25920 cat >>confdefs.h
<<_ACEOF
25926 echo "$as_me:$LINENO: checking for pid_t" >&5
25927 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
25928 if test "${ac_cv_type_pid_t+set}" = set; then
25929 echo $ECHO_N "(cached) $ECHO_C" >&6
25931 cat >conftest.
$ac_ext <<_ACEOF
25932 #line $LINENO "configure"
25935 cat confdefs.h
>>conftest.
$ac_ext
25936 cat >>conftest.
$ac_ext <<_ACEOF
25937 /* end confdefs.h. */
25938 $ac_includes_default
25944 if (sizeof (pid_t))
25950 rm -f conftest.
$ac_objext
25951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25952 (eval $ac_compile) 2>&5
25954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25955 (exit $ac_status); } &&
25956 { ac_try
='test -s conftest.$ac_objext'
25957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25958 (eval $ac_try) 2>&5
25960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25961 (exit $ac_status); }; }; then
25962 ac_cv_type_pid_t
=yes
25964 echo "$as_me: failed program was:" >&5
25965 sed 's/^/| /' conftest.
$ac_ext >&5
25967 ac_cv_type_pid_t
=no
25969 rm -f conftest.
$ac_objext conftest.
$ac_ext
25971 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
25972 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
25973 if test $ac_cv_type_pid_t = yes; then
25977 cat >>confdefs.h
<<_ACEOF
25983 echo "$as_me:$LINENO: checking for size_t" >&5
25984 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
25985 if test "${ac_cv_type_size_t+set}" = set; then
25986 echo $ECHO_N "(cached) $ECHO_C" >&6
25988 cat >conftest.
$ac_ext <<_ACEOF
25989 #line $LINENO "configure"
25992 cat confdefs.h
>>conftest.
$ac_ext
25993 cat >>conftest.
$ac_ext <<_ACEOF
25994 /* end confdefs.h. */
25995 $ac_includes_default
26001 if (sizeof (size_t))
26007 rm -f conftest.
$ac_objext
26008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26009 (eval $ac_compile) 2>&5
26011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26012 (exit $ac_status); } &&
26013 { ac_try
='test -s conftest.$ac_objext'
26014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26015 (eval $ac_try) 2>&5
26017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26018 (exit $ac_status); }; }; then
26019 ac_cv_type_size_t
=yes
26021 echo "$as_me: failed program was:" >&5
26022 sed 's/^/| /' conftest.
$ac_ext >&5
26024 ac_cv_type_size_t
=no
26026 rm -f conftest.
$ac_objext conftest.
$ac_ext
26028 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
26029 echo "${ECHO_T}$ac_cv_type_size_t" >&6
26030 if test $ac_cv_type_size_t = yes; then
26034 cat >>confdefs.h
<<_ACEOF
26035 #define size_t unsigned
26040 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
26041 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
26042 if test "${ac_cv_type_uid_t+set}" = set; then
26043 echo $ECHO_N "(cached) $ECHO_C" >&6
26045 cat >conftest.
$ac_ext <<_ACEOF
26046 #line $LINENO "configure"
26049 cat confdefs.h
>>conftest.
$ac_ext
26050 cat >>conftest.
$ac_ext <<_ACEOF
26051 /* end confdefs.h. */
26052 #include <sys/types.h>
26055 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
26056 $EGREP "uid_t" >/dev
/null
2>&1; then
26057 ac_cv_type_uid_t
=yes
26059 ac_cv_type_uid_t
=no
26064 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
26065 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
26066 if test $ac_cv_type_uid_t = no
; then
26068 cat >>confdefs.h
<<\_ACEOF
26073 cat >>confdefs.h
<<\_ACEOF
26083 ac_cpp
='$CXXCPP $CPPFLAGS'
26084 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26085 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26086 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26088 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
26089 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
26090 if test "${wx_cv_size_t_is_uint+set}" = set; then
26091 echo $ECHO_N "(cached) $ECHO_C" >&6
26094 cat >conftest.
$ac_ext <<_ACEOF
26095 #line $LINENO "configure"
26098 cat confdefs.h
>>conftest.
$ac_ext
26099 cat >>conftest.
$ac_ext <<_ACEOF
26100 /* end confdefs.h. */
26101 #include <stddef.h>
26108 struct Foo { void foo(size_t); void foo(unsigned int); };
26116 rm -f conftest.
$ac_objext
26117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26118 (eval $ac_compile) 2>&5
26120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26121 (exit $ac_status); } &&
26122 { ac_try
='test -s conftest.$ac_objext'
26123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26124 (eval $ac_try) 2>&5
26126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26127 (exit $ac_status); }; }; then
26128 wx_cv_size_t_is_uint
=no
26130 echo "$as_me: failed program was:" >&5
26131 sed 's/^/| /' conftest.
$ac_ext >&5
26133 wx_cv_size_t_is_uint
=yes
26136 rm -f conftest.
$ac_objext conftest.
$ac_ext
26140 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
26141 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
26143 if test "$wx_cv_size_t_is_uint" = "yes"; then
26144 cat >>confdefs.h
<<\_ACEOF
26145 #define wxSIZE_T_IS_UINT 1
26149 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
26150 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
26151 if test "${wx_cv_size_t_is_ulong+set}" = set; then
26152 echo $ECHO_N "(cached) $ECHO_C" >&6
26154 cat >conftest.
$ac_ext <<_ACEOF
26155 #line $LINENO "configure"
26158 cat confdefs.h
>>conftest.
$ac_ext
26159 cat >>conftest.
$ac_ext <<_ACEOF
26160 /* end confdefs.h. */
26161 #include <stddef.h>
26168 struct Foo { void foo(size_t); void foo(unsigned long); };
26176 rm -f conftest.
$ac_objext
26177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26178 (eval $ac_compile) 2>&5
26180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26181 (exit $ac_status); } &&
26182 { ac_try
='test -s conftest.$ac_objext'
26183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26184 (eval $ac_try) 2>&5
26186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26187 (exit $ac_status); }; }; then
26188 wx_cv_size_t_is_ulong
=no
26190 echo "$as_me: failed program was:" >&5
26191 sed 's/^/| /' conftest.
$ac_ext >&5
26193 wx_cv_size_t_is_ulong
=yes
26196 rm -f conftest.
$ac_objext conftest.
$ac_ext
26199 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
26200 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
26202 if test "$wx_cv_size_t_is_ulong" = "yes"; then
26203 cat >>confdefs.h
<<\_ACEOF
26204 #define wxSIZE_T_IS_ULONG 1
26211 ac_cpp
='$CPP $CPPFLAGS'
26212 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26213 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26214 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26218 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
26219 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
26220 if test "${wx_cv_struct_pw_gecos+set}" = set; then
26221 echo $ECHO_N "(cached) $ECHO_C" >&6
26224 cat >conftest.
$ac_ext <<_ACEOF
26225 #line $LINENO "configure"
26228 cat confdefs.h
>>conftest.
$ac_ext
26229 cat >>conftest.
$ac_ext <<_ACEOF
26230 /* end confdefs.h. */
26244 rm -f conftest.
$ac_objext
26245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26246 (eval $ac_compile) 2>&5
26248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26249 (exit $ac_status); } &&
26250 { ac_try
='test -s conftest.$ac_objext'
26251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26252 (eval $ac_try) 2>&5
26254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26255 (exit $ac_status); }; }; then
26257 wx_cv_struct_pw_gecos
=yes
26260 echo "$as_me: failed program was:" >&5
26261 sed 's/^/| /' conftest.
$ac_ext >&5
26264 wx_cv_struct_pw_gecos
=no
26268 rm -f conftest.
$ac_objext conftest.
$ac_ext
26272 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
26273 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
26275 if test "$wx_cv_struct_pw_gecos" = "yes"; then
26276 cat >>confdefs.h
<<\_ACEOF
26277 #define HAVE_PW_GECOS 1
26283 if test "$wx_cv_sizeof_wchar_t" != "0"; then
26284 cat >>confdefs.h
<<\_ACEOF
26285 #define wxUSE_WCHAR_T 1
26292 for ac_func
in wcslen
26294 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26295 echo "$as_me:$LINENO: checking for $ac_func" >&5
26296 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26297 if eval "test \"\${$as_ac_var+set}\" = set"; then
26298 echo $ECHO_N "(cached) $ECHO_C" >&6
26300 cat >conftest.
$ac_ext <<_ACEOF
26301 #line $LINENO "configure"
26304 cat confdefs.h
>>conftest.
$ac_ext
26305 cat >>conftest.
$ac_ext <<_ACEOF
26306 /* end confdefs.h. */
26307 /* System header to define __stub macros and hopefully few prototypes,
26308 which can conflict with char $ac_func (); below.
26309 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26310 <limits.h> exists even on freestanding compilers. */
26312 # include <limits.h>
26314 # include <assert.h>
26316 /* Override any gcc2 internal prototype to avoid an error. */
26321 /* We use char because int might match the return type of a gcc2
26322 builtin and then its argument prototype would still apply. */
26324 /* The GNU C library defines this for functions which it implements
26325 to always fail with ENOSYS. Some functions are actually named
26326 something starting with __ and the normal name is an alias. */
26327 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26330 char (*f) () = $ac_func;
26339 return f != $ac_func;
26344 rm -f conftest.
$ac_objext conftest
$ac_exeext
26345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26346 (eval $ac_link) 2>&5
26348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26349 (exit $ac_status); } &&
26350 { ac_try
='test -s conftest$ac_exeext'
26351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26352 (eval $ac_try) 2>&5
26354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26355 (exit $ac_status); }; }; then
26356 eval "$as_ac_var=yes"
26358 echo "$as_me: failed program was:" >&5
26359 sed 's/^/| /' conftest.
$ac_ext >&5
26361 eval "$as_ac_var=no"
26363 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26366 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26367 if test `eval echo '${'$as_ac_var'}'` = yes; then
26368 cat >>confdefs.h
<<_ACEOF
26369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26376 if test "$WCSLEN_FOUND" = 0; then
26377 if test "$TOOLKIT" = "MSW"; then
26378 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
26379 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
26380 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
26381 echo $ECHO_N "(cached) $ECHO_C" >&6
26383 ac_check_lib_save_LIBS
=$LIBS
26384 LIBS
="-lmsvcrt $LIBS"
26385 cat >conftest.
$ac_ext <<_ACEOF
26386 #line $LINENO "configure"
26389 cat confdefs.h
>>conftest.
$ac_ext
26390 cat >>conftest.
$ac_ext <<_ACEOF
26391 /* end confdefs.h. */
26393 /* Override any gcc2 internal prototype to avoid an error. */
26397 /* We use char because int might match the return type of a gcc2
26398 builtin and then its argument prototype would still apply. */
26408 rm -f conftest.
$ac_objext conftest
$ac_exeext
26409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26410 (eval $ac_link) 2>&5
26412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26413 (exit $ac_status); } &&
26414 { ac_try
='test -s conftest$ac_exeext'
26415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26416 (eval $ac_try) 2>&5
26418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26419 (exit $ac_status); }; }; then
26420 ac_cv_lib_msvcrt_wcslen
=yes
26422 echo "$as_me: failed program was:" >&5
26423 sed 's/^/| /' conftest.
$ac_ext >&5
26425 ac_cv_lib_msvcrt_wcslen
=no
26427 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26428 LIBS
=$ac_check_lib_save_LIBS
26430 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
26431 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
26432 if test $ac_cv_lib_msvcrt_wcslen = yes; then
26437 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
26438 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
26439 if test "${ac_cv_lib_w_wcslen+set}" = set; then
26440 echo $ECHO_N "(cached) $ECHO_C" >&6
26442 ac_check_lib_save_LIBS
=$LIBS
26444 cat >conftest.
$ac_ext <<_ACEOF
26445 #line $LINENO "configure"
26448 cat confdefs.h
>>conftest.
$ac_ext
26449 cat >>conftest.
$ac_ext <<_ACEOF
26450 /* end confdefs.h. */
26452 /* Override any gcc2 internal prototype to avoid an error. */
26456 /* We use char because int might match the return type of a gcc2
26457 builtin and then its argument prototype would still apply. */
26467 rm -f conftest.
$ac_objext conftest
$ac_exeext
26468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26469 (eval $ac_link) 2>&5
26471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26472 (exit $ac_status); } &&
26473 { ac_try
='test -s conftest$ac_exeext'
26474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26475 (eval $ac_try) 2>&5
26477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26478 (exit $ac_status); }; }; then
26479 ac_cv_lib_w_wcslen
=yes
26481 echo "$as_me: failed program was:" >&5
26482 sed 's/^/| /' conftest.
$ac_ext >&5
26484 ac_cv_lib_w_wcslen
=no
26486 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26487 LIBS
=$ac_check_lib_save_LIBS
26489 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
26490 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
26491 if test $ac_cv_lib_w_wcslen = yes; then
26501 if test "$WCSLEN_FOUND" = 1; then
26502 cat >>confdefs.h
<<\_ACEOF
26503 #define HAVE_WCSLEN 1
26509 for ac_func
in wcsrtombs
26511 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26512 echo "$as_me:$LINENO: checking for $ac_func" >&5
26513 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26514 if eval "test \"\${$as_ac_var+set}\" = set"; then
26515 echo $ECHO_N "(cached) $ECHO_C" >&6
26517 cat >conftest.
$ac_ext <<_ACEOF
26518 #line $LINENO "configure"
26521 cat confdefs.h
>>conftest.
$ac_ext
26522 cat >>conftest.
$ac_ext <<_ACEOF
26523 /* end confdefs.h. */
26524 /* System header to define __stub macros and hopefully few prototypes,
26525 which can conflict with char $ac_func (); below.
26526 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26527 <limits.h> exists even on freestanding compilers. */
26529 # include <limits.h>
26531 # include <assert.h>
26533 /* Override any gcc2 internal prototype to avoid an error. */
26538 /* We use char because int might match the return type of a gcc2
26539 builtin and then its argument prototype would still apply. */
26541 /* The GNU C library defines this for functions which it implements
26542 to always fail with ENOSYS. Some functions are actually named
26543 something starting with __ and the normal name is an alias. */
26544 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26547 char (*f) () = $ac_func;
26556 return f != $ac_func;
26561 rm -f conftest.
$ac_objext conftest
$ac_exeext
26562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26563 (eval $ac_link) 2>&5
26565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26566 (exit $ac_status); } &&
26567 { ac_try
='test -s conftest$ac_exeext'
26568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26569 (eval $ac_try) 2>&5
26571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26572 (exit $ac_status); }; }; then
26573 eval "$as_ac_var=yes"
26575 echo "$as_me: failed program was:" >&5
26576 sed 's/^/| /' conftest.
$ac_ext >&5
26578 eval "$as_ac_var=no"
26580 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26583 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26584 if test `eval echo '${'$as_ac_var'}'` = yes; then
26585 cat >>confdefs.h
<<_ACEOF
26586 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26593 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
26594 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
26600 ac_cpp
='$CXXCPP $CPPFLAGS'
26601 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26602 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26603 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26607 for ac_func
in vsnprintf
26609 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26610 echo "$as_me:$LINENO: checking for $ac_func" >&5
26611 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26612 if eval "test \"\${$as_ac_var+set}\" = set"; then
26613 echo $ECHO_N "(cached) $ECHO_C" >&6
26615 cat >conftest.
$ac_ext <<_ACEOF
26616 #line $LINENO "configure"
26619 cat confdefs.h
>>conftest.
$ac_ext
26620 cat >>conftest.
$ac_ext <<_ACEOF
26621 /* end confdefs.h. */
26622 /* System header to define __stub macros and hopefully few prototypes,
26623 which can conflict with char $ac_func (); below.
26624 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26625 <limits.h> exists even on freestanding compilers. */
26627 # include <limits.h>
26629 # include <assert.h>
26631 /* Override any gcc2 internal prototype to avoid an error. */
26636 /* We use char because int might match the return type of a gcc2
26637 builtin and then its argument prototype would still apply. */
26639 /* The GNU C library defines this for functions which it implements
26640 to always fail with ENOSYS. Some functions are actually named
26641 something starting with __ and the normal name is an alias. */
26642 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26645 char (*f) () = $ac_func;
26654 return f != $ac_func;
26659 rm -f conftest.
$ac_objext conftest
$ac_exeext
26660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26661 (eval $ac_link) 2>&5
26663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26664 (exit $ac_status); } &&
26665 { ac_try
='test -s conftest$ac_exeext'
26666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26667 (eval $ac_try) 2>&5
26669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26670 (exit $ac_status); }; }; then
26671 eval "$as_ac_var=yes"
26673 echo "$as_me: failed program was:" >&5
26674 sed 's/^/| /' conftest.
$ac_ext >&5
26676 eval "$as_ac_var=no"
26678 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26680 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26681 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26682 if test `eval echo '${'$as_ac_var'}'` = yes; then
26683 cat >>confdefs.h
<<_ACEOF
26684 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26691 if test "$ac_cv_func_vsnprintf" = "yes"; then
26692 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
26693 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
26694 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
26695 echo $ECHO_N "(cached) $ECHO_C" >&6
26698 cat >conftest.
$ac_ext <<_ACEOF
26699 #line $LINENO "configure"
26702 cat confdefs.h
>>conftest.
$ac_ext
26703 cat >>conftest.
$ac_ext <<_ACEOF
26704 /* end confdefs.h. */
26707 #include <stdarg.h>
26715 vsnprintf(buf, 10u, "%s", ap);
26721 rm -f conftest.
$ac_objext
26722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26723 (eval $ac_compile) 2>&5
26725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26726 (exit $ac_status); } &&
26727 { ac_try
='test -s conftest.$ac_objext'
26728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26729 (eval $ac_try) 2>&5
26731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26732 (exit $ac_status); }; }; then
26733 wx_cv_func_vsnprintf_decl
=yes
26735 echo "$as_me: failed program was:" >&5
26736 sed 's/^/| /' conftest.
$ac_ext >&5
26738 wx_cv_func_vsnprintf_decl
=no
26741 rm -f conftest.
$ac_objext conftest.
$ac_ext
26745 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
26746 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
26748 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
26749 cat >>confdefs.h
<<\_ACEOF
26750 #define HAVE_VSNPRINTF_DECL 1
26756 if test "$wxUSE_UNICODE" = yes; then
26760 for ac_func
in fputwc wprintf vswprintf
26762 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26763 echo "$as_me:$LINENO: checking for $ac_func" >&5
26764 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26765 if eval "test \"\${$as_ac_var+set}\" = set"; then
26766 echo $ECHO_N "(cached) $ECHO_C" >&6
26768 cat >conftest.
$ac_ext <<_ACEOF
26769 #line $LINENO "configure"
26772 cat confdefs.h
>>conftest.
$ac_ext
26773 cat >>conftest.
$ac_ext <<_ACEOF
26774 /* end confdefs.h. */
26775 /* System header to define __stub macros and hopefully few prototypes,
26776 which can conflict with char $ac_func (); below.
26777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26778 <limits.h> exists even on freestanding compilers. */
26780 # include <limits.h>
26782 # include <assert.h>
26784 /* Override any gcc2 internal prototype to avoid an error. */
26789 /* We use char because int might match the return type of a gcc2
26790 builtin and then its argument prototype would still apply. */
26792 /* The GNU C library defines this for functions which it implements
26793 to always fail with ENOSYS. Some functions are actually named
26794 something starting with __ and the normal name is an alias. */
26795 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26798 char (*f) () = $ac_func;
26807 return f != $ac_func;
26812 rm -f conftest.
$ac_objext conftest
$ac_exeext
26813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26814 (eval $ac_link) 2>&5
26816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26817 (exit $ac_status); } &&
26818 { ac_try
='test -s conftest$ac_exeext'
26819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26820 (eval $ac_try) 2>&5
26822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26823 (exit $ac_status); }; }; then
26824 eval "$as_ac_var=yes"
26826 echo "$as_me: failed program was:" >&5
26827 sed 's/^/| /' conftest.
$ac_ext >&5
26829 eval "$as_ac_var=no"
26831 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26833 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26834 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26835 if test `eval echo '${'$as_ac_var'}'` = yes; then
26836 cat >>confdefs.h
<<_ACEOF
26837 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26844 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
26845 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
26846 cat >conftest.
$ac_ext <<_ACEOF
26847 #line $LINENO "configure"
26850 cat confdefs.h
>>conftest.
$ac_ext
26851 cat >>conftest.
$ac_ext <<_ACEOF
26852 /* end confdefs.h. */
26862 rm -f conftest.
$ac_objext
26863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26864 (eval $ac_compile) 2>&5
26866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26867 (exit $ac_status); } &&
26868 { ac_try
='test -s conftest.$ac_objext'
26869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26870 (eval $ac_try) 2>&5
26872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26873 (exit $ac_status); }; }; then
26874 echo "$as_me:$LINENO: result: yes" >&5
26875 echo "${ECHO_T}yes" >&6
26876 cat >>confdefs.h
<<\_ACEOF
26877 #define HAVE__VSNWPRINTF 1
26881 echo "$as_me: failed program was:" >&5
26882 sed 's/^/| /' conftest.
$ac_ext >&5
26884 echo "$as_me:$LINENO: result: no" >&5
26885 echo "${ECHO_T}no" >&6
26887 rm -f conftest.
$ac_objext conftest.
$ac_ext;
26891 ac_cpp
='$CPP $CPPFLAGS'
26892 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26893 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26894 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26899 if test "$TOOLKIT" != "MSW"; then
26905 ac_cpp
='$CXXCPP $CPPFLAGS'
26906 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26907 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26908 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26913 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
26914 if test "${with_libiconv_prefix+set}" = set; then
26915 withval
="$with_libiconv_prefix"
26917 for dir
in `echo "$withval" | tr : ' '`; do
26918 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
26919 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
26924 echo "$as_me:$LINENO: checking for iconv" >&5
26925 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
26926 if test "${am_cv_func_iconv+set}" = set; then
26927 echo $ECHO_N "(cached) $ECHO_C" >&6
26930 am_cv_func_iconv
="no, consider installing GNU libiconv"
26932 cat >conftest.
$ac_ext <<_ACEOF
26933 #line $LINENO "configure"
26936 cat confdefs.h
>>conftest.
$ac_ext
26937 cat >>conftest.
$ac_ext <<_ACEOF
26938 /* end confdefs.h. */
26939 #include <stdlib.h>
26944 iconv_t cd = iconv_open("","");
26945 iconv(cd,NULL,NULL,NULL,NULL);
26951 rm -f conftest.
$ac_objext conftest
$ac_exeext
26952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26953 (eval $ac_link) 2>&5
26955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26956 (exit $ac_status); } &&
26957 { ac_try
='test -s conftest$ac_exeext'
26958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26959 (eval $ac_try) 2>&5
26961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26962 (exit $ac_status); }; }; then
26963 am_cv_func_iconv
=yes
26965 echo "$as_me: failed program was:" >&5
26966 sed 's/^/| /' conftest.
$ac_ext >&5
26969 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26970 if test "$am_cv_func_iconv" != yes; then
26971 am_save_LIBS
="$LIBS"
26972 LIBS
="$LIBS -liconv"
26973 cat >conftest.
$ac_ext <<_ACEOF
26974 #line $LINENO "configure"
26977 cat confdefs.h
>>conftest.
$ac_ext
26978 cat >>conftest.
$ac_ext <<_ACEOF
26979 /* end confdefs.h. */
26980 #include <stdlib.h>
26985 iconv_t cd = iconv_open("","");
26986 iconv(cd,NULL,NULL,NULL,NULL);
26992 rm -f conftest.
$ac_objext conftest
$ac_exeext
26993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26994 (eval $ac_link) 2>&5
26996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26997 (exit $ac_status); } &&
26998 { ac_try
='test -s conftest$ac_exeext'
26999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27000 (eval $ac_try) 2>&5
27002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27003 (exit $ac_status); }; }; then
27004 am_cv_lib_iconv
=yes
27005 am_cv_func_iconv
=yes
27007 echo "$as_me: failed program was:" >&5
27008 sed 's/^/| /' conftest.
$ac_ext >&5
27011 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27012 LIBS
="$am_save_LIBS"
27016 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
27017 echo "${ECHO_T}$am_cv_func_iconv" >&6
27018 if test "$am_cv_func_iconv" = yes; then
27020 cat >>confdefs.h
<<\_ACEOF
27021 #define HAVE_ICONV 1
27024 echo "$as_me:$LINENO: checking if iconv needs const" >&5
27025 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
27026 if test "${wx_cv_func_iconv_const+set}" = set; then
27027 echo $ECHO_N "(cached) $ECHO_C" >&6
27029 cat >conftest.
$ac_ext <<_ACEOF
27030 #line $LINENO "configure"
27033 cat confdefs.h
>>conftest.
$ac_ext
27034 cat >>conftest.
$ac_ext <<_ACEOF
27035 /* end confdefs.h. */
27037 #include <stdlib.h>
27043 #if defined(__STDC__) || defined(__cplusplus)
27044 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27057 rm -f conftest.
$ac_objext
27058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27059 (eval $ac_compile) 2>&5
27061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27062 (exit $ac_status); } &&
27063 { ac_try
='test -s conftest.$ac_objext'
27064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27065 (eval $ac_try) 2>&5
27067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27068 (exit $ac_status); }; }; then
27069 wx_cv_func_iconv_const
="no"
27071 echo "$as_me: failed program was:" >&5
27072 sed 's/^/| /' conftest.
$ac_ext >&5
27074 wx_cv_func_iconv_const
="yes"
27077 rm -f conftest.
$ac_objext conftest.
$ac_ext
27080 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
27081 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
27084 if test "x$wx_cv_func_iconv_const" = "xyes"; then
27085 iconv_const
="const"
27089 cat >>confdefs.h
<<_ACEOF
27090 #define ICONV_CONST $iconv_const
27095 if test "$am_cv_lib_iconv" = yes; then
27100 LIBS
="$LIBICONV $LIBS"
27102 ac_cpp
='$CPP $CPPFLAGS'
27103 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27104 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27105 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27108 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
27110 for ac_func
in sigaction
27112 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27113 echo "$as_me:$LINENO: checking for $ac_func" >&5
27114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27115 if eval "test \"\${$as_ac_var+set}\" = set"; then
27116 echo $ECHO_N "(cached) $ECHO_C" >&6
27118 cat >conftest.
$ac_ext <<_ACEOF
27119 #line $LINENO "configure"
27122 cat confdefs.h
>>conftest.
$ac_ext
27123 cat >>conftest.
$ac_ext <<_ACEOF
27124 /* end confdefs.h. */
27125 /* System header to define __stub macros and hopefully few prototypes,
27126 which can conflict with char $ac_func (); below.
27127 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27128 <limits.h> exists even on freestanding compilers. */
27130 # include <limits.h>
27132 # include <assert.h>
27134 /* Override any gcc2 internal prototype to avoid an error. */
27139 /* We use char because int might match the return type of a gcc2
27140 builtin and then its argument prototype would still apply. */
27142 /* The GNU C library defines this for functions which it implements
27143 to always fail with ENOSYS. Some functions are actually named
27144 something starting with __ and the normal name is an alias. */
27145 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27148 char (*f) () = $ac_func;
27157 return f != $ac_func;
27162 rm -f conftest.
$ac_objext conftest
$ac_exeext
27163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27164 (eval $ac_link) 2>&5
27166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27167 (exit $ac_status); } &&
27168 { ac_try
='test -s conftest$ac_exeext'
27169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27170 (eval $ac_try) 2>&5
27172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27173 (exit $ac_status); }; }; then
27174 eval "$as_ac_var=yes"
27176 echo "$as_me: failed program was:" >&5
27177 sed 's/^/| /' conftest.
$ac_ext >&5
27179 eval "$as_ac_var=no"
27181 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27184 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27185 if test `eval echo '${'$as_ac_var'}'` = yes; then
27186 cat >>confdefs.h
<<_ACEOF
27187 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27194 if test "$ac_cv_func_sigaction" = "no"; then
27195 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
27196 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
27197 wxUSE_ON_FATAL_EXCEPTION
=no
27200 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
27204 ac_cpp
='$CXXCPP $CPPFLAGS'
27205 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27206 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27207 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27210 echo "$as_me:$LINENO: checking for sa_handler type" >&5
27211 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
27212 if test "${wx_cv_type_sa_handler+set}" = set; then
27213 echo $ECHO_N "(cached) $ECHO_C" >&6
27216 cat >conftest.
$ac_ext <<_ACEOF
27217 #line $LINENO "configure"
27220 cat confdefs.h
>>conftest.
$ac_ext
27221 cat >>conftest.
$ac_ext <<_ACEOF
27222 /* end confdefs.h. */
27223 #include <signal.h>
27228 extern void testSigHandler(int);
27230 struct sigaction sa;
27231 sa.sa_handler = testSigHandler;
27237 rm -f conftest.
$ac_objext
27238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27239 (eval $ac_compile) 2>&5
27241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27242 (exit $ac_status); } &&
27243 { ac_try
='test -s conftest.$ac_objext'
27244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27245 (eval $ac_try) 2>&5
27247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27248 (exit $ac_status); }; }; then
27250 wx_cv_type_sa_handler
=int
27253 echo "$as_me: failed program was:" >&5
27254 sed 's/^/| /' conftest.
$ac_ext >&5
27257 wx_cv_type_sa_handler
=void
27260 rm -f conftest.
$ac_objext conftest.
$ac_ext
27263 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
27264 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
27267 ac_cpp
='$CPP $CPPFLAGS'
27268 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27269 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27270 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27273 cat >>confdefs.h
<<_ACEOF
27274 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
27282 for ac_func
in mkstemp mktemp
27284 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27285 echo "$as_me:$LINENO: checking for $ac_func" >&5
27286 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27287 if eval "test \"\${$as_ac_var+set}\" = set"; then
27288 echo $ECHO_N "(cached) $ECHO_C" >&6
27290 cat >conftest.
$ac_ext <<_ACEOF
27291 #line $LINENO "configure"
27294 cat confdefs.h
>>conftest.
$ac_ext
27295 cat >>conftest.
$ac_ext <<_ACEOF
27296 /* end confdefs.h. */
27297 /* System header to define __stub macros and hopefully few prototypes,
27298 which can conflict with char $ac_func (); below.
27299 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27300 <limits.h> exists even on freestanding compilers. */
27302 # include <limits.h>
27304 # include <assert.h>
27306 /* Override any gcc2 internal prototype to avoid an error. */
27311 /* We use char because int might match the return type of a gcc2
27312 builtin and then its argument prototype would still apply. */
27314 /* The GNU C library defines this for functions which it implements
27315 to always fail with ENOSYS. Some functions are actually named
27316 something starting with __ and the normal name is an alias. */
27317 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27320 char (*f) () = $ac_func;
27329 return f != $ac_func;
27334 rm -f conftest.
$ac_objext conftest
$ac_exeext
27335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27336 (eval $ac_link) 2>&5
27338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27339 (exit $ac_status); } &&
27340 { ac_try
='test -s conftest$ac_exeext'
27341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27342 (eval $ac_try) 2>&5
27344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27345 (exit $ac_status); }; }; then
27346 eval "$as_ac_var=yes"
27348 echo "$as_me: failed program was:" >&5
27349 sed 's/^/| /' conftest.
$ac_ext >&5
27351 eval "$as_ac_var=no"
27353 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27355 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27356 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27357 if test `eval echo '${'$as_ac_var'}'` = yes; then
27358 cat >>confdefs.h
<<_ACEOF
27359 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27366 echo "$as_me:$LINENO: checking for statfs" >&5
27367 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
27368 if test "${wx_cv_func_statfs+set}" = set; then
27369 echo $ECHO_N "(cached) $ECHO_C" >&6
27371 cat >conftest.
$ac_ext <<_ACEOF
27372 #line $LINENO "configure"
27375 cat confdefs.h
>>conftest.
$ac_ext
27376 cat >>conftest.
$ac_ext <<_ACEOF
27377 /* end confdefs.h. */
27379 #if defined(__BSD__)
27380 #include <sys/param.h>
27381 #include <sys/mount.h>
27383 #include <sys/vfs.h>
27401 rm -f conftest.
$ac_objext
27402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27403 (eval $ac_compile) 2>&5
27405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27406 (exit $ac_status); } &&
27407 { ac_try
='test -s conftest.$ac_objext'
27408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27409 (eval $ac_try) 2>&5
27411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27412 (exit $ac_status); }; }; then
27414 wx_cv_func_statfs
=yes
27417 echo "$as_me: failed program was:" >&5
27418 sed 's/^/| /' conftest.
$ac_ext >&5
27421 wx_cv_func_statfs
=no
27425 rm -f conftest.
$ac_objext conftest.
$ac_ext
27428 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
27429 echo "${ECHO_T}$wx_cv_func_statfs" >&6
27431 if test "$wx_cv_func_statfs" = "yes"; then
27432 wx_cv_type_statvfs_t
="struct statfs"
27433 cat >>confdefs.h
<<\_ACEOF
27434 #define HAVE_STATFS 1
27438 echo "$as_me:$LINENO: checking for statvfs" >&5
27439 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
27440 if test "${wx_cv_func_statvfs+set}" = set; then
27441 echo $ECHO_N "(cached) $ECHO_C" >&6
27443 cat >conftest.
$ac_ext <<_ACEOF
27444 #line $LINENO "configure"
27447 cat confdefs.h
>>conftest.
$ac_ext
27448 cat >>conftest.
$ac_ext <<_ACEOF
27449 /* end confdefs.h. */
27451 #include <stddef.h>
27452 #include <sys/statvfs.h>
27458 statvfs("/", NULL);
27464 rm -f conftest.
$ac_objext
27465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27466 (eval $ac_compile) 2>&5
27468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27469 (exit $ac_status); } &&
27470 { ac_try
='test -s conftest.$ac_objext'
27471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27472 (eval $ac_try) 2>&5
27474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27475 (exit $ac_status); }; }; then
27476 wx_cv_func_statvfs
=yes
27478 echo "$as_me: failed program was:" >&5
27479 sed 's/^/| /' conftest.
$ac_ext >&5
27481 wx_cv_func_statvfs
=no
27484 rm -f conftest.
$ac_objext conftest.
$ac_ext
27487 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
27488 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
27490 if test "$wx_cv_func_statvfs" = "yes"; then
27494 ac_cpp
='$CXXCPP $CPPFLAGS'
27495 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27496 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27497 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27500 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
27501 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
27502 if test "${wx_cv_type_statvfs_t+set}" = set; then
27503 echo $ECHO_N "(cached) $ECHO_C" >&6
27505 cat >conftest.
$ac_ext <<_ACEOF
27506 #line $LINENO "configure"
27509 cat confdefs.h
>>conftest.
$ac_ext
27510 cat >>conftest.
$ac_ext <<_ACEOF
27511 /* end confdefs.h. */
27513 #include <sys/statvfs.h>
27530 rm -f conftest.
$ac_objext
27531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27532 (eval $ac_compile) 2>&5
27534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27535 (exit $ac_status); } &&
27536 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
27542 wx_cv_type_statvfs_t
=statvfs_t
27544 echo "$as_me: failed program was:" >&5
27545 sed 's/^/| /' conftest.
$ac_ext >&5
27548 cat >conftest.
$ac_ext <<_ACEOF
27549 #line $LINENO "configure"
27552 cat confdefs.h
>>conftest.
$ac_ext
27553 cat >>conftest.
$ac_ext <<_ACEOF
27554 /* end confdefs.h. */
27556 #include <sys/statvfs.h>
27573 rm -f conftest.
$ac_objext
27574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27575 (eval $ac_compile) 2>&5
27577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27578 (exit $ac_status); } &&
27579 { ac_try
='test -s conftest.$ac_objext'
27580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27581 (eval $ac_try) 2>&5
27583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27584 (exit $ac_status); }; }; then
27585 wx_cv_type_statvfs_t
="struct statvfs"
27587 echo "$as_me: failed program was:" >&5
27588 sed 's/^/| /' conftest.
$ac_ext >&5
27590 wx_cv_type_statvfs_t
="unknown"
27593 rm -f conftest.
$ac_objext conftest.
$ac_ext
27597 rm -f conftest.
$ac_objext conftest.
$ac_ext
27600 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
27601 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
27604 ac_cpp
='$CPP $CPPFLAGS'
27605 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27606 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27607 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27610 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27611 cat >>confdefs.h
<<\_ACEOF
27612 #define HAVE_STATVFS 1
27617 wx_cv_type_statvfs_t
="unknown"
27621 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27622 cat >>confdefs.h
<<_ACEOF
27623 #define WX_STATFS_T $wx_cv_type_statvfs_t
27627 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
27628 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
27631 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
27634 for ac_func
in fcntl flock
27636 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27637 echo "$as_me:$LINENO: checking for $ac_func" >&5
27638 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27639 if eval "test \"\${$as_ac_var+set}\" = set"; then
27640 echo $ECHO_N "(cached) $ECHO_C" >&6
27642 cat >conftest.
$ac_ext <<_ACEOF
27643 #line $LINENO "configure"
27646 cat confdefs.h
>>conftest.
$ac_ext
27647 cat >>conftest.
$ac_ext <<_ACEOF
27648 /* end confdefs.h. */
27649 /* System header to define __stub macros and hopefully few prototypes,
27650 which can conflict with char $ac_func (); below.
27651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27652 <limits.h> exists even on freestanding compilers. */
27654 # include <limits.h>
27656 # include <assert.h>
27658 /* Override any gcc2 internal prototype to avoid an error. */
27663 /* We use char because int might match the return type of a gcc2
27664 builtin and then its argument prototype would still apply. */
27666 /* The GNU C library defines this for functions which it implements
27667 to always fail with ENOSYS. Some functions are actually named
27668 something starting with __ and the normal name is an alias. */
27669 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27672 char (*f) () = $ac_func;
27681 return f != $ac_func;
27686 rm -f conftest.
$ac_objext conftest
$ac_exeext
27687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27688 (eval $ac_link) 2>&5
27690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27691 (exit $ac_status); } &&
27692 { ac_try
='test -s conftest$ac_exeext'
27693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27694 (eval $ac_try) 2>&5
27696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27697 (exit $ac_status); }; }; then
27698 eval "$as_ac_var=yes"
27700 echo "$as_me: failed program was:" >&5
27701 sed 's/^/| /' conftest.
$ac_ext >&5
27703 eval "$as_ac_var=no"
27705 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27707 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27708 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27709 if test `eval echo '${'$as_ac_var'}'` = yes; then
27710 cat >>confdefs.h
<<_ACEOF
27711 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27718 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
27719 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
27720 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
27721 wxUSE_SNGLINST_CHECKER
=no
27726 for ac_func
in timegm
27728 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27729 echo "$as_me:$LINENO: checking for $ac_func" >&5
27730 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27731 if eval "test \"\${$as_ac_var+set}\" = set"; then
27732 echo $ECHO_N "(cached) $ECHO_C" >&6
27734 cat >conftest.
$ac_ext <<_ACEOF
27735 #line $LINENO "configure"
27738 cat confdefs.h
>>conftest.
$ac_ext
27739 cat >>conftest.
$ac_ext <<_ACEOF
27740 /* end confdefs.h. */
27741 /* System header to define __stub macros and hopefully few prototypes,
27742 which can conflict with char $ac_func (); below.
27743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27744 <limits.h> exists even on freestanding compilers. */
27746 # include <limits.h>
27748 # include <assert.h>
27750 /* Override any gcc2 internal prototype to avoid an error. */
27755 /* We use char because int might match the return type of a gcc2
27756 builtin and then its argument prototype would still apply. */
27758 /* The GNU C library defines this for functions which it implements
27759 to always fail with ENOSYS. Some functions are actually named
27760 something starting with __ and the normal name is an alias. */
27761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27764 char (*f) () = $ac_func;
27773 return f != $ac_func;
27778 rm -f conftest.
$ac_objext conftest
$ac_exeext
27779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27780 (eval $ac_link) 2>&5
27782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27783 (exit $ac_status); } &&
27784 { ac_try
='test -s conftest$ac_exeext'
27785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27786 (eval $ac_try) 2>&5
27788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27789 (exit $ac_status); }; }; then
27790 eval "$as_ac_var=yes"
27792 echo "$as_me: failed program was:" >&5
27793 sed 's/^/| /' conftest.
$ac_ext >&5
27795 eval "$as_ac_var=no"
27797 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27800 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27801 if test `eval echo '${'$as_ac_var'}'` = yes; then
27802 cat >>confdefs.h
<<_ACEOF
27803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27812 for ac_func
in putenv setenv
27814 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27815 echo "$as_me:$LINENO: checking for $ac_func" >&5
27816 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27817 if eval "test \"\${$as_ac_var+set}\" = set"; then
27818 echo $ECHO_N "(cached) $ECHO_C" >&6
27820 cat >conftest.
$ac_ext <<_ACEOF
27821 #line $LINENO "configure"
27824 cat confdefs.h
>>conftest.
$ac_ext
27825 cat >>conftest.
$ac_ext <<_ACEOF
27826 /* end confdefs.h. */
27827 /* System header to define __stub macros and hopefully few prototypes,
27828 which can conflict with char $ac_func (); below.
27829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27830 <limits.h> exists even on freestanding compilers. */
27832 # include <limits.h>
27834 # include <assert.h>
27836 /* Override any gcc2 internal prototype to avoid an error. */
27841 /* We use char because int might match the return type of a gcc2
27842 builtin and then its argument prototype would still apply. */
27844 /* The GNU C library defines this for functions which it implements
27845 to always fail with ENOSYS. Some functions are actually named
27846 something starting with __ and the normal name is an alias. */
27847 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27850 char (*f) () = $ac_func;
27859 return f != $ac_func;
27864 rm -f conftest.
$ac_objext conftest
$ac_exeext
27865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27866 (eval $ac_link) 2>&5
27868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27869 (exit $ac_status); } &&
27870 { ac_try
='test -s conftest$ac_exeext'
27871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27872 (eval $ac_try) 2>&5
27874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27875 (exit $ac_status); }; }; then
27876 eval "$as_ac_var=yes"
27878 echo "$as_me: failed program was:" >&5
27879 sed 's/^/| /' conftest.
$ac_ext >&5
27881 eval "$as_ac_var=no"
27883 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27887 if test `eval echo '${'$as_ac_var'}'` = yes; then
27888 cat >>confdefs.h
<<_ACEOF
27889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27896 HAVE_SOME_SLEEP_FUNC
=0
27897 if test "$USE_BEOS" = 1; then
27898 cat >>confdefs.h
<<\_ACEOF
27899 #define HAVE_SLEEP 1
27902 HAVE_SOME_SLEEP_FUNC
=1
27905 if test "$USE_DARWIN" = 1; then
27906 cat >>confdefs.h
<<\_ACEOF
27907 #define HAVE_USLEEP 1
27910 HAVE_SOME_SLEEP_FUNC
=1
27913 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
27916 for ac_func
in nanosleep
27918 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27919 echo "$as_me:$LINENO: checking for $ac_func" >&5
27920 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27921 if eval "test \"\${$as_ac_var+set}\" = set"; then
27922 echo $ECHO_N "(cached) $ECHO_C" >&6
27924 cat >conftest.
$ac_ext <<_ACEOF
27925 #line $LINENO "configure"
27928 cat confdefs.h
>>conftest.
$ac_ext
27929 cat >>conftest.
$ac_ext <<_ACEOF
27930 /* end confdefs.h. */
27931 /* System header to define __stub macros and hopefully few prototypes,
27932 which can conflict with char $ac_func (); below.
27933 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27934 <limits.h> exists even on freestanding compilers. */
27936 # include <limits.h>
27938 # include <assert.h>
27940 /* Override any gcc2 internal prototype to avoid an error. */
27945 /* We use char because int might match the return type of a gcc2
27946 builtin and then its argument prototype would still apply. */
27948 /* The GNU C library defines this for functions which it implements
27949 to always fail with ENOSYS. Some functions are actually named
27950 something starting with __ and the normal name is an alias. */
27951 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27954 char (*f) () = $ac_func;
27963 return f != $ac_func;
27968 rm -f conftest.
$ac_objext conftest
$ac_exeext
27969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27970 (eval $ac_link) 2>&5
27972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27973 (exit $ac_status); } &&
27974 { ac_try
='test -s conftest$ac_exeext'
27975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27976 (eval $ac_try) 2>&5
27978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27979 (exit $ac_status); }; }; then
27980 eval "$as_ac_var=yes"
27982 echo "$as_me: failed program was:" >&5
27983 sed 's/^/| /' conftest.
$ac_ext >&5
27985 eval "$as_ac_var=no"
27987 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27990 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27991 if test `eval echo '${'$as_ac_var'}'` = yes; then
27992 cat >>confdefs.h
<<_ACEOF
27993 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27995 cat >>confdefs.h
<<\_ACEOF
27996 #define HAVE_NANOSLEEP 1
28001 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
28002 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
28003 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
28004 echo $ECHO_N "(cached) $ECHO_C" >&6
28006 ac_check_lib_save_LIBS
=$LIBS
28007 LIBS
="-lposix4 $LIBS"
28008 cat >conftest.
$ac_ext <<_ACEOF
28009 #line $LINENO "configure"
28012 cat confdefs.h
>>conftest.
$ac_ext
28013 cat >>conftest.
$ac_ext <<_ACEOF
28014 /* end confdefs.h. */
28016 /* Override any gcc2 internal prototype to avoid an error. */
28020 /* We use char because int might match the return type of a gcc2
28021 builtin and then its argument prototype would still apply. */
28031 rm -f conftest.
$ac_objext conftest
$ac_exeext
28032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28033 (eval $ac_link) 2>&5
28035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28036 (exit $ac_status); } &&
28037 { ac_try
='test -s conftest$ac_exeext'
28038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28039 (eval $ac_try) 2>&5
28041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28042 (exit $ac_status); }; }; then
28043 ac_cv_lib_posix4_nanosleep
=yes
28045 echo "$as_me: failed program was:" >&5
28046 sed 's/^/| /' conftest.
$ac_ext >&5
28048 ac_cv_lib_posix4_nanosleep
=no
28050 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28051 LIBS
=$ac_check_lib_save_LIBS
28053 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
28054 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
28055 if test $ac_cv_lib_posix4_nanosleep = yes; then
28057 cat >>confdefs.h
<<\_ACEOF
28058 #define HAVE_NANOSLEEP 1
28061 POSIX4_LINK
=" -lposix4"
28066 for ac_func
in usleep
28068 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28069 echo "$as_me:$LINENO: checking for $ac_func" >&5
28070 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28071 if eval "test \"\${$as_ac_var+set}\" = set"; then
28072 echo $ECHO_N "(cached) $ECHO_C" >&6
28074 cat >conftest.
$ac_ext <<_ACEOF
28075 #line $LINENO "configure"
28078 cat confdefs.h
>>conftest.
$ac_ext
28079 cat >>conftest.
$ac_ext <<_ACEOF
28080 /* end confdefs.h. */
28081 /* System header to define __stub macros and hopefully few prototypes,
28082 which can conflict with char $ac_func (); below.
28083 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28084 <limits.h> exists even on freestanding compilers. */
28086 # include <limits.h>
28088 # include <assert.h>
28090 /* Override any gcc2 internal prototype to avoid an error. */
28095 /* We use char because int might match the return type of a gcc2
28096 builtin and then its argument prototype would still apply. */
28098 /* The GNU C library defines this for functions which it implements
28099 to always fail with ENOSYS. Some functions are actually named
28100 something starting with __ and the normal name is an alias. */
28101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28104 char (*f) () = $ac_func;
28113 return f != $ac_func;
28118 rm -f conftest.
$ac_objext conftest
$ac_exeext
28119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28120 (eval $ac_link) 2>&5
28122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28123 (exit $ac_status); } &&
28124 { ac_try
='test -s conftest$ac_exeext'
28125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28126 (eval $ac_try) 2>&5
28128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28129 (exit $ac_status); }; }; then
28130 eval "$as_ac_var=yes"
28132 echo "$as_me: failed program was:" >&5
28133 sed 's/^/| /' conftest.
$ac_ext >&5
28135 eval "$as_ac_var=no"
28137 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28139 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28140 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28141 if test `eval echo '${'$as_ac_var'}'` = yes; then
28142 cat >>confdefs.h
<<_ACEOF
28143 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28145 cat >>confdefs.h
<<\_ACEOF
28146 #define HAVE_USLEEP 1
28150 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
28151 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
28169 for ac_func
in uname gethostname
28171 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28172 echo "$as_me:$LINENO: checking for $ac_func" >&5
28173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28174 if eval "test \"\${$as_ac_var+set}\" = set"; then
28175 echo $ECHO_N "(cached) $ECHO_C" >&6
28177 cat >conftest.
$ac_ext <<_ACEOF
28178 #line $LINENO "configure"
28181 cat confdefs.h
>>conftest.
$ac_ext
28182 cat >>conftest.
$ac_ext <<_ACEOF
28183 /* end confdefs.h. */
28184 /* System header to define __stub macros and hopefully few prototypes,
28185 which can conflict with char $ac_func (); below.
28186 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28187 <limits.h> exists even on freestanding compilers. */
28189 # include <limits.h>
28191 # include <assert.h>
28193 /* Override any gcc2 internal prototype to avoid an error. */
28198 /* We use char because int might match the return type of a gcc2
28199 builtin and then its argument prototype would still apply. */
28201 /* The GNU C library defines this for functions which it implements
28202 to always fail with ENOSYS. Some functions are actually named
28203 something starting with __ and the normal name is an alias. */
28204 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28207 char (*f) () = $ac_func;
28216 return f != $ac_func;
28221 rm -f conftest.
$ac_objext conftest
$ac_exeext
28222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28223 (eval $ac_link) 2>&5
28225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28226 (exit $ac_status); } &&
28227 { ac_try
='test -s conftest$ac_exeext'
28228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28229 (eval $ac_try) 2>&5
28231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28232 (exit $ac_status); }; }; then
28233 eval "$as_ac_var=yes"
28235 echo "$as_me: failed program was:" >&5
28236 sed 's/^/| /' conftest.
$ac_ext >&5
28238 eval "$as_ac_var=no"
28240 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28243 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28244 if test `eval echo '${'$as_ac_var'}'` = yes; then
28245 cat >>confdefs.h
<<_ACEOF
28246 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28256 ac_cpp
='$CXXCPP $CPPFLAGS'
28257 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28258 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28259 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28263 for ac_func
in strtok_r
28265 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28266 echo "$as_me:$LINENO: checking for $ac_func" >&5
28267 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28268 if eval "test \"\${$as_ac_var+set}\" = set"; then
28269 echo $ECHO_N "(cached) $ECHO_C" >&6
28271 cat >conftest.
$ac_ext <<_ACEOF
28272 #line $LINENO "configure"
28275 cat confdefs.h
>>conftest.
$ac_ext
28276 cat >>conftest.
$ac_ext <<_ACEOF
28277 /* end confdefs.h. */
28278 /* System header to define __stub macros and hopefully few prototypes,
28279 which can conflict with char $ac_func (); below.
28280 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28281 <limits.h> exists even on freestanding compilers. */
28283 # include <limits.h>
28285 # include <assert.h>
28287 /* Override any gcc2 internal prototype to avoid an error. */
28292 /* We use char because int might match the return type of a gcc2
28293 builtin and then its argument prototype would still apply. */
28295 /* The GNU C library defines this for functions which it implements
28296 to always fail with ENOSYS. Some functions are actually named
28297 something starting with __ and the normal name is an alias. */
28298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28301 char (*f) () = $ac_func;
28310 return f != $ac_func;
28315 rm -f conftest.
$ac_objext conftest
$ac_exeext
28316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28317 (eval $ac_link) 2>&5
28319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28320 (exit $ac_status); } &&
28321 { ac_try
='test -s conftest$ac_exeext'
28322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28323 (eval $ac_try) 2>&5
28325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28326 (exit $ac_status); }; }; then
28327 eval "$as_ac_var=yes"
28329 echo "$as_me: failed program was:" >&5
28330 sed 's/^/| /' conftest.
$ac_ext >&5
28332 eval "$as_ac_var=no"
28334 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28337 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28338 if test `eval echo '${'$as_ac_var'}'` = yes; then
28339 cat >>confdefs.h
<<_ACEOF
28340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28348 ac_cpp
='$CPP $CPPFLAGS'
28349 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28350 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28351 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28356 for ac_func
in inet_addr
28358 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28359 echo "$as_me:$LINENO: checking for $ac_func" >&5
28360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28361 if eval "test \"\${$as_ac_var+set}\" = set"; then
28362 echo $ECHO_N "(cached) $ECHO_C" >&6
28364 cat >conftest.
$ac_ext <<_ACEOF
28365 #line $LINENO "configure"
28368 cat confdefs.h
>>conftest.
$ac_ext
28369 cat >>conftest.
$ac_ext <<_ACEOF
28370 /* end confdefs.h. */
28371 /* System header to define __stub macros and hopefully few prototypes,
28372 which can conflict with char $ac_func (); below.
28373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28374 <limits.h> exists even on freestanding compilers. */
28376 # include <limits.h>
28378 # include <assert.h>
28380 /* Override any gcc2 internal prototype to avoid an error. */
28385 /* We use char because int might match the return type of a gcc2
28386 builtin and then its argument prototype would still apply. */
28388 /* The GNU C library defines this for functions which it implements
28389 to always fail with ENOSYS. Some functions are actually named
28390 something starting with __ and the normal name is an alias. */
28391 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28394 char (*f) () = $ac_func;
28403 return f != $ac_func;
28408 rm -f conftest.
$ac_objext conftest
$ac_exeext
28409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28410 (eval $ac_link) 2>&5
28412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28413 (exit $ac_status); } &&
28414 { ac_try
='test -s conftest$ac_exeext'
28415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28416 (eval $ac_try) 2>&5
28418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28419 (exit $ac_status); }; }; then
28420 eval "$as_ac_var=yes"
28422 echo "$as_me: failed program was:" >&5
28423 sed 's/^/| /' conftest.
$ac_ext >&5
28425 eval "$as_ac_var=no"
28427 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28430 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28431 if test `eval echo '${'$as_ac_var'}'` = yes; then
28432 cat >>confdefs.h
<<_ACEOF
28433 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28435 cat >>confdefs.h
<<\_ACEOF
28436 #define HAVE_INET_ADDR 1
28441 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
28442 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
28443 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
28444 echo $ECHO_N "(cached) $ECHO_C" >&6
28446 ac_check_lib_save_LIBS
=$LIBS
28448 cat >conftest.
$ac_ext <<_ACEOF
28449 #line $LINENO "configure"
28452 cat confdefs.h
>>conftest.
$ac_ext
28453 cat >>conftest.
$ac_ext <<_ACEOF
28454 /* end confdefs.h. */
28456 /* Override any gcc2 internal prototype to avoid an error. */
28460 /* We use char because int might match the return type of a gcc2
28461 builtin and then its argument prototype would still apply. */
28471 rm -f conftest.
$ac_objext conftest
$ac_exeext
28472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28473 (eval $ac_link) 2>&5
28475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28476 (exit $ac_status); } &&
28477 { ac_try
='test -s conftest$ac_exeext'
28478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28479 (eval $ac_try) 2>&5
28481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28482 (exit $ac_status); }; }; then
28483 ac_cv_lib_nsl_inet_addr
=yes
28485 echo "$as_me: failed program was:" >&5
28486 sed 's/^/| /' conftest.
$ac_ext >&5
28488 ac_cv_lib_nsl_inet_addr
=no
28490 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28491 LIBS
=$ac_check_lib_save_LIBS
28493 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
28494 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
28495 if test $ac_cv_lib_nsl_inet_addr = yes; then
28498 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
28499 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
28500 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
28501 echo $ECHO_N "(cached) $ECHO_C" >&6
28503 ac_check_lib_save_LIBS
=$LIBS
28504 LIBS
="-lresolv $LIBS"
28505 cat >conftest.
$ac_ext <<_ACEOF
28506 #line $LINENO "configure"
28509 cat confdefs.h
>>conftest.
$ac_ext
28510 cat >>conftest.
$ac_ext <<_ACEOF
28511 /* end confdefs.h. */
28513 /* Override any gcc2 internal prototype to avoid an error. */
28517 /* We use char because int might match the return type of a gcc2
28518 builtin and then its argument prototype would still apply. */
28528 rm -f conftest.
$ac_objext conftest
$ac_exeext
28529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28530 (eval $ac_link) 2>&5
28532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28533 (exit $ac_status); } &&
28534 { ac_try
='test -s conftest$ac_exeext'
28535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28536 (eval $ac_try) 2>&5
28538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28539 (exit $ac_status); }; }; then
28540 ac_cv_lib_resolv_inet_addr
=yes
28542 echo "$as_me: failed program was:" >&5
28543 sed 's/^/| /' conftest.
$ac_ext >&5
28545 ac_cv_lib_resolv_inet_addr
=no
28547 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28548 LIBS
=$ac_check_lib_save_LIBS
28550 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
28551 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
28552 if test $ac_cv_lib_resolv_inet_addr = yes; then
28555 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
28556 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
28557 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
28558 echo $ECHO_N "(cached) $ECHO_C" >&6
28560 ac_check_lib_save_LIBS
=$LIBS
28561 LIBS
="-lsocket $LIBS"
28562 cat >conftest.
$ac_ext <<_ACEOF
28563 #line $LINENO "configure"
28566 cat confdefs.h
>>conftest.
$ac_ext
28567 cat >>conftest.
$ac_ext <<_ACEOF
28568 /* end confdefs.h. */
28570 /* Override any gcc2 internal prototype to avoid an error. */
28574 /* We use char because int might match the return type of a gcc2
28575 builtin and then its argument prototype would still apply. */
28585 rm -f conftest.
$ac_objext conftest
$ac_exeext
28586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28587 (eval $ac_link) 2>&5
28589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28590 (exit $ac_status); } &&
28591 { ac_try
='test -s conftest$ac_exeext'
28592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28593 (eval $ac_try) 2>&5
28595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28596 (exit $ac_status); }; }; then
28597 ac_cv_lib_socket_inet_addr
=yes
28599 echo "$as_me: failed program was:" >&5
28600 sed 's/^/| /' conftest.
$ac_ext >&5
28602 ac_cv_lib_socket_inet_addr
=no
28604 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28605 LIBS
=$ac_check_lib_save_LIBS
28607 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
28608 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
28609 if test $ac_cv_lib_socket_inet_addr = yes; then
28627 for ac_func
in inet_aton
28629 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28630 echo "$as_me:$LINENO: checking for $ac_func" >&5
28631 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28632 if eval "test \"\${$as_ac_var+set}\" = set"; then
28633 echo $ECHO_N "(cached) $ECHO_C" >&6
28635 cat >conftest.
$ac_ext <<_ACEOF
28636 #line $LINENO "configure"
28639 cat confdefs.h
>>conftest.
$ac_ext
28640 cat >>conftest.
$ac_ext <<_ACEOF
28641 /* end confdefs.h. */
28642 /* System header to define __stub macros and hopefully few prototypes,
28643 which can conflict with char $ac_func (); below.
28644 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28645 <limits.h> exists even on freestanding compilers. */
28647 # include <limits.h>
28649 # include <assert.h>
28651 /* Override any gcc2 internal prototype to avoid an error. */
28656 /* We use char because int might match the return type of a gcc2
28657 builtin and then its argument prototype would still apply. */
28659 /* The GNU C library defines this for functions which it implements
28660 to always fail with ENOSYS. Some functions are actually named
28661 something starting with __ and the normal name is an alias. */
28662 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28665 char (*f) () = $ac_func;
28674 return f != $ac_func;
28679 rm -f conftest.
$ac_objext conftest
$ac_exeext
28680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28681 (eval $ac_link) 2>&5
28683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28684 (exit $ac_status); } &&
28685 { ac_try
='test -s conftest$ac_exeext'
28686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28687 (eval $ac_try) 2>&5
28689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28690 (exit $ac_status); }; }; then
28691 eval "$as_ac_var=yes"
28693 echo "$as_me: failed program was:" >&5
28694 sed 's/^/| /' conftest.
$ac_ext >&5
28696 eval "$as_ac_var=no"
28698 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28700 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28701 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28702 if test `eval echo '${'$as_ac_var'}'` = yes; then
28703 cat >>confdefs.h
<<_ACEOF
28704 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28706 cat >>confdefs.h
<<\_ACEOF
28707 #define HAVE_INET_ATON 1
28712 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
28713 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
28714 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
28715 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
28716 echo $ECHO_N "(cached) $ECHO_C" >&6
28718 ac_check_lib_save_LIBS
=$LIBS
28719 LIBS
="-l$INET_LINK $LIBS"
28720 cat >conftest.
$ac_ext <<_ACEOF
28721 #line $LINENO "configure"
28724 cat confdefs.h
>>conftest.
$ac_ext
28725 cat >>conftest.
$ac_ext <<_ACEOF
28726 /* end confdefs.h. */
28728 /* Override any gcc2 internal prototype to avoid an error. */
28732 /* We use char because int might match the return type of a gcc2
28733 builtin and then its argument prototype would still apply. */
28743 rm -f conftest.
$ac_objext conftest
$ac_exeext
28744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28745 (eval $ac_link) 2>&5
28747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28748 (exit $ac_status); } &&
28749 { ac_try
='test -s conftest$ac_exeext'
28750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28751 (eval $ac_try) 2>&5
28753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28754 (exit $ac_status); }; }; then
28755 eval "$as_ac_Lib=yes"
28757 echo "$as_me: failed program was:" >&5
28758 sed 's/^/| /' conftest.
$ac_ext >&5
28760 eval "$as_ac_Lib=no"
28762 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28763 LIBS
=$ac_check_lib_save_LIBS
28765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
28766 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
28767 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
28768 cat >>confdefs.h
<<\_ACEOF
28769 #define HAVE_INET_ATON 1
28779 if test "x$INET_LINK" != "x"; then
28780 cat >>confdefs.h
<<\_ACEOF
28781 #define HAVE_INET_ADDR 1
28784 INET_LINK
=" -l$INET_LINK"
28792 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
28793 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
28794 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
28795 echo $ECHO_N "(cached) $ECHO_C" >&6
28797 ac_check_lib_save_LIBS
=$LIBS
28799 cat >conftest.
$ac_ext <<_ACEOF
28800 #line $LINENO "configure"
28803 cat confdefs.h
>>conftest.
$ac_ext
28804 cat >>conftest.
$ac_ext <<_ACEOF
28805 /* end confdefs.h. */
28807 /* Override any gcc2 internal prototype to avoid an error. */
28811 /* We use char because int might match the return type of a gcc2
28812 builtin and then its argument prototype would still apply. */
28822 rm -f conftest.
$ac_objext conftest
$ac_exeext
28823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28824 (eval $ac_link) 2>&5
28826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28827 (exit $ac_status); } &&
28828 { ac_try
='test -s conftest$ac_exeext'
28829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28830 (eval $ac_try) 2>&5
28832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28833 (exit $ac_status); }; }; then
28834 ac_cv_lib_esd_esd_close
=yes
28836 echo "$as_me: failed program was:" >&5
28837 sed 's/^/| /' conftest.
$ac_ext >&5
28839 ac_cv_lib_esd_esd_close
=no
28841 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28842 LIBS
=$ac_check_lib_save_LIBS
28844 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
28845 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
28846 if test $ac_cv_lib_esd_esd_close = yes; then
28849 for ac_header
in esd.h
28851 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28852 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28853 echo "$as_me:$LINENO: checking for $ac_header" >&5
28854 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28855 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28856 echo $ECHO_N "(cached) $ECHO_C" >&6
28858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28859 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28861 # Is the header compilable?
28862 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28863 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28864 cat >conftest.
$ac_ext <<_ACEOF
28865 #line $LINENO "configure"
28868 cat confdefs.h
>>conftest.
$ac_ext
28869 cat >>conftest.
$ac_ext <<_ACEOF
28870 /* end confdefs.h. */
28871 $ac_includes_default
28872 #include <$ac_header>
28874 rm -f conftest.
$ac_objext
28875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28876 (eval $ac_compile) 2>&5
28878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28879 (exit $ac_status); } &&
28880 { ac_try
='test -s conftest.$ac_objext'
28881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28882 (eval $ac_try) 2>&5
28884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28885 (exit $ac_status); }; }; then
28886 ac_header_compiler
=yes
28888 echo "$as_me: failed program was:" >&5
28889 sed 's/^/| /' conftest.
$ac_ext >&5
28891 ac_header_compiler
=no
28893 rm -f conftest.
$ac_objext conftest.
$ac_ext
28894 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28895 echo "${ECHO_T}$ac_header_compiler" >&6
28897 # Is the header present?
28898 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28899 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28900 cat >conftest.
$ac_ext <<_ACEOF
28901 #line $LINENO "configure"
28904 cat confdefs.h
>>conftest.
$ac_ext
28905 cat >>conftest.
$ac_ext <<_ACEOF
28906 /* end confdefs.h. */
28907 #include <$ac_header>
28909 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28910 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28912 grep -v '^ *+' conftest.er1
>conftest.err
28914 cat conftest.err
>&5
28915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28916 (exit $ac_status); } >/dev
/null
; then
28917 if test -s conftest.err
; then
28918 ac_cpp_err
=$ac_c_preproc_warn_flag
28925 if test -z "$ac_cpp_err"; then
28926 ac_header_preproc
=yes
28928 echo "$as_me: failed program was:" >&5
28929 sed 's/^/| /' conftest.
$ac_ext >&5
28931 ac_header_preproc
=no
28933 rm -f conftest.err conftest.
$ac_ext
28934 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28935 echo "${ECHO_T}$ac_header_preproc" >&6
28937 # So? What about this header?
28938 case $ac_header_compiler:$ac_header_preproc in
28940 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28941 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28942 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28943 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28946 ## ------------------------------------ ##
28947 ## Report this to bug-autoconf@gnu.org. ##
28948 ## ------------------------------------ ##
28951 sed "s/^/$as_me: WARNING: /" >&2
28954 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28955 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28956 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28957 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28958 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28959 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28962 ## ------------------------------------ ##
28963 ## Report this to bug-autoconf@gnu.org. ##
28964 ## ------------------------------------ ##
28967 sed "s/^/$as_me: WARNING: /" >&2
28970 echo "$as_me:$LINENO: checking for $ac_header" >&5
28971 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28972 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28973 echo $ECHO_N "(cached) $ECHO_C" >&6
28975 eval "$as_ac_Header=$ac_header_preproc"
28977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28978 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28981 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28982 cat >>confdefs.h
<<_ACEOF
28983 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28986 EXTRALIBS_ESD
="-lesd"
28999 cat >confcache
<<\_ACEOF
29000 # This file is a shell script that caches the results of configure
29001 # tests run on this system so they can be shared between configure
29002 # scripts and configure runs, see configure's option --config-cache.
29003 # It is not useful on other systems. If it contains results you don't
29004 # want to keep, you may remove or edit it.
29006 # config.status only pays attention to the cache file if you give it
29007 # the --recheck option to rerun configure.
29009 # `ac_cv_env_foo' variables (set or unset) will be overridden when
29010 # loading this file, other *unset* `ac_cv_foo' will be assigned the
29011 # following values.
29015 # The following way of writing the cache mishandles newlines in values,
29016 # but we know of no workaround that is simple, portable, and efficient.
29017 # So, don't put newlines in cache variables' values.
29018 # Ultrix sh set writes to stderr and can't be redirected directly,
29019 # and sets the high bit in the cache file unless we assign to the vars.
29022 case `(ac_space=' '; set | grep ac_space) 2>&1` in
29024 # `set' does not quote correctly, so add quotes (double-quote
29025 # substitution turns \\\\ into \\, and sed turns \\ into \).
29028 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
29031 # `set' quotes correctly as required by POSIX, so do not add quotes.
29033 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
29040 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
29042 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
29044 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
29045 if test -w $cache_file; then
29046 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
29047 cat confcache
>$cache_file
29049 echo "not updating unwritable cache $cache_file"
29056 if test "$TOOLKIT" != "MSW"; then
29062 if test "$wxUSE_THREADS" = "yes" ; then
29063 if test "$USE_BEOS" = 1; then
29064 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
29065 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
29070 if test "$wxUSE_THREADS" = "yes" ; then
29073 THREAD_OPTS
="-pthread"
29075 *-*-solaris2* | *-*-sunos4* )
29076 if test "x$GCC" = "xyes"; then
29077 THREAD_OPTS
="-pthreads $THREAD_OPTS"
29079 THREAD_OPTS
="-mt $THREAD_OPTS"
29083 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
29085 *-*-darwin* | *-*-cygwin* )
29089 THREAD_OPTS
="pthreads"
29092 if test "x$GCC" != "xyes"; then
29098 if test "x$GCC" = "xyes"; then
29104 if test "x$GCC" != "xyes"; then
29105 THREAD_OPTS
="-Ethread"
29110 THREAD_OPTS
="$THREAD_OPTS pthread none"
29113 for flag
in $THREAD_OPTS; do
29116 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
29117 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
29121 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
29122 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
29123 THREADS_CFLAGS
="$flag"
29127 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
29128 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
29129 THREADS_LINK
="-l$flag"
29134 save_CFLAGS
="$CFLAGS"
29135 LIBS
="$THREADS_LINK $LIBS"
29136 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
29138 cat >conftest.
$ac_ext <<_ACEOF
29139 #line $LINENO "configure"
29142 cat confdefs.h
>>conftest.
$ac_ext
29143 cat >>conftest.
$ac_ext <<_ACEOF
29144 /* end confdefs.h. */
29145 #include <pthread.h>
29149 pthread_create(0,0,0,0);
29154 rm -f conftest.
$ac_objext conftest
$ac_exeext
29155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29156 (eval $ac_link) 2>&5
29158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29159 (exit $ac_status); } &&
29160 { ac_try
='test -s conftest$ac_exeext'
29161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29162 (eval $ac_try) 2>&5
29164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29165 (exit $ac_status); }; }; then
29168 echo "$as_me: failed program was:" >&5
29169 sed 's/^/| /' conftest.
$ac_ext >&5
29172 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29175 CFLAGS
="$save_CFLAGS"
29177 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
29178 echo "${ECHO_T}$THREADS_OK" >&6
29179 if test "x$THREADS_OK" = "xyes"; then
29187 if test "x$THREADS_OK" != "xyes"; then
29189 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
29190 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
29192 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
29193 LIBS
="$THREADS_LINK $LIBS"
29195 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
29196 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
29200 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
29201 flag
="-D_THREAD_SAFE"
29204 flag
="-D_THREAD_SAFE"
29207 flag
="-D_REENTRANT"
29208 if test "x$GCC" != "xyes"; then
29209 flag
="$flag -D_RWSTD_MULTI_THREAD"
29212 *solaris
* | alpha
*-osf*)
29213 flag
="-D_REENTRANT"
29216 echo "$as_me:$LINENO: result: ${flag}" >&5
29217 echo "${ECHO_T}${flag}" >&6
29218 if test "x$flag" != xno
; then
29219 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
29222 if test "x$THREADS_CFLAGS" != "x"; then
29223 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
29224 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
29229 if test "$wxUSE_THREADS" = "yes" ; then
29231 for ac_func
in thr_setconcurrency
29233 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29234 echo "$as_me:$LINENO: checking for $ac_func" >&5
29235 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29236 if eval "test \"\${$as_ac_var+set}\" = set"; then
29237 echo $ECHO_N "(cached) $ECHO_C" >&6
29239 cat >conftest.
$ac_ext <<_ACEOF
29240 #line $LINENO "configure"
29243 cat confdefs.h
>>conftest.
$ac_ext
29244 cat >>conftest.
$ac_ext <<_ACEOF
29245 /* end confdefs.h. */
29246 /* System header to define __stub macros and hopefully few prototypes,
29247 which can conflict with char $ac_func (); below.
29248 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29249 <limits.h> exists even on freestanding compilers. */
29251 # include <limits.h>
29253 # include <assert.h>
29255 /* Override any gcc2 internal prototype to avoid an error. */
29260 /* We use char because int might match the return type of a gcc2
29261 builtin and then its argument prototype would still apply. */
29263 /* The GNU C library defines this for functions which it implements
29264 to always fail with ENOSYS. Some functions are actually named
29265 something starting with __ and the normal name is an alias. */
29266 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29269 char (*f) () = $ac_func;
29278 return f != $ac_func;
29283 rm -f conftest.
$ac_objext conftest
$ac_exeext
29284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29285 (eval $ac_link) 2>&5
29287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29288 (exit $ac_status); } &&
29289 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
29295 eval "$as_ac_var=yes"
29297 echo "$as_me: failed program was:" >&5
29298 sed 's/^/| /' conftest.
$ac_ext >&5
29300 eval "$as_ac_var=no"
29302 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29305 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29306 if test `eval echo '${'$as_ac_var'}'` = yes; then
29307 cat >>confdefs.h
<<_ACEOF
29308 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29316 for ac_header
in sched.h
29318 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29319 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29320 echo "$as_me:$LINENO: checking for $ac_header" >&5
29321 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29322 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29323 echo $ECHO_N "(cached) $ECHO_C" >&6
29325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29326 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29328 # Is the header compilable?
29329 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29330 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29331 cat >conftest.
$ac_ext <<_ACEOF
29332 #line $LINENO "configure"
29335 cat confdefs.h
>>conftest.
$ac_ext
29336 cat >>conftest.
$ac_ext <<_ACEOF
29337 /* end confdefs.h. */
29338 $ac_includes_default
29339 #include <$ac_header>
29341 rm -f conftest.
$ac_objext
29342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29343 (eval $ac_compile) 2>&5
29345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29346 (exit $ac_status); } &&
29347 { ac_try
='test -s conftest.$ac_objext'
29348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29349 (eval $ac_try) 2>&5
29351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29352 (exit $ac_status); }; }; then
29353 ac_header_compiler
=yes
29355 echo "$as_me: failed program was:" >&5
29356 sed 's/^/| /' conftest.
$ac_ext >&5
29358 ac_header_compiler
=no
29360 rm -f conftest.
$ac_objext conftest.
$ac_ext
29361 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29362 echo "${ECHO_T}$ac_header_compiler" >&6
29364 # Is the header present?
29365 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29366 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29367 cat >conftest.
$ac_ext <<_ACEOF
29368 #line $LINENO "configure"
29371 cat confdefs.h
>>conftest.
$ac_ext
29372 cat >>conftest.
$ac_ext <<_ACEOF
29373 /* end confdefs.h. */
29374 #include <$ac_header>
29376 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29377 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29379 grep -v '^ *+' conftest.er1
>conftest.err
29381 cat conftest.err
>&5
29382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29383 (exit $ac_status); } >/dev
/null
; then
29384 if test -s conftest.err
; then
29385 ac_cpp_err
=$ac_c_preproc_warn_flag
29392 if test -z "$ac_cpp_err"; then
29393 ac_header_preproc
=yes
29395 echo "$as_me: failed program was:" >&5
29396 sed 's/^/| /' conftest.
$ac_ext >&5
29398 ac_header_preproc
=no
29400 rm -f conftest.err conftest.
$ac_ext
29401 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29402 echo "${ECHO_T}$ac_header_preproc" >&6
29404 # So? What about this header?
29405 case $ac_header_compiler:$ac_header_preproc in
29407 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29408 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29409 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29410 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29413 ## ------------------------------------ ##
29414 ## Report this to bug-autoconf@gnu.org. ##
29415 ## ------------------------------------ ##
29418 sed "s/^/$as_me: WARNING: /" >&2
29421 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29422 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29423 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29424 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29425 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29426 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29429 ## ------------------------------------ ##
29430 ## Report this to bug-autoconf@gnu.org. ##
29431 ## ------------------------------------ ##
29434 sed "s/^/$as_me: WARNING: /" >&2
29437 echo "$as_me:$LINENO: checking for $ac_header" >&5
29438 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29439 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29440 echo $ECHO_N "(cached) $ECHO_C" >&6
29442 eval "$as_ac_Header=$ac_header_preproc"
29444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29445 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29448 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29449 cat >>confdefs.h
<<_ACEOF
29450 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29457 if test "$ac_cv_header_sched_h" = "yes"; then
29458 echo "$as_me:$LINENO: checking for sched_yield" >&5
29459 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
29460 if test "${ac_cv_func_sched_yield+set}" = set; then
29461 echo $ECHO_N "(cached) $ECHO_C" >&6
29463 cat >conftest.
$ac_ext <<_ACEOF
29464 #line $LINENO "configure"
29467 cat confdefs.h
>>conftest.
$ac_ext
29468 cat >>conftest.
$ac_ext <<_ACEOF
29469 /* end confdefs.h. */
29470 /* System header to define __stub macros and hopefully few prototypes,
29471 which can conflict with char sched_yield (); below.
29472 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29473 <limits.h> exists even on freestanding compilers. */
29475 # include <limits.h>
29477 # include <assert.h>
29479 /* Override any gcc2 internal prototype to avoid an error. */
29484 /* We use char because int might match the return type of a gcc2
29485 builtin and then its argument prototype would still apply. */
29486 char sched_yield ();
29487 /* The GNU C library defines this for functions which it implements
29488 to always fail with ENOSYS. Some functions are actually named
29489 something starting with __ and the normal name is an alias. */
29490 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
29493 char (*f) () = sched_yield;
29502 return f != sched_yield;
29507 rm -f conftest.
$ac_objext conftest
$ac_exeext
29508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29509 (eval $ac_link) 2>&5
29511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29512 (exit $ac_status); } &&
29513 { ac_try
='test -s conftest$ac_exeext'
29514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29515 (eval $ac_try) 2>&5
29517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29518 (exit $ac_status); }; }; then
29519 ac_cv_func_sched_yield
=yes
29521 echo "$as_me: failed program was:" >&5
29522 sed 's/^/| /' conftest.
$ac_ext >&5
29524 ac_cv_func_sched_yield
=no
29526 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29528 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
29529 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
29530 if test $ac_cv_func_sched_yield = yes; then
29531 cat >>confdefs.h
<<\_ACEOF
29532 #define HAVE_SCHED_YIELD 1
29537 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
29538 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
29539 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
29540 echo $ECHO_N "(cached) $ECHO_C" >&6
29542 ac_check_lib_save_LIBS
=$LIBS
29543 LIBS
="-lposix4 $LIBS"
29544 cat >conftest.
$ac_ext <<_ACEOF
29545 #line $LINENO "configure"
29548 cat confdefs.h
>>conftest.
$ac_ext
29549 cat >>conftest.
$ac_ext <<_ACEOF
29550 /* end confdefs.h. */
29552 /* Override any gcc2 internal prototype to avoid an error. */
29556 /* We use char because int might match the return type of a gcc2
29557 builtin and then its argument prototype would still apply. */
29558 char sched_yield ();
29567 rm -f conftest.
$ac_objext conftest
$ac_exeext
29568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29569 (eval $ac_link) 2>&5
29571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29572 (exit $ac_status); } &&
29573 { ac_try
='test -s conftest$ac_exeext'
29574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29575 (eval $ac_try) 2>&5
29577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29578 (exit $ac_status); }; }; then
29579 ac_cv_lib_posix4_sched_yield
=yes
29581 echo "$as_me: failed program was:" >&5
29582 sed 's/^/| /' conftest.
$ac_ext >&5
29584 ac_cv_lib_posix4_sched_yield
=no
29586 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29587 LIBS
=$ac_check_lib_save_LIBS
29589 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
29590 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
29591 if test $ac_cv_lib_posix4_sched_yield = yes; then
29592 cat >>confdefs.h
<<\_ACEOF
29593 #define HAVE_SCHED_YIELD 1
29595 POSIX4_LINK
=" -lposix4"
29597 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
29598 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
29609 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
29610 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
29611 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
29612 echo $ECHO_N "(cached) $ECHO_C" >&6
29614 cat >conftest.
$ac_ext <<_ACEOF
29615 #line $LINENO "configure"
29618 cat confdefs.h
>>conftest.
$ac_ext
29619 cat >>conftest.
$ac_ext <<_ACEOF
29620 /* end confdefs.h. */
29621 /* System header to define __stub macros and hopefully few prototypes,
29622 which can conflict with char pthread_attr_getschedpolicy (); below.
29623 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29624 <limits.h> exists even on freestanding compilers. */
29626 # include <limits.h>
29628 # include <assert.h>
29630 /* Override any gcc2 internal prototype to avoid an error. */
29635 /* We use char because int might match the return type of a gcc2
29636 builtin and then its argument prototype would still apply. */
29637 char pthread_attr_getschedpolicy ();
29638 /* The GNU C library defines this for functions which it implements
29639 to always fail with ENOSYS. Some functions are actually named
29640 something starting with __ and the normal name is an alias. */
29641 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
29644 char (*f) () = pthread_attr_getschedpolicy;
29653 return f != pthread_attr_getschedpolicy;
29658 rm -f conftest.
$ac_objext conftest
$ac_exeext
29659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29660 (eval $ac_link) 2>&5
29662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29663 (exit $ac_status); } &&
29664 { ac_try
='test -s conftest$ac_exeext'
29665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29666 (eval $ac_try) 2>&5
29668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29669 (exit $ac_status); }; }; then
29670 ac_cv_func_pthread_attr_getschedpolicy
=yes
29672 echo "$as_me: failed program was:" >&5
29673 sed 's/^/| /' conftest.
$ac_ext >&5
29675 ac_cv_func_pthread_attr_getschedpolicy
=no
29677 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29679 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
29680 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
29681 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
29682 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
29683 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
29684 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
29685 echo $ECHO_N "(cached) $ECHO_C" >&6
29687 cat >conftest.
$ac_ext <<_ACEOF
29688 #line $LINENO "configure"
29691 cat confdefs.h
>>conftest.
$ac_ext
29692 cat >>conftest.
$ac_ext <<_ACEOF
29693 /* end confdefs.h. */
29694 /* System header to define __stub macros and hopefully few prototypes,
29695 which can conflict with char pthread_attr_setschedparam (); below.
29696 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29697 <limits.h> exists even on freestanding compilers. */
29699 # include <limits.h>
29701 # include <assert.h>
29703 /* Override any gcc2 internal prototype to avoid an error. */
29708 /* We use char because int might match the return type of a gcc2
29709 builtin and then its argument prototype would still apply. */
29710 char pthread_attr_setschedparam ();
29711 /* The GNU C library defines this for functions which it implements
29712 to always fail with ENOSYS. Some functions are actually named
29713 something starting with __ and the normal name is an alias. */
29714 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
29717 char (*f) () = pthread_attr_setschedparam;
29726 return f != pthread_attr_setschedparam;
29731 rm -f conftest.
$ac_objext conftest
$ac_exeext
29732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29733 (eval $ac_link) 2>&5
29735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29736 (exit $ac_status); } &&
29737 { ac_try
='test -s conftest$ac_exeext'
29738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29739 (eval $ac_try) 2>&5
29741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29742 (exit $ac_status); }; }; then
29743 ac_cv_func_pthread_attr_setschedparam
=yes
29745 echo "$as_me: failed program was:" >&5
29746 sed 's/^/| /' conftest.
$ac_ext >&5
29748 ac_cv_func_pthread_attr_setschedparam
=no
29750 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29752 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
29753 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
29754 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
29755 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
29756 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
29757 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
29758 echo $ECHO_N "(cached) $ECHO_C" >&6
29760 cat >conftest.
$ac_ext <<_ACEOF
29761 #line $LINENO "configure"
29764 cat confdefs.h
>>conftest.
$ac_ext
29765 cat >>conftest.
$ac_ext <<_ACEOF
29766 /* end confdefs.h. */
29767 /* System header to define __stub macros and hopefully few prototypes,
29768 which can conflict with char sched_get_priority_max (); below.
29769 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29770 <limits.h> exists even on freestanding compilers. */
29772 # include <limits.h>
29774 # include <assert.h>
29776 /* Override any gcc2 internal prototype to avoid an error. */
29781 /* We use char because int might match the return type of a gcc2
29782 builtin and then its argument prototype would still apply. */
29783 char sched_get_priority_max ();
29784 /* The GNU C library defines this for functions which it implements
29785 to always fail with ENOSYS. Some functions are actually named
29786 something starting with __ and the normal name is an alias. */
29787 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
29790 char (*f) () = sched_get_priority_max;
29799 return f != sched_get_priority_max;
29804 rm -f conftest.
$ac_objext conftest
$ac_exeext
29805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29806 (eval $ac_link) 2>&5
29808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29809 (exit $ac_status); } &&
29810 { ac_try
='test -s conftest$ac_exeext'
29811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29812 (eval $ac_try) 2>&5
29814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29815 (exit $ac_status); }; }; then
29816 ac_cv_func_sched_get_priority_max
=yes
29818 echo "$as_me: failed program was:" >&5
29819 sed 's/^/| /' conftest.
$ac_ext >&5
29821 ac_cv_func_sched_get_priority_max
=no
29823 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29825 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
29826 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
29827 if test $ac_cv_func_sched_get_priority_max = yes; then
29830 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
29831 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
29832 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
29833 echo $ECHO_N "(cached) $ECHO_C" >&6
29835 ac_check_lib_save_LIBS
=$LIBS
29836 LIBS
="-lposix4 $LIBS"
29837 cat >conftest.
$ac_ext <<_ACEOF
29838 #line $LINENO "configure"
29841 cat confdefs.h
>>conftest.
$ac_ext
29842 cat >>conftest.
$ac_ext <<_ACEOF
29843 /* end confdefs.h. */
29845 /* Override any gcc2 internal prototype to avoid an error. */
29849 /* We use char because int might match the return type of a gcc2
29850 builtin and then its argument prototype would still apply. */
29851 char sched_get_priority_max ();
29855 sched_get_priority_max ();
29860 rm -f conftest.
$ac_objext conftest
$ac_exeext
29861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29862 (eval $ac_link) 2>&5
29864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29865 (exit $ac_status); } &&
29866 { ac_try
='test -s conftest$ac_exeext'
29867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29868 (eval $ac_try) 2>&5
29870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29871 (exit $ac_status); }; }; then
29872 ac_cv_lib_posix4_sched_get_priority_max
=yes
29874 echo "$as_me: failed program was:" >&5
29875 sed 's/^/| /' conftest.
$ac_ext >&5
29877 ac_cv_lib_posix4_sched_get_priority_max
=no
29879 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29880 LIBS
=$ac_check_lib_save_LIBS
29882 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
29883 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
29884 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
29887 POSIX4_LINK
=" -lposix4"
29901 if test "$HAVE_PRIOR_FUNCS" = 1; then
29902 cat >>confdefs.h
<<\_ACEOF
29903 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
29907 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
29908 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
29911 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
29912 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
29913 if test "${ac_cv_func_pthread_cancel+set}" = set; then
29914 echo $ECHO_N "(cached) $ECHO_C" >&6
29916 cat >conftest.
$ac_ext <<_ACEOF
29917 #line $LINENO "configure"
29920 cat confdefs.h
>>conftest.
$ac_ext
29921 cat >>conftest.
$ac_ext <<_ACEOF
29922 /* end confdefs.h. */
29923 /* System header to define __stub macros and hopefully few prototypes,
29924 which can conflict with char pthread_cancel (); below.
29925 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29926 <limits.h> exists even on freestanding compilers. */
29928 # include <limits.h>
29930 # include <assert.h>
29932 /* Override any gcc2 internal prototype to avoid an error. */
29937 /* We use char because int might match the return type of a gcc2
29938 builtin and then its argument prototype would still apply. */
29939 char pthread_cancel ();
29940 /* The GNU C library defines this for functions which it implements
29941 to always fail with ENOSYS. Some functions are actually named
29942 something starting with __ and the normal name is an alias. */
29943 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
29946 char (*f) () = pthread_cancel;
29955 return f != pthread_cancel;
29960 rm -f conftest.
$ac_objext conftest
$ac_exeext
29961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29962 (eval $ac_link) 2>&5
29964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29965 (exit $ac_status); } &&
29966 { ac_try
='test -s conftest$ac_exeext'
29967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29968 (eval $ac_try) 2>&5
29970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29971 (exit $ac_status); }; }; then
29972 ac_cv_func_pthread_cancel
=yes
29974 echo "$as_me: failed program was:" >&5
29975 sed 's/^/| /' conftest.
$ac_ext >&5
29977 ac_cv_func_pthread_cancel
=no
29979 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29981 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
29982 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
29983 if test $ac_cv_func_pthread_cancel = yes; then
29984 cat >>confdefs.h
<<\_ACEOF
29985 #define HAVE_PTHREAD_CANCEL 1
29989 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
29990 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
29994 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
29995 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
29996 if test "${wx_cv_func_pthread_cleanup_push+set}" = set; then
29997 echo $ECHO_N "(cached) $ECHO_C" >&6
30000 cat >conftest.
$ac_ext <<_ACEOF
30001 #line $LINENO "configure"
30004 cat confdefs.h
>>conftest.
$ac_ext
30005 cat >>conftest.
$ac_ext <<_ACEOF
30006 /* end confdefs.h. */
30007 #include <pthread.h>
30012 pthread_cleanup_push(NULL, NULL);
30013 pthread_cleanup_pop(0);
30019 rm -f conftest.
$ac_objext
30020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30021 (eval $ac_compile) 2>&5
30023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30024 (exit $ac_status); } &&
30025 { ac_try
='test -s conftest.$ac_objext'
30026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30027 (eval $ac_try) 2>&5
30029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30030 (exit $ac_status); }; }; then
30032 wx_cv_func_pthread_cleanup_push
=yes
30035 echo "$as_me: failed program was:" >&5
30036 sed 's/^/| /' conftest.
$ac_ext >&5
30039 wx_cv_func_pthread_cleanup_push
=no
30042 rm -f conftest.
$ac_objext conftest.
$ac_ext
30045 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup_push" >&5
30046 echo "${ECHO_T}$wx_cv_func_pthread_cleanup_push" >&6
30048 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
30049 cat >>confdefs.h
<<\_ACEOF
30050 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
30056 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
30057 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
30058 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
30059 echo $ECHO_N "(cached) $ECHO_C" >&6
30062 cat >conftest.
$ac_ext <<_ACEOF
30063 #line $LINENO "configure"
30066 cat confdefs.h
>>conftest.
$ac_ext
30067 cat >>conftest.
$ac_ext <<_ACEOF
30068 /* end confdefs.h. */
30069 #include <pthread.h>
30074 pthread_mutexattr_t attr;
30075 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
30081 rm -f conftest.
$ac_objext
30082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30083 (eval $ac_compile) 2>&5
30085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30086 (exit $ac_status); } &&
30087 { ac_try
='test -s conftest.$ac_objext'
30088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30089 (eval $ac_try) 2>&5
30091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30092 (exit $ac_status); }; }; then
30094 wx_cv_type_pthread_mutexattr_t
=yes
30097 echo "$as_me: failed program was:" >&5
30098 sed 's/^/| /' conftest.
$ac_ext >&5
30101 wx_cv_type_pthread_mutexattr_t
=no
30105 rm -f conftest.
$ac_objext conftest.
$ac_ext
30108 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
30109 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
30111 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
30112 cat >>confdefs.h
<<\_ACEOF
30113 #define HAVE_PTHREAD_MUTEXATTR_T 1
30117 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
30118 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
30119 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
30120 echo $ECHO_N "(cached) $ECHO_C" >&6
30123 cat >conftest.
$ac_ext <<_ACEOF
30124 #line $LINENO "configure"
30127 cat confdefs.h
>>conftest.
$ac_ext
30128 cat >>conftest.
$ac_ext <<_ACEOF
30129 /* end confdefs.h. */
30130 #include <pthread.h>
30135 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
30141 rm -f conftest.
$ac_objext
30142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30143 (eval $ac_compile) 2>&5
30145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30146 (exit $ac_status); } &&
30147 { ac_try
='test -s conftest.$ac_objext'
30148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30149 (eval $ac_try) 2>&5
30151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30152 (exit $ac_status); }; }; then
30154 wx_cv_type_pthread_rec_mutex_init
=yes
30157 echo "$as_me: failed program was:" >&5
30158 sed 's/^/| /' conftest.
$ac_ext >&5
30161 wx_cv_type_pthread_rec_mutex_init
=no
30165 rm -f conftest.
$ac_objext conftest.
$ac_ext
30168 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
30169 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
30170 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
30171 cat >>confdefs.h
<<\_ACEOF
30172 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
30176 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
30177 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
30183 if test "$wxUSE_THREADS" = "yes" ; then
30186 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
30187 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
30188 if test "${wx_cv_cflags_mthread+set}" = set; then
30189 echo $ECHO_N "(cached) $ECHO_C" >&6
30192 CFLAGS_OLD
="$CFLAGS"
30193 CFLAGS
="$CFLAGS -mthreads"
30194 cat >conftest.
$ac_ext <<_ACEOF
30195 #line $LINENO "configure"
30198 cat confdefs.h
>>conftest.
$ac_ext
30199 cat >>conftest.
$ac_ext <<_ACEOF
30200 /* end confdefs.h. */
30210 rm -f conftest.
$ac_objext
30211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30212 (eval $ac_compile) 2>&5
30214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30215 (exit $ac_status); } &&
30216 { ac_try
='test -s conftest.$ac_objext'
30217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30218 (eval $ac_try) 2>&5
30220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30221 (exit $ac_status); }; }; then
30222 wx_cv_cflags_mthread
=yes
30224 echo "$as_me: failed program was:" >&5
30225 sed 's/^/| /' conftest.
$ac_ext >&5
30227 wx_cv_cflags_mthread
=no
30230 rm -f conftest.
$ac_objext conftest.
$ac_ext
30234 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
30235 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
30237 if test "$wx_cv_cflags_mthread" = "yes"; then
30238 CXXFLAGS
="$CXXFLAGS -mthreads"
30239 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
30240 LDFLAGS
="$LDFLAGS -mthreads"
30242 CFLAGS
="$CFLAGS_OLD"
30249 if test "$wxUSE_THREADS" = "yes"; then
30250 cat >>confdefs.h
<<\_ACEOF
30251 #define wxUSE_THREADS 1
30255 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
30257 if test "$ac_cv_func_strtok_r" = "yes"; then
30258 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
30259 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
30260 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
30261 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
30262 echo "$as_me:$LINENO: result: yes" >&5
30263 echo "${ECHO_T}yes" >&6
30265 echo "$as_me:$LINENO: result: no" >&5
30266 echo "${ECHO_T}no" >&6
30271 if test "$WXGTK20" = 1 ; then
30272 cat >>confdefs.h
<<_ACEOF
30273 #define __WXGTK20__ $WXGTK20
30279 if test "$WXGTK12" = 1 ; then
30280 cat >>confdefs.h
<<_ACEOF
30281 #define __WXGTK12__ $WXGTK12
30286 if test "$WXGTK127" = 1 ; then
30287 cat >>confdefs.h
<<_ACEOF
30288 #define __WXGTK127__ $WXGTK127
30295 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
30300 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
30301 wxUSE_DEBUG_INFO
=yes
30305 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
30306 cat >>confdefs.h
<<\_ACEOF
30310 WXDEBUG_DEFINE
="-D__WXDEBUG__"
30312 if test "$wxUSE_GTK" = 1 ; then
30313 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
30317 if test "$wxUSE_MEM_TRACING" = "yes" ; then
30318 cat >>confdefs.h
<<\_ACEOF
30319 #define wxUSE_MEMORY_TRACING 1
30322 cat >>confdefs.h
<<\_ACEOF
30323 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
30326 cat >>confdefs.h
<<\_ACEOF
30327 #define wxUSE_DEBUG_NEW_ALWAYS 1
30330 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
30333 if test "$wxUSE_DMALLOC" = "yes" ; then
30334 DMALLOC_LIBS
="-ldmalloc"
30338 if test "$wxUSE_PROFILE" = "yes" ; then
30343 CODE_GEN_FLAGS_CXX
=
30344 if test "$GCC" = "yes" ; then
30345 if test "$wxUSE_NO_RTTI" = "yes" ; then
30346 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
30348 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
30349 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
30351 if test "$wxUSE_PERMISSIVE" = "yes" ; then
30352 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
30357 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
30360 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
30366 if test "$wxUSE_OPTIMISE" = "no" ; then
30367 if test "$GCC" = yes ; then
30371 if test "$GCC" = yes ; then
30375 i586
-*-*|i686
-*-* )
30376 OPTIMISE
="${OPTIMISE} "
30385 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
30386 cat >>confdefs.h
<<\_ACEOF
30387 #define WXWIN_COMPATIBILITY_2 1
30391 WXWIN_COMPATIBILITY_2_2
="yes"
30394 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
30395 cat >>confdefs.h
<<\_ACEOF
30396 #define WXWIN_COMPATIBILITY_2_2 1
30400 WXWIN_COMPATIBILITY_2_4
="yes"
30403 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
30404 cat >>confdefs.h
<<\_ACEOF
30405 #define WXWIN_COMPATIBILITY_2_4 1
30411 if test "$wxUSE_GUI" = "yes"; then
30412 cat >>confdefs.h
<<\_ACEOF
30413 #define wxUSE_GUI 1
30418 cat >>confdefs.h
<<\_ACEOF
30419 #define wxUSE_NOGUI 1
30425 if test "$wxUSE_UNIX" = "yes"; then
30426 cat >>confdefs.h
<<\_ACEOF
30427 #define wxUSE_UNIX 1
30433 if test "$wxUSE_STL" = "yes"; then
30434 cat >>confdefs.h
<<\_ACEOF
30435 #define wxUSE_STL 1
30440 if test "$wxUSE_APPLE_IEEE" = "yes"; then
30441 cat >>confdefs.h
<<\_ACEOF
30442 #define wxUSE_APPLE_IEEE 1
30447 if test "$wxUSE_TIMER" = "yes"; then
30448 cat >>confdefs.h
<<\_ACEOF
30449 #define wxUSE_TIMER 1
30454 if test "$wxUSE_WAVE" = "yes"; then
30455 cat >>confdefs.h
<<\_ACEOF
30456 #define wxUSE_WAVE 1
30461 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
30462 cat >>confdefs.h
<<\_ACEOF
30463 #define wxUSE_CMDLINE_PARSER 1
30468 if test "$wxUSE_STOPWATCH" = "yes"; then
30469 cat >>confdefs.h
<<\_ACEOF
30470 #define wxUSE_STOPWATCH 1
30475 if test "$wxUSE_DATETIME" = "yes"; then
30476 cat >>confdefs.h
<<\_ACEOF
30477 #define wxUSE_DATETIME 1
30482 if test "$wxUSE_FILE" = "yes"; then
30483 cat >>confdefs.h
<<\_ACEOF
30484 #define wxUSE_FILE 1
30489 if test "$wxUSE_FFILE" = "yes"; then
30490 cat >>confdefs.h
<<\_ACEOF
30491 #define wxUSE_FFILE 1
30496 if test "$wxUSE_FILESYSTEM" = "yes"; then
30497 cat >>confdefs.h
<<\_ACEOF
30498 #define wxUSE_FILESYSTEM 1
30503 if test "$wxUSE_FS_ZIP" = "yes"; then
30504 cat >>confdefs.h
<<\_ACEOF
30505 #define wxUSE_FS_ZIP 1
30510 if test "$wxUSE_ZIPSTREAM" = "yes"; then
30511 cat >>confdefs.h
<<\_ACEOF
30512 #define wxUSE_ZIPSTREAM 1
30517 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30518 cat >>confdefs.h
<<\_ACEOF
30519 #define wxUSE_ON_FATAL_EXCEPTION 1
30524 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30525 cat >>confdefs.h
<<\_ACEOF
30526 #define wxUSE_SNGLINST_CHECKER 1
30531 if test "$wxUSE_BUSYINFO" = "yes"; then
30532 cat >>confdefs.h
<<\_ACEOF
30533 #define wxUSE_BUSYINFO 1
30538 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
30539 cat >>confdefs.h
<<\_ACEOF
30540 #define wxUSE_STD_IOSTREAM 1
30545 if test "$wxUSE_TEXTBUFFER" = "yes"; then
30546 cat >>confdefs.h
<<\_ACEOF
30547 #define wxUSE_TEXTBUFFER 1
30552 if test "$wxUSE_TEXTFILE" = "yes"; then
30553 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
30554 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
30555 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
30557 cat >>confdefs.h
<<\_ACEOF
30558 #define wxUSE_TEXTFILE 1
30564 if test "$wxUSE_CONFIG" = "yes" ; then
30565 if test "$wxUSE_TEXTFILE" != "yes"; then
30566 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
30567 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
30569 cat >>confdefs.h
<<\_ACEOF
30570 #define wxUSE_CONFIG 1
30573 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
30577 if test "$wxUSE_INTL" = "yes" ; then
30578 if test "$wxUSE_FILE" != "yes"; then
30579 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
30580 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
30582 cat >>confdefs.h
<<\_ACEOF
30583 #define wxUSE_INTL 1
30586 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
30587 GUIDIST
="$GUIDIST INTL_DIST"
30591 if test "$wxUSE_LOG" = "yes"; then
30592 cat >>confdefs.h
<<\_ACEOF
30593 #define wxUSE_LOG 1
30597 if test "$wxUSE_LOGGUI" = "yes"; then
30598 cat >>confdefs.h
<<\_ACEOF
30599 #define wxUSE_LOGGUI 1
30604 if test "$wxUSE_LOGWINDOW" = "yes"; then
30605 cat >>confdefs.h
<<\_ACEOF
30606 #define wxUSE_LOGWINDOW 1
30611 if test "$wxUSE_LOGDIALOG" = "yes"; then
30612 cat >>confdefs.h
<<\_ACEOF
30613 #define wxUSE_LOG_DIALOG 1
30619 if test "$wxUSE_LONGLONG" = "yes"; then
30620 cat >>confdefs.h
<<\_ACEOF
30621 #define wxUSE_LONGLONG 1
30626 if test "$wxUSE_GEOMETRY" = "yes"; then
30627 cat >>confdefs.h
<<\_ACEOF
30628 #define wxUSE_GEOMETRY 1
30633 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
30634 cat >>confdefs.h
<<\_ACEOF
30635 #define wxUSE_DIALUP_MANAGER 1
30638 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
30641 if test "$wxUSE_STREAMS" = "yes" ; then
30642 cat >>confdefs.h
<<\_ACEOF
30643 #define wxUSE_STREAMS 1
30649 if test "$wxUSE_DATETIME" = "yes"; then
30651 for ac_func
in strptime
30653 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30654 echo "$as_me:$LINENO: checking for $ac_func" >&5
30655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30656 if eval "test \"\${$as_ac_var+set}\" = set"; then
30657 echo $ECHO_N "(cached) $ECHO_C" >&6
30659 cat >conftest.
$ac_ext <<_ACEOF
30660 #line $LINENO "configure"
30663 cat confdefs.h
>>conftest.
$ac_ext
30664 cat >>conftest.
$ac_ext <<_ACEOF
30665 /* end confdefs.h. */
30666 /* System header to define __stub macros and hopefully few prototypes,
30667 which can conflict with char $ac_func (); below.
30668 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30669 <limits.h> exists even on freestanding compilers. */
30671 # include <limits.h>
30673 # include <assert.h>
30675 /* Override any gcc2 internal prototype to avoid an error. */
30680 /* We use char because int might match the return type of a gcc2
30681 builtin and then its argument prototype would still apply. */
30683 /* The GNU C library defines this for functions which it implements
30684 to always fail with ENOSYS. Some functions are actually named
30685 something starting with __ and the normal name is an alias. */
30686 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30689 char (*f) () = $ac_func;
30698 return f != $ac_func;
30703 rm -f conftest.
$ac_objext conftest
$ac_exeext
30704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30705 (eval $ac_link) 2>&5
30707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30708 (exit $ac_status); } &&
30709 { ac_try
='test -s conftest$ac_exeext'
30710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30711 (eval $ac_try) 2>&5
30713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30714 (exit $ac_status); }; }; then
30715 eval "$as_ac_var=yes"
30717 echo "$as_me: failed program was:" >&5
30718 sed 's/^/| /' conftest.
$ac_ext >&5
30720 eval "$as_ac_var=no"
30722 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30726 if test `eval echo '${'$as_ac_var'}'` = yes; then
30727 cat >>confdefs.h
<<_ACEOF
30728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30735 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
30736 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
30737 if test "${wx_cv_var_timezone+set}" = set; then
30738 echo $ECHO_N "(cached) $ECHO_C" >&6
30741 cat >conftest.
$ac_ext <<_ACEOF
30742 #line $LINENO "configure"
30745 cat confdefs.h
>>conftest.
$ac_ext
30746 cat >>conftest.
$ac_ext <<_ACEOF
30747 /* end confdefs.h. */
30762 rm -f conftest.
$ac_objext
30763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30764 (eval $ac_compile) 2>&5
30766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30767 (exit $ac_status); } &&
30768 { ac_try
='test -s conftest.$ac_objext'
30769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30770 (eval $ac_try) 2>&5
30772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30773 (exit $ac_status); }; }; then
30775 wx_cv_var_timezone
=timezone
30778 echo "$as_me: failed program was:" >&5
30779 sed 's/^/| /' conftest.
$ac_ext >&5
30782 cat >conftest.
$ac_ext <<_ACEOF
30783 #line $LINENO "configure"
30786 cat confdefs.h
>>conftest.
$ac_ext
30787 cat >>conftest.
$ac_ext <<_ACEOF
30788 /* end confdefs.h. */
30803 rm -f conftest.
$ac_objext
30804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30805 (eval $ac_compile) 2>&5
30807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30808 (exit $ac_status); } &&
30809 { ac_try
='test -s conftest.$ac_objext'
30810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30811 (eval $ac_try) 2>&5
30813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30814 (exit $ac_status); }; }; then
30816 wx_cv_var_timezone
=_timezone
30819 echo "$as_me: failed program was:" >&5
30820 sed 's/^/| /' conftest.
$ac_ext >&5
30823 cat >conftest.
$ac_ext <<_ACEOF
30824 #line $LINENO "configure"
30827 cat confdefs.h
>>conftest.
$ac_ext
30828 cat >>conftest.
$ac_ext <<_ACEOF
30829 /* end confdefs.h. */
30844 rm -f conftest.
$ac_objext
30845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30846 (eval $ac_compile) 2>&5
30848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30849 (exit $ac_status); } &&
30850 { ac_try
='test -s conftest.$ac_objext'
30851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30852 (eval $ac_try) 2>&5
30854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30855 (exit $ac_status); }; }; then
30857 wx_cv_var_timezone
=__timezone
30860 echo "$as_me: failed program was:" >&5
30861 sed 's/^/| /' conftest.
$ac_ext >&5
30864 if test "$USE_DOS" = 0 ; then
30865 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
30866 echo "$as_me: WARNING: no timezone variable" >&2;}
30871 rm -f conftest.
$ac_objext conftest.
$ac_ext
30875 rm -f conftest.
$ac_objext conftest.
$ac_ext
30879 rm -f conftest.
$ac_objext conftest.
$ac_ext
30883 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
30884 echo "${ECHO_T}$wx_cv_var_timezone" >&6
30886 if test "x$wx_cv_var_timezone" != x
; then
30887 cat >>confdefs.h
<<_ACEOF
30888 #define WX_TIMEZONE $wx_cv_var_timezone
30894 for ac_func
in localtime
30896 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30897 echo "$as_me:$LINENO: checking for $ac_func" >&5
30898 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30899 if eval "test \"\${$as_ac_var+set}\" = set"; then
30900 echo $ECHO_N "(cached) $ECHO_C" >&6
30902 cat >conftest.
$ac_ext <<_ACEOF
30903 #line $LINENO "configure"
30906 cat confdefs.h
>>conftest.
$ac_ext
30907 cat >>conftest.
$ac_ext <<_ACEOF
30908 /* end confdefs.h. */
30909 /* System header to define __stub macros and hopefully few prototypes,
30910 which can conflict with char $ac_func (); below.
30911 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30912 <limits.h> exists even on freestanding compilers. */
30914 # include <limits.h>
30916 # include <assert.h>
30918 /* Override any gcc2 internal prototype to avoid an error. */
30923 /* We use char because int might match the return type of a gcc2
30924 builtin and then its argument prototype would still apply. */
30926 /* The GNU C library defines this for functions which it implements
30927 to always fail with ENOSYS. Some functions are actually named
30928 something starting with __ and the normal name is an alias. */
30929 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30932 char (*f) () = $ac_func;
30941 return f != $ac_func;
30946 rm -f conftest.
$ac_objext conftest
$ac_exeext
30947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30948 (eval $ac_link) 2>&5
30950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30951 (exit $ac_status); } &&
30952 { ac_try
='test -s conftest$ac_exeext'
30953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30954 (eval $ac_try) 2>&5
30956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30957 (exit $ac_status); }; }; then
30958 eval "$as_ac_var=yes"
30960 echo "$as_me: failed program was:" >&5
30961 sed 's/^/| /' conftest.
$ac_ext >&5
30963 eval "$as_ac_var=no"
30965 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30968 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30969 if test `eval echo '${'$as_ac_var'}'` = yes; then
30970 cat >>confdefs.h
<<_ACEOF
30971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30978 if test "$ac_cv_func_localtime" = "yes"; then
30979 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
30980 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
30981 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
30982 echo $ECHO_N "(cached) $ECHO_C" >&6
30985 cat >conftest.
$ac_ext <<_ACEOF
30986 #line $LINENO "configure"
30989 cat confdefs.h
>>conftest.
$ac_ext
30990 cat >>conftest.
$ac_ext <<_ACEOF
30991 /* end confdefs.h. */
31006 rm -f conftest.
$ac_objext
31007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31008 (eval $ac_compile) 2>&5
31010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31011 (exit $ac_status); } &&
31012 { ac_try
='test -s conftest.$ac_objext'
31013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31014 (eval $ac_try) 2>&5
31016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31017 (exit $ac_status); }; }; then
31019 wx_cv_struct_tm_has_gmtoff
=yes
31022 echo "$as_me: failed program was:" >&5
31023 sed 's/^/| /' conftest.
$ac_ext >&5
31025 wx_cv_struct_tm_has_gmtoff
=no
31028 rm -f conftest.
$ac_objext conftest.
$ac_ext
31031 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
31032 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
31035 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
31036 cat >>confdefs.h
<<\_ACEOF
31037 #define WX_GMTOFF_IN_TM 1
31044 for ac_func
in gettimeofday ftime
31046 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31047 echo "$as_me:$LINENO: checking for $ac_func" >&5
31048 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31049 if eval "test \"\${$as_ac_var+set}\" = set"; then
31050 echo $ECHO_N "(cached) $ECHO_C" >&6
31052 cat >conftest.
$ac_ext <<_ACEOF
31053 #line $LINENO "configure"
31056 cat confdefs.h
>>conftest.
$ac_ext
31057 cat >>conftest.
$ac_ext <<_ACEOF
31058 /* end confdefs.h. */
31059 /* System header to define __stub macros and hopefully few prototypes,
31060 which can conflict with char $ac_func (); below.
31061 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31062 <limits.h> exists even on freestanding compilers. */
31064 # include <limits.h>
31066 # include <assert.h>
31068 /* Override any gcc2 internal prototype to avoid an error. */
31073 /* We use char because int might match the return type of a gcc2
31074 builtin and then its argument prototype would still apply. */
31076 /* The GNU C library defines this for functions which it implements
31077 to always fail with ENOSYS. Some functions are actually named
31078 something starting with __ and the normal name is an alias. */
31079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31082 char (*f) () = $ac_func;
31091 return f != $ac_func;
31096 rm -f conftest.
$ac_objext conftest
$ac_exeext
31097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31098 (eval $ac_link) 2>&5
31100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31101 (exit $ac_status); } &&
31102 { ac_try
='test -s conftest$ac_exeext'
31103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31104 (eval $ac_try) 2>&5
31106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31107 (exit $ac_status); }; }; then
31108 eval "$as_ac_var=yes"
31110 echo "$as_me: failed program was:" >&5
31111 sed 's/^/| /' conftest.
$ac_ext >&5
31113 eval "$as_ac_var=no"
31115 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31118 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31119 if test `eval echo '${'$as_ac_var'}'` = yes; then
31120 cat >>confdefs.h
<<_ACEOF
31121 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31128 if test "$ac_cv_func_gettimeofday" = "yes"; then
31129 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
31130 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
31131 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
31132 echo $ECHO_N "(cached) $ECHO_C" >&6
31138 ac_cpp
='$CXXCPP $CPPFLAGS'
31139 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31140 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31141 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31144 cat >conftest.
$ac_ext <<_ACEOF
31145 #line $LINENO "configure"
31148 cat confdefs.h
>>conftest.
$ac_ext
31149 cat >>conftest.
$ac_ext <<_ACEOF
31150 /* end confdefs.h. */
31152 #include <sys/time.h>
31153 #include <unistd.h>
31160 gettimeofday(&tv, NULL);
31166 rm -f conftest.
$ac_objext
31167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31168 (eval $ac_compile) 2>&5
31170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31171 (exit $ac_status); } &&
31172 { ac_try
='test -s conftest.$ac_objext'
31173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31174 (eval $ac_try) 2>&5
31176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31177 (exit $ac_status); }; }; then
31178 wx_cv_func_gettimeofday_has_2_args
=yes
31180 echo "$as_me: failed program was:" >&5
31181 sed 's/^/| /' conftest.
$ac_ext >&5
31183 cat >conftest.
$ac_ext <<_ACEOF
31184 #line $LINENO "configure"
31187 cat confdefs.h
>>conftest.
$ac_ext
31188 cat >>conftest.
$ac_ext <<_ACEOF
31189 /* end confdefs.h. */
31191 #include <sys/time.h>
31192 #include <unistd.h>
31205 rm -f conftest.
$ac_objext
31206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31207 (eval $ac_compile) 2>&5
31209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31210 (exit $ac_status); } &&
31211 { ac_try
='test -s conftest.$ac_objext'
31212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31213 (eval $ac_try) 2>&5
31215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31216 (exit $ac_status); }; }; then
31217 wx_cv_func_gettimeofday_has_2_args
=no
31219 echo "$as_me: failed program was:" >&5
31220 sed 's/^/| /' conftest.
$ac_ext >&5
31223 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
31224 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
31225 wx_cv_func_gettimeofday_has_2_args
=unknown
31229 rm -f conftest.
$ac_objext conftest.
$ac_ext
31232 rm -f conftest.
$ac_objext conftest.
$ac_ext
31234 ac_cpp
='$CPP $CPPFLAGS'
31235 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31236 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31237 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31241 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
31242 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
31244 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
31245 cat >>confdefs.h
<<\_ACEOF
31246 #define WX_GETTIMEOFDAY_NO_TZ 1
31252 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
31256 if test "$wxUSE_SOCKETS" = "yes"; then
31257 if test "$wxUSE_MGL" = "1"; then
31258 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
31259 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
31262 if test "$wxUSE_COCOA" = "1"; then
31263 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under Cocoa... disabled" >&5
31264 echo "$as_me: WARNING: wxSocket not yet supported under Cocoa... disabled" >&2;}
31269 if test "$wxUSE_SOCKETS" = "yes"; then
31270 if test "$TOOLKIT" != "MSW"; then
31271 echo "$as_me:$LINENO: checking for socket" >&5
31272 echo $ECHO_N "checking for socket... $ECHO_C" >&6
31273 if test "${ac_cv_func_socket+set}" = set; then
31274 echo $ECHO_N "(cached) $ECHO_C" >&6
31276 cat >conftest.
$ac_ext <<_ACEOF
31277 #line $LINENO "configure"
31280 cat confdefs.h
>>conftest.
$ac_ext
31281 cat >>conftest.
$ac_ext <<_ACEOF
31282 /* end confdefs.h. */
31283 /* System header to define __stub macros and hopefully few prototypes,
31284 which can conflict with char socket (); below.
31285 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31286 <limits.h> exists even on freestanding compilers. */
31288 # include <limits.h>
31290 # include <assert.h>
31292 /* Override any gcc2 internal prototype to avoid an error. */
31297 /* We use char because int might match the return type of a gcc2
31298 builtin and then its argument prototype would still apply. */
31300 /* The GNU C library defines this for functions which it implements
31301 to always fail with ENOSYS. Some functions are actually named
31302 something starting with __ and the normal name is an alias. */
31303 #if defined (__stub_socket) || defined (__stub___socket)
31306 char (*f) () = socket;
31315 return f != socket;
31320 rm -f conftest.
$ac_objext conftest
$ac_exeext
31321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31322 (eval $ac_link) 2>&5
31324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31325 (exit $ac_status); } &&
31326 { ac_try
='test -s conftest$ac_exeext'
31327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31328 (eval $ac_try) 2>&5
31330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31331 (exit $ac_status); }; }; then
31332 ac_cv_func_socket
=yes
31334 echo "$as_me: failed program was:" >&5
31335 sed 's/^/| /' conftest.
$ac_ext >&5
31337 ac_cv_func_socket
=no
31339 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31341 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
31342 echo "${ECHO_T}$ac_cv_func_socket" >&6
31343 if test $ac_cv_func_socket = yes; then
31346 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
31347 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
31348 if test "${ac_cv_lib_socket_socket+set}" = set; then
31349 echo $ECHO_N "(cached) $ECHO_C" >&6
31351 ac_check_lib_save_LIBS
=$LIBS
31352 LIBS
="-lsocket $LIBS"
31353 cat >conftest.
$ac_ext <<_ACEOF
31354 #line $LINENO "configure"
31357 cat confdefs.h
>>conftest.
$ac_ext
31358 cat >>conftest.
$ac_ext <<_ACEOF
31359 /* end confdefs.h. */
31361 /* Override any gcc2 internal prototype to avoid an error. */
31365 /* We use char because int might match the return type of a gcc2
31366 builtin and then its argument prototype would still apply. */
31376 rm -f conftest.
$ac_objext conftest
$ac_exeext
31377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31378 (eval $ac_link) 2>&5
31380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31381 (exit $ac_status); } &&
31382 { ac_try
='test -s conftest$ac_exeext'
31383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31384 (eval $ac_try) 2>&5
31386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31387 (exit $ac_status); }; }; then
31388 ac_cv_lib_socket_socket
=yes
31390 echo "$as_me: failed program was:" >&5
31391 sed 's/^/| /' conftest.
$ac_ext >&5
31393 ac_cv_lib_socket_socket
=no
31395 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31396 LIBS
=$ac_check_lib_save_LIBS
31398 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
31399 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
31400 if test $ac_cv_lib_socket_socket = yes; then
31401 if test "$INET_LINK" != " -lsocket"; then
31402 INET_LINK
="$INET_LINK -lsocket"
31406 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
31407 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
31419 if test "$wxUSE_SOCKETS" = "yes" ; then
31420 if test "$TOOLKIT" != "MSW"; then
31421 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
31422 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
31423 if test "${wx_cv_type_getsockname3+set}" = set; then
31424 echo $ECHO_N "(cached) $ECHO_C" >&6
31427 cat >conftest.
$ac_ext <<_ACEOF
31428 #line $LINENO "configure"
31431 cat confdefs.h
>>conftest.
$ac_ext
31432 cat >>conftest.
$ac_ext <<_ACEOF
31433 /* end confdefs.h. */
31435 #include <sys/types.h>
31436 #include <sys/socket.h>
31443 getsockname(0, 0, &len);
31449 rm -f conftest.
$ac_objext
31450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31451 (eval $ac_compile) 2>&5
31453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31454 (exit $ac_status); } &&
31455 { ac_try
='test -s conftest.$ac_objext'
31456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31457 (eval $ac_try) 2>&5
31459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31460 (exit $ac_status); }; }; then
31461 wx_cv_type_getsockname3
=socklen_t
31463 echo "$as_me: failed program was:" >&5
31464 sed 's/^/| /' conftest.
$ac_ext >&5
31467 CFLAGS_OLD
="$CFLAGS"
31468 if test "$GCC" = yes ; then
31469 CFLAGS
="$CFLAGS -Werror"
31472 cat >conftest.
$ac_ext <<_ACEOF
31473 #line $LINENO "configure"
31476 cat confdefs.h
>>conftest.
$ac_ext
31477 cat >>conftest.
$ac_ext <<_ACEOF
31478 /* end confdefs.h. */
31480 #include <sys/types.h>
31481 #include <sys/socket.h>
31488 getsockname(0, 0, &len);
31494 rm -f conftest.
$ac_objext
31495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31496 (eval $ac_compile) 2>&5
31498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31499 (exit $ac_status); } &&
31500 { ac_try
='test -s conftest.$ac_objext'
31501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31502 (eval $ac_try) 2>&5
31504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31505 (exit $ac_status); }; }; then
31506 wx_cv_type_getsockname3
=size_t
31508 echo "$as_me: failed program was:" >&5
31509 sed 's/^/| /' conftest.
$ac_ext >&5
31511 cat >conftest.
$ac_ext <<_ACEOF
31512 #line $LINENO "configure"
31515 cat confdefs.h
>>conftest.
$ac_ext
31516 cat >>conftest.
$ac_ext <<_ACEOF
31517 /* end confdefs.h. */
31519 #include <sys/types.h>
31520 #include <sys/socket.h>
31527 getsockname(0, 0, &len);
31533 rm -f conftest.
$ac_objext
31534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31535 (eval $ac_compile) 2>&5
31537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31538 (exit $ac_status); } &&
31539 { ac_try
='test -s conftest.$ac_objext'
31540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31541 (eval $ac_try) 2>&5
31543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31544 (exit $ac_status); }; }; then
31545 wx_cv_type_getsockname3
=int
31547 echo "$as_me: failed program was:" >&5
31548 sed 's/^/| /' conftest.
$ac_ext >&5
31550 wx_cv_type_getsockname3
=unknown
31553 rm -f conftest.
$ac_objext conftest.
$ac_ext
31556 rm -f conftest.
$ac_objext conftest.
$ac_ext
31558 CFLAGS
="$CFLAGS_OLD"
31562 rm -f conftest.
$ac_objext conftest.
$ac_ext
31565 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
31566 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
31568 if test "$wx_cv_type_getsockname3" = "unknown"; then
31570 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
31571 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
31573 cat >>confdefs.h
<<_ACEOF
31574 #define SOCKLEN_T $wx_cv_type_getsockname3
31581 if test "$wxUSE_SOCKETS" = "yes" ; then
31582 cat >>confdefs.h
<<\_ACEOF
31583 #define wxUSE_SOCKETS 1
31586 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
31589 if test "$wxUSE_PROTOCOL" = "yes"; then
31590 if test "$wxUSE_SOCKETS" != "yes"; then
31591 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
31592 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
31597 if test "$wxUSE_PROTOCOL" = "yes"; then
31598 cat >>confdefs.h
<<\_ACEOF
31599 #define wxUSE_PROTOCOL 1
31603 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
31604 cat >>confdefs.h
<<\_ACEOF
31605 #define wxUSE_PROTOCOL_HTTP 1
31609 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
31610 cat >>confdefs.h
<<\_ACEOF
31611 #define wxUSE_PROTOCOL_FTP 1
31615 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
31616 cat >>confdefs.h
<<\_ACEOF
31617 #define wxUSE_PROTOCOL_FILE 1
31622 if test "$wxUSE_FS_INET" = "yes"; then
31623 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
31624 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
31629 if test "$wxUSE_URL" = "yes"; then
31630 if test "$wxUSE_PROTOCOL" != "yes"; then
31631 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
31632 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
31635 if test "$wxUSE_URL" = "yes"; then
31636 cat >>confdefs.h
<<\_ACEOF
31637 #define wxUSE_URL 1
31643 if test "$wxUSE_FS_INET" = "yes"; then
31644 cat >>confdefs.h
<<\_ACEOF
31645 #define wxUSE_FS_INET 1
31651 if test "$wxUSE_GUI" = "yes"; then
31653 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
31654 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
31655 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
31659 if test "$TOOLKIT" != "MSW"; then
31660 if test "$wxUSE_JOYSTICK" = "yes"; then
31662 for ac_header
in linux
/joystick.h
31664 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31665 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31666 echo "$as_me:$LINENO: checking for $ac_header" >&5
31667 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31668 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31669 echo $ECHO_N "(cached) $ECHO_C" >&6
31671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31672 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31674 # Is the header compilable?
31675 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31676 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31677 cat >conftest.
$ac_ext <<_ACEOF
31678 #line $LINENO "configure"
31681 cat confdefs.h
>>conftest.
$ac_ext
31682 cat >>conftest.
$ac_ext <<_ACEOF
31683 /* end confdefs.h. */
31684 $ac_includes_default
31685 #include <$ac_header>
31687 rm -f conftest.
$ac_objext
31688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31689 (eval $ac_compile) 2>&5
31691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31692 (exit $ac_status); } &&
31693 { ac_try
='test -s conftest.$ac_objext'
31694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31695 (eval $ac_try) 2>&5
31697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31698 (exit $ac_status); }; }; then
31699 ac_header_compiler
=yes
31701 echo "$as_me: failed program was:" >&5
31702 sed 's/^/| /' conftest.
$ac_ext >&5
31704 ac_header_compiler
=no
31706 rm -f conftest.
$ac_objext conftest.
$ac_ext
31707 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31708 echo "${ECHO_T}$ac_header_compiler" >&6
31710 # Is the header present?
31711 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31712 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31713 cat >conftest.
$ac_ext <<_ACEOF
31714 #line $LINENO "configure"
31717 cat confdefs.h
>>conftest.
$ac_ext
31718 cat >>conftest.
$ac_ext <<_ACEOF
31719 /* end confdefs.h. */
31720 #include <$ac_header>
31722 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31723 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31725 grep -v '^ *+' conftest.er1
>conftest.err
31727 cat conftest.err
>&5
31728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31729 (exit $ac_status); } >/dev
/null
; then
31730 if test -s conftest.err
; then
31731 ac_cpp_err
=$ac_c_preproc_warn_flag
31738 if test -z "$ac_cpp_err"; then
31739 ac_header_preproc
=yes
31741 echo "$as_me: failed program was:" >&5
31742 sed 's/^/| /' conftest.
$ac_ext >&5
31744 ac_header_preproc
=no
31746 rm -f conftest.err conftest.
$ac_ext
31747 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31748 echo "${ECHO_T}$ac_header_preproc" >&6
31750 # So? What about this header?
31751 case $ac_header_compiler:$ac_header_preproc in
31753 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31754 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31755 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31756 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31759 ## ------------------------------------ ##
31760 ## Report this to bug-autoconf@gnu.org. ##
31761 ## ------------------------------------ ##
31764 sed "s/^/$as_me: WARNING: /" >&2
31767 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31768 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31769 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31770 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31771 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31772 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31775 ## ------------------------------------ ##
31776 ## Report this to bug-autoconf@gnu.org. ##
31777 ## ------------------------------------ ##
31780 sed "s/^/$as_me: WARNING: /" >&2
31783 echo "$as_me:$LINENO: checking for $ac_header" >&5
31784 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31785 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31786 echo $ECHO_N "(cached) $ECHO_C" >&6
31788 eval "$as_ac_Header=$ac_header_preproc"
31790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31791 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31794 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31795 cat >>confdefs.h
<<_ACEOF
31796 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31803 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
31805 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
31806 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
31811 if test "$wxUSE_JOYSTICK" = "yes"; then
31812 cat >>confdefs.h
<<\_ACEOF
31813 #define wxUSE_JOYSTICK 1
31816 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
31821 if test "$TOOLKIT" != "MSW"; then
31825 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31826 if test "$USE_DARWIN" = 1; then
31830 for ac_func
in dlopen
31832 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31833 echo "$as_me:$LINENO: checking for $ac_func" >&5
31834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31835 if eval "test \"\${$as_ac_var+set}\" = set"; then
31836 echo $ECHO_N "(cached) $ECHO_C" >&6
31838 cat >conftest.
$ac_ext <<_ACEOF
31839 #line $LINENO "configure"
31842 cat confdefs.h
>>conftest.
$ac_ext
31843 cat >>conftest.
$ac_ext <<_ACEOF
31844 /* end confdefs.h. */
31845 /* System header to define __stub macros and hopefully few prototypes,
31846 which can conflict with char $ac_func (); below.
31847 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31848 <limits.h> exists even on freestanding compilers. */
31850 # include <limits.h>
31852 # include <assert.h>
31854 /* Override any gcc2 internal prototype to avoid an error. */
31859 /* We use char because int might match the return type of a gcc2
31860 builtin and then its argument prototype would still apply. */
31862 /* The GNU C library defines this for functions which it implements
31863 to always fail with ENOSYS. Some functions are actually named
31864 something starting with __ and the normal name is an alias. */
31865 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31868 char (*f) () = $ac_func;
31877 return f != $ac_func;
31882 rm -f conftest.
$ac_objext conftest
$ac_exeext
31883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31884 (eval $ac_link) 2>&5
31886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31887 (exit $ac_status); } &&
31888 { ac_try
='test -s conftest$ac_exeext'
31889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31890 (eval $ac_try) 2>&5
31892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31893 (exit $ac_status); }; }; then
31894 eval "$as_ac_var=yes"
31896 echo "$as_me: failed program was:" >&5
31897 sed 's/^/| /' conftest.
$ac_ext >&5
31899 eval "$as_ac_var=no"
31901 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31904 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31905 if test `eval echo '${'$as_ac_var'}'` = yes; then
31906 cat >>confdefs.h
<<_ACEOF
31907 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31910 cat >>confdefs.h
<<\_ACEOF
31911 #define HAVE_DLOPEN 1
31918 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
31919 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
31920 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
31921 echo $ECHO_N "(cached) $ECHO_C" >&6
31923 ac_check_lib_save_LIBS
=$LIBS
31925 cat >conftest.
$ac_ext <<_ACEOF
31926 #line $LINENO "configure"
31929 cat confdefs.h
>>conftest.
$ac_ext
31930 cat >>conftest.
$ac_ext <<_ACEOF
31931 /* end confdefs.h. */
31933 /* Override any gcc2 internal prototype to avoid an error. */
31937 /* We use char because int might match the return type of a gcc2
31938 builtin and then its argument prototype would still apply. */
31948 rm -f conftest.
$ac_objext conftest
$ac_exeext
31949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31950 (eval $ac_link) 2>&5
31952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31953 (exit $ac_status); } &&
31954 { ac_try
='test -s conftest$ac_exeext'
31955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31956 (eval $ac_try) 2>&5
31958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31959 (exit $ac_status); }; }; then
31960 ac_cv_lib_dl_dlopen
=yes
31962 echo "$as_me: failed program was:" >&5
31963 sed 's/^/| /' conftest.
$ac_ext >&5
31965 ac_cv_lib_dl_dlopen
=no
31967 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31968 LIBS
=$ac_check_lib_save_LIBS
31970 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
31971 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
31972 if test $ac_cv_lib_dl_dlopen = yes; then
31974 cat >>confdefs.h
<<\_ACEOF
31975 #define HAVE_DLOPEN 1
31979 DL_LINK
=" -ldl$DL_LINK"
31984 for ac_func
in shl_load
31986 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31987 echo "$as_me:$LINENO: checking for $ac_func" >&5
31988 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31989 if eval "test \"\${$as_ac_var+set}\" = set"; then
31990 echo $ECHO_N "(cached) $ECHO_C" >&6
31992 cat >conftest.
$ac_ext <<_ACEOF
31993 #line $LINENO "configure"
31996 cat confdefs.h
>>conftest.
$ac_ext
31997 cat >>conftest.
$ac_ext <<_ACEOF
31998 /* end confdefs.h. */
31999 /* System header to define __stub macros and hopefully few prototypes,
32000 which can conflict with char $ac_func (); below.
32001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32002 <limits.h> exists even on freestanding compilers. */
32004 # include <limits.h>
32006 # include <assert.h>
32008 /* Override any gcc2 internal prototype to avoid an error. */
32013 /* We use char because int might match the return type of a gcc2
32014 builtin and then its argument prototype would still apply. */
32016 /* The GNU C library defines this for functions which it implements
32017 to always fail with ENOSYS. Some functions are actually named
32018 something starting with __ and the normal name is an alias. */
32019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32022 char (*f) () = $ac_func;
32031 return f != $ac_func;
32036 rm -f conftest.
$ac_objext conftest
$ac_exeext
32037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32038 (eval $ac_link) 2>&5
32040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32041 (exit $ac_status); } &&
32042 { ac_try
='test -s conftest$ac_exeext'
32043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32044 (eval $ac_try) 2>&5
32046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32047 (exit $ac_status); }; }; then
32048 eval "$as_ac_var=yes"
32050 echo "$as_me: failed program was:" >&5
32051 sed 's/^/| /' conftest.
$ac_ext >&5
32053 eval "$as_ac_var=no"
32055 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32058 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32059 if test `eval echo '${'$as_ac_var'}'` = yes; then
32060 cat >>confdefs.h
<<_ACEOF
32061 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32064 cat >>confdefs.h
<<\_ACEOF
32065 #define HAVE_SHL_LOAD 1
32072 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
32073 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
32074 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
32075 echo $ECHO_N "(cached) $ECHO_C" >&6
32077 ac_check_lib_save_LIBS
=$LIBS
32078 LIBS
="-lshl_load $LIBS"
32079 cat >conftest.
$ac_ext <<_ACEOF
32080 #line $LINENO "configure"
32083 cat confdefs.h
>>conftest.
$ac_ext
32084 cat >>conftest.
$ac_ext <<_ACEOF
32085 /* end confdefs.h. */
32087 /* Override any gcc2 internal prototype to avoid an error. */
32091 /* We use char because int might match the return type of a gcc2
32092 builtin and then its argument prototype would still apply. */
32102 rm -f conftest.
$ac_objext conftest
$ac_exeext
32103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32104 (eval $ac_link) 2>&5
32106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32107 (exit $ac_status); } &&
32108 { ac_try
='test -s conftest$ac_exeext'
32109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32110 (eval $ac_try) 2>&5
32112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32113 (exit $ac_status); }; }; then
32114 ac_cv_lib_shl_load_dld
=yes
32116 echo "$as_me: failed program was:" >&5
32117 sed 's/^/| /' conftest.
$ac_ext >&5
32119 ac_cv_lib_shl_load_dld
=no
32121 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32122 LIBS
=$ac_check_lib_save_LIBS
32124 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
32125 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
32126 if test $ac_cv_lib_shl_load_dld = yes; then
32129 DL_LINK
=" -ldld$DL_LINK"
32145 if test "$HAVE_DL_FUNCS" = 1; then
32147 for ac_func
in dlerror
32149 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32150 echo "$as_me:$LINENO: checking for $ac_func" >&5
32151 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32152 if eval "test \"\${$as_ac_var+set}\" = set"; then
32153 echo $ECHO_N "(cached) $ECHO_C" >&6
32155 cat >conftest.
$ac_ext <<_ACEOF
32156 #line $LINENO "configure"
32159 cat confdefs.h
>>conftest.
$ac_ext
32160 cat >>conftest.
$ac_ext <<_ACEOF
32161 /* end confdefs.h. */
32162 /* System header to define __stub macros and hopefully few prototypes,
32163 which can conflict with char $ac_func (); below.
32164 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32165 <limits.h> exists even on freestanding compilers. */
32167 # include <limits.h>
32169 # include <assert.h>
32171 /* Override any gcc2 internal prototype to avoid an error. */
32176 /* We use char because int might match the return type of a gcc2
32177 builtin and then its argument prototype would still apply. */
32179 /* The GNU C library defines this for functions which it implements
32180 to always fail with ENOSYS. Some functions are actually named
32181 something starting with __ and the normal name is an alias. */
32182 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32185 char (*f) () = $ac_func;
32194 return f != $ac_func;
32199 rm -f conftest.
$ac_objext conftest
$ac_exeext
32200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32201 (eval $ac_link) 2>&5
32203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32204 (exit $ac_status); } &&
32205 { ac_try
='test -s conftest$ac_exeext'
32206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32207 (eval $ac_try) 2>&5
32209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32210 (exit $ac_status); }; }; then
32211 eval "$as_ac_var=yes"
32213 echo "$as_me: failed program was:" >&5
32214 sed 's/^/| /' conftest.
$ac_ext >&5
32216 eval "$as_ac_var=no"
32218 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32221 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32222 if test `eval echo '${'$as_ac_var'}'` = yes; then
32223 cat >>confdefs.h
<<_ACEOF
32224 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32226 cat >>confdefs.h
<<\_ACEOF
32227 #define HAVE_DLERROR 1
32231 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
32232 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
32233 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
32234 echo $ECHO_N "(cached) $ECHO_C" >&6
32236 ac_check_lib_save_LIBS
=$LIBS
32238 cat >conftest.
$ac_ext <<_ACEOF
32239 #line $LINENO "configure"
32242 cat confdefs.h
>>conftest.
$ac_ext
32243 cat >>conftest.
$ac_ext <<_ACEOF
32244 /* end confdefs.h. */
32246 /* Override any gcc2 internal prototype to avoid an error. */
32250 /* We use char because int might match the return type of a gcc2
32251 builtin and then its argument prototype would still apply. */
32261 rm -f conftest.
$ac_objext conftest
$ac_exeext
32262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32263 (eval $ac_link) 2>&5
32265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32266 (exit $ac_status); } &&
32267 { ac_try
='test -s conftest$ac_exeext'
32268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32269 (eval $ac_try) 2>&5
32271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32272 (exit $ac_status); }; }; then
32273 ac_cv_lib_dl_dlerror
=yes
32275 echo "$as_me: failed program was:" >&5
32276 sed 's/^/| /' conftest.
$ac_ext >&5
32278 ac_cv_lib_dl_dlerror
=no
32280 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32281 LIBS
=$ac_check_lib_save_LIBS
32283 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
32284 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
32285 if test $ac_cv_lib_dl_dlerror = yes; then
32286 cat >>confdefs.h
<<\_ACEOF
32287 #define HAVE_DLERROR 1
32298 if test "$HAVE_DL_FUNCS" = 0; then
32299 if test "$HAVE_SHL_FUNCS" = 0; then
32300 if test "$USE_UNIX" = 1; then
32301 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
32302 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
32303 wxUSE_DYNAMIC_LOADER
=no
32304 wxUSE_DYNLIB_CLASS
=no
32306 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
32307 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
32314 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
32315 cat >>confdefs.h
<<\_ACEOF
32316 #define wxUSE_DYNAMIC_LOADER 1
32320 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
32321 cat >>confdefs.h
<<\_ACEOF
32322 #define wxUSE_DYNLIB_CLASS 1
32328 if test "$wxUSE_FONTMAP" = "yes" ; then
32329 cat >>confdefs.h
<<\_ACEOF
32330 #define wxUSE_FONTMAP 1
32335 if test "$wxUSE_UNICODE" = "yes" ; then
32336 cat >>confdefs.h
<<\_ACEOF
32337 #define wxUSE_UNICODE 1
32341 if test "$USE_WIN32" != 1; then
32342 wxUSE_UNICODE_MSLU
=no
32345 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
32346 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
32347 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
32348 if test "${ac_cv_lib_unicows_main+set}" = set; then
32349 echo $ECHO_N "(cached) $ECHO_C" >&6
32351 ac_check_lib_save_LIBS
=$LIBS
32352 LIBS
="-lunicows $LIBS"
32353 cat >conftest.
$ac_ext <<_ACEOF
32354 #line $LINENO "configure"
32357 cat confdefs.h
>>conftest.
$ac_ext
32358 cat >>conftest.
$ac_ext <<_ACEOF
32359 /* end confdefs.h. */
32370 rm -f conftest.
$ac_objext conftest
$ac_exeext
32371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32372 (eval $ac_link) 2>&5
32374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32375 (exit $ac_status); } &&
32376 { ac_try
='test -s conftest$ac_exeext'
32377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32378 (eval $ac_try) 2>&5
32380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32381 (exit $ac_status); }; }; then
32382 ac_cv_lib_unicows_main
=yes
32384 echo "$as_me: failed program was:" >&5
32385 sed 's/^/| /' conftest.
$ac_ext >&5
32387 ac_cv_lib_unicows_main
=no
32389 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32390 LIBS
=$ac_check_lib_save_LIBS
32392 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
32393 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
32394 if test $ac_cv_lib_unicows_main = yes; then
32396 cat >>confdefs.h
<<\_ACEOF
32397 #define wxUSE_UNICODE_MSLU 1
32403 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32404 Applications will only run on Windows NT/2000/XP!" >&5
32405 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32406 Applications will only run on Windows NT/2000/XP!" >&2;}
32407 wxUSE_UNICODE_MSLU
=no
32414 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
32415 cat >>confdefs.h
<<\_ACEOF
32416 #define wxUSE_EXPERIMENTAL_PRINTF 1
32422 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
32423 cat >>confdefs.h
<<\_ACEOF
32424 #define wxUSE_POSTSCRIPT 1
32429 cat >>confdefs.h
<<\_ACEOF
32430 #define wxUSE_AFM_FOR_POSTSCRIPT 1
32434 cat >>confdefs.h
<<\_ACEOF
32435 #define wxUSE_NORMALIZED_PS_FONTS 1
32440 if test "$wxUSE_CONSTRAINTS" = "yes"; then
32441 cat >>confdefs.h
<<\_ACEOF
32442 #define wxUSE_CONSTRAINTS 1
32445 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
32448 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32449 cat >>confdefs.h
<<\_ACEOF
32450 #define wxUSE_MDI_ARCHITECTURE 1
32453 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
32456 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
32457 cat >>confdefs.h
<<\_ACEOF
32458 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
32461 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
32462 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32463 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
32467 if test "$wxUSE_HELP" = "yes"; then
32468 cat >>confdefs.h
<<\_ACEOF
32469 #define wxUSE_HELP 1
32472 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
32474 if test "$wxUSE_MSW" = 1; then
32475 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
32476 cat >>confdefs.h
<<\_ACEOF
32477 #define wxUSE_MS_HTML_HELP 1
32483 if test "$wxUSE_WXHTML_HELP" = "yes"; then
32484 if test "$wxUSE_HTML" = "yes"; then
32485 cat >>confdefs.h
<<\_ACEOF
32486 #define wxUSE_WXHTML_HELP 1
32490 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
32491 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
32492 wxUSE_WXHTML_HELP
=no
32497 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
32498 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32499 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
32500 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
32502 cat >>confdefs.h
<<\_ACEOF
32503 #define wxUSE_PRINTING_ARCHITECTURE 1
32507 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
32510 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
32511 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
32512 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
32513 { (exit 1); exit 1; }; }
32517 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
32518 -o "$wxUSE_CLIPBOARD" = "yes" \
32519 -o "$wxUSE_OLE" = "yes" \
32520 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
32522 for ac_header
in ole2.h
32524 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32525 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32526 echo "$as_me:$LINENO: checking for $ac_header" >&5
32527 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32528 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32529 echo $ECHO_N "(cached) $ECHO_C" >&6
32531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32532 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32534 # Is the header compilable?
32535 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32536 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32537 cat >conftest.
$ac_ext <<_ACEOF
32538 #line $LINENO "configure"
32541 cat confdefs.h
>>conftest.
$ac_ext
32542 cat >>conftest.
$ac_ext <<_ACEOF
32543 /* end confdefs.h. */
32544 $ac_includes_default
32545 #include <$ac_header>
32547 rm -f conftest.
$ac_objext
32548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32549 (eval $ac_compile) 2>&5
32551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32552 (exit $ac_status); } &&
32553 { ac_try
='test -s conftest.$ac_objext'
32554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32555 (eval $ac_try) 2>&5
32557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32558 (exit $ac_status); }; }; then
32559 ac_header_compiler
=yes
32561 echo "$as_me: failed program was:" >&5
32562 sed 's/^/| /' conftest.
$ac_ext >&5
32564 ac_header_compiler
=no
32566 rm -f conftest.
$ac_objext conftest.
$ac_ext
32567 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32568 echo "${ECHO_T}$ac_header_compiler" >&6
32570 # Is the header present?
32571 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32572 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32573 cat >conftest.
$ac_ext <<_ACEOF
32574 #line $LINENO "configure"
32577 cat confdefs.h
>>conftest.
$ac_ext
32578 cat >>conftest.
$ac_ext <<_ACEOF
32579 /* end confdefs.h. */
32580 #include <$ac_header>
32582 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32583 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32585 grep -v '^ *+' conftest.er1
>conftest.err
32587 cat conftest.err
>&5
32588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32589 (exit $ac_status); } >/dev
/null
; then
32590 if test -s conftest.err
; then
32591 ac_cpp_err
=$ac_c_preproc_warn_flag
32598 if test -z "$ac_cpp_err"; then
32599 ac_header_preproc
=yes
32601 echo "$as_me: failed program was:" >&5
32602 sed 's/^/| /' conftest.
$ac_ext >&5
32604 ac_header_preproc
=no
32606 rm -f conftest.err conftest.
$ac_ext
32607 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32608 echo "${ECHO_T}$ac_header_preproc" >&6
32610 # So? What about this header?
32611 case $ac_header_compiler:$ac_header_preproc in
32613 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32614 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32615 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32616 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32619 ## ------------------------------------ ##
32620 ## Report this to bug-autoconf@gnu.org. ##
32621 ## ------------------------------------ ##
32624 sed "s/^/$as_me: WARNING: /" >&2
32627 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32628 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32629 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32630 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32631 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32632 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32635 ## ------------------------------------ ##
32636 ## Report this to bug-autoconf@gnu.org. ##
32637 ## ------------------------------------ ##
32640 sed "s/^/$as_me: WARNING: /" >&2
32643 echo "$as_me:$LINENO: checking for $ac_header" >&5
32644 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32645 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32646 echo $ECHO_N "(cached) $ECHO_C" >&6
32648 eval "$as_ac_Header=$ac_header_preproc"
32650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32651 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32654 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32655 cat >>confdefs.h
<<_ACEOF
32656 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32664 if test "$ac_cv_header_ole2_h" = "yes" ; then
32665 if test "$GCC" = yes ; then
32669 ac_cpp
='$CXXCPP $CPPFLAGS'
32670 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32671 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32672 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32675 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
32676 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
32677 cat >conftest.
$ac_ext <<_ACEOF
32678 #line $LINENO "configure"
32681 cat confdefs.h
>>conftest.
$ac_ext
32682 cat >>conftest.
$ac_ext <<_ACEOF
32683 /* end confdefs.h. */
32684 #include <windows.h>
32694 rm -f conftest.
$ac_objext
32695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32696 (eval $ac_compile) 2>&5
32698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32699 (exit $ac_status); } &&
32700 { ac_try
='test -s conftest.$ac_objext'
32701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32702 (eval $ac_try) 2>&5
32704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32705 (exit $ac_status); }; }; then
32706 echo "$as_me:$LINENO: result: no" >&5
32707 echo "${ECHO_T}no" >&6
32709 echo "$as_me: failed program was:" >&5
32710 sed 's/^/| /' conftest.
$ac_ext >&5
32712 echo "$as_me:$LINENO: result: yes" >&5
32713 echo "${ECHO_T}yes" >&6
32714 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
32716 rm -f conftest.
$ac_objext conftest.
$ac_ext
32718 ac_cpp
='$CPP $CPPFLAGS'
32719 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32720 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32721 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32723 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
32724 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
32725 cat >>confdefs.h
<<\_ACEOF
32726 #define wxUSE_OLE 1
32732 cat >>confdefs.h
<<\_ACEOF
32733 #define wxUSE_DATAOBJ 1
32737 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
32738 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
32741 wxUSE_DRAG_AND_DROP
=no
32746 if test "$wxUSE_METAFILE" = "yes"; then
32747 cat >>confdefs.h
<<\_ACEOF
32748 #define wxUSE_METAFILE 1
32752 cat >>confdefs.h
<<\_ACEOF
32753 #define wxUSE_ENH_METAFILE 1
32759 if test "$wxUSE_IPC" = "yes"; then
32760 if test "$wxUSE_SOCKETS" != "yes"; then
32761 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
32762 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
32765 cat >>confdefs.h
<<\_ACEOF
32766 #define wxUSE_IPC 1
32771 if test "$wxUSE_CLIPBOARD" = "yes"; then
32772 if test "$wxUSE_MGL" = 1; then
32773 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
32774 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
32778 if test "$wxUSE_CLIPBOARD" = "yes"; then
32779 cat >>confdefs.h
<<\_ACEOF
32780 #define wxUSE_CLIPBOARD 1
32784 cat >>confdefs.h
<<\_ACEOF
32785 #define wxUSE_DATAOBJ 1
32791 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
32792 if test "$wxUSE_GTK" = 1; then
32793 if test "$WXGTK12" != 1; then
32794 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
32795 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
32796 wxUSE_DRAG_AND_DROP
=no
32800 if test "$wxUSE_MOTIF" = 1; then
32801 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
32802 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
32803 wxUSE_DRAG_AND_DROP
=no
32806 if test "$wxUSE_X11" = 1; then
32807 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
32808 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
32809 wxUSE_DRAG_AND_DROP
=no
32812 if test "$wxUSE_MGL" = 1; then
32813 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
32814 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
32815 wxUSE_DRAG_AND_DROP
=no
32818 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
32819 cat >>confdefs.h
<<\_ACEOF
32820 #define wxUSE_DRAG_AND_DROP 1
32823 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
32828 if test "$wxUSE_SPLINES" = "yes" ; then
32829 cat >>confdefs.h
<<\_ACEOF
32830 #define wxUSE_SPLINES 1
32837 if test "$wxUSE_CONTROLS" = "yes"; then
32841 if test "$wxUSE_ACCEL" = "yes"; then
32842 cat >>confdefs.h
<<\_ACEOF
32843 #define wxUSE_ACCEL 1
32849 if test "$wxUSE_BUTTON" = "yes"; then
32850 cat >>confdefs.h
<<\_ACEOF
32851 #define wxUSE_BUTTON 1
32857 if test "$wxUSE_BMPBUTTON" = "yes"; then
32858 cat >>confdefs.h
<<\_ACEOF
32859 #define wxUSE_BMPBUTTON 1
32865 if test "$wxUSE_CALCTRL" = "yes"; then
32866 cat >>confdefs.h
<<\_ACEOF
32867 #define wxUSE_CALENDARCTRL 1
32871 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
32874 if test "$wxUSE_CARET" = "yes"; then
32875 cat >>confdefs.h
<<\_ACEOF
32876 #define wxUSE_CARET 1
32880 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
32883 if test "$wxUSE_COMBOBOX" = "yes"; then
32884 cat >>confdefs.h
<<\_ACEOF
32885 #define wxUSE_COMBOBOX 1
32891 if test "$wxUSE_CHOICE" = "yes"; then
32892 cat >>confdefs.h
<<\_ACEOF
32893 #define wxUSE_CHOICE 1
32899 if test "$wxUSE_CHECKBOX" = "yes"; then
32900 cat >>confdefs.h
<<\_ACEOF
32901 #define wxUSE_CHECKBOX 1
32907 if test "$wxUSE_CHECKLST" = "yes"; then
32908 cat >>confdefs.h
<<\_ACEOF
32909 #define wxUSE_CHECKLISTBOX 1
32913 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
32916 if test "$wxUSE_DISPLAY" = "yes"; then
32917 cat >>confdefs.h
<<\_ACEOF
32918 #define wxUSE_DISPLAY 1
32921 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
32924 if test "$wxUSE_GAUGE" = "yes"; then
32925 cat >>confdefs.h
<<\_ACEOF
32926 #define wxUSE_GAUGE 1
32932 if test "$wxUSE_GRID" = "yes"; then
32933 cat >>confdefs.h
<<\_ACEOF
32934 #define wxUSE_GRID 1
32938 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
32941 if test "$wxUSE_IMAGLIST" = "yes"; then
32942 cat >>confdefs.h
<<\_ACEOF
32943 #define wxUSE_IMAGLIST 1
32948 if test "$wxUSE_LISTBOX" = "yes"; then
32949 cat >>confdefs.h
<<\_ACEOF
32950 #define wxUSE_LISTBOX 1
32956 if test "$wxUSE_LISTCTRL" = "yes"; then
32957 if test "$wxUSE_IMAGLIST" = "yes"; then
32958 cat >>confdefs.h
<<\_ACEOF
32959 #define wxUSE_LISTCTRL 1
32963 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
32965 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
32966 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
32970 if test "$wxUSE_NOTEBOOK" = "yes"; then
32971 cat >>confdefs.h
<<\_ACEOF
32972 #define wxUSE_NOTEBOOK 1
32976 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
32980 if test "$wxUSE_RADIOBOX" = "yes"; then
32981 cat >>confdefs.h
<<\_ACEOF
32982 #define wxUSE_RADIOBOX 1
32988 if test "$wxUSE_RADIOBTN" = "yes"; then
32989 cat >>confdefs.h
<<\_ACEOF
32990 #define wxUSE_RADIOBTN 1
32996 if test "$wxUSE_SASH" = "yes"; then
32997 cat >>confdefs.h
<<\_ACEOF
32998 #define wxUSE_SASH 1
33001 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
33004 if test "$wxUSE_SCROLLBAR" = "yes"; then
33005 cat >>confdefs.h
<<\_ACEOF
33006 #define wxUSE_SCROLLBAR 1
33010 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
33013 if test "$wxUSE_SLIDER" = "yes"; then
33014 cat >>confdefs.h
<<\_ACEOF
33015 #define wxUSE_SLIDER 1
33021 if test "$wxUSE_SPINBTN" = "yes"; then
33022 cat >>confdefs.h
<<\_ACEOF
33023 #define wxUSE_SPINBTN 1
33029 if test "$wxUSE_SPINCTRL" = "yes"; then
33030 cat >>confdefs.h
<<\_ACEOF
33031 #define wxUSE_SPINCTRL 1
33037 if test "$wxUSE_SPLITTER" = "yes"; then
33038 cat >>confdefs.h
<<\_ACEOF
33039 #define wxUSE_SPLITTER 1
33042 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
33045 if test "$wxUSE_STATBMP" = "yes"; then
33046 cat >>confdefs.h
<<\_ACEOF
33047 #define wxUSE_STATBMP 1
33053 if test "$wxUSE_STATBOX" = "yes"; then
33054 cat >>confdefs.h
<<\_ACEOF
33055 #define wxUSE_STATBOX 1
33061 if test "$wxUSE_STATTEXT" = "yes"; then
33062 cat >>confdefs.h
<<\_ACEOF
33063 #define wxUSE_STATTEXT 1
33069 if test "$wxUSE_STATLINE" = "yes"; then
33070 cat >>confdefs.h
<<\_ACEOF
33071 #define wxUSE_STATLINE 1
33077 if test "$wxUSE_STATUSBAR" = "yes"; then
33078 cat >>confdefs.h
<<\_ACEOF
33079 #define wxUSE_STATUSBAR 1
33084 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
33087 if test "$wxUSE_TABDIALOG" = "yes"; then
33088 cat >>confdefs.h
<<\_ACEOF
33089 #define wxUSE_TAB_DIALOG 1
33092 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
33095 if test "$wxUSE_TEXTCTRL" = "yes"; then
33096 cat >>confdefs.h
<<\_ACEOF
33097 #define wxUSE_TEXTCTRL 1
33101 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
33104 if test "$wxUSE_TOGGLEBTN" = "yes"; then
33105 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
33106 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
33107 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
33110 if test "$wxUSE_UNIVERSAL" = "yes"; then
33111 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
33112 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
33116 if test "$wxUSE_TOGGLEBTN" = "yes"; then
33117 cat >>confdefs.h
<<\_ACEOF
33118 #define wxUSE_TOGGLEBTN 1
33125 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
33126 cat >>confdefs.h
<<\_ACEOF
33127 #define wxUSE_TOOLBAR_SIMPLE 1
33130 wxUSE_TOOLBAR
="yes"
33134 if test "$wxUSE_TOOLBAR" = "yes"; then
33135 cat >>confdefs.h
<<\_ACEOF
33136 #define wxUSE_TOOLBAR 1
33141 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
33142 wxUSE_TOOLBAR_NATIVE
="yes"
33145 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
33146 cat >>confdefs.h
<<\_ACEOF
33147 #define wxUSE_TOOLBAR_NATIVE 1
33153 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
33156 if test "$wxUSE_TOOLTIPS" = "yes"; then
33157 if test "$wxUSE_MOTIF" = 1; then
33158 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
33159 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
33161 if test "$wxUSE_UNIVERSAL" = "yes"; then
33162 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
33163 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
33165 cat >>confdefs.h
<<\_ACEOF
33166 #define wxUSE_TOOLTIPS 1
33173 if test "$wxUSE_TREECTRL" = "yes"; then
33174 if test "$wxUSE_IMAGLIST" = "yes"; then
33175 cat >>confdefs.h
<<\_ACEOF
33176 #define wxUSE_TREECTRL 1
33180 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
33182 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
33183 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
33187 if test "$wxUSE_POPUPWIN" = "yes"; then
33188 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
33189 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
33190 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
33192 if test "$wxUSE_MOTIF" = 1; then
33193 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&5
33194 echo "$as_me: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&2;}
33196 if test "$wxUSE_PM" = 1; then
33197 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
33198 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
33200 cat >>confdefs.h
<<\_ACEOF
33201 #define wxUSE_POPUPWIN 1
33211 if test "$wxUSE_TIPWINDOW" = "yes"; then
33212 if test "$wxUSE_PM" = 1; then
33213 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
33214 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
33216 cat >>confdefs.h
<<\_ACEOF
33217 #define wxUSE_TIPWINDOW 1
33223 if test "$USES_CONTROLS" = 1; then
33224 cat >>confdefs.h
<<\_ACEOF
33225 #define wxUSE_CONTROLS 1
33232 if test "$wxUSE_DRAGIMAGE" = "yes"; then
33233 cat >>confdefs.h
<<\_ACEOF
33234 #define wxUSE_DRAGIMAGE 1
33237 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
33240 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
33241 cat >>confdefs.h
<<\_ACEOF
33242 #define wxUSE_ACCESSIBILITY 1
33245 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
33248 if test "$wxUSE_MENUS" = "yes"; then
33249 cat >>confdefs.h
<<\_ACEOF
33250 #define wxUSE_MENUS 1
33253 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
33256 if test "$wxUSE_METAFILE" = "yes"; then
33257 cat >>confdefs.h
<<\_ACEOF
33258 #define wxUSE_METAFILE 1
33263 if test "$wxUSE_MIMETYPE" = "yes"; then
33264 cat >>confdefs.h
<<\_ACEOF
33265 #define wxUSE_MIMETYPE 1
33270 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
33271 cat >>confdefs.h
<<\_ACEOF
33272 #define wxUSE_SYSTEM_OPTIONS 1
33275 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
33276 "$TOOLKIT" = "MOTIF"; then
33277 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
33282 if test "$wxUSE_MINIFRAME" = "yes"; then
33283 cat >>confdefs.h
<<\_ACEOF
33284 #define wxUSE_MINIFRAME 1
33287 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
33291 if test "$wxUSE_HTML" = "yes"; then
33292 cat >>confdefs.h
<<\_ACEOF
33293 #define wxUSE_HTML 1
33297 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
33300 if test "$wxUSE_VALIDATORS" = "yes"; then
33301 cat >>confdefs.h
<<\_ACEOF
33302 #define wxUSE_VALIDATORS 1
33305 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
33308 if test "$wxUSE_PALETTE" = "yes" ; then
33309 cat >>confdefs.h
<<\_ACEOF
33310 #define wxUSE_PALETTE 1
33315 if test "$wxUSE_IMAGE" = "yes" ; then
33316 cat >>confdefs.h
<<\_ACEOF
33317 #define wxUSE_IMAGE 1
33322 if test "$wxUSE_GIF" = "yes" ; then
33323 cat >>confdefs.h
<<\_ACEOF
33324 #define wxUSE_GIF 1
33329 if test "$wxUSE_PCX" = "yes" ; then
33330 cat >>confdefs.h
<<\_ACEOF
33331 #define wxUSE_PCX 1
33336 if test "$wxUSE_IFF" = "yes" ; then
33337 cat >>confdefs.h
<<\_ACEOF
33338 #define wxUSE_IFF 1
33343 if test "$wxUSE_PNM" = "yes" ; then
33344 cat >>confdefs.h
<<\_ACEOF
33345 #define wxUSE_PNM 1
33350 if test "$wxUSE_XPM" = "yes" ; then
33351 cat >>confdefs.h
<<\_ACEOF
33352 #define wxUSE_XPM 1
33357 if test "$wxUSE_ICO_CUR" = "yes" ; then
33358 cat >>confdefs.h
<<\_ACEOF
33359 #define wxUSE_ICO_CUR 1
33364 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
33365 LIBS
=" -lunicows $LIBS"
33369 if test "$wxUSE_CHOICEDLG" = "yes"; then
33370 cat >>confdefs.h
<<\_ACEOF
33371 #define wxUSE_CHOICEDLG 1
33376 if test "$wxUSE_COLOURDLG" = "yes"; then
33377 cat >>confdefs.h
<<\_ACEOF
33378 #define wxUSE_COLOURDLG 1
33383 if test "$wxUSE_FILEDLG" = "yes"; then
33384 cat >>confdefs.h
<<\_ACEOF
33385 #define wxUSE_FILEDLG 1
33390 if test "$wxUSE_FINDREPLDLG" = "yes"; then
33391 cat >>confdefs.h
<<\_ACEOF
33392 #define wxUSE_FINDREPLDLG 1
33397 if test "$wxUSE_FONTDLG" = "yes"; then
33398 cat >>confdefs.h
<<\_ACEOF
33399 #define wxUSE_FONTDLG 1
33404 if test "$wxUSE_DIRDLG" = "yes"; then
33405 if test "$wxUSE_TREECTRL" != "yes"; then
33406 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
33407 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
33409 cat >>confdefs.h
<<\_ACEOF
33410 #define wxUSE_DIRDLG 1
33416 if test "$wxUSE_MSGDLG" = "yes"; then
33417 cat >>confdefs.h
<<\_ACEOF
33418 #define wxUSE_MSGDLG 1
33423 if test "$wxUSE_NUMBERDLG" = "yes"; then
33424 cat >>confdefs.h
<<\_ACEOF
33425 #define wxUSE_NUMBERDLG 1
33430 if test "$wxUSE_PROGRESSDLG" = "yes"; then
33431 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33432 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
33433 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
33435 cat >>confdefs.h
<<\_ACEOF
33436 #define wxUSE_PROGRESSDLG 1
33442 if test "$wxUSE_SPLASH" = "yes"; then
33443 cat >>confdefs.h
<<\_ACEOF
33444 #define wxUSE_SPLASH 1
33449 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
33450 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33451 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
33452 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
33454 cat >>confdefs.h
<<\_ACEOF
33455 #define wxUSE_STARTUP_TIPS 1
33461 if test "$wxUSE_TEXTDLG" = "yes"; then
33462 cat >>confdefs.h
<<\_ACEOF
33463 #define wxUSE_TEXTDLG 1
33468 if test "$wxUSE_WIZARDDLG" = "yes"; then
33469 cat >>confdefs.h
<<\_ACEOF
33470 #define wxUSE_WIZARDDLG 1
33473 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
33477 if test "$cross_compiling" = "yes"; then
33480 OSINFO
=`uname -s -r -m`
33481 OSINFO
="\"$OSINFO\""
33484 cat >>confdefs.h
<<_ACEOF
33485 #define WXWIN_OS_DESCRIPTION $OSINFO
33490 if test "x$prefix" != "xNONE"; then
33493 wxPREFIX
=$ac_default_prefix
33496 cat >>confdefs.h
<<_ACEOF
33497 #define wxINSTALL_PREFIX "$wxPREFIX"
33501 top_builddir_wxconfig
=`pwd`
33505 CORE_BASE_LIBS
="net base"
33506 CORE_GUI_LIBS
="adv core"
33508 if test "$wxUSE_XML" = "yes" ; then
33509 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
33511 if test "$wxUSE_ODBC" != "no" ; then
33512 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
33513 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
33515 if test "$wxUSE_HTML" = "yes" ; then
33516 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
33526 if test "$wxUSE_MAC" = 1 ; then
33527 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
33529 if test "$wxUSE_COCOA" = 1 ; then
33530 LDFLAGS
="$LDFLAGS -framework Cocoa -framework System"
33534 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
33541 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33542 echo "$as_me:$LINENO: checking for $ac_func" >&5
33543 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33544 if eval "test \"\${$as_ac_var+set}\" = set"; then
33545 echo $ECHO_N "(cached) $ECHO_C" >&6
33547 cat >conftest.
$ac_ext <<_ACEOF
33548 #line $LINENO "configure"
33551 cat confdefs.h
>>conftest.
$ac_ext
33552 cat >>conftest.
$ac_ext <<_ACEOF
33553 /* end confdefs.h. */
33554 /* System header to define __stub macros and hopefully few prototypes,
33555 which can conflict with char $ac_func (); below.
33556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33557 <limits.h> exists even on freestanding compilers. */
33559 # include <limits.h>
33561 # include <assert.h>
33563 /* Override any gcc2 internal prototype to avoid an error. */
33568 /* We use char because int might match the return type of a gcc2
33569 builtin and then its argument prototype would still apply. */
33571 /* The GNU C library defines this for functions which it implements
33572 to always fail with ENOSYS. Some functions are actually named
33573 something starting with __ and the normal name is an alias. */
33574 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33577 char (*f) () = $ac_func;
33586 return f != $ac_func;
33591 rm -f conftest.
$ac_objext conftest
$ac_exeext
33592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33593 (eval $ac_link) 2>&5
33595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33596 (exit $ac_status); } &&
33597 { ac_try
='test -s conftest$ac_exeext'
33598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33599 (eval $ac_try) 2>&5
33601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33602 (exit $ac_status); }; }; then
33603 eval "$as_ac_var=yes"
33605 echo "$as_me: failed program was:" >&5
33606 sed 's/^/| /' conftest.
$ac_ext >&5
33608 eval "$as_ac_var=no"
33610 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33614 if test `eval echo '${'$as_ac_var'}'` = yes; then
33615 cat >>confdefs.h
<<_ACEOF
33616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33623 for ac_func
in floor
33625 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33626 echo "$as_me:$LINENO: checking for $ac_func" >&5
33627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33628 if eval "test \"\${$as_ac_var+set}\" = set"; then
33629 echo $ECHO_N "(cached) $ECHO_C" >&6
33631 cat >conftest.
$ac_ext <<_ACEOF
33632 #line $LINENO "configure"
33635 cat confdefs.h
>>conftest.
$ac_ext
33636 cat >>conftest.
$ac_ext <<_ACEOF
33637 /* end confdefs.h. */
33638 /* System header to define __stub macros and hopefully few prototypes,
33639 which can conflict with char $ac_func (); below.
33640 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33641 <limits.h> exists even on freestanding compilers. */
33643 # include <limits.h>
33645 # include <assert.h>
33647 /* Override any gcc2 internal prototype to avoid an error. */
33652 /* We use char because int might match the return type of a gcc2
33653 builtin and then its argument prototype would still apply. */
33655 /* The GNU C library defines this for functions which it implements
33656 to always fail with ENOSYS. Some functions are actually named
33657 something starting with __ and the normal name is an alias. */
33658 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33661 char (*f) () = $ac_func;
33670 return f != $ac_func;
33675 rm -f conftest.
$ac_objext conftest
$ac_exeext
33676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33677 (eval $ac_link) 2>&5
33679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33680 (exit $ac_status); } &&
33681 { ac_try
='test -s conftest$ac_exeext'
33682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33683 (eval $ac_try) 2>&5
33685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33686 (exit $ac_status); }; }; then
33687 eval "$as_ac_var=yes"
33689 echo "$as_me: failed program was:" >&5
33690 sed 's/^/| /' conftest.
$ac_ext >&5
33692 eval "$as_ac_var=no"
33694 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33697 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33698 if test `eval echo '${'$as_ac_var'}'` = yes; then
33699 cat >>confdefs.h
<<_ACEOF
33700 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33706 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
33707 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
33708 if test "$have_cos" = 1 -a "$have_floor" = 1; then
33709 echo "$as_me:$LINENO: result: yes" >&5
33710 echo "${ECHO_T}yes" >&6
33712 echo "$as_me:$LINENO: result: no" >&5
33713 echo "${ECHO_T}no" >&6
33715 # use different functions to avoid configure caching
33721 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33722 echo "$as_me:$LINENO: checking for $ac_func" >&5
33723 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33724 if eval "test \"\${$as_ac_var+set}\" = set"; then
33725 echo $ECHO_N "(cached) $ECHO_C" >&6
33727 cat >conftest.
$ac_ext <<_ACEOF
33728 #line $LINENO "configure"
33731 cat confdefs.h
>>conftest.
$ac_ext
33732 cat >>conftest.
$ac_ext <<_ACEOF
33733 /* end confdefs.h. */
33734 /* System header to define __stub macros and hopefully few prototypes,
33735 which can conflict with char $ac_func (); below.
33736 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33737 <limits.h> exists even on freestanding compilers. */
33739 # include <limits.h>
33741 # include <assert.h>
33743 /* Override any gcc2 internal prototype to avoid an error. */
33748 /* We use char because int might match the return type of a gcc2
33749 builtin and then its argument prototype would still apply. */
33751 /* The GNU C library defines this for functions which it implements
33752 to always fail with ENOSYS. Some functions are actually named
33753 something starting with __ and the normal name is an alias. */
33754 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33757 char (*f) () = $ac_func;
33766 return f != $ac_func;
33771 rm -f conftest.
$ac_objext conftest
$ac_exeext
33772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33773 (eval $ac_link) 2>&5
33775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33776 (exit $ac_status); } &&
33777 { ac_try
='test -s conftest$ac_exeext'
33778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33779 (eval $ac_try) 2>&5
33781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33782 (exit $ac_status); }; }; then
33783 eval "$as_ac_var=yes"
33785 echo "$as_me: failed program was:" >&5
33786 sed 's/^/| /' conftest.
$ac_ext >&5
33788 eval "$as_ac_var=no"
33790 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33793 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33794 if test `eval echo '${'$as_ac_var'}'` = yes; then
33795 cat >>confdefs.h
<<_ACEOF
33796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33803 for ac_func
in ceil
33805 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33806 echo "$as_me:$LINENO: checking for $ac_func" >&5
33807 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33808 if eval "test \"\${$as_ac_var+set}\" = set"; then
33809 echo $ECHO_N "(cached) $ECHO_C" >&6
33811 cat >conftest.
$ac_ext <<_ACEOF
33812 #line $LINENO "configure"
33815 cat confdefs.h
>>conftest.
$ac_ext
33816 cat >>conftest.
$ac_ext <<_ACEOF
33817 /* end confdefs.h. */
33818 /* System header to define __stub macros and hopefully few prototypes,
33819 which can conflict with char $ac_func (); below.
33820 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33821 <limits.h> exists even on freestanding compilers. */
33823 # include <limits.h>
33825 # include <assert.h>
33827 /* Override any gcc2 internal prototype to avoid an error. */
33832 /* We use char because int might match the return type of a gcc2
33833 builtin and then its argument prototype would still apply. */
33835 /* The GNU C library defines this for functions which it implements
33836 to always fail with ENOSYS. Some functions are actually named
33837 something starting with __ and the normal name is an alias. */
33838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33841 char (*f) () = $ac_func;
33850 return f != $ac_func;
33855 rm -f conftest.
$ac_objext conftest
$ac_exeext
33856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33857 (eval $ac_link) 2>&5
33859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33860 (exit $ac_status); } &&
33861 { ac_try
='test -s conftest$ac_exeext'
33862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33863 (eval $ac_try) 2>&5
33865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33866 (exit $ac_status); }; }; then
33867 eval "$as_ac_var=yes"
33869 echo "$as_me: failed program was:" >&5
33870 sed 's/^/| /' conftest.
$ac_ext >&5
33872 eval "$as_ac_var=no"
33874 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33876 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33877 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33878 if test `eval echo '${'$as_ac_var'}'` = yes; then
33879 cat >>confdefs.h
<<_ACEOF
33880 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33886 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
33887 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
33888 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
33889 echo "$as_me:$LINENO: result: yes" >&5
33890 echo "${ECHO_T}yes" >&6
33892 echo "$as_me:$LINENO: result: no" >&5
33893 echo "${ECHO_T}no" >&6
33894 # not sure we should warn the user, crash, etc.
33898 if test "$wxUSE_GUI" = "yes"; then
33901 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
33902 drawing dynamic erase event exec font image \
33903 minimal propsize rotate shaped widgets render"
33905 if test "$wxUSE_MONOLITHIC" != "yes"; then
33906 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
33909 SAMPLES_SUBDIRS
="console"
33913 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
33914 -I\${top_srcdir}/include \
33915 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
33918 if test "$GXX" = yes ; then
33919 CXXWARNINGS
="-Wall"
33922 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
33924 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
33925 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
33926 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
33929 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
33930 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
33931 EXTRALIBS_XML
="$EXPAT_LINK"
33932 EXTRALIBS_ODBC
="$ODBC_LINK"
33933 if test "$wxUSE_GUI" = "yes"; then
33934 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
33936 if test "$wxUSE_OPENGL" = "yes"; then
33937 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
33940 LDFLAGS
="$LDFLAGS $PROFILE"
33942 if test "$wxUSE_GTK" = 1; then
33945 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
33948 WXCONFIG_EXTRALIBS
="$LIBS"
33950 if test "$wxUSE_REGEX" = "builtin" ; then
33951 wxconfig_3rdparty
="$wxconfig_3rdparty regex"
33953 if test "$wxUSE_EXPAT" = "builtin" ; then
33954 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
33956 if test "$wxUSE_ODBC" = "builtin" ; then
33957 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
33959 if test "$wxUSE_LIBTIFF" = "builtin" ; then
33960 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
33962 if test "$wxUSE_LIBJPEG" = "builtin" ; then
33963 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
33965 if test "$wxUSE_LIBPNG" = "builtin" ; then
33966 wxconfig_3rdparty
="$wxconfig_3rdparty png"
33968 if test "$wxUSE_ZLIB" = "builtin" ; then
33969 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
33971 if test "$wxUSE_ODBC" = "builtin" ; then
33972 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
33975 for i
in $wxconfig_3rdparty ; do
33976 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
33980 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
33994 if test $wxUSE_MONOLITHIC = "yes" ; then
34000 if test $wxUSE_ODBC != "no" ; then
34006 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
34028 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr [A-Z] [a-z]`
34036 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
34038 if test -n "$ac_tool_prefix"; then
34039 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
34040 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
34041 echo "$as_me:$LINENO: checking for $ac_word" >&5
34042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34043 if test "${ac_cv_prog_RANLIB+set}" = set; then
34044 echo $ECHO_N "(cached) $ECHO_C" >&6
34046 if test -n "$RANLIB"; then
34047 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
34049 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34050 for as_dir
in $PATH
34053 test -z "$as_dir" && as_dir
=.
34054 for ac_exec_ext
in '' $ac_executable_extensions; do
34055 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34056 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
34057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34065 RANLIB
=$ac_cv_prog_RANLIB
34066 if test -n "$RANLIB"; then
34067 echo "$as_me:$LINENO: result: $RANLIB" >&5
34068 echo "${ECHO_T}$RANLIB" >&6
34070 echo "$as_me:$LINENO: result: no" >&5
34071 echo "${ECHO_T}no" >&6
34075 if test -z "$ac_cv_prog_RANLIB"; then
34076 ac_ct_RANLIB
=$RANLIB
34077 # Extract the first word of "ranlib", so it can be a program name with args.
34078 set dummy ranlib
; ac_word
=$2
34079 echo "$as_me:$LINENO: checking for $ac_word" >&5
34080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34081 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
34082 echo $ECHO_N "(cached) $ECHO_C" >&6
34084 if test -n "$ac_ct_RANLIB"; then
34085 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
34087 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34088 for as_dir
in $PATH
34091 test -z "$as_dir" && as_dir
=.
34092 for ac_exec_ext
in '' $ac_executable_extensions; do
34093 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34094 ac_cv_prog_ac_ct_RANLIB
="ranlib"
34095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34101 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
34104 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
34105 if test -n "$ac_ct_RANLIB"; then
34106 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
34107 echo "${ECHO_T}$ac_ct_RANLIB" >&6
34109 echo "$as_me:$LINENO: result: no" >&5
34110 echo "${ECHO_T}no" >&6
34113 RANLIB
=$ac_ct_RANLIB
34115 RANLIB
="$ac_cv_prog_RANLIB"
34118 # Find a good install program. We prefer a C program (faster),
34119 # so one script is as good as another. But avoid the broken or
34120 # incompatible versions:
34121 # SysV /etc/install, /usr/sbin/install
34122 # SunOS /usr/etc/install
34123 # IRIX /sbin/install
34125 # AmigaOS /C/install, which installs bootblocks on floppy discs
34126 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
34127 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
34128 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
34129 # ./install, which can be erroneously created by make from ./install.sh.
34130 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
34131 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
34132 if test -z "$INSTALL"; then
34133 if test "${ac_cv_path_install+set}" = set; then
34134 echo $ECHO_N "(cached) $ECHO_C" >&6
34136 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34137 for as_dir
in $PATH
34140 test -z "$as_dir" && as_dir
=.
34141 # Account for people who put trailing slashes in PATH elements.
34143 .
/ | .
// | /cC
/* | \
34144 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
34147 # OSF1 and SCO ODT 3.0 have their own names for install.
34148 # Don't use installbsd from OSF since it installs stuff as root
34150 for ac_prog
in ginstall scoinst
install; do
34151 for ac_exec_ext
in '' $ac_executable_extensions; do
34152 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
34153 if test $ac_prog = install &&
34154 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
34155 # AIX install. It has an incompatible calling convention.
34157 elif test $ac_prog = install &&
34158 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
34159 # program-specific install script used by HP pwplus--don't use.
34162 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
34174 if test "${ac_cv_path_install+set}" = set; then
34175 INSTALL
=$ac_cv_path_install
34177 # As a last resort, use the slow shell script. We don't cache a
34178 # path for INSTALL within a source directory, because that will
34179 # break other packages using the cache if that directory is
34180 # removed, or if the path is relative.
34181 INSTALL
=$ac_install_sh
34184 echo "$as_me:$LINENO: result: $INSTALL" >&5
34185 echo "${ECHO_T}$INSTALL" >&6
34187 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
34188 # It thinks the first close brace ends the variable substitution.
34189 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
34191 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
34193 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
34195 echo "$as_me:$LINENO: checking whether ln -s works" >&5
34196 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
34198 if test "$LN_S" = "ln -s"; then
34199 echo "$as_me:$LINENO: result: yes" >&5
34200 echo "${ECHO_T}yes" >&6
34202 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
34203 echo "${ECHO_T}no, using $LN_S" >&6
34207 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
34208 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
34209 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
34210 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
34211 echo $ECHO_N "(cached) $ECHO_C" >&6
34213 cat >conftest.
make <<\_ACEOF
34215 @
echo 'ac_maketemp="$(MAKE)"'
34217 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
34218 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
34219 if test -n "$ac_maketemp"; then
34220 eval ac_cv_prog_make_
${ac_make}_set
=yes
34222 eval ac_cv_prog_make_
${ac_make}_set
=no
34224 rm -f conftest.
make
34226 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
34227 echo "$as_me:$LINENO: result: yes" >&5
34228 echo "${ECHO_T}yes" >&6
34231 echo "$as_me:$LINENO: result: no" >&5
34232 echo "${ECHO_T}no" >&6
34233 SET_MAKE
="MAKE=${MAKE-make}"
34238 if test "$build" != "$host" ; then
34240 STRIP
=$host_alias-strip
34242 # Extract the first word of "ar", so it can be a program name with args.
34243 set dummy
ar; ac_word
=$2
34244 echo "$as_me:$LINENO: checking for $ac_word" >&5
34245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34246 if test "${ac_cv_prog_AR+set}" = set; then
34247 echo $ECHO_N "(cached) $ECHO_C" >&6
34249 if test -n "$AR"; then
34250 ac_cv_prog_AR
="$AR" # Let the user override the test.
34252 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34253 for as_dir
in $PATH
34256 test -z "$as_dir" && as_dir
=.
34257 for ac_exec_ext
in '' $ac_executable_extensions; do
34258 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34266 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
34270 if test -n "$AR"; then
34271 echo "$as_me:$LINENO: result: $AR" >&5
34272 echo "${ECHO_T}$AR" >&6
34274 echo "$as_me:$LINENO: result: no" >&5
34275 echo "${ECHO_T}no" >&6
34278 # Extract the first word of "strip", so it can be a program name with args.
34279 set dummy strip
; ac_word
=$2
34280 echo "$as_me:$LINENO: checking for $ac_word" >&5
34281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34282 if test "${ac_cv_prog_STRIP+set}" = set; then
34283 echo $ECHO_N "(cached) $ECHO_C" >&6
34285 if test -n "$STRIP"; then
34286 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
34288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34289 for as_dir
in $PATH
34292 test -z "$as_dir" && as_dir
=.
34293 for ac_exec_ext
in '' $ac_executable_extensions; do
34294 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34295 ac_cv_prog_STRIP
="strip"
34296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34302 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
34305 STRIP
=$ac_cv_prog_STRIP
34306 if test -n "$STRIP"; then
34307 echo "$as_me:$LINENO: result: $STRIP" >&5
34308 echo "${ECHO_T}$STRIP" >&6
34310 echo "$as_me:$LINENO: result: no" >&5
34311 echo "${ECHO_T}no" >&6
34318 INSTALL_DIR
="mkdir"
34320 *) INSTALL_DIR
="$INSTALL -d"
34327 *-*-cygwin* | *-*-mingw32* )
34328 LDFLAGS_GUI
="-Wl,--subsystem,windows -mwindows"
34334 echo "$as_me:$LINENO: checking if make is GNU make" >&5
34335 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
34336 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
34337 echo $ECHO_N "(cached) $ECHO_C" >&6
34340 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
34341 egrep -s GNU
> /dev
/null
); then
34342 bakefile_cv_prog_makeisgnu
="yes"
34344 bakefile_cv_prog_makeisgnu
="no"
34348 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
34349 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
34351 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
34366 *-*-cygwin* | *-*-mingw32* )
34369 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
34372 powerpc
-*-darwin* )
34389 SO_SUFFIX_MODULE
="so"
34397 SO_SUFFIX_MODULE
="sl"
34401 SO_SUFFIX_MODULE
="a"
34403 *-*-cygwin* | *-*-mingw32* )
34405 SO_SUFFIX_MODULE
="dll"
34409 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
34413 powerpc
-*-darwin* )
34415 SO_SUFFIX_MODULE
="bundle"
34426 SHARED_LD_CC
="\$(CC) -shared -o"
34427 SHARED_LD_CXX
="\$(CXX) -shared -o"
34429 if test "x$GCC" = "xyes"; then
34435 if test "x$GCC" = "xyes"; then
34436 SHARED_LD_CC
="${CC} -shared ${PIC_FLAG} -o"
34437 SHARED_LD_CXX
="${CXX} -shared ${PIC_FLAG} -o"
34439 LDFLAGS
="$LDFLAGS -L/usr/lib"
34441 SHARED_LD_CC
="${CC} -b -o"
34442 SHARED_LD_CXX
="${CXX} -b -o"
34448 if test "x$GCC" != "xyes"; then
34449 echo "$as_me:$LINENO: checking for Intel compiler" >&5
34450 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
34451 if test "${bakefile_cv_prog_icc+set}" = set; then
34452 echo $ECHO_N "(cached) $ECHO_C" >&6
34455 cat >conftest.
$ac_ext <<_ACEOF
34456 #line $LINENO "configure"
34459 cat confdefs.h
>>conftest.
$ac_ext
34460 cat >>conftest.
$ac_ext <<_ACEOF
34461 /* end confdefs.h. */
34467 #ifndef __INTEL_COMPILER
34475 rm -f conftest.
$ac_objext
34476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34477 (eval $ac_compile) 2>&5
34479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34480 (exit $ac_status); } &&
34481 { ac_try
='test -s conftest.$ac_objext'
34482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34483 (eval $ac_try) 2>&5
34485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34486 (exit $ac_status); }; }; then
34487 bakefile_cv_prog_icc
=yes
34489 echo "$as_me: failed program was:" >&5
34490 sed 's/^/| /' conftest.
$ac_ext >&5
34492 bakefile_cv_prog_icc
=no
34495 rm -f conftest.
$ac_objext conftest.
$ac_ext
34498 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
34499 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
34500 if test "$bakefile_cv_prog_icc" = "yes"; then
34507 if test "x$GCC" != xyes
; then
34508 SHARED_LD_CC
="${CC} -G -o"
34509 SHARED_LD_CXX
="${CXX} -G -o"
34515 CFLAGS
="$CFLAGS -fno-common"
34516 CXXFLAGS
="$CXXFLAGS -fno-common"
34519 cat <<EOF >shared-ld-sh
34521 #-----------------------------------------------------------------------------
34522 #-- Name: distrib/mac/shared-ld-sh
34523 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
34524 #-- Author: Gilles Depeyrot
34525 #-- Copyright: (c) 2002 Gilles Depeyrot
34526 #-- Licence: any use permitted
34527 #-----------------------------------------------------------------------------
34532 linking_flag="-dynamiclib"
34534 while test \${#} -gt 0; do
34541 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
34542 # collect these options and values
34543 args="\${args} \${1} \${2}"
34547 -l*|-L*|-flat_namespace)
34548 # collect these options
34549 args="\${args} \${1}"
34552 -dynamiclib|-bundle)
34553 linking_flag="\${1}"
34557 echo "shared-ld: unhandled option '\${1}'"
34561 *.o | *.a | *.dylib)
34562 # collect object files
34563 objects="\${objects} \${1}"
34567 echo "shared-ld: unhandled argument '\${1}'"
34576 # Link one module containing all the others
34578 if test \${verbose} = 1; then
34579 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
34581 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
34583 if test \${status} != 0; then
34588 # Link the shared library from the single module created
34590 if test \${verbose} = 1; then
34591 echo "cc \${linking_flag} master.\$\$.o \${args}"
34593 c++ \${linking_flag} master.\$\$.o \${args}
34595 if test \${status} != 0; then
34600 # Remove intermediate module
34602 rm -f master.\$\$.o
34606 chmod +x shared
-ld-sh
34608 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -undefined suppress -flat_namespace -o"
34609 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -undefined suppress -flat_namespace -o"
34610 SHARED_LD_CXX
="$SHARED_LD_CC"
34611 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
34612 PIC_FLAG
="-dynamic -fPIC"
34616 if test "x$GCC" != "xyes"; then
34617 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
34618 set dummy makeC
++SharedLib
; ac_word
=$2
34619 echo "$as_me:$LINENO: checking for $ac_word" >&5
34620 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34621 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
34622 echo $ECHO_N "(cached) $ECHO_C" >&6
34624 if test -n "$AIX_CXX_LD"; then
34625 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
34627 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34628 for as_dir
in $PATH
34631 test -z "$as_dir" && as_dir
=.
34632 for ac_exec_ext
in '' $ac_executable_extensions; do
34633 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34634 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
34635 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34641 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
34644 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
34645 if test -n "$AIX_CXX_LD"; then
34646 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
34647 echo "${ECHO_T}$AIX_CXX_LD" >&6
34649 echo "$as_me:$LINENO: result: no" >&5
34650 echo "${ECHO_T}no" >&6
34653 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
34654 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
34659 SHARED_LD_CC
="${LD} -shared -o"
34660 SHARED_LD_CXX
="${LD} -shared -o"
34664 if test "x$GCC" != "xyes"; then
34669 *-*-cygwin* | *-*-mingw32* )
34673 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
34681 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
34682 echo "$as_me: error: unknown system type $host." >&2;}
34683 { (exit 1); exit 1; }; }
34686 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
34687 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
34689 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
34690 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
34709 SONAME_FLAG
="-Wl,-soname,"
34737 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
34738 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
34741 if test "x$GCC" = "xyes"; then
34745 powerpc
-*-darwin* )
34746 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
34749 DEPSFLAG_GCC
="-MMD"
34752 echo "$as_me:$LINENO: result: gcc" >&5
34753 echo "${ECHO_T}gcc" >&6
34755 echo "$as_me:$LINENO: result: none" >&5
34756 echo "${ECHO_T}none" >&6
34759 if test $DEPS_TRACKING = 1 ; then
34763 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
34764 # script. It is used to track C/C++ files dependencies in portable way.
34766 # Permission is given to use this file in any way.
34770 DEPSFLAG_GCC="$DEPSFLAG_GCC"
34774 if test \$DEPSMODE = gcc ; then
34775 \${*} \${DEPSFLAG_GCC}
34777 if test \${status} != 0 ; then
34780 # move created file to the location we want it in:
34781 while test \${#} -gt 0; do
34795 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
34796 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
34797 if test -f \$depfile ; then
34798 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34801 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
34802 if test -f \$depfile ; then
34803 sed -e "/^\$objfile/! s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34823 *-*-cygwin* | *-*-mingw32* )
34824 if test "$build" != "$host" ; then
34825 RESCOMP
=$host_alias-windres
34827 # Extract the first word of "windres", so it can be a program name with args.
34828 set dummy windres
; ac_word
=$2
34829 echo "$as_me:$LINENO: checking for $ac_word" >&5
34830 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34831 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34832 echo $ECHO_N "(cached) $ECHO_C" >&6
34834 if test -n "$RESCOMP"; then
34835 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
34837 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34838 for as_dir
in $PATH
34841 test -z "$as_dir" && as_dir
=.
34842 for ac_exec_ext
in '' $ac_executable_extensions; do
34843 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34844 ac_cv_prog_RESCOMP
="windres"
34845 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34851 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
34854 RESCOMP
=$ac_cv_prog_RESCOMP
34855 if test -n "$RESCOMP"; then
34856 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34857 echo "${ECHO_T}$RESCOMP" >&6
34859 echo "$as_me:$LINENO: result: no" >&5
34860 echo "${ECHO_T}no" >&6
34867 # Extract the first word of "Rez", so it can be a program name with args.
34868 set dummy Rez
; ac_word
=$2
34869 echo "$as_me:$LINENO: checking for $ac_word" >&5
34870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34871 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34872 echo $ECHO_N "(cached) $ECHO_C" >&6
34874 if test -n "$RESCOMP"; then
34875 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
34877 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34878 for as_dir
in $PATH
34881 test -z "$as_dir" && as_dir
=.
34882 for ac_exec_ext
in '' $ac_executable_extensions; do
34883 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34884 ac_cv_prog_RESCOMP
="Rez"
34885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34891 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
34894 RESCOMP
=$ac_cv_prog_RESCOMP
34895 if test -n "$RESCOMP"; then
34896 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34897 echo "${ECHO_T}$RESCOMP" >&6
34899 echo "$as_me:$LINENO: result: no" >&5
34900 echo "${ECHO_T}no" >&6
34903 # Extract the first word of "SetFile", so it can be a program name with args.
34904 set dummy SetFile
; ac_word
=$2
34905 echo "$as_me:$LINENO: checking for $ac_word" >&5
34906 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34907 if test "${ac_cv_prog_SETFILE+set}" = set; then
34908 echo $ECHO_N "(cached) $ECHO_C" >&6
34910 if test -n "$SETFILE"; then
34911 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
34913 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34914 for as_dir
in $PATH
34917 test -z "$as_dir" && as_dir
=.
34918 for ac_exec_ext
in '' $ac_executable_extensions; do
34919 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34920 ac_cv_prog_SETFILE
="SetFile"
34921 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34927 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
34930 SETFILE
=$ac_cv_prog_SETFILE
34931 if test -n "$SETFILE"; then
34932 echo "$as_me:$LINENO: result: $SETFILE" >&5
34933 echo "${ECHO_T}$SETFILE" >&6
34935 echo "$as_me:$LINENO: result: no" >&5
34936 echo "${ECHO_T}no" >&6
34949 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
34950 if test "${enable_precomp_headers+set}" = set; then
34951 enableval
="$enable_precomp_headers"
34952 bk_use_pch
="$enableval"
34957 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
34958 if test "x$GCC" = "xyes"; then
34959 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
34960 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
34961 cat >conftest.
$ac_ext <<_ACEOF
34962 #line $LINENO "configure"
34965 cat confdefs.h
>>conftest.
$ac_ext
34966 cat >>conftest.
$ac_ext <<_ACEOF
34967 /* end confdefs.h. */
34973 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
34974 #error "no pch support"
34977 #error "no pch support"
34979 #if (__GNUC__ == 3) && \
34980 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
34981 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
34982 #error "no pch support"
34989 rm -f conftest.
$ac_objext
34990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34991 (eval $ac_compile) 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 echo "$as_me:$LINENO: result: yes" >&5
35003 echo "${ECHO_T}yes" >&6
35004 CPPFLAGS
="-fpch-deps $CPPFLAGS"
35008 echo "$as_me: failed program was:" >&5
35009 sed 's/^/| /' conftest.
$ac_ext >&5
35012 echo "$as_me:$LINENO: result: no" >&5
35013 echo "${ECHO_T}no" >&6
35016 rm -f conftest.
$ac_objext conftest.
$ac_ext
35017 if test $GCC_PCH = 1 ; then
35018 cat <<EOF >bk-make-pch
35021 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
35022 # script. It is used to generated precompiled headers.
35024 # Permission is given to use this file in any way.
35033 while test \${#} -gt 0; do
35036 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
35037 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
35038 headerfile="\${incdir}/\${header}"
35042 compiler="\${compiler} \${1}"
35046 if test "x\${headerfile}" = "x" ; then
35047 echo "error: can't find header \${header} in include paths" >2
35049 if test -f \${outfile} ; then
35052 mkdir -p \`dirname \${outfile}\`
35054 depsfile=".deps/\`basename \${outfile}\`.d"
35056 # can do this because gcc is >= 3.4:
35057 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
35061 chmod +x bk
-make-pch
35070 COND_BUILD_DEBUG
="#"
35071 if test "x$BUILD" = "xdebug" ; then
35072 COND_BUILD_DEBUG
=""
35075 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
35076 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
35077 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
35080 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
35081 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
35082 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
35085 COND_BUILD_RELEASE
="#"
35086 if test "x$BUILD" = "xrelease" ; then
35087 COND_BUILD_RELEASE
=""
35090 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
35091 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
35092 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
35095 COND_DEBUG_FLAG_1
="#"
35096 if test "x$DEBUG_FLAG" = "x1" ; then
35097 COND_DEBUG_FLAG_1
=""
35100 COND_DEBUG_INFO_0
="#"
35101 if test "x$DEBUG_INFO" = "x0" ; then
35102 COND_DEBUG_INFO_0
=""
35105 COND_DEBUG_INFO_1
="#"
35106 if test "x$DEBUG_INFO" = "x1" ; then
35107 COND_DEBUG_INFO_1
=""
35110 COND_DEPS_TRACKING_0
="#"
35111 if test "x$DEPS_TRACKING" = "x0" ; then
35112 COND_DEPS_TRACKING_0
=""
35115 COND_DEPS_TRACKING_1
="#"
35116 if test "x$DEPS_TRACKING" = "x1" ; then
35117 COND_DEPS_TRACKING_1
=""
35121 if test "x$GCC_PCH" = "x1" ; then
35125 COND_MONOLITHIC_0
="#"
35126 if test "x$MONOLITHIC" = "x0" ; then
35127 COND_MONOLITHIC_0
=""
35130 COND_MONOLITHIC_0_SHARED_0
="#"
35131 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
35132 COND_MONOLITHIC_0_SHARED_0
=""
35135 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
35136 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
35137 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
35140 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
35141 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
35142 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
35145 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
35146 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
35147 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
35150 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
35151 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
35152 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
35155 COND_MONOLITHIC_0_SHARED_1
="#"
35156 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
35157 COND_MONOLITHIC_0_SHARED_1
=""
35160 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
35161 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
35162 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
35165 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
35166 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
35167 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
35170 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
35171 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
35172 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
35175 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
35176 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
35177 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
35180 COND_MONOLITHIC_1
="#"
35181 if test "x$MONOLITHIC" = "x1" ; then
35182 COND_MONOLITHIC_1
=""
35185 COND_MONOLITHIC_1_SHARED_0
="#"
35186 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
35187 COND_MONOLITHIC_1_SHARED_0
=""
35190 COND_MONOLITHIC_1_SHARED_1
="#"
35191 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
35192 COND_MONOLITHIC_1_SHARED_1
=""
35195 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
35196 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
35197 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
35200 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
35201 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
35202 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
35205 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
35206 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
35207 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
35210 COND_PLATFORM_MACOSX_1
="#"
35211 if test "x$PLATFORM_MACOSX" = "x1" ; then
35212 COND_PLATFORM_MACOSX_1
=""
35215 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
35216 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
35217 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
35220 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
35221 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
35222 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
35225 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
35226 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
35227 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
35230 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
35231 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
35232 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
35235 COND_PLATFORM_MAC_1
="#"
35236 if test "x$PLATFORM_MAC" = "x1" ; then
35237 COND_PLATFORM_MAC_1
=""
35240 COND_PLATFORM_UNIX_0
="#"
35241 if test "x$PLATFORM_UNIX" = "x0" ; then
35242 COND_PLATFORM_UNIX_0
=""
35245 COND_PLATFORM_UNIX_1
="#"
35246 if test "x$PLATFORM_UNIX" = "x1" ; then
35247 COND_PLATFORM_UNIX_1
=""
35250 COND_PLATFORM_WIN32_0
="#"
35251 if test "x$PLATFORM_WIN32" = "x0" ; then
35252 COND_PLATFORM_WIN32_0
=""
35255 COND_PLATFORM_WIN32_1
="#"
35256 if test "x$PLATFORM_WIN32" = "x1" ; then
35257 COND_PLATFORM_WIN32_1
=""
35261 if test "x$SHARED" = "x0" ; then
35265 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
35266 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
35267 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
35270 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
35271 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35272 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
35275 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
35276 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35277 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
35280 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
35281 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35282 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
35285 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
35286 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
35287 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
35290 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
35291 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
35292 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
35295 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
35296 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
35297 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
35300 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
35301 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
35302 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
35306 if test "x$SHARED" = "x1" ; then
35310 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
35311 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
35312 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
35315 COND_TOOLKIT_COCOA
="#"
35316 if test "x$TOOLKIT" = "xCOCOA" ; then
35317 COND_TOOLKIT_COCOA
=""
35320 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
35321 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35322 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
35325 COND_TOOLKIT_GTK
="#"
35326 if test "x$TOOLKIT" = "xGTK" ; then
35327 COND_TOOLKIT_GTK
=""
35330 COND_TOOLKIT_GTK_USE_GUI_1
="#"
35331 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
35332 COND_TOOLKIT_GTK_USE_GUI_1
=""
35335 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
35336 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35337 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
35340 COND_TOOLKIT_MAC
="#"
35341 if test "x$TOOLKIT" = "xMAC" ; then
35342 COND_TOOLKIT_MAC
=""
35345 COND_TOOLKIT_MAC_USE_GUI_1
="#"
35346 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
35347 COND_TOOLKIT_MAC_USE_GUI_1
=""
35350 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
35351 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35352 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
35355 COND_TOOLKIT_MGL
="#"
35356 if test "x$TOOLKIT" = "xMGL" ; then
35357 COND_TOOLKIT_MGL
=""
35360 COND_TOOLKIT_MGL_USE_GUI_1
="#"
35361 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
35362 COND_TOOLKIT_MGL_USE_GUI_1
=""
35365 COND_TOOLKIT_MOTIF
="#"
35366 if test "x$TOOLKIT" = "xMOTIF" ; then
35367 COND_TOOLKIT_MOTIF
=""
35370 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
35371 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
35372 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
35375 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
35376 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35377 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
35380 COND_TOOLKIT_MSW
="#"
35381 if test "x$TOOLKIT" = "xMSW" ; then
35382 COND_TOOLKIT_MSW
=""
35385 COND_TOOLKIT_MSW_USE_GUI_1
="#"
35386 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
35387 COND_TOOLKIT_MSW_USE_GUI_1
=""
35390 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
35391 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35392 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
35395 COND_TOOLKIT_OS2
="#"
35396 if test "x$TOOLKIT" = "xOS2" ; then
35397 COND_TOOLKIT_OS2
=""
35400 COND_TOOLKIT_OS2_USE_GUI_1
="#"
35401 if test "x$TOOLKIT" = "xOS2" -a "x$USE_GUI" = "x1" ; then
35402 COND_TOOLKIT_OS2_USE_GUI_1
=""
35405 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0
="#"
35406 if test "x$TOOLKIT" = "xOS2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35407 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0
=""
35410 COND_TOOLKIT_X11
="#"
35411 if test "x$TOOLKIT" = "xX11" ; then
35412 COND_TOOLKIT_X11
=""
35415 COND_TOOLKIT_X11_USE_GUI_1
="#"
35416 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
35417 COND_TOOLKIT_X11_USE_GUI_1
=""
35421 if test "x$UNICODE" = "x1" ; then
35426 if test "x$USE_GUI" = "x0" ; then
35431 if test "x$USE_GUI" = "x1" ; then
35435 COND_USE_GUI_1_WXUNIV_0
="#"
35436 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35437 COND_USE_GUI_1_WXUNIV_0
=""
35440 COND_USE_GUI_1_WXUNIV_1
="#"
35441 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
35442 COND_USE_GUI_1_WXUNIV_1
=""
35445 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
35446 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35447 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
35450 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
35451 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35452 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
35455 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
35456 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35457 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
35460 COND_USE_SOSYMLINKS_1
="#"
35461 if test "x$USE_SOSYMLINKS" = "x1" ; then
35462 COND_USE_SOSYMLINKS_1
=""
35465 COND_USE_SOVERLINUX_1
="#"
35466 if test "x$USE_SOVERLINUX" = "x1" ; then
35467 COND_USE_SOVERLINUX_1
=""
35470 COND_USE_SOVERSION_0
="#"
35471 if test "x$USE_SOVERSION" = "x0" ; then
35472 COND_USE_SOVERSION_0
=""
35475 COND_USE_SOVERSOLARIS_1
="#"
35476 if test "x$USE_SOVERSOLARIS" = "x1" ; then
35477 COND_USE_SOVERSOLARIS_1
=""
35481 if test "x$WXUNIV" = "x1" ; then
35485 COND_WXUSE_EXPAT_BUILTIN
="#"
35486 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
35487 COND_WXUSE_EXPAT_BUILTIN
=""
35490 COND_WXUSE_LIBJPEG_BUILTIN
="#"
35491 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35492 COND_WXUSE_LIBJPEG_BUILTIN
=""
35495 COND_WXUSE_LIBPNG_BUILTIN
="#"
35496 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35497 COND_WXUSE_LIBPNG_BUILTIN
=""
35500 COND_WXUSE_LIBTIFF_BUILTIN
="#"
35501 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35502 COND_WXUSE_LIBTIFF_BUILTIN
=""
35505 COND_WXUSE_ODBC_BUILTIN
="#"
35506 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
35507 COND_WXUSE_ODBC_BUILTIN
=""
35510 COND_WXUSE_REGEX_BUILTIN
="#"
35511 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
35512 COND_WXUSE_REGEX_BUILTIN
=""
35515 COND_WXUSE_ZLIB_BUILTIN
="#"
35516 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
35517 COND_WXUSE_ZLIB_BUILTIN
=""
35524 if test $GCC_PCH = 1 ; then
35525 CPPFLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
35528 powerpc
-*-darwin* )
35529 CPPFLAGS
="-DNO_GCC_PRAGMA $CPPFLAGS"
35534 powerpc
-*-darwin* )
35535 CODE_GEN_FLAGS_CXX
="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS_CXX"
35540 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
35642 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
35643 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
35644 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
35645 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
35646 echo $ECHO_N "(cached) $ECHO_C" >&6
35648 cat >conftest.
make <<\_ACEOF
35650 @
echo 'ac_maketemp="$(MAKE)"'
35652 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
35653 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
35654 if test -n "$ac_maketemp"; then
35655 eval ac_cv_prog_make_
${ac_make}_set
=yes
35657 eval ac_cv_prog_make_
${ac_make}_set
=no
35659 rm -f conftest.
make
35661 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
35662 echo "$as_me:$LINENO: result: yes" >&5
35663 echo "${ECHO_T}yes" >&6
35666 echo "$as_me:$LINENO: result: no" >&5
35667 echo "${ECHO_T}no" >&6
35668 SET_MAKE
="MAKE=${MAKE-make}"
35672 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
35673 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
35676 ac_config_headers
="$ac_config_headers setup.h"
35679 ac_config_files
="$ac_config_files wx-config version-script Makefile"
35682 ac_config_commands
="$ac_config_commands default"
35686 if test "$wxUSE_GUI" = "yes"; then
35687 SUBDIRS
="samples demos utils contrib"
35688 else SUBDIRS
="samples utils"
35691 for subdir
in `echo $SUBDIRS`; do
35692 if test -d ${srcdir}/${subdir} ; then
35693 if test "$wxUSE_GUI" = "yes"; then
35694 if test ${subdir} = "samples"; then
35695 makefiles
="samples/Makefile.in $makefiles"
35696 for sample
in `echo $SAMPLES_SUBDIRS`; do
35697 if test -d $srcdir/samples
/$sample; then
35698 makefiles
="samples/$sample/Makefile.in $makefiles"
35701 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
35703 else if test ${subdir} = "samples"; then
35704 makefiles
="samples/Makefile.in samples/console/Makefile.in"
35705 else makefiles
="utils/HelpGen/Makefile.in \
35706 utils/HelpGen/src/Makefile.in \
35707 utils/makegen/Makefile.in"
35711 for mkin
in $makefiles ; do
35712 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
35713 ac_config_files
="$ac_config_files $mk"
35720 cat >confcache
<<\_ACEOF
35721 # This file is a shell script that caches the results of configure
35722 # tests run on this system so they can be shared between configure
35723 # scripts and configure runs, see configure's option --config-cache.
35724 # It is not useful on other systems. If it contains results you don't
35725 # want to keep, you may remove or edit it.
35727 # config.status only pays attention to the cache file if you give it
35728 # the --recheck option to rerun configure.
35730 # `ac_cv_env_foo' variables (set or unset) will be overridden when
35731 # loading this file, other *unset* `ac_cv_foo' will be assigned the
35732 # following values.
35736 # The following way of writing the cache mishandles newlines in values,
35737 # but we know of no workaround that is simple, portable, and efficient.
35738 # So, don't put newlines in cache variables' values.
35739 # Ultrix sh set writes to stderr and can't be redirected directly,
35740 # and sets the high bit in the cache file unless we assign to the vars.
35743 case `(ac_space=' '; set | grep ac_space) 2>&1` in
35745 # `set' does not quote correctly, so add quotes (double-quote
35746 # substitution turns \\\\ into \\, and sed turns \\ into \).
35749 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
35752 # `set' quotes correctly as required by POSIX, so do not add quotes.
35754 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
35761 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
35763 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
35765 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
35766 if test -w $cache_file; then
35767 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
35768 cat confcache
>$cache_file
35770 echo "not updating unwritable cache $cache_file"
35775 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
35776 # Let make expand exec_prefix.
35777 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
35779 # VPATH may cause trouble with some makes, so we remove $(srcdir),
35780 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
35781 # trailing colons and then remove the whole line if VPATH becomes empty
35782 # (actually we leave an empty line to preserve line numbers).
35783 if test "x$srcdir" = x.
; then
35784 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
35785 s/:*\$(srcdir):*/:/;
35786 s/:*\${srcdir}:*/:/;
35788 s/^\([^=]*=[ ]*\):*/\1/;
35794 DEFS
=-DHAVE_CONFIG_H
35798 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
35799 # 1. Remove the extension, and $U if already installed.
35800 ac_i
=`echo "$ac_i" |
35801 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
35803 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
35804 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
35806 LIBOBJS
=$ac_libobjs
35808 LTLIBOBJS
=$ac_ltlibobjs
35812 : ${CONFIG_STATUS=./config.status}
35813 ac_clean_files_save
=$ac_clean_files
35814 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
35815 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
35816 echo "$as_me: creating $CONFIG_STATUS" >&6;}
35817 cat >$CONFIG_STATUS <<_ACEOF
35819 # Generated by $as_me.
35820 # Run this file to recreate the current configuration.
35821 # Compiler output produced by configure, useful for debugging
35822 # configure, is in config.log if it exists.
35825 ac_cs_recheck=false
35827 SHELL=\${CONFIG_SHELL-$SHELL}
35830 cat >>$CONFIG_STATUS <<\_ACEOF
35831 ## --------------------- ##
35832 ## M4sh Initialization. ##
35833 ## --------------------- ##
35835 # Be Bourne compatible
35836 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
35839 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
35840 # is contrary to our usage. Disable this feature.
35841 alias -g '${1+"$@"}'='"$@"'
35842 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
35846 # Support unset when possible.
35847 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
35854 # Work around bugs in pre-3.0 UWIN ksh.
35855 $as_unset ENV MAIL MAILPATH
35862 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
35863 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
35864 LC_TELEPHONE LC_TIME
35866 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
35867 eval $as_var=C
; export $as_var
35873 # Required to use basename.
35874 if expr a
: '\(a\)' >/dev
/null
2>&1; then
35880 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
35881 as_basename
=basename
35887 # Name of the executable.
35888 as_me
=`$as_basename "$0" ||
35889 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
35890 X"$0" : 'X\(//\)$' \| \
35891 X"$0" : 'X\(/\)$' \| \
35892 . : '\(.\)' 2>/dev/null ||
35894 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
35895 /^X\/\(\/\/\)$/{ s//\1/; q; }
35896 /^X\/\(\/\).*/{ s//\1/; q; }
35900 # PATH needs CR, and LINENO needs CR and PATH.
35901 # Avoid depending upon Character Ranges.
35902 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
35903 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
35904 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
35905 as_cr_digits
='0123456789'
35906 as_cr_alnum
=$as_cr_Letters$as_cr_digits
35908 # The user is always right.
35909 if test "${PATH_SEPARATOR+set}" != set; then
35910 echo "#! /bin/sh" >conf$$.sh
35911 echo "exit 0" >>conf$$.sh
35913 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
35922 as_lineno_1
=$LINENO
35923 as_lineno_2
=$LINENO
35924 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
35925 test "x$as_lineno_1" != "x$as_lineno_2" &&
35926 test "x$as_lineno_3" = "x$as_lineno_2" || {
35927 # Find who we are. Look in the path if we contain no path at all
35930 *[\\/]* ) as_myself
=$0 ;;
35931 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35932 for as_dir
in $PATH
35935 test -z "$as_dir" && as_dir
=.
35936 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
35941 # We did not find ourselves, most probably we were run as `sh COMMAND'
35942 # in which case we are not to be found in the path.
35943 if test "x$as_myself" = x
; then
35946 if test ! -f "$as_myself"; then
35947 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
35948 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
35949 { (exit 1); exit 1; }; }
35951 case $CONFIG_SHELL in
35953 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35954 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
35957 test -z "$as_dir" && as_dir
=.
35958 for as_base
in sh bash ksh sh5
; do
35961 if ("$as_dir/$as_base" -c '
35962 as_lineno_1=$LINENO
35963 as_lineno_2=$LINENO
35964 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
35965 test "x$as_lineno_1" != "x$as_lineno_2" &&
35966 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
35967 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
35968 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
35969 CONFIG_SHELL
=$as_dir/$as_base
35970 export CONFIG_SHELL
35971 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
35979 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
35980 # uniformly replaced by the line number. The first 'sed' inserts a
35981 # line-number line before each line; the second 'sed' does the real
35982 # work. The second script uses 'N' to pair each line-number line
35983 # with the numbered line, and appends trailing '-' during
35984 # substitution so that $LINENO is not a special case at line end.
35985 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
35986 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
35987 sed '=' <$as_myself |
35992 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
35995 s,^['$as_cr_digits']*\n,,
35996 ' >$as_me.lineno
&&
35997 chmod +x
$as_me.lineno
||
35998 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
35999 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
36000 { (exit 1); exit 1; }; }
36002 # Don't try to exec as it changes $[0], causing all sort of problems
36003 # (the dirname of $[0] is not the place where we might find the
36004 # original and so on. Autoconf is especially sensible to this).
36006 # Exit status is that of the last command.
36011 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
36012 *c
*,-n*) ECHO_N
= ECHO_C
='
36014 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
36015 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
36018 if expr a
: '\(a\)' >/dev
/null
2>&1; then
36024 rm -f conf$$ conf$$.exe conf$$.
file
36026 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
36027 # We could just check for DJGPP; but this test a) works b) is more generic
36028 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
36029 if test -f conf$$.exe
; then
36030 # Don't use ln at all; we don't have any links
36035 elif ln conf$$.
file conf$$
2>/dev
/null
; then
36040 rm -f conf$$ conf$$.exe conf$$.
file
36042 if mkdir -p .
2>/dev
/null
; then
36048 as_executable_p
="test -f"
36050 # Sed expression to map a string onto a valid CPP name.
36051 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
36053 # Sed expression to map a string onto a valid variable name.
36054 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
36058 # We need space, tab and new line, in precisely that order.
36068 # Open the log real soon, to keep \$[0] and so on meaningful, and to
36069 # report actual input values of CONFIG_FILES etc. instead of their
36070 # values after options handling. Logging --version etc. is OK.
36074 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
36075 ## Running $as_me. ##
36080 This file was extended by wxWindows $as_me 2.5.0, which was
36081 generated by GNU Autoconf 2.57. Invocation command line was
36083 CONFIG_FILES = $CONFIG_FILES
36084 CONFIG_HEADERS = $CONFIG_HEADERS
36085 CONFIG_LINKS = $CONFIG_LINKS
36086 CONFIG_COMMANDS = $CONFIG_COMMANDS
36090 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
36094 # Files that config.status was made for.
36095 if test -n "$ac_config_files"; then
36096 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
36099 if test -n "$ac_config_headers"; then
36100 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
36103 if test -n "$ac_config_links"; then
36104 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
36107 if test -n "$ac_config_commands"; then
36108 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
36111 cat >>$CONFIG_STATUS <<\_ACEOF
36114 \`$as_me' instantiates files from templates according to the
36115 current configuration.
36117 Usage: $0 [OPTIONS] [FILE]...
36119 -h, --help print this help, then exit
36120 -V, --version print version number, then exit
36121 -q, --quiet do not print progress messages
36122 -d, --debug don't remove temporary files
36123 --recheck update $as_me by reconfiguring in the same conditions
36124 --file=FILE[:TEMPLATE]
36125 instantiate the configuration file FILE
36126 --header=FILE[:TEMPLATE]
36127 instantiate the configuration header FILE
36129 Configuration files:
36132 Configuration headers:
36135 Configuration commands:
36138 Report bugs to <bug-autoconf@gnu.org>."
36141 cat >>$CONFIG_STATUS <<_ACEOF
36143 wxWindows config.status 2.5.0
36144 configured by $0, generated by GNU Autoconf 2.57,
36145 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
36147 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
36148 Free Software Foundation, Inc.
36149 This config.status script is free software; the Free Software Foundation
36150 gives unlimited permission to copy, distribute and modify it."
36155 cat >>$CONFIG_STATUS <<\_ACEOF
36156 # If no file are specified by the user, then we need to provide default
36157 # value. By we need to know if files were specified by the user.
36163 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
36164 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
36172 *) # This is not an option, so the user has probably given explicit
36175 ac_need_defaults
=false
;;
36179 # Handling of the options.
36181 cat >>$CONFIG_STATUS <<\_ACEOF
36182 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
36184 --version | --vers* | -V )
36185 echo "$ac_cs_version"; exit 0 ;;
36187 # Conflict between --help and --header
36188 { { echo "$as_me:$LINENO: error: ambiguous option: $1
36189 Try \`$0 --help' for more information." >&5
36190 echo "$as_me: error: ambiguous option: $1
36191 Try \`$0 --help' for more information." >&2;}
36192 { (exit 1); exit 1; }; };;
36193 --help | --hel | -h )
36194 echo "$ac_cs_usage"; exit 0 ;;
36195 --debug | --d* | -d )
36197 --file | --fil | --fi | --f )
36199 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
36200 ac_need_defaults
=false
;;
36201 --header | --heade | --head | --hea )
36203 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
36204 ac_need_defaults
=false
;;
36205 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
36206 | -silent | --silent | --silen | --sile | --sil | --si | --s)
36209 # This is an error.
36210 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
36211 Try \`$0 --help' for more information." >&5
36212 echo "$as_me: error: unrecognized option: $1
36213 Try \`$0 --help' for more information." >&2;}
36214 { (exit 1); exit 1; }; } ;;
36216 *) ac_config_targets
="$ac_config_targets $1" ;;
36222 ac_configure_extra_args
=
36224 if $ac_cs_silent; then
36226 ac_configure_extra_args
="$ac_configure_extra_args --silent"
36230 cat >>$CONFIG_STATUS <<_ACEOF
36231 if \$ac_cs_recheck; then
36232 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
36233 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
36238 cat >>$CONFIG_STATUS <<_ACEOF
36240 # INIT-COMMANDS section.
36244 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
36253 cat >>$CONFIG_STATUS <<\_ACEOF
36254 for ac_config_target
in $ac_config_targets
36256 case "$ac_config_target" in
36257 # Handling of arguments.
36258 "wx-config" ) CONFIG_FILES
="$CONFIG_FILES wx-config" ;;
36259 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
36260 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
36261 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
36262 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
36263 "setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS setup.h" ;;
36264 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
36265 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
36266 { (exit 1); exit 1; }; };;
36270 # If the user did not use the arguments to specify the items to instantiate,
36271 # then the envvar interface is used. Set only those that are not.
36272 # We use the long form for the default assignment because of an extremely
36273 # bizarre bug on SunOS 4.1.3.
36274 if $ac_need_defaults; then
36275 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
36276 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
36277 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
36280 # Have a temporary directory for convenience. Make it in the build tree
36281 # simply because there is no reason to put it here, and in addition,
36282 # creating and moving files from /tmp can sometimes cause problems.
36283 # Create a temporary directory, and hook for its removal unless debugging.
36286 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
36287 trap '{ (exit 1); exit 1; }' 1 2 13 15
36290 # Create a (secure) tmp directory for tmp files.
36293 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
36294 test -n "$tmp" && test -d "$tmp"
36297 tmp
=.
/confstat$$
-$RANDOM
36298 (umask 077 && mkdir $tmp)
36301 echo "$me: cannot create a temporary directory in ." >&2
36302 { (exit 1); exit 1; }
36307 cat >>$CONFIG_STATUS <<_ACEOF
36310 # CONFIG_FILES section.
36313 # No need to generate the scripts if there are no CONFIG_FILES.
36314 # This happens for instance when ./config.status config.h
36315 if test -n "\$CONFIG_FILES"; then
36316 # Protect against being on the right side of a sed subst in config.status.
36317 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
36318 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
36319 s,@SHELL@,$SHELL,;t t
36320 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
36321 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
36322 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
36323 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
36324 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
36325 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
36326 s,@exec_prefix@,$exec_prefix,;t t
36327 s,@prefix@,$prefix,;t t
36328 s,@program_transform_name@,$program_transform_name,;t t
36329 s,@bindir@,$bindir,;t t
36330 s,@sbindir@,$sbindir,;t t
36331 s,@libexecdir@,$libexecdir,;t t
36332 s,@datadir@,$datadir,;t t
36333 s,@sysconfdir@,$sysconfdir,;t t
36334 s,@sharedstatedir@,$sharedstatedir,;t t
36335 s,@localstatedir@,$localstatedir,;t t
36336 s,@libdir@,$libdir,;t t
36337 s,@includedir@,$includedir,;t t
36338 s,@oldincludedir@,$oldincludedir,;t t
36339 s,@infodir@,$infodir,;t t
36340 s,@mandir@,$mandir,;t t
36341 s,@build_alias@,$build_alias,;t t
36342 s,@host_alias@,$host_alias,;t t
36343 s,@target_alias@,$target_alias,;t t
36344 s,@DEFS@,$DEFS,;t t
36345 s,@ECHO_C@,$ECHO_C,;t t
36346 s,@ECHO_N@,$ECHO_N,;t t
36347 s,@ECHO_T@,$ECHO_T,;t t
36348 s,@LIBS@,$LIBS,;t t
36349 s,@build@,$build,;t t
36350 s,@build_cpu@,$build_cpu,;t t
36351 s,@build_vendor@,$build_vendor,;t t
36352 s,@build_os@,$build_os,;t t
36353 s,@host@,$host,;t t
36354 s,@host_cpu@,$host_cpu,;t t
36355 s,@host_vendor@,$host_vendor,;t t
36356 s,@host_os@,$host_os,;t t
36357 s,@target@,$target,;t t
36358 s,@target_cpu@,$target_cpu,;t t
36359 s,@target_vendor@,$target_vendor,;t t
36360 s,@target_os@,$target_os,;t t
36362 s,@CFLAGS@,$CFLAGS,;t t
36363 s,@LDFLAGS@,$LDFLAGS,;t t
36364 s,@CPPFLAGS@,$CPPFLAGS,;t t
36365 s,@ac_ct_CC@,$ac_ct_CC,;t t
36366 s,@EXEEXT@,$EXEEXT,;t t
36367 s,@OBJEXT@,$OBJEXT,;t t
36369 s,@EGREP@,$EGREP,;t t
36371 s,@CXXFLAGS@,$CXXFLAGS,;t t
36372 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
36373 s,@RANLIB@,$RANLIB,;t t
36374 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
36376 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
36377 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
36378 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
36379 s,@STRIP@,$STRIP,;t t
36380 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
36381 s,@YACC@,$YACC,;t t
36383 s,@LEXLIB@,$LEXLIB,;t t
36384 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
36385 s,@LN_S@,$LN_S,;t t
36386 s,@CXXCPP@,$CXXCPP,;t t
36387 s,@subdirs@,$subdirs,;t t
36388 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
36389 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
36390 s,@GTK_LIBS@,$GTK_LIBS,;t t
36391 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
36392 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
36393 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
36394 s,@X_CFLAGS@,$X_CFLAGS,;t t
36395 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
36396 s,@X_LIBS@,$X_LIBS,;t t
36397 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
36398 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
36399 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
36400 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
36401 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
36402 s,@RESCOMP@,$RESCOMP,;t t
36403 s,@DEREZ@,$DEREZ,;t t
36404 s,@SETFILE@,$SETFILE,;t t
36405 s,@LIBICONV@,$LIBICONV,;t t
36406 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
36407 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
36408 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
36409 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
36410 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
36411 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
36412 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
36413 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
36414 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
36415 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
36416 s,@VENDOR@,$VENDOR,;t t
36417 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
36418 s,@WXUNIV@,$WXUNIV,;t t
36419 s,@MONOLITHIC@,$MONOLITHIC,;t t
36420 s,@EXTRALIBS@,$EXTRALIBS,;t t
36421 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
36422 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
36423 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
36424 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
36425 s,@UNICODE@,$UNICODE,;t t
36426 s,@BUILD@,$BUILD,;t t
36427 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
36428 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
36429 s,@SHARED@,$SHARED,;t t
36430 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
36431 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
36432 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
36433 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
36434 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
36435 s,@SET_MAKE@,$SET_MAKE,;t t
36436 s,@MAKE_SET@,$MAKE_SET,;t t
36437 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
36438 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
36439 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
36440 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
36441 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
36442 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
36443 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
36444 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
36445 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
36446 s,@DLLPREFIX@,$DLLPREFIX,;t t
36447 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
36448 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
36449 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
36450 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
36451 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
36452 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
36453 s,@PIC_FLAG@,$PIC_FLAG,;t t
36454 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
36455 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
36456 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
36457 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
36458 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
36459 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
36460 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
36461 s,@GCC_PCH@,$GCC_PCH,;t t
36462 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
36463 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
36464 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
36465 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
36466 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
36467 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
36468 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
36469 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
36470 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
36471 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
36472 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
36473 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
36474 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
36475 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
36476 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
36477 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
36478 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
36479 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
36480 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
36481 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
36482 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
36483 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
36484 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
36485 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
36486 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
36487 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
36488 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
36489 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
36490 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
36491 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
36492 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
36493 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
36494 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
36495 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
36496 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
36497 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
36498 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
36499 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
36500 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
36501 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
36502 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36503 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36504 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36505 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
36506 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
36507 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
36508 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
36509 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
36510 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
36511 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
36512 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
36513 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
36514 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
36515 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
36516 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
36517 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
36518 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
36519 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
36520 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
36521 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
36522 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
36523 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
36524 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
36525 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
36526 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
36527 s,@COND_TOOLKIT_OS2@,$COND_TOOLKIT_OS2,;t t
36528 s,@COND_TOOLKIT_OS2_USE_GUI_1@,$COND_TOOLKIT_OS2_USE_GUI_1,;t t
36529 s,@COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0,;t t
36530 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
36531 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
36532 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
36533 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
36534 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
36535 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
36536 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
36537 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36538 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36539 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36540 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
36541 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
36542 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
36543 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
36544 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
36545 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
36546 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
36547 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
36548 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
36549 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
36550 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
36551 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
36552 s,@LEX_STEM@,$LEX_STEM,;t t
36553 s,@PATH_IFS@,$PATH_IFS,;t t
36554 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
36555 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
36556 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
36557 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
36558 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
36559 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
36560 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
36561 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
36562 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
36563 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
36564 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
36565 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
36566 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
36567 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
36568 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
36569 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
36570 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
36571 s,@WX_ALL@,$WX_ALL,;t t
36572 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
36573 s,@SHARED_LD@,$SHARED_LD,;t t
36574 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
36575 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
36576 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
36577 s,@USE_GUI@,$USE_GUI,;t t
36578 s,@AFMINSTALL@,$AFMINSTALL,;t t
36579 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
36580 s,@TOOLKIT@,$TOOLKIT,;t t
36581 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
36582 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
36583 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
36584 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
36585 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
36586 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
36587 s,@cross_compiling@,$cross_compiling,;t t
36588 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
36589 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
36590 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
36591 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
36592 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
36593 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
36594 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
36595 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
36596 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
36597 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
36598 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
36599 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
36600 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
36601 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
36602 s,@GUIDIST@,$GUIDIST,;t t
36603 s,@PORT_FILES@,$PORT_FILES,;t t
36604 s,@DISTDIR@,$DISTDIR,;t t
36605 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
36606 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
36607 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
36608 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
36609 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
36610 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
36611 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
36612 s,@RESFLAGS@,$RESFLAGS,;t t
36613 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
36614 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
36615 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
36616 s,@MACOSX_BUNDLE@,$MACOSX_BUNDLE,;t t
36617 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
36618 s,@MACRESCOMP@,$MACRESCOMP,;t t
36619 s,@MACSETFILE@,$MACSETFILE,;t t
36620 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
36622 s,@DLLTOOL@,$DLLTOOL,;t t
36626 s,@MAKEINFO@,$MAKEINFO,;t t
36627 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
36628 s,@LIBOBJS@,$LIBOBJS,;t t
36629 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
36634 cat >>$CONFIG_STATUS <<\_ACEOF
36635 # Split the substitutions into bite-sized pieces for seds with
36636 # small command number limits, like on Digital OSF/1 and HP-UX.
36637 ac_max_sed_lines
=48
36638 ac_sed_frag
=1 # Number of current file.
36639 ac_beg
=1 # First line for current file.
36640 ac_end
=$ac_max_sed_lines # Line after last line for current file.
36643 while $ac_more_lines; do
36644 if test $ac_beg -gt 1; then
36645 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
36647 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
36649 if test ! -s $tmp/subs.frag
; then
36650 ac_more_lines
=false
36652 # The purpose of the label and of the branching condition is to
36653 # speed up the sed processing (if there are no `@' at all, there
36654 # is no need to browse any of the substitutions).
36655 # These are the two extra sed commands mentioned above.
36657 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
36658 if test -z "$ac_sed_cmds"; then
36659 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
36661 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
36663 ac_sed_frag
=`expr $ac_sed_frag + 1`
36665 ac_end
=`expr $ac_end + $ac_max_sed_lines`
36668 if test -z "$ac_sed_cmds"; then
36671 fi # test -n "$CONFIG_FILES"
36674 cat >>$CONFIG_STATUS <<\_ACEOF
36675 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
36676 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
36678 - | *:- | *:-:* ) # input from stdin
36680 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
36681 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
36682 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
36683 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
36684 * ) ac_file_in
=$ac_file.
in ;;
36687 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
36688 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
36689 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36690 X"$ac_file" : 'X\(//\)[^/]' \| \
36691 X"$ac_file" : 'X\(//\)$' \| \
36692 X"$ac_file" : 'X\(/\)' \| \
36693 . : '\(.\)' 2>/dev/null ||
36695 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36696 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36697 /^X\(\/\/\)$/{ s//\1/; q; }
36698 /^X\(\/\).*/{ s//\1/; q; }
36700 { if $as_mkdir_p; then
36705 while test ! -d "$as_dir"; do
36706 as_dirs
="$as_dir $as_dirs"
36707 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
36708 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36709 X"$as_dir" : 'X\(//\)[^/]' \| \
36710 X"$as_dir" : 'X\(//\)$' \| \
36711 X"$as_dir" : 'X\(/\)' \| \
36712 . : '\(.\)' 2>/dev/null ||
36714 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36715 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36716 /^X\(\/\/\)$/{ s//\1/; q; }
36717 /^X\(\/\).*/{ s//\1/; q; }
36720 test ! -n "$as_dirs" || mkdir $as_dirs
36721 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36722 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36723 { (exit 1); exit 1; }; }; }
36727 if test "$ac_dir" != .
; then
36728 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36729 # A "../" for each directory in $ac_dir_suffix.
36730 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36732 ac_dir_suffix
= ac_top_builddir
=
36736 .
) # No --srcdir option. We are building in place.
36738 if test -z "$ac_top_builddir"; then
36741 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
36743 [\\/]* | ?
:[\\/]* ) # Absolute path.
36744 ac_srcdir
=$srcdir$ac_dir_suffix;
36745 ac_top_srcdir
=$srcdir ;;
36746 *) # Relative path.
36747 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
36748 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
36750 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36752 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
36753 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36754 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36755 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36759 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
36760 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
36763 if test x
"$ac_file" != x
-; then
36764 { echo "$as_me:$LINENO: creating $ac_file" >&5
36765 echo "$as_me: creating $ac_file" >&6;}
36768 # Let's still pretend it is `configure' which instantiates (i.e., don't
36769 # use $as_me), people would be surprised to read:
36770 # /* config.h. Generated by config.status. */
36771 if test x
"$ac_file" = x
-; then
36774 configure_input
="$ac_file. "
36776 configure_input
=$configure_input"Generated from `echo $ac_file_in |
36777 sed 's,.*/,,'` by configure."
36779 # First look for the input files in the build tree, otherwise in the
36781 ac_file_inputs
=`IFS=:
36782 for f in $ac_file_in; do
36784 -) echo $tmp/stdin ;;
36786 # Absolute (can't be DOS-style, as IFS=:)
36787 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36788 echo "$as_me: error: cannot find input file: $f" >&2;}
36789 { (exit 1); exit 1; }; }
36792 if test -f "$f"; then
36795 elif test -f "$srcdir/$f"; then
36800 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36801 echo "$as_me: error: cannot find input file: $f" >&2;}
36802 { (exit 1); exit 1; }; }
36805 done` || { (exit 1); exit 1; }
36807 cat >>$CONFIG_STATUS <<_ACEOF
36811 cat >>$CONFIG_STATUS <<\_ACEOF
36813 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
36814 s
,@configure_input@
,$configure_input,;t t
36815 s
,@srcdir@
,$ac_srcdir,;t t
36816 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
36817 s
,@top_srcdir@
,$ac_top_srcdir,;t t
36818 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
36819 s
,@builddir@
,$ac_builddir,;t t
36820 s
,@abs_builddir@
,$ac_abs_builddir,;t t
36821 s
,@top_builddir@
,$ac_top_builddir,;t t
36822 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
36823 s
,@INSTALL@
,$ac_INSTALL,;t t
36824 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
36826 if test x"$ac_file" != x-; then
36827 mv $tmp/out $ac_file
36835 cat >>$CONFIG_STATUS <<\_ACEOF
36838 # CONFIG_HEADER section.
36841 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
36842 # NAME is the cpp macro being defined and VALUE is the value it is being given.
36844 # ac_d sets the value in "#define NAME VALUE" lines.
36845 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
36846 ac_dB
='[ ].*$,\1#\2'
36849 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
36850 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
36851 ac_uB
='$,\1#\2define\3'
36855 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
36856 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
36858 - | *:- | *:-:* ) # input from stdin
36860 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
36861 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
36862 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
36863 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
36864 * ) ac_file_in
=$ac_file.
in ;;
36867 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
36868 echo "$as_me: creating $ac_file" >&6;}
36870 # First look for the input files in the build tree, otherwise in the
36872 ac_file_inputs
=`IFS=:
36873 for f in $ac_file_in; do
36875 -) echo $tmp/stdin ;;
36877 # Absolute (can't be DOS-style, as IFS=:)
36878 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36879 echo "$as_me: error: cannot find input file: $f" >&2;}
36880 { (exit 1); exit 1; }; }
36883 if test -f "$f"; then
36886 elif test -f "$srcdir/$f"; then
36891 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36892 echo "$as_me: error: cannot find input file: $f" >&2;}
36893 { (exit 1); exit 1; }; }
36896 done` || { (exit 1); exit 1; }
36897 # Remove the trailing spaces.
36898 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
36902 # Transform confdefs.h into two sed scripts, `conftest.defines' and
36903 # `conftest.undefs', that substitutes the proper values into
36904 # config.h.in to produce config.h. The first handles `#define'
36905 # templates, and the second `#undef' templates.
36906 # And first: Protect against being on the right side of a sed subst in
36907 # config.status. Protect against being in an unquoted here document
36908 # in config.status.
36909 rm -f conftest.defines conftest.undefs
36910 # Using a here document instead of a string reduces the quoting nightmare.
36911 # Putting comments in sed scripts is not portable.
36913 # `end' is used to avoid that the second main sed command (meant for
36914 # 0-ary CPP macros) applies to n-ary macro definitions.
36915 # See the Autoconf documentation for `clear'.
36916 cat >confdef2sed.
sed <<\_ACEOF
36921 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
36923 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
36926 # If some macros were called several times there might be several times
36927 # the same #defines, which is useless. Nevertheless, we may not want to
36928 # sort them, since we want the *last* AC-DEFINE to be honored.
36929 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
36930 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
36931 rm -f confdef2sed.sed
36933 # This sed command replaces #undef with comments. This is necessary, for
36934 # example, in the case of _POSIX_SOURCE, which is predefined and required
36935 # on some systems where configure will not decide to define it.
36936 cat >>conftest.undefs <<\_ACEOF
36937 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
36940 # Break up conftest.defines because some shells have a limit on the size
36941 # of here documents, and old seds have small limits too (100 cmds).
36942 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
36943 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
36944 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
36945 echo ' :' >>$CONFIG_STATUS
36946 rm -f conftest.tail
36947 while grep . conftest.defines >/dev/null
36949 # Write a limited-size here document to $tmp/defines.sed.
36950 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
36951 # Speed up: don't consider the non `#define' lines.
36952 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
36953 # Work around the forget-to-reset-the-flag bug.
36954 echo 't clr' >>$CONFIG_STATUS
36955 echo ': clr' >>$CONFIG_STATUS
36956 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
36958 sed -f $tmp/defines.sed $tmp/in >$tmp/out
36960 mv $tmp/out $tmp/in
36962 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
36963 rm -f conftest.defines
36964 mv conftest.
tail conftest.defines
36966 rm -f conftest.defines
36967 echo ' fi # grep' >>$CONFIG_STATUS
36968 echo >>$CONFIG_STATUS
36970 # Break up conftest.undefs because some shells have a limit on the size
36971 # of here documents, and old seds have small limits too (100 cmds).
36972 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
36973 rm -f conftest.
tail
36974 while grep . conftest.undefs
>/dev
/null
36976 # Write a limited-size here document to $tmp/undefs.sed.
36977 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
36978 # Speed up: don't consider the non
`#undef'
36979 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
36980 # Work around the forget-to-reset-the-flag bug.
36981 echo 't clr' >>$CONFIG_STATUS
36982 echo ': clr' >>$CONFIG_STATUS
36983 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
36985 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
36987 mv $tmp/out $tmp/in
36989 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
36990 rm -f conftest.undefs
36991 mv conftest.tail conftest.undefs
36993 rm -f conftest.undefs
36995 cat >>$CONFIG_STATUS <<\_ACEOF
36996 # Let's still pretend it is `configure
' which instantiates (i.e., don't
36997 # use $as_me), people would be surprised to read:
36998 # /* config.h. Generated by config.status. */
36999 if test x
"$ac_file" = x
-; then
37000 echo "/* Generated by configure. */" >$tmp/config.h
37002 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
37004 cat $tmp/in >>$tmp/config.h
37006 if test x
"$ac_file" != x
-; then
37007 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
37008 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
37009 echo "$as_me: $ac_file is unchanged" >&6;}
37011 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
37012 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37013 X"$ac_file" : 'X\(//\)[^/]' \| \
37014 X"$ac_file" : 'X\(//\)$' \| \
37015 X"$ac_file" : 'X\(/\)' \| \
37016 . : '\(.\)' 2>/dev/null ||
37018 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37019 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37020 /^X\(\/\/\)$/{ s//\1/; q; }
37021 /^X\(\/\).*/{ s//\1/; q; }
37023 { if $as_mkdir_p; then
37028 while test ! -d "$as_dir"; do
37029 as_dirs
="$as_dir $as_dirs"
37030 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
37031 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37032 X"$as_dir" : 'X\(//\)[^/]' \| \
37033 X"$as_dir" : 'X\(//\)$' \| \
37034 X"$as_dir" : 'X\(/\)' \| \
37035 . : '\(.\)' 2>/dev/null ||
37037 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37038 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37039 /^X\(\/\/\)$/{ s//\1/; q; }
37040 /^X\(\/\).*/{ s//\1/; q; }
37043 test ! -n "$as_dirs" || mkdir $as_dirs
37044 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
37045 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
37046 { (exit 1); exit 1; }; }; }
37049 mv $tmp/config.h
$ac_file
37053 rm -f $tmp/config.h
37057 cat >>$CONFIG_STATUS <<\_ACEOF
37060 # CONFIG_COMMANDS section.
37062 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
37063 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
37064 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
37065 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
37066 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37067 X"$ac_dest" : 'X\(//\)[^/]' \| \
37068 X"$ac_dest" : 'X\(//\)$' \| \
37069 X"$ac_dest" : 'X\(/\)' \| \
37070 . : '\(.\)' 2>/dev/null ||
37072 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37073 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37074 /^X\(\/\/\)$/{ s//\1/; q; }
37075 /^X\(\/\).*/{ s//\1/; q; }
37079 if test "$ac_dir" != .
; then
37080 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
37081 # A "../" for each directory in $ac_dir_suffix.
37082 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
37084 ac_dir_suffix
= ac_top_builddir
=
37088 .
) # No --srcdir option. We are building in place.
37090 if test -z "$ac_top_builddir"; then
37093 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
37095 [\\/]* | ?
:[\\/]* ) # Absolute path.
37096 ac_srcdir
=$srcdir$ac_dir_suffix;
37097 ac_top_srcdir
=$srcdir ;;
37098 *) # Relative path.
37099 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
37100 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
37102 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
37104 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
37105 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
37106 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
37107 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
37110 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
37111 echo "$as_me: executing $ac_dest commands" >&6;}
37114 if test ! -h wx
-config; then
37116 mv wx
-config wx
${TOOLCHAIN_NAME}-config
37117 ${LN_S} wx
${TOOLCHAIN_NAME}-config wx
-config
37120 if test ! -d lib
; then
37123 if test ! -d lib
/wx
; then
37126 if test ! -d lib
/wx
/include
; then
37127 mkdir lib
/wx
/include
37129 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}; then
37130 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}
37132 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
; then
37133 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
37135 if test -f setup.h
; then
37136 mv -f setup.h lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
37143 cat >>$CONFIG_STATUS <<\_ACEOF
37145 { (exit 0); exit 0; }
37147 chmod +x
$CONFIG_STATUS
37148 ac_clean_files
=$ac_clean_files_save
37151 # configure is writing to config.log, and then calls config.status.
37152 # config.status does its own redirection, appending to config.log.
37153 # Unfortunately, on DOS this fails, as config.log is still kept open
37154 # by configure, so config.status won't be able to write to it; its
37155 # output is simply discarded. So we exec the FD to /dev/null,
37156 # effectively closing config.log, so it can be properly (re)opened and
37157 # appended to by config.status. When coming back to configure, we
37158 # need to make the FD available again.
37159 if test "$no_create" != yes; then
37161 ac_config_status_args
=
37162 test "$silent" = yes &&
37163 ac_config_status_args
="$ac_config_status_args --quiet"
37165 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
37167 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
37168 # would make configure fail if this is the last instruction.
37169 $ac_cs_success || { (exit 1); exit 1; }
37173 # CONFIG_SUBDIRS section.
37175 if test "$no_recursion" != yes; then
37177 # Remove --cache-file and --srcdir arguments so they do not pile up.
37178 ac_sub_configure_args
=
37180 for ac_arg
in $ac_configure_args; do
37181 if test -n "$ac_prev"; then
37186 -cache-file | --cache-file | --cache-fil | --cache-fi \
37187 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
37188 ac_prev
=cache_file
;;
37189 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
37190 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
37193 --config-cache | -C)
37195 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
37197 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
37199 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
37201 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
37203 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
37207 # Always prepend --prefix to ensure using the same prefix
37208 # in subdir configurations.
37209 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
37212 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
37214 # Do not complain, so a configure script can configure whichever
37215 # parts of a large source tree are present.
37216 test -d $srcdir/$ac_dir || continue
37218 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
37219 echo "$as_me: configuring in $ac_dir" >&6;}
37220 { if $as_mkdir_p; then
37225 while test ! -d "$as_dir"; do
37226 as_dirs
="$as_dir $as_dirs"
37227 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
37228 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37229 X"$as_dir" : 'X\(//\)[^/]' \| \
37230 X"$as_dir" : 'X\(//\)$' \| \
37231 X"$as_dir" : 'X\(/\)' \| \
37232 . : '\(.\)' 2>/dev/null ||
37234 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37235 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37236 /^X\(\/\/\)$/{ s//\1/; q; }
37237 /^X\(\/\).*/{ s//\1/; q; }
37240 test ! -n "$as_dirs" || mkdir $as_dirs
37241 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
37242 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
37243 { (exit 1); exit 1; }; }; }
37247 if test "$ac_dir" != .
; then
37248 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
37249 # A "../" for each directory in $ac_dir_suffix.
37250 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
37252 ac_dir_suffix
= ac_top_builddir
=
37256 .
) # No --srcdir option. We are building in place.
37258 if test -z "$ac_top_builddir"; then
37261 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
37263 [\\/]* | ?
:[\\/]* ) # Absolute path.
37264 ac_srcdir
=$srcdir$ac_dir_suffix;
37265 ac_top_srcdir
=$srcdir ;;
37266 *) # Relative path.
37267 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
37268 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
37270 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
37272 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
37273 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
37274 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
37275 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
37280 # Check for guested configure; otherwise get Cygnus style configure.
37281 if test -f $ac_srcdir/configure.gnu
; then
37282 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
37283 elif test -f $ac_srcdir/configure
; then
37284 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
37285 elif test -f $ac_srcdir/configure.
in; then
37286 ac_sub_configure
=$ac_configure
37288 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
37289 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
37293 # The recursion is here.
37294 if test -n "$ac_sub_configure"; then
37295 # Make the cache file name correct relative to the subdirectory.
37296 case $cache_file in
37297 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
37298 *) # Relative path.
37299 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
37302 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
37303 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
37304 # The eval makes quoting arguments work.
37305 eval $ac_sub_configure $ac_sub_configure_args \
37306 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
37307 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
37308 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
37309 { (exit 1); exit 1; }; }
37318 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
37320 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
37321 echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
37323 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
37324 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
37325 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
37327 echo " What level of wxWindows compatibility should be enabled?"
37328 echo " wxWindows 2.0 ${WXWIN_COMPATIBILITY_2:-no}"
37329 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
37330 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
37332 echo " Which libraries should wxWindows use?"
37333 echo " jpeg ${wxUSE_LIBJPEG-none}"
37334 echo " png ${wxUSE_LIBPNG-none}"
37335 echo " regex ${wxUSE_REGEX}"
37336 echo " tiff ${wxUSE_LIBTIFF-none}"
37337 echo " zlib ${wxUSE_ZLIB}"
37338 echo " odbc ${wxUSE_ODBC}"
37339 echo " expat ${wxUSE_EXPAT}"